initial commit

Signed-off-by: Peter Siegmund <mars3142@noreply.mars3142.dev>
This commit is contained in:
2025-10-31 23:37:30 +01:00
commit bf6b52fd94
9654 changed files with 4035664 additions and 0 deletions

View File

@@ -0,0 +1,49 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>${MACOSX_BUNDLE_EXECUTABLE_NAME}</string>
<key>CFBundleGetInfoString</key>
<string>${MACOSX_BUNDLE_INFO_STRING}</string>
<key>CFBundleIconFile</key>
<string>wxmac.icns</string>
<key>CFBundleIdentifier</key>
<string>${MACOSX_BUNDLE_GUI_IDENTIFIER}</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleLocalizations</key>
<array>
<string>ar</string>
<string>bg</string>
<string>cs</string>
<string>de</string>
<string>en</string>
<string>fr</string>
<string>it</string>
<string>ka</string>
<string>pl</string>
<string>ru</string>
<string>sv</string>
<string>ja</string>
</array>
<key>CFBundleLongVersionString</key>
<string>${MACOSX_BUNDLE_LONG_VERSION_STRING}</string>
<key>CFBundleName</key>
<string>${MACOSX_BUNDLE_BUNDLE_NAME}</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>${MACOSX_BUNDLE_SHORT_VERSION_STRING}</string>
<key>CFBundleVersion</key>
<string>${MACOSX_BUNDLE_BUNDLE_VERSION}</string>
<key>NSHumanReadableCopyright</key>
<string>${MACOSX_BUNDLE_COPYRIGHT}</string>
<key>ATSApplicationFontsPath</key>
<string>Fonts</string>
<key>NSPrincipalClass</key>
<string>wxNSApplication</string>
</dict>
</plist>

View File

@@ -0,0 +1,345 @@
# =========================================================================
# This makefile was generated by
# Bakefile 0.2.13 (http://www.bakefile.org)
# Do not modify, all changes will be overwritten!
# =========================================================================
@MAKE_SET@
prefix = @prefix@
exec_prefix = @exec_prefix@
datarootdir = @datarootdir@
INSTALL = @INSTALL@
EXEEXT = @EXEEXT@
WINDRES = @WINDRES@
NM = @NM@
BK_DEPS = @BK_DEPS@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
LIBS = @LIBS@
LDFLAGS_GUI = @LDFLAGS_GUI@
CXX = @CXX@
CXXFLAGS = @CXXFLAGS@
CPPFLAGS = @CPPFLAGS@
LDFLAGS = @LDFLAGS@
USE_DPI_AWARE_MANIFEST = @USE_DPI_AWARE_MANIFEST@
WX_LIB_FLAVOUR = @WX_LIB_FLAVOUR@
TOOLKIT = @TOOLKIT@
TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
TOOLKIT_VERSION = @TOOLKIT_VERSION@
TOOLCHAIN_FULLNAME = @TOOLCHAIN_FULLNAME@
EXTRALIBS = @EXTRALIBS@
EXTRALIBS_XML = @EXTRALIBS_XML@
EXTRALIBS_GUI = @EXTRALIBS_GUI@
WX_CPPFLAGS = @WX_CPPFLAGS@
WX_CXXFLAGS = @WX_CXXFLAGS@
WX_LDFLAGS = @WX_LDFLAGS@
HOST_SUFFIX = @HOST_SUFFIX@
DYLIB_RPATH_FLAG = @DYLIB_RPATH_FLAG@
SAMPLES_CXXFLAGS = @SAMPLES_CXXFLAGS@
wx_top_builddir = @wx_top_builddir@
### Variables: ###
DESTDIR =
WX_RELEASE = 3.3
WX_VERSION = $(WX_RELEASE).1
LIBDIRNAME = $(wx_top_builddir)/lib
INTERNAT_CXXFLAGS = $(WX_CPPFLAGS) -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
$(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
$(__THREAD_DEFINE_p) -I$(srcdir) $(__DLLFLAG_p) -I$(srcdir)/../../samples \
$(WX_CXXFLAGS) $(SAMPLES_CXXFLAGS) $(CPPFLAGS) $(CXXFLAGS)
INTERNAT_OBJECTS = \
$(__internat___win32rc) \
internat_internat.o
### Conditionally set variables: ###
@COND_DEPS_TRACKING_0@CXXC = $(CXX)
@COND_DEPS_TRACKING_1@CXXC = $(BK_DEPS) $(CXX)
@COND_USE_GUI_0@PORTNAME = base
@COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
@COND_TOOLKIT_MAC@WXBASEPORT = _carbon
@COND_BUILD_debug@WXDEBUGFLAG = d
@COND_WXUNIV_1@WXUNIVNAME = univ
@COND_MONOLITHIC_0@EXTRALIBS_FOR_BASE = $(EXTRALIBS)
@COND_MONOLITHIC_1@EXTRALIBS_FOR_BASE = $(EXTRALIBS) \
@COND_MONOLITHIC_1@ $(EXTRALIBS_XML) $(EXTRALIBS_GUI)
@COND_MONOLITHIC_0@EXTRALIBS_FOR_GUI = $(EXTRALIBS_GUI)
@COND_MONOLITHIC_1@EXTRALIBS_FOR_GUI =
@COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
@COND_WXUNIV_1@__WXUNIV_DEFINE_p_1 = --define __WXUNIVERSAL__
@COND_DEBUG_FLAG_0@__DEBUG_DEFINE_p = -DwxDEBUG_LEVEL=0
@COND_DEBUG_FLAG_0@__DEBUG_DEFINE_p_1 = --define wxDEBUG_LEVEL=0
@COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
@COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p_1 = --define wxNO_EXCEPTIONS
@COND_USE_RTTI_0@__RTTI_DEFINE_p = -DwxNO_RTTI
@COND_USE_RTTI_0@__RTTI_DEFINE_p_1 = --define wxNO_RTTI
@COND_USE_THREADS_0@__THREAD_DEFINE_p = -DwxNO_THREADS
@COND_USE_THREADS_0@__THREAD_DEFINE_p_1 = --define wxNO_THREADS
@COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL
@COND_SHARED_1@__DLLFLAG_p_1 = --define WXUSINGDLL
@COND_PLATFORM_WIN32_1@__WIN32_DPI_MANIFEST_p = \
@COND_PLATFORM_WIN32_1@ --define \
@COND_PLATFORM_WIN32_1@ wxUSE_DPI_AWARE_MANIFEST=$(USE_DPI_AWARE_MANIFEST)
COND_PLATFORM_OS2_1___internat___os2_emxbindcmd = $(NM) internat$(EXEEXT) | if \
grep -q pmwin.763 ; then emxbind -ep internat$(EXEEXT) ; fi
@COND_PLATFORM_OS2_1@__internat___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___internat___os2_emxbindcmd)
@COND_TOOLKIT_MSW@__RCDEFDIR_p = --include-dir \
@COND_TOOLKIT_MSW@ $(LIBDIRNAME)/wx/include/$(TOOLCHAIN_FULLNAME)
@COND_PLATFORM_WIN32_1@__internat___win32rc = internat_sample_rc.o
@COND_PLATFORM_MACOSX_1@__internat_app_Contents_PkgInfo___depname \
@COND_PLATFORM_MACOSX_1@ = internat.app/Contents/PkgInfo
@COND_PLATFORM_MACOSX_1@__internat_bundle___depname = internat_bundle
@COND_TOOLKIT_MAC@____internat_BUNDLE_TGT_REF_DEP = \
@COND_TOOLKIT_MAC@ $(__internat_app_Contents_PkgInfo___depname)
@COND_TOOLKIT_OSX_CARBON@____internat_BUNDLE_TGT_REF_DEP \
@COND_TOOLKIT_OSX_CARBON@ = $(__internat_app_Contents_PkgInfo___depname)
@COND_TOOLKIT_OSX_COCOA@____internat_BUNDLE_TGT_REF_DEP \
@COND_TOOLKIT_OSX_COCOA@ = $(__internat_app_Contents_PkgInfo___depname)
@COND_TOOLKIT_OSX_IPHONE@____internat_BUNDLE_TGT_REF_DEP \
@COND_TOOLKIT_OSX_IPHONE@ = $(__internat_app_Contents_PkgInfo___depname)
@COND_TOOLKIT_COCOA@____internat_BUNDLE_TGT_REF_DEP = \
@COND_TOOLKIT_COCOA@ $(__internat_app_Contents_PkgInfo___depname)
COND_MONOLITHIC_0___WXLIB_CORE_p = \
-lwx_$(PORTNAME)$(WXUNIVNAME)u$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core-$(WX_RELEASE)$(HOST_SUFFIX)
@COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p)
COND_MONOLITHIC_0___WXLIB_BASE_p = \
-lwx_base$(WXBASEPORT)u$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
@COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p)
COND_MONOLITHIC_1___WXLIB_MONO_p = \
-lwx_$(PORTNAME)$(WXUNIVNAME)u$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
@COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
@COND_MONOLITHIC_1_USE_STC_1@__LIB_SCINTILLA_IF_MONO_p \
@COND_MONOLITHIC_1_USE_STC_1@ = $(__LIB_SCINTILLA_p)
@COND_USE_STC_1@__LIB_SCINTILLA_p = \
@COND_USE_STC_1@ -lwxscintilla$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
@COND_MONOLITHIC_1_USE_STC_1@__LIB_LEXILLA_IF_MONO_p = $(__LIB_LEXILLA_p)
@COND_USE_STC_1@__LIB_LEXILLA_p = \
@COND_USE_STC_1@ -lwxlexilla$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
@COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@__LIB_TIFF_p \
@COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@ = \
@COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@ -lwxtiff$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
@COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@__LIB_JPEG_p \
@COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@ = \
@COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@ -lwxjpeg$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
@COND_USE_GUI_1_wxUSE_LIBPNG_builtin@__LIB_PNG_p \
@COND_USE_GUI_1_wxUSE_LIBPNG_builtin@ = \
@COND_USE_GUI_1_wxUSE_LIBPNG_builtin@ -lwxpng$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
@COND_USE_GUI_1_wxUSE_LIBWEBP_builtin@__LIB_WEBP_p \
@COND_USE_GUI_1_wxUSE_LIBWEBP_builtin@ = \
@COND_USE_GUI_1_wxUSE_LIBWEBP_builtin@ -lwxwebp$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
@COND_wxUSE_ZLIB_builtin@__LIB_ZLIB_p = \
@COND_wxUSE_ZLIB_builtin@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
@COND_wxUSE_REGEX_builtin@__LIB_REGEX_p = \
@COND_wxUSE_REGEX_builtin@ -lwxregexu$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
@COND_wxUSE_EXPAT_builtin@__LIB_EXPAT_p = \
@COND_wxUSE_EXPAT_builtin@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
### Targets: ###
all: internat$(EXEEXT) $(__internat_bundle___depname) ar bg cs de fr it ka pl ru sv ja ja_JP.EUC-JP
install:
uninstall:
install-strip: install
clean:
rm -rf ./.deps ./.pch
rm -f ./*.o
rm -f internat$(EXEEXT)
rm -rf internat.app
distclean: clean
rm -f config.cache config.log config.status bk-deps bk-make-pch Makefile
internat$(EXEEXT): $(INTERNAT_OBJECTS) $(__internat___win32rc)
$(CXX) -o $@ $(INTERNAT_OBJECTS) -L$(LIBDIRNAME) $(DYLIB_RPATH_FLAG) $(LDFLAGS_GUI) $(LDFLAGS) $(WX_LDFLAGS) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_SCINTILLA_IF_MONO_p) $(__LIB_LEXILLA_IF_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(__LIB_WEBP_p) $(EXTRALIBS_FOR_GUI) $(__LIB_ZLIB_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS_FOR_BASE) $(LIBS)
$(__internat___os2_emxbindcmd)
@COND_PLATFORM_MACOSX_1@internat.app/Contents/PkgInfo: internat$(EXEEXT) $(srcdir)/Info.plist.in $(top_srcdir)/src/osx/carbon/wxmac.icns
@COND_PLATFORM_MACOSX_1@ mkdir -p internat.app/Contents
@COND_PLATFORM_MACOSX_1@ mkdir -p internat.app/Contents/MacOS
@COND_PLATFORM_MACOSX_1@ mkdir -p internat.app/Contents/Resources
@COND_PLATFORM_MACOSX_1@
@COND_PLATFORM_MACOSX_1@
@COND_PLATFORM_MACOSX_1@ sed -e "s/\$${MACOSX_BUNDLE_GUI_IDENTIFIER}/org.wxwidgets.internat/" \
@COND_PLATFORM_MACOSX_1@ -e "s/\$${MACOSX_BUNDLE_EXECUTABLE_NAME}/internat/" \
@COND_PLATFORM_MACOSX_1@ -e "s/\$${MACOSX_BUNDLE_BUNDLE_NAME}/internat/" \
@COND_PLATFORM_MACOSX_1@ -e "s/\$${MACOSX_BUNDLE_COPYRIGHT}/Copyright 2002-2025 wxWidgets/" \
@COND_PLATFORM_MACOSX_1@ -e "s/\$${MACOSX_BUNDLE_BUNDLE_VERSION}/$(WX_VERSION)/" \
@COND_PLATFORM_MACOSX_1@ -e "s/\$${MACOSX_BUNDLE_INFO_STRING}/internat version $(WX_VERSION), (c) 2002-2025 wxWidgets/" \
@COND_PLATFORM_MACOSX_1@ -e "s/\$${MACOSX_BUNDLE_LONG_VERSION_STRING}/$(WX_VERSION), (c) 2002-2025 wxWidgets/" \
@COND_PLATFORM_MACOSX_1@ -e "s/\$${MACOSX_BUNDLE_SHORT_VERSION_STRING}/$(WX_RELEASE)/" \
@COND_PLATFORM_MACOSX_1@ $(srcdir)/Info.plist.in >internat.app/Contents/Info.plist
@COND_PLATFORM_MACOSX_1@
@COND_PLATFORM_MACOSX_1@
@COND_PLATFORM_MACOSX_1@ /bin/echo "APPL????" >internat.app/Contents/PkgInfo
@COND_PLATFORM_MACOSX_1@
@COND_PLATFORM_MACOSX_1@
@COND_PLATFORM_MACOSX_1@ ln -f internat$(EXEEXT) internat.app/Contents/MacOS/internat
@COND_PLATFORM_MACOSX_1@
@COND_PLATFORM_MACOSX_1@
@COND_PLATFORM_MACOSX_1@ cp -f $(top_srcdir)/src/osx/carbon/wxmac.icns internat.app/Contents/Resources/wxmac.icns
@COND_PLATFORM_MACOSX_1@internat_bundle: $(____internat_BUNDLE_TGT_REF_DEP)
ar:
@mkdir -p ./ar
@for f in internat.po internat.mo; do \
if test ! -f ./ar/$$f -a ! -d ./ar/$$f ; \
then x=yep ; \
else x=`find $(srcdir)/ar/$$f -newer ./ar/$$f -print` ; \
fi; \
case "$$x" in ?*) \
cp -pRf $(srcdir)/ar/$$f ./ar ;; \
esac; \
done
bg:
@mkdir -p ./bg
@for f in internat.po internat.mo; do \
if test ! -f ./bg/$$f -a ! -d ./bg/$$f ; \
then x=yep ; \
else x=`find $(srcdir)/bg/$$f -newer ./bg/$$f -print` ; \
fi; \
case "$$x" in ?*) \
cp -pRf $(srcdir)/bg/$$f ./bg ;; \
esac; \
done
cs:
@mkdir -p ./cs
@for f in internat.po internat.mo; do \
if test ! -f ./cs/$$f -a ! -d ./cs/$$f ; \
then x=yep ; \
else x=`find $(srcdir)/cs/$$f -newer ./cs/$$f -print` ; \
fi; \
case "$$x" in ?*) \
cp -pRf $(srcdir)/cs/$$f ./cs ;; \
esac; \
done
de:
@mkdir -p ./de
@for f in internat.po internat.mo; do \
if test ! -f ./de/$$f -a ! -d ./de/$$f ; \
then x=yep ; \
else x=`find $(srcdir)/de/$$f -newer ./de/$$f -print` ; \
fi; \
case "$$x" in ?*) \
cp -pRf $(srcdir)/de/$$f ./de ;; \
esac; \
done
fr:
@mkdir -p ./fr
@for f in internat.po internat.mo; do \
if test ! -f ./fr/$$f -a ! -d ./fr/$$f ; \
then x=yep ; \
else x=`find $(srcdir)/fr/$$f -newer ./fr/$$f -print` ; \
fi; \
case "$$x" in ?*) \
cp -pRf $(srcdir)/fr/$$f ./fr ;; \
esac; \
done
it:
@mkdir -p ./it
@for f in internat.po internat.mo; do \
if test ! -f ./it/$$f -a ! -d ./it/$$f ; \
then x=yep ; \
else x=`find $(srcdir)/it/$$f -newer ./it/$$f -print` ; \
fi; \
case "$$x" in ?*) \
cp -pRf $(srcdir)/it/$$f ./it ;; \
esac; \
done
ka:
@mkdir -p ./ka
@for f in internat.po internat.mo; do \
if test ! -f ./ka/$$f -a ! -d ./ka/$$f ; \
then x=yep ; \
else x=`find $(srcdir)/ka/$$f -newer ./ka/$$f -print` ; \
fi; \
case "$$x" in ?*) \
cp -pRf $(srcdir)/ka/$$f ./ka ;; \
esac; \
done
pl:
@mkdir -p ./pl
@for f in internat.po internat.mo; do \
if test ! -f ./pl/$$f -a ! -d ./pl/$$f ; \
then x=yep ; \
else x=`find $(srcdir)/pl/$$f -newer ./pl/$$f -print` ; \
fi; \
case "$$x" in ?*) \
cp -pRf $(srcdir)/pl/$$f ./pl ;; \
esac; \
done
ru:
@mkdir -p ./ru
@for f in internat.po internat.mo; do \
if test ! -f ./ru/$$f -a ! -d ./ru/$$f ; \
then x=yep ; \
else x=`find $(srcdir)/ru/$$f -newer ./ru/$$f -print` ; \
fi; \
case "$$x" in ?*) \
cp -pRf $(srcdir)/ru/$$f ./ru ;; \
esac; \
done
sv:
@mkdir -p ./sv
@for f in internat.po internat.mo; do \
if test ! -f ./sv/$$f -a ! -d ./sv/$$f ; \
then x=yep ; \
else x=`find $(srcdir)/sv/$$f -newer ./sv/$$f -print` ; \
fi; \
case "$$x" in ?*) \
cp -pRf $(srcdir)/sv/$$f ./sv ;; \
esac; \
done
ja:
@mkdir -p ./ja
@for f in internat.po internat.mo; do \
if test ! -f ./ja/$$f -a ! -d ./ja/$$f ; \
then x=yep ; \
else x=`find $(srcdir)/ja/$$f -newer ./ja/$$f -print` ; \
fi; \
case "$$x" in ?*) \
cp -pRf $(srcdir)/ja/$$f ./ja ;; \
esac; \
done
ja_JP.EUC-JP:
@mkdir -p ./ja_JP.EUC-JP
@for f in internat.po internat.mo; do \
if test ! -f ./ja_JP.EUC-JP/$$f -a ! -d ./ja_JP.EUC-JP/$$f ; \
then x=yep ; \
else x=`find $(srcdir)/ja_JP.EUC-JP/$$f -newer ./ja_JP.EUC-JP/$$f -print` ; \
fi; \
case "$$x" in ?*) \
cp -pRf $(srcdir)/ja_JP.EUC-JP/$$f ./ja_JP.EUC-JP ;; \
esac; \
done
internat_sample_rc.o: $(srcdir)/../../samples/sample.rc
$(WINDRES) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) --include-dir $(srcdir) $(__DLLFLAG_p_1) $(__WIN32_DPI_MANIFEST_p) --include-dir $(srcdir)/../../samples $(__RCDEFDIR_p) --include-dir $(top_srcdir)/include
internat_internat.o: $(srcdir)/internat.cpp
$(CXXC) -c -o $@ $(INTERNAT_CXXFLAGS) $(srcdir)/internat.cpp
# Include dependency info, if present:
@IF_GNU_MAKE@-include ./.deps/*.d
.PHONY: all install uninstall clean distclean internat_bundle ar bg cs de fr it ka pl ru \
sv ja ja_JP.EUC-JP

Binary file not shown.

View File

@@ -0,0 +1,156 @@
# 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: Internationalization wxWidgets sample\n"
"PO-Revision-Date: 2006-08-11 21:20+0200\n"
"Last-Translator: Diaa Sami <diaasami@yahoo.com>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=4; plural=(n%100 >= 11 && n%100 <= 99) ? 3 : n==2 ? 1 : (n >= 3 && n <= 10 ? 2 : 0);\n"
"X-Poedit-Language: Arabic\n"
"POT-Creation-Date: \n"
#: ../internat.cpp:200
msgid "&About"
msgstr "&عن البرنامج"
#: ../internat.cpp:202
msgid "E&xit"
msgstr "&خروج"
#: ../internat.cpp:205
msgid "&Open bogus file"
msgstr "افتح &ملف غير موجود"
#: ../internat.cpp:206
msgid "&Play a game"
msgstr "العب لعبة"
#: ../internat.cpp:208
msgid "&1 _() (gettext)"
msgstr "&1 _() (gettext)"
#: ../internat.cpp:209
msgid "&2 _N() (ngettext)"
msgstr "&2 _N() (ngettext)"
#: ../internat.cpp:210
msgid "&3 wxTRANSLATE() (gettext_noop)"
msgstr "&3 wxTRANSLATE() (gettext_noop)"
#: ../internat.cpp:214
msgid "&Test"
msgstr "&اختبار"
#: ../internat.cpp:232
msgid "International wxWidgets App"
msgstr "‎تطبيق wxWidgets الدولي"
#: ../internat.cpp:252
msgid ""
"Language: %s\n"
"System locale name:\n"
"%s\n"
"Canonical locale name: %s\n"
msgstr ""
"اللغة: %s\n"
"اسم المحل الخاص بالنظام: %s\n"
"اسم المحل الرسمي: %s\n"
#: ../internat.cpp:258
msgid ""
"I18n sample\n"
"(c) 1998, 1999 Vadim Zeitlin and Julian Smart"
msgstr ""
"نموذج I18n\n"
"(c) 1998, 1999 Vadim Zeitlin i Julian Smart"
#: ../internat.cpp:261
msgid "About Internat"
msgstr "عن Internat"
#: ../internat.cpp:270
msgid "Enter your number:"
msgstr "ادخل رقما"
#: ../internat.cpp:271
msgid "Try to guess my number!"
msgstr "حاول ان تحزر رقما"
#: ../internat.cpp:285
msgid "You've probably entered an invalid number."
msgstr "لقد ادخلت رقما خاطئا"
#: ../internat.cpp:299
msgid "Congratulations! you've won. Here is the magic phrase:"
msgstr "تهانينا! لقد ربحت. الجملة السحرية هي:"
#: ../internat.cpp:300
#, c-format
msgid "cannot create fifo `%s'"
msgstr "لم يمكن خلق fifo `%s'"
#: ../internat.cpp:311
msgid "Result"
msgstr "النتيجة"
#: ../internat.cpp:323
msgid "Testing _() (gettext)"
msgstr "اختبار _() (gettext)"
#: ../internat.cpp:324
msgid "Please enter text to translate"
msgstr "من فضلك ادخل جملة لتتم ترجمتها"
#: ../internat.cpp:338
msgid "Testing _N() (ngettext)"
msgstr "اختبار _N() (ngettext)"
#: ../internat.cpp:340
msgid "Please enter range for plural forms of \"n files deleted\" phrase"
msgstr "من فضلك ادخل مدي رقميا لصيغ الجمع لجملة \"س ملفات محذوفة\""
#: ../internat.cpp:366
msgid "Testing wxTRANSLATE() (gettext_noop)"
msgstr "اختبار wxTRANSLATE() (gettext_noop)"
#: ../internat.cpp:310
msgid "Bad luck! try again..."
msgstr "حظ سيئ، حاول مرة اخرى"
#: ../internat.cpp:327
msgid "default value"
msgstr "القيمة الافتراضية"
#: ../internat.cpp:364
msgid "line 1"
msgstr "السطر 1"
#: ../internat.cpp:365
msgid "line 2"
msgstr "السطر 2"
#: ../internat.cpp:366
msgid "line 3"
msgstr "السطر 3"
# Four plural forms in arabic:
# 1st: anything that doesn't fit below (like 0 1 100 1000 2000 3000 ...)
# 2nd: 2
# 3rd: 3-10
# 4th: ends with 11-99(like 11, 125, 1055, etc ...)
#: ../internat.cpp:353
msgid "file deleted"
msgid_plural "files deleted"
msgstr[0] "ملف محذوف"
msgstr[1] "ملفين محذوف"
msgstr[2] "ملفات محذوف"
msgstr[3] "ملفاً محذوفاً"

Binary file not shown.

View File

@@ -0,0 +1,75 @@
# Message catalog file template for the wxWindows i18n sample
# Copyright (C) 1999 wxWindows development team
# Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
msgid ""
msgstr ""
"Project-Id-Version: wxWindows 2.0 i18n sample\n"
"POT-Creation-Date: 2000-08-10 15:56+0200\n"
"PO-Revision-Date: 2003-07-01 13:53+0200\n"
"Last-Translator: Doncho Angelov <donangel AT poboxes DOT com>\n"
"Language-Team: <wx-translators@wxwidgets.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: /home/harms.user1/rolinsky/wxGTK-2.2.0/samples/internat/internat.cpp:128
msgid "International wxWindows App"
msgstr "Интернационализирано приложение на wxWindows"
#: /home/harms.user1/rolinsky/wxGTK-2.2.0/samples/internat/internat.cpp:136
msgid "&About"
msgstr "&За програмата"
#: /home/harms.user1/rolinsky/wxGTK-2.2.0/samples/internat/internat.cpp:138
msgid "E&xit"
msgstr "&Изход"
#: /home/harms.user1/rolinsky/wxGTK-2.2.0/samples/internat/internat.cpp:141
msgid "&Open bogus file"
msgstr "&Отваряне на фалшив файл"
#: /home/harms.user1/rolinsky/wxGTK-2.2.0/samples/internat/internat.cpp:142
msgid "&Play a game"
msgstr "&Играене на игра"
#: /home/harms.user1/rolinsky/wxGTK-2.2.0/samples/internat/internat.cpp:146
msgid "&Test"
msgstr "&Тест"
#: /home/harms.user1/rolinsky/wxGTK-2.2.0/samples/internat/internat.cpp:169
msgid ""
"I18n sample\n"
"¦¦¦L 1998, 1999 Vadim Zeitlin and Julian Smart"
msgstr ""
"Пример i18n\n"
"¦¦¦L 1998, 1999 Вадим Зейтлин и Джулиан Смарт"
#: /home/harms.user1/rolinsky/wxGTK-2.2.0/samples/internat/internat.cpp:171
msgid "About Internat"
msgstr "За Internat"
#: /home/harms.user1/rolinsky/wxGTK-2.2.0/samples/internat/internat.cpp:176
msgid "Enter your number:"
msgstr "Въведи твоето число:"
#: /home/harms.user1/rolinsky/wxGTK-2.2.0/samples/internat/internat.cpp:177
msgid "Try to guess my number!"
msgstr "Пробвай да познаеш моето число!"
#: /home/harms.user1/rolinsky/wxGTK-2.2.0/samples/internat/internat.cpp:185
msgid "You've probably entered an invalid number."
msgstr "Вероятно е въведено некоректно число."
#: /home/harms.user1/rolinsky/wxGTK-2.2.0/samples/internat/internat.cpp:193
msgid "Congratulations! you've won. Here is the magic phrase:"
msgstr "Поздравления! Вие спечелихте. Ето магическата фраза:"
#: /home/harms.user1/rolinsky/wxGTK-2.2.0/samples/internat/internat.cpp:194
#, c-format
msgid "cannot create fifo `%s'"
msgstr "Не мога да създам fifo `%s'"
#: /home/harms.user1/rolinsky/wxGTK-2.2.0/samples/internat/internat.cpp:197
msgid "Result"
msgstr "Резултат"

Binary file not shown.

View File

@@ -0,0 +1,140 @@
# 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.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2003-10-04 23:10+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%"
"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
#: internat.cpp:198
msgid "&About"
msgstr "&O programu"
#: internat.cpp:200
msgid "E&xit"
msgstr "&Konec"
#: internat.cpp:203
msgid "&Open bogus file"
msgstr "&Otevřít falešný soubor"
#: internat.cpp:204
msgid "&Play a game"
msgstr "&Zahrát si hru"
#: internat.cpp:206
msgid "&1 _() (gettext)"
msgstr ""
#: internat.cpp:207
msgid "&2 _N() (ngettext)"
msgstr ""
#: internat.cpp:208
msgid "&3 N_() (gettext_noop)"
msgstr ""
#: internat.cpp:212
msgid "&Test"
msgstr "&Test"
#: internat.cpp:230
msgid "International wxWindows App"
msgstr "Lokalizovaná wxWindows aplikace"
#: internat.cpp:250
#, c-format
msgid ""
"Language: %s\n"
"System locale name: %s\n"
"Canonical locale name: %s\n"
msgstr ""
#: internat.cpp:256
msgid ""
"I18n sample\n"
"(c) 1998, 1999 Vadim Zeitlin and Julian Smart"
msgstr ""
#: internat.cpp:259
msgid "About Internat"
msgstr "O programu Internat"
#: internat.cpp:268
msgid "Enter your number:"
msgstr "Zadejte číslo:"
#: internat.cpp:269
msgid "Try to guess my number!"
msgstr "Zkuste uhodnout moje číslo!"
#: internat.cpp:283
msgid "You've probably entered an invalid number."
msgstr "Zřejmě jste zadal špatné číslo."
#: internat.cpp:297
msgid "Congratulations! you've won. Here is the magic phrase:"
msgstr "Gratuluji! Vyhrál jste. Zde je kouzelná věta:"
#: internat.cpp:298
#, c-format
msgid "cannot create fifo `%s'"
msgstr ""
#: internat.cpp:309
msgid "Result"
msgstr "Výsledek"
#: internat.cpp:321
msgid "Testing _() (gettext)"
msgstr "Testuji _() (gettext)"
#: internat.cpp:322
msgid "Please enter text to translate"
msgstr "Zadejte prosím text k přeložení"
#: internat.cpp:323
msgid "default value"
msgstr "výchozí hodnota"
#: internat.cpp:336
msgid "Testing _N() (ngettext)"
msgstr "Testuji _N() (ngettext)"
#: internat.cpp:338
msgid "Please enter range for plural forms of \"n files deleted\"phrase"
msgstr "Zadejte prosím rozsah pro test plurálu věty \"n files deleted\""
#: internat.cpp:349
msgid "file deleted"
msgid_plural "files deleted"
msgstr[0] "soubor smazán"
msgstr[1] "soubory smazány"
msgstr[2] "souborů smazáno"
#: internat.cpp:360
msgid "line 1"
msgstr ""
#: internat.cpp:361
msgid "line 2"
msgstr ""
#: internat.cpp:362
msgid "line 3"
msgstr ""
#: internat.cpp:364
msgid "Testing N_() (gettext_noop)"
msgstr "Testuji N_() (gettext_noop)"

Binary file not shown.

View File

@@ -0,0 +1,325 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR Free Software Foundation, Inc.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: 2021-12-10 10:06+0100\n"
"PO-Revision-Date: 2021-12-10 10:15+0100\n"
"Last-Translator: Ulrich Telle <ulrich@telle-online.eu>\n"
"Language-Team: \n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 3.0\n"
"X-Poedit-Basepath: ..\n"
"X-Poedit-KeywordsList: _;wxTRANSLATE;wxPLURAL:1,2;wxGETTEXT_IN_CONTEXT:1c,2;"
"wxGETTEXT_IN_CONTEXT_PLURAL:1c,2,3\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Poedit-SearchPath-0: .\n"
#: internat.cpp:168
msgid "skip setting locale on startup"
msgstr "Setzen des Gebietsschemas überspringen"
#: internat.cpp:170
msgid "do set locale on startup without asking"
msgstr "Setze das Gebietsschema beim Start ohne Nachfrage"
#: internat.cpp:253
#, c-format
msgid "Couldn't find/load 'internat' catalog for %s."
msgstr "Konnte den 'internat'-Katalog für %s nicht finden/laden."
#: internat.cpp:289
msgid "International wxWidgets App"
msgstr "Internationale wxWidgets-Anwendung"
#: internat.cpp:295
msgid "&Test locale availability...\tCtrl-T"
msgstr "&Teste Gebietsschemaverfügbarkeit...\tStrg-T"
#: internat.cpp:300
msgid "E&xit"
msgstr "&Schließen"
#: internat.cpp:303
msgid "&Open bogus file"
msgstr "Ö&ffne Unsinn-Datei"
#: internat.cpp:303
msgid "Shows a wxWidgets localized error message"
msgstr "Zeigt eine lokalisierte wxWidgets-Fehlermeldung"
#: internat.cpp:304
msgid "&Save dummy file"
msgstr "&Speichere Dummy-Datei"
#: internat.cpp:304
msgid "Shows a localized standard dialog"
msgstr "Zeigt einen lokalisierten Standard-Dialog"
#: internat.cpp:305
msgid "&Play a game"
msgstr "Spiele ein S&piel"
#: internat.cpp:305
msgid "A little game; hint: 17 is a lucky number for many"
msgstr "Ein kleines Spiel; Hinweis: 17 ist für viele eine Glückszahl"
#: internat.cpp:307
msgid "&1 _() (gettext)"
msgstr "&1 _() (gettext)"
#: internat.cpp:307
msgid "Tests the _() macro"
msgstr "Testet das _() Makro"
#: internat.cpp:308
msgid "&2 _N() (ngettext)"
msgstr "&2 _N() (ngettext)"
#: internat.cpp:308
msgid "Tests the _N() macro"
msgstr "Testet das _N() Makro"
#: internat.cpp:309
msgid "&3 wxTRANSLATE() (gettext_noop)"
msgstr "&3 wxTRANSLATE() (gettext_noop)"
#: internat.cpp:309
msgid "Tests the wxTRANSLATE() macro"
msgstr "Testet das wxTRANSLATE() Makro"
#: internat.cpp:310
msgid "&Message box test"
msgstr "&Hinweisfenster-Test"
#: internat.cpp:311
msgid "Tests message box buttons labels translation"
msgstr "Testet die Übersetzung der Schaltflächen im Hinweisfenster"
#: internat.cpp:316
msgid "item"
msgstr "Eintrag ohne Kontext"
#: internat.cpp:317
msgctxt "context_1"
msgid "item"
msgstr "Eintrag Kontext 1"
#: internat.cpp:318
msgctxt "context_2"
msgid "item"
msgstr "Eintrag Kontext 2"
#: internat.cpp:319 internat.cpp:320
msgid "sing"
msgid_plural "plur"
msgstr[0] "Einzahl ohne Kontext"
msgstr[1] "Mehrzahl ohne Kontext"
#: internat.cpp:321 internat.cpp:322
msgctxt "context_1"
msgid "sing"
msgid_plural "plur"
msgstr[0] "Einzahl Kontext 1"
msgstr[1] "Mehrzahl Kontext 1"
#: internat.cpp:323 internat.cpp:324
msgctxt "context_2"
msgid "sing"
msgid_plural "plur"
msgstr[0] "Einzahl Kontext 2"
msgstr[1] "Mehrzahl Kontext 2"
#: internat.cpp:328
msgid "Show coreutils &help"
msgstr "Zeige coreutils-&Hilfe"
#: internat.cpp:331
msgid "&About"
msgstr "Ü&ber"
#: internat.cpp:336
msgid "&Test"
msgstr "&Test"
#: internat.cpp:337
msgid "&Macro"
msgstr "&Makro"
#: internat.cpp:343
msgctxt "standard Windows menu"
msgid "&Help"
msgstr "&Hilfe"
#: internat.cpp:360
#, c-format
msgid "Current UI locale: %s; C locale: %s"
msgstr "Aktuelles UI Gebietsschema: %s; C Gebietsschema: %s"
#: internat.cpp:373
#, c-format
msgid "UI locale name in English: %s"
msgstr "Name des UI Gebietsschema auf Englisch: %s"
#: internat.cpp:385
#, c-format
msgid "... and in the locale language: %s"
msgstr "… und in der Sprache des Gebietsschemas: %s"
#: internat.cpp:396
msgid "Numeric input:"
msgstr "Numerische Eingabe:"
#: internat.cpp:417
msgid "Number"
msgstr "Zahl"
#: internat.cpp:421
msgid "Date"
msgstr "Datum"
#: internat.cpp:437
#, c-format
msgid "Number in UI locale: %s; in C locale: %.2f"
msgstr "Zahl im UI Gebietsschema: %s; im C Gebietsschema: %.2f"
#: internat.cpp:457
msgid ""
"I18n sample\n"
"(c) 1998, 1999 Vadim Zeitlin and Julian Smart"
msgstr ""
"I18n Beispiel\n"
"© 1998, 1999 Vadim Zeitlin und Julian Smart"
#: internat.cpp:458
msgid "About Internat"
msgstr "Über Internat"
#: internat.cpp:491
msgid "Enter your number:"
msgstr "Geben Sie eine Zahl ein:"
#: internat.cpp:492
msgid "Try to guess my number!"
msgstr "Versuchen Sie, die Zahl zu raten!"
#: internat.cpp:506
msgid "You've probably entered an invalid number."
msgstr "Sie haben wahrscheinlich eine ungültige Zahl eingegeben."
#: internat.cpp:520
msgid "Congratulations! you've won. Here is the magic phrase:"
msgstr ""
"Herzlichen Glückwunsch! Sie haben gewonnen. Hier ist der magische Satz:"
#: internat.cpp:521
#, c-format
msgid "cannot create fifo `%s'"
msgstr "Fifo `%s' kann nicht erzeugt werden"
#: internat.cpp:530
msgid "Bad luck! try again..."
msgstr "Pech gehabt! Versuchen Sie es noch einmal..."
#: internat.cpp:538
msgid "Result"
msgstr "Ergebnis"
#: internat.cpp:546
msgid "Enter the locale to test"
msgstr "Geben Sie das zu testende Gebietsschema ein"
#: internat.cpp:562
#, c-format
msgid ""
"Locale \"%s\" is available.\n"
"Identifier: %s; Layout: %s\n"
"English name: %s\n"
"Localized name: %s"
msgstr ""
"Gebietsschema \"%s\" ist verfügbar.\n"
"Identifikator: %s; Layout: %s\n"
"Englischer Name: %s\n"
"Lokaler Name: %s"
#: internat.cpp:569
#, c-format
msgid "Locale \"%s\" is not available."
msgstr "Gebietsschema \"%s\" ist nicht verfügbar."
#: internat.cpp:584
msgid "Dummy file dialog"
msgstr "Dummy-Datei-Dialog"
#: internat.cpp:589
msgid "Testing _() (gettext)"
msgstr "Test von _() (gettext)"
#: internat.cpp:597
msgid "Please enter text to translate"
msgstr "Bitte geben Sie einen zu übersetzenden Text ein"
#: internat.cpp:598
msgid "default value"
msgstr "Default-Wert"
#: internat.cpp:612
msgid "Testing _N() (ngettext)"
msgstr "Test von _N() (ngettext)"
#: internat.cpp:614
msgid "Please enter range for plural forms of \"n files deleted\" phrase"
msgstr ""
"Bitte geben Sie einen Bereich für Pluralformen des Satzes \"n Dateien "
"gelöscht\" ein"
#: internat.cpp:626
msgid "file deleted"
msgid_plural "files deleted"
msgstr[0] "Datei gelöscht"
msgstr[1] "Dateien gelöscht"
#: internat.cpp:637
msgid "line 1"
msgstr "Zeile 1"
#: internat.cpp:638
msgid "line 2"
msgstr "Zeile 2"
#: internat.cpp:639
msgid "line 3"
msgstr "Zeile 3"
#: internat.cpp:642
msgid "Testing wxTRANSLATE() (gettext_noop)"
msgstr "Test von wxTRANSLATE() (gettext_noop)"
#: internat.cpp:655
msgid ""
"Are the labels of the buttons in this message box translated into the "
"current locale language?"
msgstr ""
"Wurden die Beschriftungen der Schaltflächen in diesem Hinweisfenster in die "
"Sprache des aktuellen Gebietsschemas übersetzt?"
#: internat.cpp:657
msgid "wxWidgets i18n sample"
msgstr "wxWidgets I18n Beispiel"
#: internat.cpp:662
msgid "Please report the details of your platform to us."
msgstr "Bitte teilen Sie uns über die Details Ihrer Plattform mit."
#, c-format
#~ msgid "Locale \"%s\" is unknown."
#~ msgstr "Gebietsschema \"%s\" ist unbekannt."
#, c-format
#~ msgid "Locale \"%s\" is available."
#~ msgstr "Gebietsschema \"%s\" ist verfügbar."

Binary file not shown.

View File

@@ -0,0 +1,314 @@
# Message catalog file template for the wxWindows i18n sample
# Copyright (C) 1999 wxWindows development team
# Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
#
msgid ""
msgstr ""
"Project-Id-Version: wxWindows 2.0 i18n sample\n"
"POT-Creation-Date: 2021-12-10 10:11+0100\n"
"PO-Revision-Date: 2021-12-10 10:12+0100\n"
"Last-Translator: Ulrich Telle <ulrich@telle-online.eu>\n"
"Language-Team: \n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"X-Generator: Poedit 3.0\n"
"X-Poedit-KeywordsList: _;wxTRANSLATE;wxPLURAL:1,2;wxGETTEXT_IN_CONTEXT:1c,2;"
"wxGETTEXT_IN_CONTEXT_PLURAL:1c,2,3\n"
"X-Poedit-Basepath: ..\n"
"X-Poedit-SearchPath-0: internat.cpp\n"
#: internat.cpp:168
msgid "skip setting locale on startup"
msgstr "ne pas changer les paramètres régionaux au démarrage"
#: internat.cpp:170
msgid "do set locale on startup without asking"
msgstr "changes les paramètres régionaux au démarrage sans poser de questions"
#: internat.cpp:253
#, c-format
msgid "Couldn't find/load 'internat' catalog for %s."
msgstr "Impossible de trouver le catalogue 'internat' pour %s."
#: internat.cpp:289
msgid "International wxWidgets App"
msgstr "Application wxWidgets internationale"
#: internat.cpp:295
msgid "&Test locale availability...\tCtrl-T"
msgstr "&Tester la disponibilité de paramètres régionaux...\tCtrl-T"
#: internat.cpp:300
msgid "E&xit"
msgstr "&Quitter"
#: internat.cpp:303
msgid "&Open bogus file"
msgstr "&Ouvrir un fichier"
#: internat.cpp:303
msgid "Shows a wxWidgets localized error message"
msgstr "Afficher un message d'erreur de wxWidgets traduit"
#: internat.cpp:304
msgid "&Save dummy file"
msgstr "&Sauvegarder un fichier bidon"
#: internat.cpp:304
msgid "Shows a localized standard dialog"
msgstr "Afficher une boîte de dialogue standard localisée"
#: internat.cpp:305
msgid "&Play a game"
msgstr "&Jouer à un jeu"
#: internat.cpp:305
msgid "A little game; hint: 17 is a lucky number for many"
msgstr "Un petit jeu; indication: 17 est un nombre porte bonheur"
#: internat.cpp:307
msgid "&1 _() (gettext)"
msgstr "&1 _() (gettext)"
#: internat.cpp:307
msgid "Tests the _() macro"
msgstr "Tester la macro _()"
#: internat.cpp:308
msgid "&2 _N() (ngettext)"
msgstr "&2 _N() (ngettext)"
#: internat.cpp:308
msgid "Tests the _N() macro"
msgstr "Tester la macro _N()"
#: internat.cpp:309
msgid "&3 wxTRANSLATE() (gettext_noop)"
msgstr "&3 wxTRANSLATE() (gettext_noop)"
#: internat.cpp:309
msgid "Tests the wxTRANSLATE() macro"
msgstr "Tester la macro wxTRANSLATE()"
#: internat.cpp:310
msgid "&Message box test"
msgstr "Test de boîte de dialogue"
#: internat.cpp:311
msgid "Tests message box buttons labels translation"
msgstr "Tester la traduction de boutons de la boîte de dialogue"
#: internat.cpp:316
msgid "item"
msgstr "Élément"
#: internat.cpp:317
msgctxt "context_1"
msgid "item"
msgstr "Élément dans un contexte 1"
#: internat.cpp:318
msgctxt "context_2"
msgid "item"
msgstr "Élément dans un contexte 2"
#: internat.cpp:319 internat.cpp:320
msgid "sing"
msgid_plural "plur"
msgstr[0] "Forme singulière sans contexte"
msgstr[1] "Forme plurielle sans contexte"
#: internat.cpp:321 internat.cpp:322
msgctxt "context_1"
msgid "sing"
msgid_plural "plur"
msgstr[0] "Forme singulière dans un contexte 1"
msgstr[1] "Forme plurielle dans un contexte 1"
#: internat.cpp:323 internat.cpp:324
msgctxt "context_2"
msgid "sing"
msgid_plural "plur"
msgstr[0] "Forme singulière dans un contexte 2"
msgstr[1] "Forme plurielle dans un contexte 2"
#: internat.cpp:328
msgid "Show coreutils &help"
msgstr "Afficher l'&aide pour coreutils"
#: internat.cpp:331
msgid "&About"
msgstr "&A propos"
#: internat.cpp:336
msgid "&Test"
msgstr "&Test"
#: internat.cpp:337
msgid "&Macro"
msgstr "&Macro"
#: internat.cpp:343
msgctxt "standard Windows menu"
msgid "&Help"
msgstr "&Aide"
#: internat.cpp:360
#, c-format
msgid "Current UI locale: %s; C locale: %s"
msgstr "Paramètres régionaux courants: %s; paramètres régionaux C: %s"
#: internat.cpp:373
#, c-format
msgid "UI locale name in English: %s"
msgstr "Nom de paramètres régionaux en anglais: %s"
#: internat.cpp:385
#, c-format
msgid "... and in the locale language: %s"
msgstr "... et dans la langue courante: %s"
#: internat.cpp:396
msgid "Numeric input:"
msgstr "Entrée numérique:"
#: internat.cpp:417
msgid "Number"
msgstr "Nombre"
#: internat.cpp:421
msgid "Date"
msgstr "Date"
#: internat.cpp:437
#, c-format
msgid "Number in UI locale: %s; in C locale: %.2f"
msgstr "Nombre utilisant les paramètres régionaux: %s; sans: %.2f"
#: internat.cpp:457
msgid ""
"I18n sample\n"
"(c) 1998, 1999 Vadim Zeitlin and Julian Smart"
msgstr ""
"Exemple d'i18n\n"
"(c) 1998, 1999 Vadim Zeitlin et Julian Smart"
#: internat.cpp:458
msgid "About Internat"
msgstr "A propos d'Internat"
#: internat.cpp:491
msgid "Enter your number:"
msgstr "Entrez votre numéro:"
#: internat.cpp:492
msgid "Try to guess my number!"
msgstr "Essayez de deviner mon numéro!"
#: internat.cpp:506
msgid "You've probably entered an invalid number."
msgstr "Vous avez probablement entré un nombre invalide."
#: internat.cpp:520
msgid "Congratulations! you've won. Here is the magic phrase:"
msgstr "Félicitations! vouz avez gagné. Voilà la phrase magique:"
#: internat.cpp:521
#, c-format
msgid "cannot create fifo `%s'"
msgstr "impossible de créer fifo `%s'"
#: internat.cpp:530
msgid "Bad luck! try again..."
msgstr "Pas de chance! essayez encore..."
#: internat.cpp:538
msgid "Result"
msgstr "Résultat"
#: internat.cpp:546
msgid "Enter the locale to test"
msgstr "Entres les paramètres régionaux à tester"
#: internat.cpp:562
#, c-format
msgid ""
"Locale \"%s\" is available.\n"
"Identifier: %s; Layout: %s\n"
"English name: %s\n"
"Localized name: %s"
msgstr ""
"Les paramètres régionaux \"%s\" sont disponibles.\n"
"Identifiant: %s; Direction d'écriture: %s\n"
"Nom en anglais: %s\n"
"Nom traduit: %s"
#: internat.cpp:569
#, c-format
msgid "Locale \"%s\" is not available."
msgstr "Les paramètres régionaux \"%s\" ne sont pas disponibles."
#: internat.cpp:584
msgid "Dummy file dialog"
msgstr "Boîte d'ouverture de fichier bidon"
#: internat.cpp:589
msgid "Testing _() (gettext)"
msgstr "Tester _() (gettext)"
#: internat.cpp:597
msgid "Please enter text to translate"
msgstr "Entrez le texte à traduire"
#: internat.cpp:598
msgid "default value"
msgstr "la valeur par défaut"
#: internat.cpp:612
msgid "Testing _N() (ngettext)"
msgstr "Tester _N() (ngettext)"
#: internat.cpp:614
msgid "Please enter range for plural forms of \"n files deleted\" phrase"
msgstr "Veuillez entrer le diapason pour les formes plurielles de la phrase \"n fichiers détruit(s)\""
#: internat.cpp:626
msgid "file deleted"
msgid_plural "files deleted"
msgstr[0] "fichier détruit"
msgstr[1] "fichiers détruits"
#: internat.cpp:637
msgid "line 1"
msgstr "ligne 1"
#: internat.cpp:638
msgid "line 2"
msgstr "ligne 2"
#: internat.cpp:639
msgid "line 3"
msgstr "ligne 3"
#: internat.cpp:642
msgid "Testing wxTRANSLATE() (gettext_noop)"
msgstr "Tester wxTRANSLATE() (gettext_noop)"
#: internat.cpp:655
msgid ""
"Are the labels of the buttons in this message box translated into the "
"current locale language?"
msgstr ""
"Est-ce que les textes des boutons dans cette boîte de dialogue sont "
"traduits dans la langue courante?"
#: internat.cpp:657
msgid "wxWidgets i18n sample"
msgstr "Exemple wxWidgets de i18n"
#: internat.cpp:662
msgid "Please report the details of your platform to us."
msgstr "Contactez-nous avec les détails sur votre environnement SVP."

View File

@@ -0,0 +1,33 @@
<?xml version="1.0" ?>
<makefile>
<set var="BUNDLE_PLIST">$(SRCDIR)/Info.plist.in</set>
<include file="../../build/bakefiles/common_samples.bkl"/>
<exe id="internat" template="wx_sample" template_append="wx_append">
<sources>internat.cpp</sources>
<wx-lib>core</wx-lib>
<wx-lib>base</wx-lib>
</exe>
<template id="catalog">
<dstdir>$(BUILDDIR)/$(id)</dstdir>
<srcdir>$(SRCDIR)/$(id)</srcdir>
<files>internat.po internat.mo</files>
</template>
<wx-data id="ar" template="catalog"/>
<wx-data id="bg" template="catalog"/>
<wx-data id="cs" template="catalog"/>
<wx-data id="de" template="catalog"/>
<wx-data id="fr" template="catalog"/>
<wx-data id="it" template="catalog"/>
<wx-data id="ka" template="catalog"/>
<wx-data id="pl" template="catalog"/>
<wx-data id="ru" template="catalog"/>
<wx-data id="sv" template="catalog"/>
<wx-data id="ja" template="catalog"/>
<wx-data id="ja_JP.EUC-JP" template="catalog"/>
</makefile>

View File

@@ -0,0 +1,683 @@
/////////////////////////////////////////////////////////////////////////////
// Name: internat.cpp
// Purpose: Demonstrates internationalisation (i18n) support
// Author: Vadim Zeitlin/Julian Smart
// Created: 04/01/98
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// NOTE: don't miss the "readme.txt" file which comes with this sample!
// ============================================================================
// declarations
// ============================================================================
// ----------------------------------------------------------------------------
// headers
// ----------------------------------------------------------------------------
// For compilers that support precompilation, includes "wx/wx.h".
#include "wx/wxprec.h"
#ifndef WX_PRECOMP
#include "wx/wx.h"
#endif
#include "wx/calctrl.h"
#include "wx/datectrl.h"
#include "wx/intl.h"
#include "wx/file.h"
#include "wx/grid.h"
#include "wx/log.h"
#include "wx/cmdline.h"
#include "wx/numformatter.h"
#include "wx/platinfo.h"
#include "wx/spinctrl.h"
#include "wx/timectrl.h"
#include "wx/translation.h"
#include "wx/uilocale.h"
#ifndef wxHAS_IMAGES_IN_RESOURCES
#include "../sample.xpm"
#endif
// Under Linux we demonstrate loading an existing message catalog using
// coreutils package (which is always installed) as an example.
#ifdef __LINUX__
#define USE_COREUTILS_MO
static bool g_loadedCoreutilsMO = false;
#endif // __LINUX__
// ----------------------------------------------------------------------------
// private classes
// ----------------------------------------------------------------------------
// Define a new application type
class MyApp: public wxApp
{
public:
MyApp() { m_setLocale = Locale_Ask; }
virtual void OnInitCmdLine(wxCmdLineParser& parser) override;
virtual bool OnCmdLineParsed(wxCmdLineParser& parser) override;
virtual bool OnInit() override;
protected:
// Specifies whether we should use the current locale or not. By default we
// ask the user about it, but it's possible to override this using the
// command line options.
enum
{
Locale_Ask,
Locale_Set,
Locale_Skip
} m_setLocale;
};
// Define a new frame type
class MyFrame: public wxFrame
{
public:
MyFrame();
public:
void OnTestLocaleAvail(wxCommandEvent& event);
void OnAbout(wxCommandEvent& event);
#ifdef USE_COREUTILS_MO
void OnCoreutilsHelp(wxCommandEvent& event);
#endif // USE_COREUTILS_MO
void OnQuit(wxCommandEvent& event);
void OnPlay(wxCommandEvent& event);
void OnOpen(wxCommandEvent& event);
void OnSave(wxCommandEvent& event);
void OnTest1(wxCommandEvent& event);
void OnTest2(wxCommandEvent& event);
void OnTest3(wxCommandEvent& event);
void OnTestMsgBox(wxCommandEvent& event);
wxDECLARE_EVENT_TABLE();
};
// ----------------------------------------------------------------------------
// constants
// ----------------------------------------------------------------------------
// ID for the menu commands
enum
{
INTERNAT_TEST = wxID_HIGHEST,
INTERNAT_PLAY,
INTERNAT_TEST_1,
INTERNAT_TEST_2,
INTERNAT_TEST_3,
INTERNAT_TEST_MSGBOX,
INTERNAT_MACRO_1,
INTERNAT_MACRO_2,
INTERNAT_MACRO_3,
INTERNAT_MACRO_4,
INTERNAT_MACRO_5,
INTERNAT_MACRO_6,
INTERNAT_MACRO_7,
INTERNAT_MACRO_8,
INTERNAT_MACRO_9
};
// ----------------------------------------------------------------------------
// wxWidgets macros
// ----------------------------------------------------------------------------
wxBEGIN_EVENT_TABLE(MyFrame, wxFrame)
EVT_MENU(INTERNAT_TEST, MyFrame::OnTestLocaleAvail)
EVT_MENU(wxID_ABOUT, MyFrame::OnAbout)
#ifdef USE_COREUTILS_MO
EVT_MENU(wxID_HELP, MyFrame::OnCoreutilsHelp)
#endif // USE_COREUTILS_MO
EVT_MENU(wxID_EXIT, MyFrame::OnQuit)
EVT_MENU(INTERNAT_PLAY, MyFrame::OnPlay)
EVT_MENU(wxID_OPEN, MyFrame::OnOpen)
EVT_MENU(wxID_SAVE, MyFrame::OnSave)
EVT_MENU(INTERNAT_TEST_1, MyFrame::OnTest1)
EVT_MENU(INTERNAT_TEST_2, MyFrame::OnTest2)
EVT_MENU(INTERNAT_TEST_3, MyFrame::OnTest3)
EVT_MENU(INTERNAT_TEST_MSGBOX, MyFrame::OnTestMsgBox)
wxEND_EVENT_TABLE()
wxIMPLEMENT_APP(MyApp);
// ============================================================================
// implementation
// ============================================================================
// ----------------------------------------------------------------------------
// MyApp
// ----------------------------------------------------------------------------
// command line arguments handling
static const char* OPTION_NO_LOCALE = "no-locale";
static const char* OPTION_SET_LOCALE = "set-locale";
void MyApp::OnInitCmdLine(wxCmdLineParser& parser)
{
parser.AddSwitch("n", OPTION_NO_LOCALE,
_("skip setting locale on startup"));
parser.AddSwitch("y", OPTION_SET_LOCALE,
_("do set locale on startup without asking"));
wxApp::OnInitCmdLine(parser);
}
bool MyApp::OnCmdLineParsed(wxCmdLineParser& parser)
{
if ( !wxApp::OnCmdLineParsed(parser) )
return false;
if ( parser.Found(OPTION_NO_LOCALE) )
{
m_setLocale = Locale_Skip;
}
if ( parser.Found(OPTION_SET_LOCALE) )
{
if ( m_setLocale == Locale_Skip )
{
wxLogWarning("--%s option overrides --%s",
OPTION_SET_LOCALE, OPTION_NO_LOCALE);
}
m_setLocale = Locale_Set;
}
return true;
}
// `Main program' equivalent, creating windows and returning main app frame
bool MyApp::OnInit()
{
if ( !wxApp::OnInit() )
return false;
// For demonstration purposes only, ask the user if they want to run the
// program using the current system language. In real programs, we would do
// it unconditionally for localized programs -- or never do it at all for
// the other ones.
const wxLanguageInfo* const
langInfo = wxUILocale::GetLanguageInfo(wxLANGUAGE_DEFAULT);
const wxString
langDesc = langInfo ? langInfo->Description
: wxString("the default system language");
if ( m_setLocale == Locale_Ask )
{
m_setLocale = wxMessageBox
(
wxString::Format
(
"Would you like to use the program in %s?",
langDesc
),
"wxWidgets i18n (internat) sample",
wxYES_NO
) == wxYES ? Locale_Set : Locale_Skip;
}
if ( m_setLocale == Locale_Set )
{
if ( !wxUILocale::UseDefault() )
{
wxLogWarning("Failed to initialize the default system locale.");
}
// Independently of whether we succeeded to set the locale or not, try
// to load the translations (for the default system language) here.
// normally this wouldn't be necessary as the catalog files would be found
// in the default locations, but when the program is not installed the
// catalogs are in the build directory where we wouldn't find them by
// default
wxFileTranslationsLoader::AddCatalogLookupPathPrefix(".");
// Create the object for message translation and set it up for global use.
wxTranslations* const trans = new wxTranslations();
wxTranslations::Set(trans);
// Initialize the catalogs we'll be using.
if ( !trans->AddCatalog("internat") )
{
wxLogError(_("Couldn't find/load 'internat' catalog for %s."),
langDesc);
}
// Now try to add wxstd.mo so that loading "NOTEXIST.ING" file will produce
// a localized error message:
trans->AddCatalog("wxstd");
// NOTE: it's not an error if we couldn't find it!
// this catalog is installed in standard location on Linux systems and
// shows that you may make use of the standard message catalogs as well
//
// if it's not installed on your system, it is just silently ignored
#ifdef USE_COREUTILS_MO
wxFileTranslationsLoader::AddCatalogLookupPathPrefix("/usr/share/locale");
g_loadedCoreutilsMO = trans->AddCatalog("coreutils");
#endif // USE_COREUTILS_MO
}
// Create the main frame window
MyFrame *frame = new MyFrame();
// Show the frame
frame->Show(true);
return true;
}
// ----------------------------------------------------------------------------
// MyFrame
// ----------------------------------------------------------------------------
// main frame constructor
MyFrame::MyFrame()
: wxFrame(nullptr,
wxID_ANY,
_("International wxWidgets App"))
{
SetIcon(wxICON(sample));
// Make a menubar
wxMenu *file_menu = new wxMenu;
file_menu->Append(INTERNAT_TEST, _("&Test locale availability...\tCtrl-T"));
file_menu->AppendSeparator();
// since wxID_EXIT is a stock ID it will automatically get a translated help
// string; nice isn't it?
file_menu->Append(wxID_EXIT, _("E&xit"));
wxMenu *test_menu = new wxMenu;
test_menu->Append(wxID_OPEN, _("&Open bogus file"), _("Shows a wxWidgets localized error message"));
test_menu->Append(wxID_SAVE, _("&Save dummy file"), _("Shows a localized standard dialog"));
test_menu->Append(INTERNAT_PLAY, _("&Play a game"), _("A little game; hint: 17 is a lucky number for many"));
test_menu->AppendSeparator();
test_menu->Append(INTERNAT_TEST_1, _("&1 _() (gettext)"), _("Tests the _() macro"));
test_menu->Append(INTERNAT_TEST_2, _("&2 _N() (ngettext)"), _("Tests the _N() macro"));
test_menu->Append(INTERNAT_TEST_3, _("&3 wxTRANSLATE() (gettext_noop)"), _("Tests the wxTRANSLATE() macro"));
test_menu->Append(INTERNAT_TEST_MSGBOX, _("&Message box test"),
_("Tests message box buttons labels translation"));
wxMenu *macro_menu = new wxMenu;
macro_menu->Append(INTERNAT_MACRO_1, _("item"));
macro_menu->Append(INTERNAT_MACRO_2, wxGETTEXT_IN_CONTEXT("context_1", "item"));
macro_menu->Append(INTERNAT_MACRO_3, wxGETTEXT_IN_CONTEXT("context_2", "item"));
macro_menu->Append(INTERNAT_MACRO_4, wxPLURAL("sing", "plur", 1));
macro_menu->Append(INTERNAT_MACRO_5, wxPLURAL("sing", "plur", 2));
macro_menu->Append(INTERNAT_MACRO_6, wxGETTEXT_IN_CONTEXT_PLURAL("context_1", "sing", "plur", 1));
macro_menu->Append(INTERNAT_MACRO_7, wxGETTEXT_IN_CONTEXT_PLURAL("context_1", "sing", "plur", 2));
macro_menu->Append(INTERNAT_MACRO_8, wxGETTEXT_IN_CONTEXT_PLURAL("context_2", "sing", "plur", 1));
macro_menu->Append(INTERNAT_MACRO_9, wxGETTEXT_IN_CONTEXT_PLURAL("context_2", "sing", "plur", 2));
wxMenu *help_menu = new wxMenu;
#ifdef USE_COREUTILS_MO
help_menu->Append(wxID_HELP, _("Show coreutils &help"));
help_menu->AppendSeparator();
#endif // USE_COREUTILS_MO
help_menu->Append(wxID_ABOUT, _("&About"));
wxMenuBar *menu_bar = new wxMenuBar;
// Using stock label here means that it will be automatically translated.
menu_bar->Append(file_menu, wxGetStockLabel(wxID_FILE));
menu_bar->Append(test_menu, _("&Test"));
menu_bar->Append(macro_menu, _("&Macro"));
// We could have used wxGetStockLabel(wxID_HELP) here too, but show the
// special case of "Help" menu: it has a special, Windows-specific
// translation for some languages. Note that normally we would actually use
// it only under MSW, we're doing it here unconditionally just for
// demonstration purposes.
menu_bar->Append(help_menu, wxGETTEXT_IN_CONTEXT("standard Windows menu", "&Help"));
SetMenuBar(menu_bar);
// this demonstrates RTL support in wxStatusBar:
CreateStatusBar(1);
wxPanel* const panel = new wxPanel(this);
wxSizer* const topSizer = new wxBoxSizer(wxVERTICAL);
// create controls showing the locale being used
topSizer->Add(new wxStaticText
(
panel,
wxID_ANY,
wxString::Format
(
_("Current UI locale: %s; C locale: %s"),
wxUILocale::GetCurrent().GetName(),
setlocale(LC_ALL, nullptr)
)
),
wxSizerFlags().Center().Border());
topSizer->Add(new wxStaticText
(
panel,
wxID_ANY,
wxString::Format
(
_("UI locale name in English: %s"),
wxUILocale::GetCurrent().GetLocalizedName(wxLOCALE_NAME_LOCALE, wxLOCALE_FORM_ENGLISH)
)
),
wxSizerFlags().Center().Border());
topSizer->Add(new wxStaticText
(
panel,
wxID_ANY,
wxString::Format
(
_("... and in the locale language: %s"),
wxUILocale::GetCurrent().GetLocalizedName(wxLOCALE_NAME_LOCALE, wxLOCALE_FORM_NATIVE)
)
),
wxSizerFlags().Center().Border());
topSizer->Add(new wxStaticText
(
panel,
wxID_ANY,
wxString::Format
(
_("Preferred UI languages: [%s]"),
wxJoin(wxUILocale::GetPreferredUILanguages(), ',')
)
),
wxSizerFlags().Center().Border());
// create some controls affected by the locale
const int border = wxSizerFlags::GetDefaultBorder();
auto* const sizerInput = new wxFlexGridSizer(2, wxSize(border, border));
sizerInput->AddGrowableCol(1);
// this demonstrates RTL layout mirroring for Arabic locales and using
// locale-specific decimal separator in wxSpinCtrlDouble.
sizerInput->Add(new wxStaticText(panel, wxID_ANY, _("Numeric input:")),
wxSizerFlags().CenterVertical().Right());
wxSpinCtrlDouble* const spin = new wxSpinCtrlDouble(panel, wxID_ANY);
spin->SetDigits(2);
spin->SetValue(12.34);
sizerInput->Add(spin, wxSizerFlags().CenterVertical().Expand());
// this one demonstrates the locale-specific date format
sizerInput->Add(new wxStaticText(panel, wxID_ANY, _("Date input:")),
wxSizerFlags().CenterVertical().Right());
sizerInput->Add(new wxDatePickerCtrl(panel, wxID_ANY),
wxSizerFlags().CenterVertical().Expand());
// and this one does the same for time format
sizerInput->Add(new wxStaticText(panel, wxID_ANY, _("Time input:")),
wxSizerFlags().CenterVertical().Right());
sizerInput->Add(new wxTimePickerCtrl(panel, wxID_ANY),
wxSizerFlags().CenterVertical().Expand());
topSizer->Add(sizerInput, wxSizerFlags().Center());
// show that week days and months names are translated too
topSizer->Add(new wxCalendarCtrl(panel, wxID_ANY),
wxSizerFlags().Center().Border());
// another control using locale-specific number and date format
wxGrid* const grid = new wxGrid(panel, wxID_ANY,
wxDefaultPosition, wxDefaultSize,
wxBORDER_SIMPLE);
grid->CreateGrid(2, 2);
grid->HideRowLabels();
grid->SetColLabelValue(0, _("Number"));
grid->SetColFormatFloat(0, -1 /* width */, 5 /* we only use 5 digits below */);
grid->SetCellValue(0, 0, wxNumberFormatter::ToString(3.14159, -1));
grid->SetColLabelValue(1, _("Date"));
grid->SetColFormatDate(1);
grid->SetCellValue(0, 1, "Today");
topSizer->Add(grid, wxSizerFlags().Center().Border());
// show the difference (in decimal and thousand separator, hence use a
// floating point number > 1000) between wxString::Format() and
// wxNumberFormatter: the former uses the current C locale, while the
// latter uses the UI locale
topSizer->Add(new wxStaticText
(
panel,
wxID_ANY,
wxString::Format
(
_("Number in UI locale: %s; in C locale: %.2f"),
wxNumberFormatter::ToString(1234567.89, 2),
1234567.89
)
),
wxSizerFlags().Center().Border());
panel->SetSizer(topSizer);
topSizer->SetSizeHints(this);
}
void MyFrame::OnQuit(wxCommandEvent& WXUNUSED(event) )
{
Close(true);
}
void MyFrame::OnAbout(wxCommandEvent& WXUNUSED(event))
{
wxMessageDialog dlg(
this,
_("I18n sample\n(c) 1998, 1999 Vadim Zeitlin and Julian Smart"),
_("About Internat"),
wxOK | wxICON_INFORMATION
);
dlg.ShowModal();
}
#ifdef USE_COREUTILS_MO
void MyFrame::OnCoreutilsHelp(wxCommandEvent& WXUNUSED(event))
{
if ( g_loadedCoreutilsMO )
{
// Try showing translation of a message used by coreutils: notice that
// this string isn't inside _(), as its translation is supposed to be
// already present in the coreutils catalog, we don't need to extract
// it from here.
const char* const msg = " --help display this help and exit\n";
wxLogMessage("Translation of coreutils help option description is:\n%s",
wxGetTranslation(msg));
}
else
{
wxLogMessage("Loading coreutils message catalog failed, set "
"WXTRACE=i18n to get more information about it.");
}
}
#endif // USE_COREUTILS_MO
void MyFrame::OnPlay(wxCommandEvent& WXUNUSED(event))
{
wxString str = wxGetTextFromUser
(
_("Enter your number:"),
_("Try to guess my number!"),
wxEmptyString,
this
);
if ( str.empty() )
{
// cancelled
return;
}
long num;
if ( !str.ToLong(&num) || num < 0 )
{
str = _("You've probably entered an invalid number.");
}
else if ( num == 9 )
{
// this message is not translated (not in catalog) because we
// did not put _() around it
str = "You've found a bug in this program!";
}
else if ( num == 17 )
{
str.clear();
// string must be split in two -- otherwise the translation would't be
// found
str << _("Congratulations! you've won. Here is the magic phrase:")
<< _("cannot create fifo `%s'");
}
else
{
// This is a more verbose way to write _().
// (Note that you will need to pass -kwxGetTranslation to xgettext
// for it to recognize this function.)
str = wxGetTranslation("Bad luck! try again...");
}
wxMessageBox(str, _("Result"), wxOK | wxICON_INFORMATION);
}
void MyFrame::OnTestLocaleAvail(wxCommandEvent& WXUNUSED(event))
{
static wxString s_locale;
wxString locale = wxGetTextFromUser
(
_("Enter the locale to test"),
wxGetTextFromUserPromptStr,
s_locale,
this
);
if ( locale.empty() )
return;
s_locale = locale;
wxUILocale uiLocale = wxUILocale::FromTag(s_locale);
if (uiLocale.IsSupported())
{
wxLayoutDirection layout = uiLocale.GetLayoutDirection();
wxString strLayout = (layout == wxLayout_RightToLeft) ? "RTL" : "LTR";
wxLogMessage(_("Locale \"%s\" is available.\nIdentifier: %s; Layout: %s\nEnglish name: %s\nLocalized name: %s"),
s_locale, uiLocale.GetName(), strLayout,
uiLocale.GetLocalizedName(wxLOCALE_NAME_LOCALE, wxLOCALE_FORM_ENGLISH),
uiLocale.GetLocalizedName(wxLOCALE_NAME_LOCALE, wxLOCALE_FORM_NATIVE));
}
else
{
wxLogWarning(_("Locale \"%s\" is not available."), s_locale);
}
}
void MyFrame::OnOpen(wxCommandEvent& WXUNUSED(event))
{
// open a bogus file -- the error message should be also either
// partially or fully translated if you've got wxstd.mo somewhere
// and/or your operating system provides localized error messages.
wxFile file("NOTEXIST.ING");
}
void MyFrame::OnSave(wxCommandEvent& WXUNUSED(event))
{
// show this file dialog just to check that the locale-specific elements in
// it (such as dates) follow the current locale convnetions
wxSaveFileSelector(_("Dummy file dialog"), ".ext", "dummy", this);
}
void MyFrame::OnTest1(wxCommandEvent& WXUNUSED(event))
{
const wxString title = _("Testing _() (gettext)");
// NOTE: using the wxTRANSLATE() macro here we won't show a localized
// string in the text entry dialog; we'll simply show the un-translated
// string; however if the user press "ok" without altering the text,
// since the "default value" string has been extracted by xgettext
// the wxGetTranslation call later will manage to return a localized
// string
wxTextEntryDialog d(this, _("Please enter text to translate"),
title, wxTRANSLATE("default value"));
if (d.ShowModal() == wxID_OK)
{
wxString v = d.GetValue();
wxString s(title);
s << "\n" << v << " -> "
<< wxGetTranslation(v.c_str()) << "\n";
wxMessageBox(s);
}
}
void MyFrame::OnTest2(wxCommandEvent& WXUNUSED(event))
{
const wxString title = _("Testing _N() (ngettext)");
wxTextEntryDialog d(this,
_("Please enter range for plural forms of \"n files deleted\" phrase"),
title, "0-10");
if (d.ShowModal() == wxID_OK)
{
int first, last;
wxSscanf(d.GetValue(), "%d-%d", &first, &last);
wxString s(title);
s << "\n";
for (int n = first; n <= last; ++n)
{
s << n << " " <<
wxPLURAL("file deleted", "files deleted", n) <<
"\n";
}
wxMessageBox(s);
}
}
void MyFrame::OnTest3(wxCommandEvent& WXUNUSED(event))
{
const char* lines[] =
{
wxTRANSLATE("line 1"),
wxTRANSLATE("line 2"),
wxTRANSLATE("line 3"),
};
wxString s(_("Testing wxTRANSLATE() (gettext_noop)"));
s << "\n";
for (size_t i = 0; i < WXSIZEOF(lines); ++i)
{
s << lines[i] << " -> " << wxGetTranslation(lines[i]) << "\n";
}
wxMessageBox(s);
}
void MyFrame::OnTestMsgBox(wxCommandEvent& WXUNUSED(event))
{
if ( wxMessageBox
(
_("Are the labels of the buttons in this message box "
"translated into the current locale language?"),
_("wxWidgets i18n sample"),
wxYES_NO,
this
) != wxYES )
{
wxMessageBox(_("Please report the details of your platform to us."));
}
}

View File

@@ -0,0 +1,450 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="DLL Debug|Win32">
<Configuration>DLL Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="DLL Debug|x64">
<Configuration>DLL Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="DLL Release|Win32">
<Configuration>DLL Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="DLL Release|x64">
<Configuration>DLL Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{B45248B1-BFF5-40B2-A6A7-1BF46A5DF077}</ProjectGuid>
</PropertyGroup>
<Import Project="..\..\build\msw\wx_config.props" />
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DLL Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DLL Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DLL Release|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DLL Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets">
<Import Project="..\..\build\msw\wx_setup.props" />
<Import Project="..\..\build\msw\wx_local.props" Condition="Exists('..\..\build\msw\wx_local.props')" />
<Import Project="..\samples.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='DLL Release|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='DLL Debug|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='DLL Release|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='DLL Debug|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<_ProjectFileVersion>14.0.24720.0</_ProjectFileVersion>
<OutDir>$(wxIntRootDir)</OutDir>
<IntDir>$(wxIntRootDir)$(ProjectName)\</IntDir>
<GenerateManifest>true</GenerateManifest>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DLL Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DLL Release|Win32'">
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DLL Debug|x64'">
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DLL Release|x64'">
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Midl>
<PreprocessorDefinitions>WIN32;_DEBUG;_CRT_SECURE_NO_DEPRECATE=1;_CRT_NON_CONFORMING_SWPRINTFS=1;_SCL_SECURE_NO_WARNINGS=1;__WXMSW__;_UNICODE;_WINDOWS;NOPCH;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>.\..\..\lib\$(wxOutDirName)\$(wxIncSubDir);.\..\..\include;.;.\..\..\samples;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</Midl>
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>.\..\..\lib\$(wxOutDirName)\$(wxIncSubDir);.\..\..\include;.;.\..\..\samples;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_CRT_SECURE_NO_DEPRECATE=1;_CRT_NON_CONFORMING_SWPRINTFS=1;_SCL_SECURE_NO_WARNINGS=1;__WXMSW__;_UNICODE;_WINDOWS;NOPCH;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ExceptionHandling>Sync</ExceptionHandling>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<BufferSecurityCheck>true</BufferSecurityCheck>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<WarningLevel>Level4</WarningLevel>
<SuppressStartupBanner>true</SuppressStartupBanner>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>_DEBUG;_CRT_SECURE_NO_DEPRECATE=1;_CRT_NON_CONFORMING_SWPRINTFS=1;_SCL_SECURE_NO_WARNINGS=1;__WXMSW__;_UNICODE;_WINDOWS;NOPCH;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<Culture>0x0409</Culture>
<AdditionalIncludeDirectories>.\..\..\lib\$(wxOutDirName)\$(wxIncSubDir);.\..\..\include;.;.\..\..\samples;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ResourceCompile>
<Link>
<AdditionalDependencies>$(wxToolkitLibNamePrefix)core.lib;$(wxBaseLibNamePrefix).lib;wxtiff$(wxSuffixDebug).lib;wxjpeg$(wxSuffixDebug).lib;wxpng$(wxSuffixDebug).lib;wxwebp$(wxSuffixDebug).lib;wxzlib$(wxSuffixDebug).lib;wxregexu$(wxSuffixDebug).lib;wxexpat$(wxSuffixDebug).lib;%(AdditionalDependencies)</AdditionalDependencies>
<SuppressStartupBanner>true</SuppressStartupBanner>
<AdditionalLibraryDirectories>.\..\..\lib\$(wxOutDirName);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<TargetMachine>MachineX86</TargetMachine>
</Link>
<Bscmake>
<SuppressStartupBanner>true</SuppressStartupBanner>
</Bscmake>
<Manifest>
<AdditionalManifestFiles>./../../include/wx/msw/wx_dpi_aware_pmv2.manifest %(AdditionalManifestFiles)</AdditionalManifestFiles>
</Manifest>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Midl>
<PreprocessorDefinitions>WIN32;_CRT_SECURE_NO_DEPRECATE=1;_CRT_NON_CONFORMING_SWPRINTFS=1;_SCL_SECURE_NO_WARNINGS=1;__WXMSW__;NDEBUG;_UNICODE;_WINDOWS;NOPCH;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>.\..\..\lib\$(wxOutDirName)\$(wxIncSubDir);.\..\..\include;.;.\..\..\samples;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</Midl>
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<AdditionalIncludeDirectories>.\..\..\lib\$(wxOutDirName)\$(wxIncSubDir);.\..\..\include;.;.\..\..\samples;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_CRT_SECURE_NO_DEPRECATE=1;_CRT_NON_CONFORMING_SWPRINTFS=1;_SCL_SECURE_NO_WARNINGS=1;__WXMSW__;NDEBUG;_UNICODE;_WINDOWS;NOPCH;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ExceptionHandling>Sync</ExceptionHandling>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<WarningLevel>Level4</WarningLevel>
<SuppressStartupBanner>true</SuppressStartupBanner>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>_CRT_SECURE_NO_DEPRECATE=1;_CRT_NON_CONFORMING_SWPRINTFS=1;_SCL_SECURE_NO_WARNINGS=1;__WXMSW__;NDEBUG;_UNICODE;_WINDOWS;NOPCH;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<Culture>0x0409</Culture>
<AdditionalIncludeDirectories>.\..\..\lib\$(wxOutDirName)\$(wxIncSubDir);.\..\..\include;.;.\..\..\samples;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ResourceCompile>
<Link>
<AdditionalDependencies>$(wxToolkitLibNamePrefix)core.lib;$(wxBaseLibNamePrefix).lib;wxtiff$(wxSuffixDebug).lib;wxjpeg$(wxSuffixDebug).lib;wxpng$(wxSuffixDebug).lib;wxwebp$(wxSuffixDebug).lib;wxzlib$(wxSuffixDebug).lib;wxregexu$(wxSuffixDebug).lib;wxexpat$(wxSuffixDebug).lib;%(AdditionalDependencies)</AdditionalDependencies>
<SuppressStartupBanner>true</SuppressStartupBanner>
<AdditionalLibraryDirectories>.\..\..\lib\$(wxOutDirName);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<TargetMachine>MachineX86</TargetMachine>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
</Link>
<Bscmake>
<SuppressStartupBanner>true</SuppressStartupBanner>
</Bscmake>
<Manifest>
<AdditionalManifestFiles>./../../include/wx/msw/wx_dpi_aware_pmv2.manifest %(AdditionalManifestFiles)</AdditionalManifestFiles>
</Manifest>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DLL Debug|Win32'">
<Midl>
<PreprocessorDefinitions>WIN32;_DEBUG;_CRT_SECURE_NO_DEPRECATE=1;_CRT_NON_CONFORMING_SWPRINTFS=1;_SCL_SECURE_NO_WARNINGS=1;__WXMSW__;_UNICODE;WXUSINGDLL;_WINDOWS;NOPCH;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>.\..\..\lib\$(wxOutDirName)\$(wxIncSubDir);.\..\..\include;.;.\..\..\samples;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</Midl>
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>.\..\..\lib\$(wxOutDirName)\$(wxIncSubDir);.\..\..\include;.;.\..\..\samples;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_CRT_SECURE_NO_DEPRECATE=1;_CRT_NON_CONFORMING_SWPRINTFS=1;_SCL_SECURE_NO_WARNINGS=1;__WXMSW__;_UNICODE;WXUSINGDLL;_WINDOWS;NOPCH;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ExceptionHandling>Sync</ExceptionHandling>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<BufferSecurityCheck>true</BufferSecurityCheck>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<WarningLevel>Level4</WarningLevel>
<SuppressStartupBanner>true</SuppressStartupBanner>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>_DEBUG;_CRT_SECURE_NO_DEPRECATE=1;_CRT_NON_CONFORMING_SWPRINTFS=1;_SCL_SECURE_NO_WARNINGS=1;__WXMSW__;_UNICODE;WXUSINGDLL;_WINDOWS;NOPCH;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<Culture>0x0409</Culture>
<AdditionalIncludeDirectories>.\..\..\lib\$(wxOutDirName)\$(wxIncSubDir);.\..\..\include;.;.\..\..\samples;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ResourceCompile>
<Link>
<AdditionalDependencies>$(wxToolkitLibNamePrefix)core.lib;$(wxBaseLibNamePrefix).lib;wxtiff$(wxSuffixDebug).lib;wxjpeg$(wxSuffixDebug).lib;wxpng$(wxSuffixDebug).lib;wxwebp$(wxSuffixDebug).lib;wxzlib$(wxSuffixDebug).lib;wxregexu$(wxSuffixDebug).lib;wxexpat$(wxSuffixDebug).lib;%(AdditionalDependencies)</AdditionalDependencies>
<SuppressStartupBanner>true</SuppressStartupBanner>
<AdditionalLibraryDirectories>.\..\..\lib\$(wxOutDirName);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<TargetMachine>MachineX86</TargetMachine>
</Link>
<Bscmake>
<SuppressStartupBanner>true</SuppressStartupBanner>
</Bscmake>
<Manifest>
<AdditionalManifestFiles>./../../include/wx/msw/wx_dpi_aware_pmv2.manifest %(AdditionalManifestFiles)</AdditionalManifestFiles>
</Manifest>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DLL Release|Win32'">
<Midl>
<PreprocessorDefinitions>WIN32;_CRT_SECURE_NO_DEPRECATE=1;_CRT_NON_CONFORMING_SWPRINTFS=1;_SCL_SECURE_NO_WARNINGS=1;__WXMSW__;NDEBUG;_UNICODE;WXUSINGDLL;_WINDOWS;NOPCH;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>.\..\..\lib\$(wxOutDirName)\$(wxIncSubDir);.\..\..\include;.;.\..\..\samples;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</Midl>
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<AdditionalIncludeDirectories>.\..\..\lib\$(wxOutDirName)\$(wxIncSubDir);.\..\..\include;.;.\..\..\samples;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_CRT_SECURE_NO_DEPRECATE=1;_CRT_NON_CONFORMING_SWPRINTFS=1;_SCL_SECURE_NO_WARNINGS=1;__WXMSW__;NDEBUG;_UNICODE;WXUSINGDLL;_WINDOWS;NOPCH;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ExceptionHandling>Sync</ExceptionHandling>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<WarningLevel>Level4</WarningLevel>
<SuppressStartupBanner>true</SuppressStartupBanner>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>_CRT_SECURE_NO_DEPRECATE=1;_CRT_NON_CONFORMING_SWPRINTFS=1;_SCL_SECURE_NO_WARNINGS=1;__WXMSW__;NDEBUG;_UNICODE;WXUSINGDLL;_WINDOWS;NOPCH;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<Culture>0x0409</Culture>
<AdditionalIncludeDirectories>.\..\..\lib\$(wxOutDirName)\$(wxIncSubDir);.\..\..\include;.;.\..\..\samples;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ResourceCompile>
<Link>
<AdditionalDependencies>$(wxToolkitLibNamePrefix)core.lib;$(wxBaseLibNamePrefix).lib;wxtiff$(wxSuffixDebug).lib;wxjpeg$(wxSuffixDebug).lib;wxpng$(wxSuffixDebug).lib;wxwebp$(wxSuffixDebug).lib;wxzlib$(wxSuffixDebug).lib;wxregexu$(wxSuffixDebug).lib;wxexpat$(wxSuffixDebug).lib;%(AdditionalDependencies)</AdditionalDependencies>
<SuppressStartupBanner>true</SuppressStartupBanner>
<AdditionalLibraryDirectories>.\..\..\lib\$(wxOutDirName);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<TargetMachine>MachineX86</TargetMachine>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
</Link>
<Bscmake>
<SuppressStartupBanner>true</SuppressStartupBanner>
</Bscmake>
<Manifest>
<AdditionalManifestFiles>./../../include/wx/msw/wx_dpi_aware_pmv2.manifest %(AdditionalManifestFiles)</AdditionalManifestFiles>
</Manifest>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Midl>
<PreprocessorDefinitions>WIN32;_DEBUG;_CRT_SECURE_NO_DEPRECATE=1;_CRT_NON_CONFORMING_SWPRINTFS=1;_SCL_SECURE_NO_WARNINGS=1;__WXMSW__;_UNICODE;_WINDOWS;NOPCH;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>.\..\..\lib\$(wxOutDirName)\$(wxIncSubDir);.\..\..\include;.;.\..\..\samples;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</Midl>
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>.\..\..\lib\$(wxOutDirName)\$(wxIncSubDir);.\..\..\include;.;.\..\..\samples;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_CRT_SECURE_NO_DEPRECATE=1;_CRT_NON_CONFORMING_SWPRINTFS=1;_SCL_SECURE_NO_WARNINGS=1;__WXMSW__;_UNICODE;_WINDOWS;NOPCH;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ExceptionHandling>Sync</ExceptionHandling>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<BufferSecurityCheck>true</BufferSecurityCheck>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<WarningLevel>Level4</WarningLevel>
<SuppressStartupBanner>true</SuppressStartupBanner>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>_DEBUG;_CRT_SECURE_NO_DEPRECATE=1;_CRT_NON_CONFORMING_SWPRINTFS=1;_SCL_SECURE_NO_WARNINGS=1;__WXMSW__;_UNICODE;_WINDOWS;NOPCH;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<Culture>0x0409</Culture>
<AdditionalIncludeDirectories>.\..\..\lib\$(wxOutDirName)\$(wxIncSubDir);.\..\..\include;.;.\..\..\samples;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ResourceCompile>
<Link>
<AdditionalDependencies>$(wxToolkitLibNamePrefix)core.lib;$(wxBaseLibNamePrefix).lib;wxtiff$(wxSuffixDebug).lib;wxjpeg$(wxSuffixDebug).lib;wxpng$(wxSuffixDebug).lib;wxwebp$(wxSuffixDebug).lib;wxzlib$(wxSuffixDebug).lib;wxregexu$(wxSuffixDebug).lib;wxexpat$(wxSuffixDebug).lib;%(AdditionalDependencies)</AdditionalDependencies>
<SuppressStartupBanner>true</SuppressStartupBanner>
<AdditionalLibraryDirectories>.\..\..\lib\$(wxOutDirName);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<TargetMachine>MachineX64</TargetMachine>
</Link>
<Bscmake>
<SuppressStartupBanner>true</SuppressStartupBanner>
</Bscmake>
<Manifest>
<AdditionalManifestFiles>./../../include/wx/msw/wx_dpi_aware_pmv2.manifest %(AdditionalManifestFiles)</AdditionalManifestFiles>
</Manifest>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Midl>
<PreprocessorDefinitions>WIN32;_CRT_SECURE_NO_DEPRECATE=1;_CRT_NON_CONFORMING_SWPRINTFS=1;_SCL_SECURE_NO_WARNINGS=1;__WXMSW__;NDEBUG;_UNICODE;_WINDOWS;NOPCH;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>.\..\..\lib\$(wxOutDirName)\$(wxIncSubDir);.\..\..\include;.;.\..\..\samples;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</Midl>
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<AdditionalIncludeDirectories>.\..\..\lib\$(wxOutDirName)\$(wxIncSubDir);.\..\..\include;.;.\..\..\samples;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_CRT_SECURE_NO_DEPRECATE=1;_CRT_NON_CONFORMING_SWPRINTFS=1;_SCL_SECURE_NO_WARNINGS=1;__WXMSW__;NDEBUG;_UNICODE;_WINDOWS;NOPCH;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ExceptionHandling>Sync</ExceptionHandling>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<WarningLevel>Level4</WarningLevel>
<SuppressStartupBanner>true</SuppressStartupBanner>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>_CRT_SECURE_NO_DEPRECATE=1;_CRT_NON_CONFORMING_SWPRINTFS=1;_SCL_SECURE_NO_WARNINGS=1;__WXMSW__;NDEBUG;_UNICODE;_WINDOWS;NOPCH;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<Culture>0x0409</Culture>
<AdditionalIncludeDirectories>.\..\..\lib\$(wxOutDirName)\$(wxIncSubDir);.\..\..\include;.;.\..\..\samples;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ResourceCompile>
<Link>
<AdditionalDependencies>$(wxToolkitLibNamePrefix)core.lib;$(wxBaseLibNamePrefix).lib;wxtiff$(wxSuffixDebug).lib;wxjpeg$(wxSuffixDebug).lib;wxpng$(wxSuffixDebug).lib;wxwebp$(wxSuffixDebug).lib;wxzlib$(wxSuffixDebug).lib;wxregexu$(wxSuffixDebug).lib;wxexpat$(wxSuffixDebug).lib;%(AdditionalDependencies)</AdditionalDependencies>
<SuppressStartupBanner>true</SuppressStartupBanner>
<AdditionalLibraryDirectories>.\..\..\lib\$(wxOutDirName);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<TargetMachine>MachineX64</TargetMachine>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
</Link>
<Bscmake>
<SuppressStartupBanner>true</SuppressStartupBanner>
</Bscmake>
<Manifest>
<AdditionalManifestFiles>./../../include/wx/msw/wx_dpi_aware_pmv2.manifest %(AdditionalManifestFiles)</AdditionalManifestFiles>
</Manifest>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DLL Debug|x64'">
<Midl>
<PreprocessorDefinitions>WIN32;_DEBUG;_CRT_SECURE_NO_DEPRECATE=1;_CRT_NON_CONFORMING_SWPRINTFS=1;_SCL_SECURE_NO_WARNINGS=1;__WXMSW__;_UNICODE;WXUSINGDLL;_WINDOWS;NOPCH;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>.\..\..\lib\$(wxOutDirName)\$(wxIncSubDir);.\..\..\include;.;.\..\..\samples;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</Midl>
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>.\..\..\lib\$(wxOutDirName)\$(wxIncSubDir);.\..\..\include;.;.\..\..\samples;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_CRT_SECURE_NO_DEPRECATE=1;_CRT_NON_CONFORMING_SWPRINTFS=1;_SCL_SECURE_NO_WARNINGS=1;__WXMSW__;_UNICODE;WXUSINGDLL;_WINDOWS;NOPCH;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ExceptionHandling>Sync</ExceptionHandling>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<BufferSecurityCheck>true</BufferSecurityCheck>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<WarningLevel>Level4</WarningLevel>
<SuppressStartupBanner>true</SuppressStartupBanner>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>_DEBUG;_CRT_SECURE_NO_DEPRECATE=1;_CRT_NON_CONFORMING_SWPRINTFS=1;_SCL_SECURE_NO_WARNINGS=1;__WXMSW__;_UNICODE;WXUSINGDLL;_WINDOWS;NOPCH;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<Culture>0x0409</Culture>
<AdditionalIncludeDirectories>.\..\..\lib\$(wxOutDirName)\$(wxIncSubDir);.\..\..\include;.;.\..\..\samples;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ResourceCompile>
<Link>
<AdditionalDependencies>$(wxToolkitLibNamePrefix)core.lib;$(wxBaseLibNamePrefix).lib;wxtiff$(wxSuffixDebug).lib;wxjpeg$(wxSuffixDebug).lib;wxpng$(wxSuffixDebug).lib;wxwebp$(wxSuffixDebug).lib;wxzlib$(wxSuffixDebug).lib;wxregexu$(wxSuffixDebug).lib;wxexpat$(wxSuffixDebug).lib;%(AdditionalDependencies)</AdditionalDependencies>
<SuppressStartupBanner>true</SuppressStartupBanner>
<AdditionalLibraryDirectories>.\..\..\lib\$(wxOutDirName);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<TargetMachine>MachineX64</TargetMachine>
</Link>
<Bscmake>
<SuppressStartupBanner>true</SuppressStartupBanner>
</Bscmake>
<Manifest>
<AdditionalManifestFiles>./../../include/wx/msw/wx_dpi_aware_pmv2.manifest %(AdditionalManifestFiles)</AdditionalManifestFiles>
</Manifest>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DLL Release|x64'">
<Midl>
<PreprocessorDefinitions>WIN32;_CRT_SECURE_NO_DEPRECATE=1;_CRT_NON_CONFORMING_SWPRINTFS=1;_SCL_SECURE_NO_WARNINGS=1;__WXMSW__;NDEBUG;_UNICODE;WXUSINGDLL;_WINDOWS;NOPCH;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>.\..\..\lib\$(wxOutDirName)\$(wxIncSubDir);.\..\..\include;.;.\..\..\samples;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</Midl>
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<AdditionalIncludeDirectories>.\..\..\lib\$(wxOutDirName)\$(wxIncSubDir);.\..\..\include;.;.\..\..\samples;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_CRT_SECURE_NO_DEPRECATE=1;_CRT_NON_CONFORMING_SWPRINTFS=1;_SCL_SECURE_NO_WARNINGS=1;__WXMSW__;NDEBUG;_UNICODE;WXUSINGDLL;_WINDOWS;NOPCH;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ExceptionHandling>Sync</ExceptionHandling>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<WarningLevel>Level4</WarningLevel>
<SuppressStartupBanner>true</SuppressStartupBanner>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>_CRT_SECURE_NO_DEPRECATE=1;_CRT_NON_CONFORMING_SWPRINTFS=1;_SCL_SECURE_NO_WARNINGS=1;__WXMSW__;NDEBUG;_UNICODE;WXUSINGDLL;_WINDOWS;NOPCH;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<Culture>0x0409</Culture>
<AdditionalIncludeDirectories>.\..\..\lib\$(wxOutDirName)\$(wxIncSubDir);.\..\..\include;.;.\..\..\samples;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ResourceCompile>
<Link>
<AdditionalDependencies>$(wxToolkitLibNamePrefix)core.lib;$(wxBaseLibNamePrefix).lib;wxtiff$(wxSuffixDebug).lib;wxjpeg$(wxSuffixDebug).lib;wxpng$(wxSuffixDebug).lib;wxwebp$(wxSuffixDebug).lib;wxzlib$(wxSuffixDebug).lib;wxregexu$(wxSuffixDebug).lib;wxexpat$(wxSuffixDebug).lib;%(AdditionalDependencies)</AdditionalDependencies>
<SuppressStartupBanner>true</SuppressStartupBanner>
<AdditionalLibraryDirectories>.\..\..\lib\$(wxOutDirName);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<TargetMachine>MachineX64</TargetMachine>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
</Link>
<Bscmake>
<SuppressStartupBanner>true</SuppressStartupBanner>
</Bscmake>
<Manifest>
<AdditionalManifestFiles>./../../include/wx/msw/wx_dpi_aware_pmv2.manifest %(AdditionalManifestFiles)</AdditionalManifestFiles>
</Manifest>
</ItemDefinitionGroup>
<ItemGroup>
<ResourceCompile Include="..\sample.rc" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="internat.cpp" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="..\sample.rc">
<Filter>Resource Files</Filter>
</ResourceCompile>
</ItemGroup>
<ItemGroup>
<ClCompile Include="internat.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
</Project>

Binary file not shown.

View File

@@ -0,0 +1,222 @@
# wxWidgets internat sample
# Copyright (C) 2009 wxWindows development team
# This file is distributed under the same license as the wxWidgets package.
# Francesco Montorsi
#
msgid ""
msgstr ""
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-02-08 16:16+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Francesco Montorsi <f18m_cpp217828@yahoo.it>\n"
"Language-Team: wxWidgets translators <wx-translators@googlegroups.com>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
#: ../internat.cpp:175 ../internat.cpp:181
msgid "locale"
msgstr "locale"
#: ../internat.cpp:193 ../internat.cpp:396 ../internat.cpp:199
#: ../internat.cpp:418
#, c-format
msgid "Locale \"%s\" is unknown."
msgstr "Il locale \"%s\" è sconosciuto."
#: ../internat.cpp:213 ../internat.cpp:219
msgid "Please choose language:"
msgstr "Prego scegliere la lingua:"
#: ../internat.cpp:214 ../internat.cpp:220
msgid "Language"
msgstr "Lingua"
#: ../internat.cpp:225 ../internat.cpp:231
msgid "This language is not supported by the system."
msgstr "Questa lingua non è supportata dal sistema."
#: ../internat.cpp:238 ../internat.cpp:244
msgid "Couldn't find/load the 'internat' catalog."
msgstr "Impossibile trovare/caricare il catalogo 'internat'."
#: ../internat.cpp:259 ../internat.cpp:287
msgid "&Test locale availability...\tCtrl-T"
msgstr "&Verifica la disponibilità del locale...\tCtrl-T"
#: ../internat.cpp:261 ../internat.cpp:292
msgid "&About"
msgstr "&Informazioni su"
#: ../internat.cpp:263 ../internat.cpp:294
msgid "E&xit"
msgstr "&Chiudi"
#: ../internat.cpp:266 ../internat.cpp:297
msgid "&Open bogus file"
msgstr "&Apri file inesistente"
#: ../internat.cpp:267 ../internat.cpp:298
msgid "&Play a game"
msgstr "&Gioca"
#: ../internat.cpp:269 ../internat.cpp:300
msgid "&1 _() (gettext)"
msgstr "&1 _() (gettext)"
#: ../internat.cpp:270 ../internat.cpp:301
msgid "&2 _N() (ngettext)"
msgstr "&2 _N() (ngettext)"
#: ../internat.cpp:271 ../internat.cpp:302
msgid "&3 wxTRANSLATE() (gettext_noop)"
msgstr "&3 wxTRANSLATE() (gettext_noop)"
#: ../internat.cpp:275 ../internat.cpp:306
msgid "&Test"
msgstr "&Prova"
#: ../internat.cpp:293 ../internat.cpp:280
msgid "International wxWidgets App"
msgstr "Applicazione wxWidgets internazionale"
#: ../internat.cpp:298 ../internat.cpp:314
msgid "First"
msgstr "Primo"
#: ../internat.cpp:300 ../internat.cpp:316
msgid "Second"
msgstr "Secondo"
#: ../internat.cpp:317 ../internat.cpp:333
#, c-format
msgid ""
"Language: %s\n"
"System locale name:\n"
"%s\n"
"Canonical locale name: %s\n"
msgstr ""
"Lingua: %s\n"
"Nome del locale di sistema:\n"
"%s\n"
"Nome canonico del locale: %s\n"
#: ../internat.cpp:322 ../internat.cpp:338
msgid ""
"I18n sample\n"
"(c) 1998, 1999 Vadim Zeitlin and Julian Smart"
msgstr ""
"Esempio I18n\n"
"(c) 1998, 1999 Vadim Zeitlin e Julian Smart"
#: ../internat.cpp:325 ../internat.cpp:341
msgid "About Internat"
msgstr "Informazioni su Internat"
#: ../internat.cpp:335 ../internat.cpp:351
msgid "Enter your number:"
msgstr "Immetti il tuo numero:"
#: ../internat.cpp:336 ../internat.cpp:352
msgid "Try to guess my number!"
msgstr "Prova ad indovinare il mio numero!"
#: ../internat.cpp:350 ../internat.cpp:366
msgid "You've probably entered an invalid number."
msgstr "Hai probabilmente inserito un numero non valido."
#: ../internat.cpp:364 ../internat.cpp:380
msgid "Congratulations! you've won. Here is the magic phrase:"
msgstr "Congratulazioni! Hai vinto. Questa è la frase magica:"
#: ../internat.cpp:365 ../internat.cpp:381
#, c-format
msgid "cannot create fifo `%s'"
msgstr "impossibile creare la fifo `%s'"
#: ../internat.cpp:375 ../internat.cpp:390
msgid "Bad luck! try again..."
msgstr "Che sfortuna! prova ancora..."
#: ../internat.cpp:376 ../internat.cpp:398
msgid "Result"
msgstr "Risultato"
#: ../internat.cpp:384 ../internat.cpp:406
msgid "Enter the locale to test"
msgstr "Immetti il locale da testare"
#: ../internat.cpp:401 ../internat.cpp:423
#, c-format
msgid "Locale \"%s\" is available."
msgstr "Il locale \"%s\" è disponibile."
#: ../internat.cpp:403 ../internat.cpp:425
#, c-format
msgid "Locale \"%s\" is not available."
msgstr "Il locale \"%s\" è non disponibile."
#: ../internat.cpp:415 ../internat.cpp:437
msgid "Testing _() (gettext)"
msgstr "Prova _() (gettext)"
#: ../internat.cpp:416 ../internat.cpp:445
msgid "Please enter text to translate"
msgstr "Prego inserire il testo da tradurre"
#: ../internat.cpp:417 ../internat.cpp:446
msgid "default value"
msgstr "valore di default"
#: ../internat.cpp:430 ../internat.cpp:460
msgid "Testing _N() (ngettext)"
msgstr "Prova _N() (ngettext)"
#: ../internat.cpp:432 ../internat.cpp:462
msgid "Please enter range for plural forms of \"n files deleted\" phrase"
msgstr ""
"Prego inserire un intervallo per le forme plurali della frase \"n file "
"rimossi\""
#: ../internat.cpp:443 ../internat.cpp:474
msgid "file deleted"
msgid_plural "files deleted"
msgstr[0] "file rimosso"
msgstr[1] "file rimossi"
#: ../internat.cpp:454 ../internat.cpp:485
msgid "line 1"
msgstr "linea 1"
#: ../internat.cpp:455 ../internat.cpp:486
msgid "line 2"
msgstr "linea 2"
#: ../internat.cpp:456 ../internat.cpp:487
msgid "line 3"
msgstr "linea 3"
#: ../internat.cpp:458 ../internat.cpp:490
msgid "Testing wxTRANSLATE() (gettext_noop)"
msgstr "Prova wxTRANSLATE() (gettext_noop)"
#: ../internat.cpp:297
msgid "Shows a wxWidgets localized error message"
msgstr "Mostra un messaggio di errore di wxWidgets tradotto"
#: ../internat.cpp:298
msgid "A little game; hint: 17 is a lucky number for many"
msgstr "Un piccolo gioco; consiglio: 17 è un numero fortunato per molti"
#: ../internat.cpp:300
msgid "Tests the _() macro"
msgstr "Verifica la macro _()"
#: ../internat.cpp:301
msgid "Tests the _N() macro"
msgstr "Verifica la macro _N()"
#: ../internat.cpp:302
msgid "Tests the wxTRANSLATE() macro"
msgstr "Verifica la macro wxTRANSLATE()"

Binary file not shown.

View File

@@ -0,0 +1,142 @@
msgid ""
msgstr ""
"Project-Id-Version: 1.00.00\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2006-07-08 18:21+0900\n"
"PO-Revision-Date: 2006-07-14 20:43+0900\n"
"Last-Translator: 鈴見咲君高 <suzumizaki@free.japandesign.ne.jp>\n"
"Language-Team: 鈴見咲 <suzumizaki@free.japandesign.ne.jp>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Poedit-Language: Japanese\n"
"X-Poedit-Country: JAPAN\n"
"X-Poedit-SourceCharset: iso-8859-1\n"
#: ../internat.cpp:214
msgid "&About"
msgstr "このアプリケーションについて(&A)"
#: ../internat.cpp:216
msgid "E&xit"
msgstr "終了(&X)\tAlt-X"
#: ../internat.cpp:219
msgid "&Open bogus file"
msgstr "存在しないファイルを開いてみる(&O)"
#: ../internat.cpp:220
msgid "&Play a game"
msgstr "ゲーム(&P)"
#: ../internat.cpp:222
msgid "&1 _() (gettext)"
msgstr "&1 _() (gettext)"
#: ../internat.cpp:223
msgid "&2 _N() (ngettext)"
msgstr "&2 _N() (ngettext)"
#: ../internat.cpp:224
msgid "&3 wxTRANSLATE() (gettext_noop)"
msgstr "&3 wxTRANSLATE() (gettext_noop)"
#: ../internat.cpp:228
msgid "&Test"
msgstr "試行(&T)"
#: ../internat.cpp:246
msgid "International wxWidgets App"
msgstr "wxWidgets 国際化実装例"
#: ../internat.cpp:264
#, c-format
msgid ""
"Language: %s\n"
"System locale name:\n"
"%s\n"
"Canonical locale name: %s\n"
msgstr ""
"C言語形式の言語: %s\n"
"現処理系の地域名: %s\n"
"正式名称: %s\n"
#: ../internat.cpp:269
msgid ""
"I18n sample\n"
"(c) 1998, 1999 Vadim Zeitlin and Julian Smart"
msgstr ""
"I18n 実装例\n"
"© 1998, 1999 Vadim Zeitlin and Julian Smart"
#: ../internat.cpp:272
msgid "About Internat"
msgstr "このアプリケーションについて"
#: ../internat.cpp:282
msgid "Enter your number:"
msgstr "数字を入力して下さい:"
#: ../internat.cpp:283
msgid "Try to guess my number!"
msgstr "数字を入力してください。"
#: ../internat.cpp:297
msgid "You've probably entered an invalid number."
msgstr "入力した文字は数値としては無効と思われます。"
#: ../internat.cpp:311
msgid "Congratulations! you've won. Here is the magic phrase:"
msgstr "正解です。 ここに暗号を表示します:"
#: ../internat.cpp:312
#, c-format
msgid "cannot create fifo `%s'"
msgstr "fifo %s を作ることができませんでした"
#: ../internat.cpp:323
msgid "Result"
msgstr "結果"
#: ../internat.cpp:335
msgid "Testing _() (gettext)"
msgstr "_() (gettext) の結果をチェック"
#: ../internat.cpp:336
msgid "Please enter text to translate"
msgstr "翻訳したい文字列を入力"
#: ../internat.cpp:337
msgid "default value"
msgstr "初期設定値"
#: ../internat.cpp:350
msgid "Testing _N() (ngettext)"
msgstr "_N() (ngettext) を試行します。"
#: ../internat.cpp:352
msgid "Please enter range for plural forms of \"n files deleted\" phrase"
msgstr "\"n 個のファイルが削除されました。\" という文の複数形対応を試行します。試行する値の範囲を入力してください(日本語では無意味ですが)。"
#: ../internat.cpp:363
msgid "file deleted"
msgid_plural "files deleted"
msgstr[0] "個のファイルが削除されました。"
#: ../internat.cpp:374
msgid "line 1"
msgstr "1行目"
#: ../internat.cpp:375
msgid "line 2"
msgstr "2行目"
#: ../internat.cpp:376
msgid "line 3"
msgstr "3行目"
#: ../internat.cpp:378
msgid "Testing wxTRANSLATE() (gettext_noop)"
msgstr "wxTRANSLATE() (gettext_noop) の結果をチェック"

View File

@@ -0,0 +1,81 @@
msgid ""
msgstr ""
"Project-Id-Version: wxWindows 2.5 internat sample\n"
"POT-Creation-Date: 2003-02-03 23:45+0100\n"
"PO-Revision-Date: 2003-02-03 23:45+0100\n"
"Last-Translator: James Bishop\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ..\internat.cpp:180
msgid "&About"
msgstr "wxウィンドウズについて"
#: ..\internat.cpp:182
msgid "E&xit"
msgstr "終了"
#: ..\internat.cpp:233
msgid "About Internat"
msgstr "インターナットについて"
#: ..\internat.cpp:185
msgid "&Open bogus file"
msgstr "ボーガス ファイルを開く"
#: ..\internat.cpp:186
msgid "&Play a game"
msgstr "ゲームをする"
#: ..\internat.cpp:190
msgid "&Test"
msgstr "テスト"
#: ..\internat.cpp:208
msgid "International wxWindows App"
msgstr "国際 wxウィンドウズ アプリケーション"
#: ..\internat.cpp:228
#, c-format
msgid "c-フォーマット"
"Language: %s\n"
"System locale name: %s\n"
"Canonical locale name: %s\n"
msgstr "言語: %s\n"
"システム ローカル名: %s\n"
"一般的名: %s\n"
#: ..\internat.cpp:231
msgid "インターナット.cpp:231"
"I18n sample\n"
"(c) 1998, 1999 Vadim Zeitlin and Julian Smart"
msgstr "I18n サンプル\n"
"(c) 1998, 1999 Vadim Zeitlin and Julian Smart"
#: ..\internat.cpp:238
msgid "Enter your number:"
msgstr "数字を入力して下さい。"
#: ..\internat.cpp:239
msgid "Try to guess my number!"
msgstr "私の数字を当ててみて下さい!"
#: ..\internat.cpp:246
msgid "You've probably entered an invalid number."
msgstr "入力した数字は多分無効です。"
#: ..\internat.cpp:255
msgid "Congratulations! you've won. Here is the magic phrase:"
msgstr "おめでとうございます! あなたの勝。 これが魔法の言葉です。:"
#: ..\internat.cpp:256
#, c-format
msgid "cannot create fifo `%s'"
msgstr "fifo %s を作ることができませんでした"
#: ..\internat.cpp:259
msgid "Result"
msgstr "結果"
msgid "Bad luck! try again..."
msgstr ""

Binary file not shown.

View File

@@ -0,0 +1,74 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR Free Software Foundation, Inc.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 1999-08-28 16:46+0000\n"
"PO-Revision-Date: 2003-04-12 20:10+0400\n"
"Last-Translator: Aiet Kolkhi <aiet@gmx.net>\n"
"Language-Team: Georgian\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../internat.cpp:120
msgid "International wxWindows App"
msgstr "საერთაშორისო wxWindows პროგბრამა"
#: ../internat.cpp:128
msgid "&About"
msgstr "შეს&ახებ"
#: ../internat.cpp:130
msgid "E&xit"
msgstr "&გამოსვლა"
#: ../internat.cpp:133
msgid "&Open bogus file"
msgstr "გ&ახსენი დეფექტიანი ფაილი"
#: ../internat.cpp:134
msgid "&Play a game"
msgstr "ითამაშე &თამაში"
#: ../internat.cpp:138
msgid "&Test"
msgstr "&ტესტი"
#: ../internat.cpp:161
msgid "I18n sample\n"
"© 1998, 1999 Vadim Zeitlin and Julian Smart"
msgstr "I18n მაგალითი\n"
"© 1998, 1999 დათვი სიკინჭილაშვილი და ზანზარონე თეთრწვერაშვილი"
#: ../internat.cpp:163
msgid "About Internat"
msgstr "Internat-ის შე&სახებ"
#: ../internat.cpp:168
msgid "Enter your number:"
msgstr "შეიყვანეთ ნომერი:"
#: ../internat.cpp:169
msgid "Try to guess my number!"
msgstr "ცადე ჩემი ნომრის გამოცნობა!"
#: ../internat.cpp:177
msgid "You've probably entered an invalid number."
msgstr "ალბათ, არასწორი ნომერი შეიყვანეთ."
#: ../internat.cpp:185
msgid "Congratulations! you've won. Here is the magic phrase:"
msgstr "გილოცავთ, თქვენ გაიმარჯვეთ. სულ გამარჯვებით გევლოთ! აი ჯადოსნური ფრაზა:"
#: ../internat.cpp:186
#, c-format
msgid "cannot create fifo `%s'"
msgstr "ვერ შევქმენი Fifo `%s'"
#: ../internat.cpp:189
msgid "Result"
msgstr "შედეგი"

View File

@@ -0,0 +1,276 @@
# =========================================================================
# This makefile was generated by
# Bakefile 0.2.13 (http://www.bakefile.org)
# Do not modify, all changes will be overwritten!
# =========================================================================
include ../../build/msw/config.gcc
# -------------------------------------------------------------------------
# Do not modify the rest of this file!
# -------------------------------------------------------------------------
### Variables: ###
CPPDEPS = -MT$@ -MF$@.d -MD -MP
WX_RELEASE_NODOT = 33
COMPILER_PREFIX = gcc
OBJS = \
$(COMPILER_PREFIX)$(COMPILER_VERSION)_$(PORTNAME)$(WXUNIVNAME)u$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
LIBDIRNAME = \
.\..\..\lib\$(COMPILER_PREFIX)$(COMPILER_VERSION)_$(LIBTYPE_SUFFIX)$(CFG)
SETUPHDIR = $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)u$(WXDEBUGFLAG)
INTERNAT_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG_2) $(__THREADSFLAG) \
-D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) \
$(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \
-I$(SETUPHDIR) -I.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_p) -W \
-Wall -I. $(__DLLFLAG_p) -I.\..\..\samples -DNOPCH $(__RTTIFLAG_5) \
$(__EXCEPTIONSFLAG_6) -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
INTERNAT_OBJECTS = \
$(OBJS)\internat_sample_rc.o \
$(OBJS)\internat_internat.o
### Conditionally set variables: ###
ifeq ($(USE_GUI),0)
PORTNAME = base
endif
ifeq ($(USE_GUI),1)
PORTNAME = msw$(TOOLKIT_VERSION)
endif
ifeq ($(OFFICIAL_BUILD),1)
COMPILER_VERSION = ERROR-COMPILER-VERSION-MUST-BE-SET-FOR-OFFICIAL-BUILD
endif
ifeq ($(BUILD),debug)
WXDEBUGFLAG = d
endif
ifeq ($(WXUNIV),1)
WXUNIVNAME = univ
endif
ifeq ($(SHARED),1)
WXDLLFLAG = dll
endif
ifeq ($(SHARED),0)
LIBTYPE_SUFFIX = lib
endif
ifeq ($(SHARED),1)
LIBTYPE_SUFFIX = dll
endif
ifeq ($(MONOLITHIC),0)
EXTRALIBS_FOR_BASE =
endif
ifeq ($(MONOLITHIC),1)
EXTRALIBS_FOR_BASE =
endif
ifeq ($(BUILD),debug)
__OPTIMIZEFLAG_2 = -O0
endif
ifeq ($(BUILD),release)
__OPTIMIZEFLAG_2 = -O2
endif
ifeq ($(USE_RTTI),0)
__RTTIFLAG_5 = -fno-rtti
endif
ifeq ($(USE_RTTI),1)
__RTTIFLAG_5 =
endif
ifeq ($(USE_EXCEPTIONS),0)
__EXCEPTIONSFLAG_6 = -fno-exceptions
endif
ifeq ($(USE_EXCEPTIONS),1)
__EXCEPTIONSFLAG_6 =
endif
ifeq ($(WXUNIV),1)
__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
endif
ifeq ($(WXUNIV),1)
__WXUNIV_DEFINE_p_1 = --define __WXUNIVERSAL__
endif
ifeq ($(DEBUG_FLAG),0)
__DEBUG_DEFINE_p = -DwxDEBUG_LEVEL=0
endif
ifeq ($(DEBUG_FLAG),0)
__DEBUG_DEFINE_p_1 = --define wxDEBUG_LEVEL=0
endif
ifeq ($(BUILD),release)
__NDEBUG_DEFINE_p = -DNDEBUG
endif
ifeq ($(BUILD),release)
__NDEBUG_DEFINE_p_1 = --define NDEBUG
endif
ifeq ($(USE_EXCEPTIONS),0)
__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
endif
ifeq ($(USE_EXCEPTIONS),0)
__EXCEPTIONS_DEFINE_p_1 = --define wxNO_EXCEPTIONS
endif
ifeq ($(USE_RTTI),0)
__RTTI_DEFINE_p = -DwxNO_RTTI
endif
ifeq ($(USE_RTTI),0)
__RTTI_DEFINE_p_1 = --define wxNO_RTTI
endif
ifeq ($(USE_THREADS),0)
__THREAD_DEFINE_p = -DwxNO_THREADS
endif
ifeq ($(USE_THREADS),0)
__THREAD_DEFINE_p_1 = --define wxNO_THREADS
endif
ifeq ($(USE_CAIRO),1)
____CAIRO_INCLUDEDIR_FILENAMES_p = -I$(CAIRO_ROOT)\include\cairo
endif
ifeq ($(USE_CAIRO),1)
__CAIRO_INCLUDEDIR_p = --include-dir $(CAIRO_ROOT)/include/cairo
endif
ifeq ($(SHARED),1)
__DLLFLAG_p = -DWXUSINGDLL
endif
ifeq ($(SHARED),1)
__DLLFLAG_p_1 = --define WXUSINGDLL
endif
ifeq ($(MONOLITHIC),0)
__WXLIB_CORE_p = \
-lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)u$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core
endif
ifeq ($(MONOLITHIC),0)
__WXLIB_BASE_p = -lwxbase$(WX_RELEASE_NODOT)u$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
endif
ifeq ($(MONOLITHIC),1)
__WXLIB_MONO_p = \
-lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)u$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
endif
ifeq ($(MONOLITHIC),1)
ifeq ($(USE_STC),1)
__LIB_SCINTILLA_IF_MONO_p = -lwxscintilla$(WXDEBUGFLAG)
endif
endif
ifeq ($(MONOLITHIC),1)
ifeq ($(USE_STC),1)
__LIB_LEXILLA_IF_MONO_p = $(__LIB_LEXILLA_p)
endif
endif
ifeq ($(USE_STC),1)
__LIB_LEXILLA_p = -lwxlexilla$(WXDEBUGFLAG)
endif
ifeq ($(USE_GUI),1)
__LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
endif
ifeq ($(USE_GUI),1)
__LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
endif
ifeq ($(USE_GUI),1)
__LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
endif
ifeq ($(USE_GUI),1)
__LIB_WEBP_p = -lwxwebp$(WXDEBUGFLAG)
endif
ifeq ($(USE_CAIRO),1)
__CAIRO_LIB_p = -lcairo
endif
ifeq ($(USE_CAIRO),1)
____CAIRO_LIBDIR_FILENAMES_p = -L$(CAIRO_ROOT)\lib
endif
ifeq ($(BUILD),debug)
ifeq ($(DEBUG_INFO),default)
__DEBUGINFO = -g
endif
endif
ifeq ($(BUILD),release)
ifeq ($(DEBUG_INFO),default)
__DEBUGINFO =
endif
endif
ifeq ($(DEBUG_INFO),0)
__DEBUGINFO =
endif
ifeq ($(DEBUG_INFO),1)
__DEBUGINFO = -g
endif
ifeq ($(USE_THREADS),0)
__THREADSFLAG =
endif
ifeq ($(USE_THREADS),1)
__THREADSFLAG = -mthreads
endif
all: $(OBJS)
$(OBJS):
-if not exist $(OBJS) mkdir $(OBJS)
### Targets: ###
all: $(OBJS)\internat.exe ar bg cs de fr it ka pl ru sv ja ja_JP.EUC-JP
clean:
-if exist $(OBJS)\*.o del $(OBJS)\*.o
-if exist $(OBJS)\*.d del $(OBJS)\*.d
-if exist $(OBJS)\internat.exe del $(OBJS)\internat.exe
$(OBJS)\internat.exe: $(INTERNAT_OBJECTS) $(OBJS)\internat_sample_rc.o
$(foreach f,$(subst \,/,$(INTERNAT_OBJECTS)),$(shell echo $f >> $(subst \,/,$@).rsp.tmp))
@move /y $@.rsp.tmp $@.rsp >nul
$(CXX) -o $@ @$@.rsp $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) -Wl,--subsystem,windows -mwindows $(____CAIRO_LIBDIR_FILENAMES_p) $(LDFLAGS) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_SCINTILLA_IF_MONO_p) $(__LIB_LEXILLA_IF_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(__LIB_WEBP_p) -lwxzlib$(WXDEBUGFLAG) -lwxregexu$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) $(EXTRALIBS_FOR_BASE) $(__CAIRO_LIB_p) -lkernel32 -luser32 -lgdi32 -lgdiplus -lmsimg32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lshlwapi -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lversion -lws2_32 -lwininet -loleacc -luxtheme
@-del $@.rsp
ar:
if not exist $(OBJS)\ar mkdir $(OBJS)\ar
for %%f in (internat.po internat.mo) do if not exist $(OBJS)\ar\%%f copy .\ar\%%f $(OBJS)\ar
bg:
if not exist $(OBJS)\bg mkdir $(OBJS)\bg
for %%f in (internat.po internat.mo) do if not exist $(OBJS)\bg\%%f copy .\bg\%%f $(OBJS)\bg
cs:
if not exist $(OBJS)\cs mkdir $(OBJS)\cs
for %%f in (internat.po internat.mo) do if not exist $(OBJS)\cs\%%f copy .\cs\%%f $(OBJS)\cs
de:
if not exist $(OBJS)\de mkdir $(OBJS)\de
for %%f in (internat.po internat.mo) do if not exist $(OBJS)\de\%%f copy .\de\%%f $(OBJS)\de
fr:
if not exist $(OBJS)\fr mkdir $(OBJS)\fr
for %%f in (internat.po internat.mo) do if not exist $(OBJS)\fr\%%f copy .\fr\%%f $(OBJS)\fr
it:
if not exist $(OBJS)\it mkdir $(OBJS)\it
for %%f in (internat.po internat.mo) do if not exist $(OBJS)\it\%%f copy .\it\%%f $(OBJS)\it
ka:
if not exist $(OBJS)\ka mkdir $(OBJS)\ka
for %%f in (internat.po internat.mo) do if not exist $(OBJS)\ka\%%f copy .\ka\%%f $(OBJS)\ka
pl:
if not exist $(OBJS)\pl mkdir $(OBJS)\pl
for %%f in (internat.po internat.mo) do if not exist $(OBJS)\pl\%%f copy .\pl\%%f $(OBJS)\pl
ru:
if not exist $(OBJS)\ru mkdir $(OBJS)\ru
for %%f in (internat.po internat.mo) do if not exist $(OBJS)\ru\%%f copy .\ru\%%f $(OBJS)\ru
sv:
if not exist $(OBJS)\sv mkdir $(OBJS)\sv
for %%f in (internat.po internat.mo) do if not exist $(OBJS)\sv\%%f copy .\sv\%%f $(OBJS)\sv
ja:
if not exist $(OBJS)\ja mkdir $(OBJS)\ja
for %%f in (internat.po internat.mo) do if not exist $(OBJS)\ja\%%f copy .\ja\%%f $(OBJS)\ja
ja_JP.EUC-JP:
if not exist $(OBJS)\ja_JP.EUC-JP mkdir $(OBJS)\ja_JP.EUC-JP
for %%f in (internat.po internat.mo) do if not exist $(OBJS)\ja_JP.EUC-JP\%%f copy .\ja_JP.EUC-JP\%%f $(OBJS)\ja_JP.EUC-JP
$(OBJS)\internat_sample_rc.o: ./../../samples/sample.rc
$(WINDRES) -i$< -o$@ --define __WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__NDEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) --include-dir $(SETUPHDIR) --include-dir ./../../include $(__CAIRO_INCLUDEDIR_p) --include-dir . $(__DLLFLAG_p_1) --define wxUSE_DPI_AWARE_MANIFEST=$(USE_DPI_AWARE_MANIFEST) --include-dir ./../../samples --define NOPCH
$(OBJS)\internat_internat.o: ./internat.cpp
$(CXX) -c -o $@ $(INTERNAT_CXXFLAGS) $(CPPDEPS) $<
.PHONY: all clean ar bg cs de fr it ka pl ru sv ja ja_JP.EUC-JP
SHELL := $(COMSPEC)
# Dependencies tracking:
-include $(OBJS)/*.d

View File

@@ -0,0 +1,100 @@
# =========================================================================
# This makefile was generated by
# Bakefile 0.2.13 (http://www.bakefile.org)
# Do not modify, all changes will be overwritten!
# =========================================================================
# -------------------------------------------------------------------------
# These are configurable options:
# -------------------------------------------------------------------------
# C++ compiler
CXX = `$(WX_CONFIG) --cxx`
# Standard flags for C++
CXXFLAGS ?=
# Standard preprocessor flags (common for CC and CXX)
CPPFLAGS ?=
# Standard linker flags
LDFLAGS ?=
# Location and arguments of wx-config script
WX_CONFIG ?= wx-config
# Port of the wx library to build against [gtk2,msw,x11,osx_cocoa,osx_carbon,dfb]
WX_PORT ?= $(shell $(WX_CONFIG) --query-toolkit)
# Use DLL build of wx library to use? [0,1]
WX_SHARED ?= $(shell if test -z `$(WX_CONFIG) --query-linkage`; then echo 1; else echo 0; fi)
# Compile Unicode build of wxWidgets? [0,1]
WX_UNICODE ?= $(shell $(WX_CONFIG) --query-chartype | sed 's/unicode/1/;s/ansi/0/')
# Version of the wx library to build against.
WX_VERSION ?= $(shell $(WX_CONFIG) --query-version | sed -e 's/\([0-9]*\)\.\([0-9]*\)/\1\2/')
# -------------------------------------------------------------------------
# Do not modify the rest of this file!
# -------------------------------------------------------------------------
### Variables: ###
CPPDEPS = -MT$@ -MF`echo $@ | sed -e 's,\.o$$,.d,'` -MD -MP
WX_VERSION_MAJOR = $(shell echo $(WX_VERSION) | cut -c1,1)
WX_VERSION_MINOR = $(shell echo $(WX_VERSION) | cut -c2,2)
WX_CONFIG_FLAGS = $(WX_CONFIG_UNICODE_FLAG) $(WX_CONFIG_SHARED_FLAG) \
--toolkit=$(WX_PORT) --version=$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR)
INTERNAT_CXXFLAGS = -I. `$(WX_CONFIG) --cxxflags $(WX_CONFIG_FLAGS)` $(CPPFLAGS) \
$(CXXFLAGS)
INTERNAT_OBJECTS = \
internat_internat.o
### Conditionally set variables: ###
ifeq ($(WX_UNICODE),0)
WX_CONFIG_UNICODE_FLAG = --unicode=no
endif
ifeq ($(WX_UNICODE),1)
WX_CONFIG_UNICODE_FLAG = --unicode=yes
endif
ifeq ($(WX_SHARED),0)
WX_CONFIG_SHARED_FLAG = --static=yes
endif
ifeq ($(WX_SHARED),1)
WX_CONFIG_SHARED_FLAG = --static=no
endif
### Targets: ###
all: test_for_selected_wxbuild internat
install:
uninstall:
clean:
rm -f ./*.o
rm -f ./*.d
rm -f internat
test_for_selected_wxbuild:
@$(WX_CONFIG) $(WX_CONFIG_FLAGS)
internat: $(INTERNAT_OBJECTS)
$(CXX) -o $@ $(INTERNAT_OBJECTS) $(LDFLAGS) `$(WX_CONFIG) $(WX_CONFIG_FLAGS) --libs core,base`
internat_internat.o: ./internat.cpp
$(CXX) -c -o $@ $(INTERNAT_CXXFLAGS) $(CPPDEPS) $<
.PHONY: all install uninstall clean
# Dependencies tracking:
-include ./*.d

View File

@@ -0,0 +1,489 @@
# =========================================================================
# This makefile was generated by
# Bakefile 0.2.13 (http://www.bakefile.org)
# Do not modify, all changes will be overwritten!
# =========================================================================
!include <../../build/msw/config.vc>
# -------------------------------------------------------------------------
# Do not modify the rest of this file!
# -------------------------------------------------------------------------
### Variables: ###
WX_RELEASE_NODOT = 33
COMPILER_PREFIX = vc
OBJS = \
$(COMPILER_PREFIX)$(COMPILER_VERSION)$(ARCH_SUFFIX)_$(PORTNAME)$(WXUNIVNAME)u$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
LIBDIRNAME = \
.\..\..\lib\$(COMPILER_PREFIX)$(COMPILER_VERSION)$(ARCH_SUFFIX)_$(LIBTYPE_SUFFIX)$(CFG)
SETUPHDIR = $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)u$(WXDEBUGFLAG)
INTERNAT_CXXFLAGS = /M$(__RUNTIME_LIBS_10)$(__DEBUGRUNTIME_4) /DWIN32 \
$(__DEBUGINFO_0) /Fd$(OBJS)\internat.pdb $(____DEBUGRUNTIME_3_p) \
$(__OPTIMIZEFLAG_6) /D_CRT_SECURE_NO_DEPRECATE=1 \
/D_CRT_NON_CONFORMING_SWPRINTFS=1 /D_SCL_SECURE_NO_WARNINGS=1 \
$(__NO_VC_CRTDBG_p) $(__TARGET_CPU_COMPFLAG_p) /D__WXMSW__ \
$(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) \
$(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \
/I$(SETUPHDIR) /I.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_p) /W4 /I. \
$(__DLLFLAG_p) /D_WINDOWS /I.\..\..\samples /DNOPCH $(__RTTIFLAG_11) \
$(__EXCEPTIONSFLAG_12) $(CPPFLAGS) $(CXXFLAGS)
INTERNAT_OBJECTS = \
$(OBJS)\internat_internat.obj
INTERNAT_RESOURCES = \
$(OBJS)\internat_sample.res
### Conditionally set variables: ###
!if "$(TARGET_CPU)" == "AMD64"
ARCH_SUFFIX = _x64
!endif
!if "$(TARGET_CPU)" == "ARM"
ARCH_SUFFIX = _arm
!endif
!if "$(TARGET_CPU)" == "ARM64"
ARCH_SUFFIX = _arm64
!endif
!if "$(TARGET_CPU)" == "IA64"
ARCH_SUFFIX = _ia64
!endif
!if "$(TARGET_CPU)" == "X64"
ARCH_SUFFIX = _x64
!endif
!if "$(TARGET_CPU)" == "" && "$(VISUALSTUDIOPLATFORM)" == "X64"
ARCH_SUFFIX = _x64
!endif
!if "$(TARGET_CPU)" == "" && "$(VISUALSTUDIOPLATFORM)" == "x64"
ARCH_SUFFIX = _x64
!endif
!if "$(TARGET_CPU)" == "amd64"
ARCH_SUFFIX = _x64
!endif
!if "$(TARGET_CPU)" == "arm"
ARCH_SUFFIX = _arm
!endif
!if "$(TARGET_CPU)" == "arm64"
ARCH_SUFFIX = _arm64
!endif
!if "$(TARGET_CPU)" == "ia64"
ARCH_SUFFIX = _ia64
!endif
!if "$(TARGET_CPU)" == "x64"
ARCH_SUFFIX = _x64
!endif
!if "$(USE_GUI)" == "0"
PORTNAME = base
!endif
!if "$(USE_GUI)" == "1"
PORTNAME = msw$(TOOLKIT_VERSION)
!endif
!if "$(OFFICIAL_BUILD)" == "1"
COMPILER_VERSION = ERROR-COMPILER-VERSION-MUST-BE-SET-FOR-OFFICIAL-BUILD
!endif
!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
WXDEBUGFLAG = d
!endif
!if "$(DEBUG_RUNTIME_LIBS)" == "1"
WXDEBUGFLAG = d
!endif
!if "$(WXUNIV)" == "1"
WXUNIVNAME = univ
!endif
!if "$(SHARED)" == "1"
WXDLLFLAG = dll
!endif
!if "$(SHARED)" == "0"
LIBTYPE_SUFFIX = lib
!endif
!if "$(SHARED)" == "1"
LIBTYPE_SUFFIX = dll
!endif
!if "$(TARGET_CPU)" == "AMD64"
LINK_TARGET_CPU = /MACHINE:X64
!endif
!if "$(TARGET_CPU)" == "ARM"
LINK_TARGET_CPU = /MACHINE:ARM
!endif
!if "$(TARGET_CPU)" == "ARM64"
LINK_TARGET_CPU = /MACHINE:ARM64
!endif
!if "$(TARGET_CPU)" == "IA64"
LINK_TARGET_CPU = /MACHINE:IA64
!endif
!if "$(TARGET_CPU)" == "X64"
LINK_TARGET_CPU = /MACHINE:X64
!endif
!if "$(TARGET_CPU)" == "" && "$(VISUALSTUDIOPLATFORM)" == "X64"
LINK_TARGET_CPU = /MACHINE:X64
!endif
!if "$(TARGET_CPU)" == "" && "$(VISUALSTUDIOPLATFORM)" == "x64"
LINK_TARGET_CPU = /MACHINE:X64
!endif
!if "$(TARGET_CPU)" == "amd64"
LINK_TARGET_CPU = /MACHINE:X64
!endif
!if "$(TARGET_CPU)" == "arm"
LINK_TARGET_CPU = /MACHINE:ARM
!endif
!if "$(TARGET_CPU)" == "arm64"
LINK_TARGET_CPU = /MACHINE:ARM64
!endif
!if "$(TARGET_CPU)" == "ia64"
LINK_TARGET_CPU = /MACHINE:IA64
!endif
!if "$(TARGET_CPU)" == "x64"
LINK_TARGET_CPU = /MACHINE:X64
!endif
!if "$(USE_DPI_AWARE_MANIFEST)" == "1" && "$(VISUALSTUDIOVERSION)" == "14.0"
WIN32_DPI_LINKFLAG = /MANIFEST:EMBED \
/MANIFESTINPUT:./../../include/wx/msw/wx_dpi_aware.manifest
!endif
!if "$(USE_DPI_AWARE_MANIFEST)" == "1" && "$(VISUALSTUDIOVERSION)" == "15.0"
WIN32_DPI_LINKFLAG = /MANIFEST:EMBED \
/MANIFESTINPUT:./../../include/wx/msw/wx_dpi_aware.manifest
!endif
!if "$(USE_DPI_AWARE_MANIFEST)" == "1" && "$(VISUALSTUDIOVERSION)" == "16.0"
WIN32_DPI_LINKFLAG = /MANIFEST:EMBED \
/MANIFESTINPUT:./../../include/wx/msw/wx_dpi_aware.manifest
!endif
!if "$(USE_DPI_AWARE_MANIFEST)" == "1" && "$(VISUALSTUDIOVERSION)" == "17.0"
WIN32_DPI_LINKFLAG = /MANIFEST:EMBED \
/MANIFESTINPUT:./../../include/wx/msw/wx_dpi_aware.manifest
!endif
!if "$(USE_DPI_AWARE_MANIFEST)" == "2" && "$(VISUALSTUDIOVERSION)" == "14.0"
WIN32_DPI_LINKFLAG = /MANIFEST:EMBED \
/MANIFESTINPUT:./../../include/wx/msw/wx_dpi_aware_pmv2.manifest
!endif
!if "$(USE_DPI_AWARE_MANIFEST)" == "2" && "$(VISUALSTUDIOVERSION)" == "15.0"
WIN32_DPI_LINKFLAG = /MANIFEST:EMBED \
/MANIFESTINPUT:./../../include/wx/msw/wx_dpi_aware_pmv2.manifest
!endif
!if "$(USE_DPI_AWARE_MANIFEST)" == "2" && "$(VISUALSTUDIOVERSION)" == "16.0"
WIN32_DPI_LINKFLAG = /MANIFEST:EMBED \
/MANIFESTINPUT:./../../include/wx/msw/wx_dpi_aware_pmv2.manifest
!endif
!if "$(USE_DPI_AWARE_MANIFEST)" == "2" && "$(VISUALSTUDIOVERSION)" == "17.0"
WIN32_DPI_LINKFLAG = /MANIFEST:EMBED \
/MANIFESTINPUT:./../../include/wx/msw/wx_dpi_aware_pmv2.manifest
!endif
!if "$(MONOLITHIC)" == "0"
EXTRALIBS_FOR_BASE =
!endif
!if "$(MONOLITHIC)" == "1"
EXTRALIBS_FOR_BASE =
!endif
!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
__DEBUGINFO_0 = /Zi
!endif
!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
__DEBUGINFO_0 =
!endif
!if "$(DEBUG_INFO)" == "0"
__DEBUGINFO_0 =
!endif
!if "$(DEBUG_INFO)" == "1"
__DEBUGINFO_0 = /Zi
!endif
!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
__DEBUGINFO_1 = /DEBUG
!endif
!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
__DEBUGINFO_1 =
!endif
!if "$(DEBUG_INFO)" == "0"
__DEBUGINFO_1 =
!endif
!if "$(DEBUG_INFO)" == "1"
__DEBUGINFO_1 = /DEBUG
!endif
!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
__DEBUGINFO_2 = $(__DEBUGRUNTIME_5)
!endif
!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
__DEBUGINFO_2 =
!endif
!if "$(DEBUG_INFO)" == "0"
__DEBUGINFO_2 =
!endif
!if "$(DEBUG_INFO)" == "1"
__DEBUGINFO_2 = $(__DEBUGRUNTIME_5)
!endif
!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
____DEBUGRUNTIME_3_p = /D_DEBUG
!endif
!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
____DEBUGRUNTIME_3_p =
!endif
!if "$(DEBUG_RUNTIME_LIBS)" == "0"
____DEBUGRUNTIME_3_p =
!endif
!if "$(DEBUG_RUNTIME_LIBS)" == "1"
____DEBUGRUNTIME_3_p = /D_DEBUG
!endif
!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
____DEBUGRUNTIME_3_p_1 = /d _DEBUG
!endif
!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
____DEBUGRUNTIME_3_p_1 =
!endif
!if "$(DEBUG_RUNTIME_LIBS)" == "0"
____DEBUGRUNTIME_3_p_1 =
!endif
!if "$(DEBUG_RUNTIME_LIBS)" == "1"
____DEBUGRUNTIME_3_p_1 = /d _DEBUG
!endif
!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
__DEBUGRUNTIME_4 = d
!endif
!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
__DEBUGRUNTIME_4 =
!endif
!if "$(DEBUG_RUNTIME_LIBS)" == "0"
__DEBUGRUNTIME_4 =
!endif
!if "$(DEBUG_RUNTIME_LIBS)" == "1"
__DEBUGRUNTIME_4 = d
!endif
!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
__DEBUGRUNTIME_5 =
!endif
!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
__DEBUGRUNTIME_5 = /opt:ref /opt:icf
!endif
!if "$(DEBUG_RUNTIME_LIBS)" == "0"
__DEBUGRUNTIME_5 = /opt:ref /opt:icf
!endif
!if "$(DEBUG_RUNTIME_LIBS)" == "1"
__DEBUGRUNTIME_5 =
!endif
!if "$(BUILD)" == "debug"
__OPTIMIZEFLAG_6 = /Od
!endif
!if "$(BUILD)" == "release"
__OPTIMIZEFLAG_6 = /O2
!endif
!if "$(USE_THREADS)" == "0"
__THREADSFLAG_9 = L
!endif
!if "$(USE_THREADS)" == "1"
__THREADSFLAG_9 = T
!endif
!if "$(RUNTIME_LIBS)" == "dynamic"
__RUNTIME_LIBS_10 = D
!endif
!if "$(RUNTIME_LIBS)" == "static"
__RUNTIME_LIBS_10 = $(__THREADSFLAG_9)
!endif
!if "$(USE_RTTI)" == "0"
__RTTIFLAG_11 = /GR-
!endif
!if "$(USE_RTTI)" == "1"
__RTTIFLAG_11 = /GR
!endif
!if "$(USE_EXCEPTIONS)" == "0"
__EXCEPTIONSFLAG_12 =
!endif
!if "$(USE_EXCEPTIONS)" == "1"
__EXCEPTIONSFLAG_12 = /EHsc
!endif
!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
!endif
!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
!endif
!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
__NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
!endif
!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
__NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
!endif
!if "$(TARGET_CPU)" == ""
__TARGET_CPU_COMPFLAG_p = /DTARGET_CPU_COMPFLAG=0
!endif
!if "$(TARGET_CPU)" == "" && "$(VISUALSTUDIOPLATFORM)" == "X64"
__TARGET_CPU_COMPFLAG_p =
!endif
!if "$(TARGET_CPU)" == "" && "$(VISUALSTUDIOPLATFORM)" == "x64"
__TARGET_CPU_COMPFLAG_p =
!endif
!if "$(TARGET_CPU)" == ""
__TARGET_CPU_COMPFLAG_p_1 = /d TARGET_CPU_COMPFLAG=0
!endif
!if "$(TARGET_CPU)" == "" && "$(VISUALSTUDIOPLATFORM)" == "X64"
__TARGET_CPU_COMPFLAG_p_1 =
!endif
!if "$(TARGET_CPU)" == "" && "$(VISUALSTUDIOPLATFORM)" == "x64"
__TARGET_CPU_COMPFLAG_p_1 =
!endif
!if "$(WXUNIV)" == "1"
__WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
!endif
!if "$(WXUNIV)" == "1"
__WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__
!endif
!if "$(DEBUG_FLAG)" == "0"
__DEBUG_DEFINE_p = /DwxDEBUG_LEVEL=0
!endif
!if "$(DEBUG_FLAG)" == "0"
__DEBUG_DEFINE_p_1 = /d wxDEBUG_LEVEL=0
!endif
!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
__NDEBUG_DEFINE_p = /DNDEBUG
!endif
!if "$(DEBUG_RUNTIME_LIBS)" == "0"
__NDEBUG_DEFINE_p = /DNDEBUG
!endif
!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
__NDEBUG_DEFINE_p_1 = /d NDEBUG
!endif
!if "$(DEBUG_RUNTIME_LIBS)" == "0"
__NDEBUG_DEFINE_p_1 = /d NDEBUG
!endif
!if "$(USE_EXCEPTIONS)" == "0"
__EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
!endif
!if "$(USE_EXCEPTIONS)" == "0"
__EXCEPTIONS_DEFINE_p_1 = /d wxNO_EXCEPTIONS
!endif
!if "$(USE_RTTI)" == "0"
__RTTI_DEFINE_p = /DwxNO_RTTI
!endif
!if "$(USE_RTTI)" == "0"
__RTTI_DEFINE_p_1 = /d wxNO_RTTI
!endif
!if "$(USE_THREADS)" == "0"
__THREAD_DEFINE_p = /DwxNO_THREADS
!endif
!if "$(USE_THREADS)" == "0"
__THREAD_DEFINE_p_1 = /d wxNO_THREADS
!endif
!if "$(USE_CAIRO)" == "1"
____CAIRO_INCLUDEDIR_FILENAMES_p = /I$(CAIRO_ROOT)\include\cairo
!endif
!if "$(USE_CAIRO)" == "1"
____CAIRO_INCLUDEDIR_FILENAMES_1_p = /i $(CAIRO_ROOT)\include\cairo
!endif
!if "$(SHARED)" == "1"
__DLLFLAG_p = /DWXUSINGDLL
!endif
!if "$(SHARED)" == "1"
__DLLFLAG_p_1 = /d WXUSINGDLL
!endif
!if "$(MONOLITHIC)" == "0"
__WXLIB_CORE_p = \
wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)u$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
!endif
!if "$(MONOLITHIC)" == "0"
__WXLIB_BASE_p = \
wxbase$(WX_RELEASE_NODOT)u$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
!endif
!if "$(MONOLITHIC)" == "1"
__WXLIB_MONO_p = \
wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)u$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
!endif
!if "$(MONOLITHIC)" == "1" && "$(USE_STC)" == "1"
__LIB_SCINTILLA_IF_MONO_p = wxscintilla$(WXDEBUGFLAG).lib
!endif
!if "$(MONOLITHIC)" == "1" && "$(USE_STC)" == "1"
__LIB_LEXILLA_IF_MONO_p = $(__LIB_LEXILLA_p)
!endif
!if "$(USE_STC)" == "1"
__LIB_LEXILLA_p = wxlexilla$(WXDEBUGFLAG).lib
!endif
!if "$(USE_GUI)" == "1"
__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
!endif
!if "$(USE_GUI)" == "1"
__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
!endif
!if "$(USE_GUI)" == "1"
__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
!endif
!if "$(USE_GUI)" == "1"
__LIB_WEBP_p = wxwebp$(WXDEBUGFLAG).lib
!endif
!if "$(USE_CAIRO)" == "1"
__CAIRO_LIB_p = cairo.lib
!endif
!if "$(USE_CAIRO)" == "1"
____CAIRO_LIBDIR_FILENAMES_p = /LIBPATH:$(CAIRO_ROOT)\lib
!endif
all: $(OBJS)
$(OBJS):
-if not exist $(OBJS) mkdir $(OBJS)
### Targets: ###
all: $(OBJS)\internat.exe ar bg cs de fr it ka pl ru sv ja ja_JP.EUC-JP
clean:
-if exist $(OBJS)\*.obj del $(OBJS)\*.obj
-if exist $(OBJS)\*.res del $(OBJS)\*.res
-if exist $(OBJS)\*.pch del $(OBJS)\*.pch
-if exist $(OBJS)\internat.exe del $(OBJS)\internat.exe
-if exist $(OBJS)\internat.ilk del $(OBJS)\internat.ilk
-if exist $(OBJS)\internat.pdb del $(OBJS)\internat.pdb
$(OBJS)\internat.exe: $(INTERNAT_OBJECTS) $(OBJS)\internat_sample.res
link /NOLOGO /OUT:$@ $(__DEBUGINFO_1) /pdb:"$(OBJS)\internat.pdb" $(__DEBUGINFO_2) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) $(WIN32_DPI_LINKFLAG) /SUBSYSTEM:WINDOWS $(____CAIRO_LIBDIR_FILENAMES_p) $(LDFLAGS) @<<
$(INTERNAT_OBJECTS) $(INTERNAT_RESOURCES) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_SCINTILLA_IF_MONO_p) $(__LIB_LEXILLA_IF_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(__LIB_WEBP_p) wxzlib$(WXDEBUGFLAG).lib wxregexu$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__CAIRO_LIB_p) kernel32.lib user32.lib gdi32.lib gdiplus.lib msimg32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib shlwapi.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib version.lib ws2_32.lib wininet.lib
<<
ar:
if not exist $(OBJS)\ar mkdir $(OBJS)\ar
for %f in (internat.po internat.mo) do if not exist $(OBJS)\ar\%f copy .\ar\%f $(OBJS)\ar
bg:
if not exist $(OBJS)\bg mkdir $(OBJS)\bg
for %f in (internat.po internat.mo) do if not exist $(OBJS)\bg\%f copy .\bg\%f $(OBJS)\bg
cs:
if not exist $(OBJS)\cs mkdir $(OBJS)\cs
for %f in (internat.po internat.mo) do if not exist $(OBJS)\cs\%f copy .\cs\%f $(OBJS)\cs
de:
if not exist $(OBJS)\de mkdir $(OBJS)\de
for %f in (internat.po internat.mo) do if not exist $(OBJS)\de\%f copy .\de\%f $(OBJS)\de
fr:
if not exist $(OBJS)\fr mkdir $(OBJS)\fr
for %f in (internat.po internat.mo) do if not exist $(OBJS)\fr\%f copy .\fr\%f $(OBJS)\fr
it:
if not exist $(OBJS)\it mkdir $(OBJS)\it
for %f in (internat.po internat.mo) do if not exist $(OBJS)\it\%f copy .\it\%f $(OBJS)\it
ka:
if not exist $(OBJS)\ka mkdir $(OBJS)\ka
for %f in (internat.po internat.mo) do if not exist $(OBJS)\ka\%f copy .\ka\%f $(OBJS)\ka
pl:
if not exist $(OBJS)\pl mkdir $(OBJS)\pl
for %f in (internat.po internat.mo) do if not exist $(OBJS)\pl\%f copy .\pl\%f $(OBJS)\pl
ru:
if not exist $(OBJS)\ru mkdir $(OBJS)\ru
for %f in (internat.po internat.mo) do if not exist $(OBJS)\ru\%f copy .\ru\%f $(OBJS)\ru
sv:
if not exist $(OBJS)\sv mkdir $(OBJS)\sv
for %f in (internat.po internat.mo) do if not exist $(OBJS)\sv\%f copy .\sv\%f $(OBJS)\sv
ja:
if not exist $(OBJS)\ja mkdir $(OBJS)\ja
for %f in (internat.po internat.mo) do if not exist $(OBJS)\ja\%f copy .\ja\%f $(OBJS)\ja
ja_JP.EUC-JP:
if not exist $(OBJS)\ja_JP.EUC-JP mkdir $(OBJS)\ja_JP.EUC-JP
for %f in (internat.po internat.mo) do if not exist $(OBJS)\ja_JP.EUC-JP\%f copy .\ja_JP.EUC-JP\%f $(OBJS)\ja_JP.EUC-JP
$(OBJS)\internat_sample.res: .\..\..\samples\sample.rc
rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_3_p_1) /d _CRT_SECURE_NO_DEPRECATE=1 /d _CRT_NON_CONFORMING_SWPRINTFS=1 /d _SCL_SECURE_NO_WARNINGS=1 $(__NO_VC_CRTDBG_p_1) $(__TARGET_CPU_COMPFLAG_p_1) /d __WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__NDEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) /i $(SETUPHDIR) /i .\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES_1_p) /i . $(__DLLFLAG_p_1) /d _WINDOWS /i .\..\..\samples /d NOPCH .\..\..\samples\sample.rc
$(OBJS)\internat_internat.obj: .\internat.cpp
$(CXX) /c /nologo /TP /Fo$@ $(INTERNAT_CXXFLAGS) .\internat.cpp

View File

@@ -0,0 +1,38 @@
#************************************************************************
# Makefile for MINIMAL under VMS
# by Stefan Hammes
# (incomplete) update history:
# 11.04.95
#************************************************************************
#************************************************************************
# Definition section
# (cave: definitions and includes must begin with ',')
#************************************************************************
APPOPTS =
APPDEFS =
APPINCS =
#************************************************************************
# Module section
#************************************************************************
# Name of main module
MAIN = minimal
# Object modules of the application.
OBJS = minimal.obj
OBJLIST =minimal.obj
.include [--.src]makevms.env
# main dependency
$(MAIN).exe : $(OBJS)
$(LINK) $(LINKFLAGS) /exec=$(MAIN).exe $(OBJLIST),$(WXLIB)/lib,$(OPTSFILE)/option
- purge *.exe
#************************************************************************
# Header file depedencies following
#************************************************************************

Binary file not shown.

View File

@@ -0,0 +1,148 @@
# 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: PACKAGE VERSION\n"
"POT-Creation-Date: 2004-05-12 12:57+0200\n"
"PO-Revision-Date: 2004-05-12 13:50+0100\n"
"Last-Translator: Włodzimierz ABX Skiba <abx@abx.art.pl>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=n==1 ? 0 : n>1 && n<5 ? 1 : 2;\n"
#: ../internat.cpp:200
msgid "&About"
msgstr "Inform&acje"
#: ../internat.cpp:202
msgid "E&xit"
msgstr "Zakoń&cz"
#: ../internat.cpp:205
msgid "&Open bogus file"
msgstr "&Otwórz nieistniejący plik"
#: ../internat.cpp:206
msgid "&Play a game"
msgstr "&Pobaw się"
#: ../internat.cpp:208
msgid "&1 _() (gettext)"
msgstr "&1 _() (gettext)"
#: ../internat.cpp:209
msgid "&2 _N() (ngettext)"
msgstr "&2 _N() (ngettext)"
#: ../internat.cpp:210
msgid "&3 wxTRANSLATE() (gettext_noop)"
msgstr "&3 wxTRANSLATE() (gettext_noop)"
#: ../internat.cpp:214
msgid "&Test"
msgstr "&Test"
#: ../internat.cpp:232
msgid "International wxWindows App"
msgstr "Wielojęzyczna aplikacja wxWindows"
#: ../internat.cpp:252
msgid ""
"Language: %s\n"
"System locale name:\n"
"%s\n"
"Canonical locale name: %s\n"
msgstr ""
"Język: %s\n"
"Językowe ustawienia systemu:\n"
"%s\n"
"Wybrany język: %s\n"
#: ../internat.cpp:258
msgid ""
"I18n sample\n"
"(c) 1998, 1999 Vadim Zeitlin and Julian Smart"
msgstr ""
"Przykład programu I18n\n"
"(c) 1998, 1999 Vadim Zeitlin i Julian Smart"
#: ../internat.cpp:261
msgid "About Internat"
msgstr "Informacje o programie Internat"
#: ../internat.cpp:270
msgid "Enter your number:"
msgstr "Wprowadź liczbę"
#: ../internat.cpp:271
msgid "Try to guess my number!"
msgstr "Spróbuj odgadnąć moją liczbę!"
#: ../internat.cpp:285
msgid "You've probably entered an invalid number."
msgstr "Najprawdopodobniej wprowadzono błędną liczbę."
#: ../internat.cpp:299
msgid "Congratulations! you've won. Here is the magic phrase:"
msgstr "Gratulacje! wygrałeś. Oto magiczna formuła:"
#: ../internat.cpp:300
#, c-format
msgid "cannot create fifo `%s'"
msgstr "nie można utworzyć struktury fifo `%s'"
#: ../internat.cpp:311
msgid "Result"
msgstr "Wynik"
#: ../internat.cpp:323
msgid "Testing _() (gettext)"
msgstr "Test _() (gettext)"
#: ../internat.cpp:324
msgid "Please enter text to translate"
msgstr "Wprowadź tekst do przetłumaczenia"
#: ../internat.cpp:338
msgid "Testing _N() (ngettext)"
msgstr "Test _N() (ngettext)"
#: ../internat.cpp:340
msgid "Please enter range for plural forms of \"n files deleted\" phrase"
msgstr "Wprowadź zakres dla form liczby mnogiej wyrażenia \"sn plików usuniętych\""
#: ../internat.cpp:366
msgid "Testing wxTRANSLATE() (gettext_noop)"
msgstr "Test wxTRANSLATE() (gettext_noop)"
#: ../internat.cpp:310
msgid "Bad luck! try again..."
msgstr "Pudło! spróbuj jeszcze raz..."
#: ../internat.cpp:327
msgid "default value"
msgstr "wartość domyślna"
#: ../internat.cpp:364
msgid "line 1"
msgstr "wiersz 1"
#: ../internat.cpp:365
msgid "line 2"
msgstr "wiersz 2"
#: ../internat.cpp:366
msgid "line 3"
msgstr "wiersz 3"
#: ../internat.cpp:353
msgid "file deleted"
msgid_plural "files deleted"
msgstr[0] "plik usunięty"
msgstr[1] "pliki usunięte"
msgstr[2] "plików usuniętych"

View File

@@ -0,0 +1,77 @@
This is the README file for the internationalization sample for wxWidgets.
Q. What does this stupid program do?
A. It demonstrates how to translate all program messages to a foreign language.
In any program using wxWidgets there is going to be 3 kinds of messages: the
messages from the program itself, the messages from the wxWidgets library and
the messages from the system (e.g. system error messages). This program
translates the first 2 kinds of messages but the system messages will be only
translated if your system supports it.
Brief usage summary: "Test|File" tries to open a non existing file (provoking
system error message), "Test|Play" shows a message box asking for a number.
Hint: try some special values like 9 and 17.
Q. Why the error message when I try to open a non existing file is only partly
translated?
A. Your system doesn't have the translation in the language you use, sorry.
Q. Why the message when I enter '9' is not translated?
A. This is on purpose: the corresponding string wasn't enclosed in _() macro and
so didn't get into the message catalog when it was created using xgettext.
Q. Why the message when I enter '17' is only partly translated?
A. This will only work under some versions of Linux, don't worry if the second
half of the sentence is not translated.
Q. How to do translations to other language?
A. First of all, you will need the GNU gettext tools or, if you prefer GUI applications, a program such as poedit.
After you've probably installed them, type the following (example is for Unix
and you should do exactly the same under Windows).
# all translations for a given language should be in a separate directory.
# Please use the standard abbreviation for the language names!
mkdir <language>
cd <language>
# generate the .pot (template) file for the program itself
# see `xgettext --help' for options
xgettext -k_ -kwxPLURAL:1,2 -kwxGETTEXT_IN_CONTEXT:1c,2 -kwxGETTEXT_IN_CONTEXT_PLURAL:1c,2,3 -kwxTRANSLATE -kwxTRANSLATE_IN_CONTEXT:1c,2 -kwxGetTranslation -o internat.pot ../internat.cpp
# initialize the translation for your language
msginit -l <language> -o internat.po
# now edit the file and do translate strings (this isn't done by gettext)
# you can use another editor if you wish :-)
vi internat.po
# create the message catalog file
msgfmt -vco internat.mo internat.po
# run the sample to test it
cd ..
./internat <language>
Q. How to do update the translation of 'internat' sample for a language?
A. First of all, you will need the GNU gettext tools.
After you've probably installed them, type the following (example is for Unix
and you should do exactly the same under Windows).
# enter the directory of an already-existing translations which needs to be updated
cd <language>
# generate the .pot (template) file for the program itself
# see `xgettext --help' for options
xgettext -k_ -kwxPLURAL:1,2 -kwxGETTEXT_IN_CONTEXT:1c,2 -kwxGETTEXT_IN_CONTEXT_PLURAL:1c,2,3 -kwxTRANSLATE -kwxTRANSLATE_IN_CONTEXT:1c,2 -kwxGetTranslation -o internat.pot ../internat.cpp
# merge updated strings from the .pot (template) into your translation
msgmerge -U internat.po internat.pot
# now edit the file and do translate the new strings (this isn't done by gettext)
vi internat.po
# update the message catalog:
msgfmt -vco internat.mo internat.po
Q. What's i18n?
A. Count the number of letters in the word "internationalization".

Binary file not shown.

View File

@@ -0,0 +1,134 @@
# Message catalog file template for the wxWindows i18n sample
# Copyright (C) 1999 wxWindows development team
# Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
msgid ""
msgstr ""
"Project-Id-Version: wxWindows 2.0 i18n sample\n"
"POT-Creation-Date: 2000-08-10 15:56+0200\n"
"PO-Revision-Date: 2000-08-10 15:56+0200\n"
"Last-Translator: Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>\n"
"Language-Team: <wx-translators@wxwidgets.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%"
"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
#: /home/harms.user1/rolinsky/wxGTK-2.2.0/samples/internat/internat.cpp:128
msgid "International wxWindows App"
msgstr "Интернациональное приложение wxWindows"
#: /home/harms.user1/rolinsky/wxGTK-2.2.0/samples/internat/internat.cpp:136
msgid "&About"
msgstr "&О программе"
#: /home/harms.user1/rolinsky/wxGTK-2.2.0/samples/internat/internat.cpp:138
msgid "E&xit"
msgstr "&Выйти"
#: /home/harms.user1/rolinsky/wxGTK-2.2.0/samples/internat/internat.cpp:141
msgid "&Open bogus file"
msgstr "&Открыть файл"
#: /home/harms.user1/rolinsky/wxGTK-2.2.0/samples/internat/internat.cpp:142
msgid "&Play a game"
msgstr "&Поиграть в игру"
#: /home/harms.user1/rolinsky/wxGTK-2.2.0/samples/internat/internat.cpp:146
msgid "&Test"
msgstr "&Тест"
#: /home/harms.user1/rolinsky/wxGTK-2.2.0/samples/internat/internat.cpp:169
msgid ""
"I18n sample\n"
"▐║╘ 1998, 1999 Vadim Zeitlin and Julian Smart"
msgstr ""
"Пример i18n\n"
"▐║╘ 1998, 1999 Вадим Зейтлин и Джулиан Смарт"
#: /home/harms.user1/rolinsky/wxGTK-2.2.0/samples/internat/internat.cpp:171
msgid "About Internat"
msgstr "Про Internat"
#: /home/harms.user1/rolinsky/wxGTK-2.2.0/samples/internat/internat.cpp:176
msgid "Enter your number:"
msgstr "Введи свое число:"
#: /home/harms.user1/rolinsky/wxGTK-2.2.0/samples/internat/internat.cpp:177
msgid "Try to guess my number!"
msgstr "Попробуй угадать мое число!"
#: /home/harms.user1/rolinsky/wxGTK-2.2.0/samples/internat/internat.cpp:185
msgid "You've probably entered an invalid number."
msgstr "Наверно ты ввел недопустимое число."
#: /home/harms.user1/rolinsky/wxGTK-2.2.0/samples/internat/internat.cpp:193
msgid "Congratulations! you've won. Here is the magic phrase:"
msgstr "Поздравляю! Вы выиграли. А вот магическая фраза: "
#: /home/harms.user1/rolinsky/wxGTK-2.2.0/samples/internat/internat.cpp:194
#, c-format
msgid "cannot create fifo `%s'"
msgstr "не могу создать fifo `%s'"
#: /home/harms.user1/rolinsky/wxGTK-2.2.0/samples/internat/internat.cpp:197
msgid "Result"
msgstr "Результат"
msgid "Bad luck! try again..."
msgstr "Не везет! Попробуй снова..."
#: i18n.cpp:163
msgid "file deleted"
msgid_plural "files deleted"
msgstr[0] "файл удален"
msgstr[1] "файла удалено"
msgstr[2] "файлов удалено"
#: i18n.cpp:174
msgid "line 1"
msgstr "строчка 1"
#: i18n.cpp:175
msgid "line 2"
msgstr "строчка 2"
#: i18n.cpp:176
msgid "line 3"
msgstr "строчка 3"
#: i18n.cpp:178
msgid "Testing N_() (gettext_noop)"
msgstr "Проверяется N_() (gettext_noop)"
#: i18n.cpp:139
msgid "Testing _() (gettext)"
msgstr "Проверяется _() (gettext)"
#: i18n.cpp:140
msgid "Please enter text to translate"
msgstr "Пожалуйста, введите текст для перевода"
#: i18n.cpp:141
msgid "default value"
msgstr "значение по умолчанию"
#: i18n.cpp:153
msgid "Testing _N() (ngettext)"
msgstr "Проверяется _N() (ngettext)"
#: i18n.cpp:155
msgid "Please enter range for plural forms of \"n files deleted\" phrase"
msgstr "Пожалуста, введите диапазон для множественных форм фразы \"n файлов удалено\""
#: i18n.cpp:102
msgid "&1 _() (gettext)"
msgstr ""
#: i18n.cpp:103
msgid "&2 _N() (ngettext)"
msgstr ""
#: i18n.cpp:104
msgid "&3 N_() (gettext_noop)"
msgstr ""

Binary file not shown.

View File

@@ -0,0 +1,149 @@
# Translation for the wxWidgets internat sample.
# Copyright © 2005 wxWidgets translation team
msgid ""
msgstr ""
"Project-Id-Version: wxWidgets 2.6 internat sample\n"
"Report-Msgid-Bugs-To: wxDevelopers <wx-dev@googlegroups.com>\n"
"POT-Creation-Date: 2005-06-02 13:21+0200\n"
"PO-Revision-Date: 2005-06-02 13:45+0200\n"
"Last-Translator: Jonas Rydberg <jonas@arbor.se>\n"
"Language-Team: wxWidgets translators <wx-translators@googlegroups.com>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
#: ../internat.cpp:210
msgid "&About"
msgstr "&Om"
#: ../internat.cpp:212
msgid "E&xit"
msgstr "&Avsluta"
#: ../internat.cpp:215
msgid "&Open bogus file"
msgstr "&Öppna fingerad fil"
#: ../internat.cpp:216
msgid "&Play a game"
msgstr "&Spela ett spel"
#: ../internat.cpp:218
msgid "&1 _() (gettext)"
msgstr "&1 _() (gettext)"
#: ../internat.cpp:219
msgid "&2 _N() (ngettext)"
msgstr "&2 _N() (ngettext)"
#: ../internat.cpp:220
msgid "&3 wxTRANSLATE() (gettext_noop)"
msgstr "&3 wxTRANSLATE() (gettext_noop)"
#: ../internat.cpp:224
msgid "&Test"
msgstr "&Test"
#: ../internat.cpp:242
msgid "International wxWidgets App"
msgstr "Internationellt wxWidgetsprogram"
#: ../internat.cpp:260
#, c-format
msgid ""
"Language: %s\n"
"System locale name:\n"
"%s\n"
"Canonical locale name: %s\n"
msgstr ""
"Språk: %s\n"
"Systemlokalnamn:\n"
"%s\n"
"Kanoniskt lokalnamn: %s\n"
#: ../internat.cpp:265
msgid ""
"I18n sample\n"
"(c) 1998, 1999 Vadim Zeitlin and Julian Smart"
msgstr ""
"I18n exempelprogram\n"
"© 1998, 1999 Vadim Zeitlin and Julian Smart"
#: ../internat.cpp:268
msgid "About Internat"
msgstr "Om Internat"
#: ../internat.cpp:278
msgid "Enter your number:"
msgstr "Skriv in ditt nummer:"
#: ../internat.cpp:279
msgid "Try to guess my number!"
msgstr "Försök att gissa mitt nummer!"
#: ../internat.cpp:293
msgid "You've probably entered an invalid number."
msgstr "Du har antagligen skrivit in ett felaktigt nummer."
#. string must be split in two -- otherwise the translation would't be
#. found
#: ../internat.cpp:307
msgid "Congratulations! you've won. Here is the magic phrase:"
msgstr "Gratulerar! Du har vunnit. Här är den magiska meningen:"
#: ../internat.cpp:308
#, c-format
msgid "cannot create fifo `%s'"
msgstr "kan inte skapa fifo \"%s\""
#:
msgid "Bad luck! try again..."
msgstr "Otur! Försök igen..."
#: ../internat.cpp:319
msgid "Result"
msgstr "Resultat"
#: ../internat.cpp:331
msgid "Testing _() (gettext)"
msgstr "Testar _() (gettext)"
#: ../internat.cpp:332
msgid "Please enter text to translate"
msgstr "Skriv in text att översätta"
#: ../internat.cpp:333
msgid "default value"
msgstr "förvalt värde"
#: ../internat.cpp:346
msgid "Testing _N() (ngettext)"
msgstr "Testar _N() (ngettext)"
#: ../internat.cpp:348
msgid "Please enter range for plural forms of \"n files deleted\" phrase"
msgstr "Skriv in urval för pluralformer för meningen \"n filer borttagna\""
#: ../internat.cpp:359
msgid "file deleted"
msgid_plural "files deleted"
msgstr[0] "fil borttagen"
msgstr[1] "filer borttagna"
#: ../internat.cpp:370
msgid "line 1"
msgstr "rad 1"
#: ../internat.cpp:371
msgid "line 2"
msgstr "rad 2"
#: ../internat.cpp:372
msgid "line 3"
msgstr "rad 3"
#: ../internat.cpp:374
msgid "Testing wxTRANSLATE() (gettext_noop)"
msgstr "Testar wxTRANSLATE() (gettext_noop)"