Polish translation to i18n sample + source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
<wx-data id="fr" template="catalog"/>
|
||||
<wx-data id="ja" template="catalog"/>
|
||||
<wx-data id="ka" template="catalog"/>
|
||||
<wx-data id="pl" template="catalog"/>
|
||||
<wx-data id="ru" template="catalog"/>
|
||||
|
||||
</makefile>
|
||||
|
@@ -77,8 +77,7 @@ public:
|
||||
// ID for the menu commands
|
||||
enum
|
||||
{
|
||||
INTERNAT_QUIT = 1,
|
||||
INTERNAT_TEXT,
|
||||
INTERNAT_TEXT = wxID_HIGHEST + 1,
|
||||
INTERNAT_TEST,
|
||||
INTERNAT_TEST_1,
|
||||
INTERNAT_TEST_2,
|
||||
@@ -91,7 +90,7 @@ enum
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
BEGIN_EVENT_TABLE(MyFrame, wxFrame)
|
||||
EVT_MENU(INTERNAT_QUIT, MyFrame::OnQuit)
|
||||
EVT_MENU(wxID_EXIT, MyFrame::OnQuit)
|
||||
EVT_MENU(wxID_ABOUT, MyFrame::OnAbout)
|
||||
EVT_MENU(INTERNAT_TEST, MyFrame::OnPlay)
|
||||
EVT_MENU(INTERNAT_OPEN, MyFrame::OnOpen)
|
||||
@@ -130,6 +129,7 @@ bool MyApp::OnInit()
|
||||
wxLANGUAGE_RUSSIAN,
|
||||
wxLANGUAGE_BULGARIAN,
|
||||
wxLANGUAGE_CZECH,
|
||||
wxLANGUAGE_POLISH,
|
||||
#if wxUSE_UNICODE
|
||||
wxLANGUAGE_JAPANESE,
|
||||
wxLANGUAGE_GEORGIAN,
|
||||
@@ -150,6 +150,7 @@ bool MyApp::OnInit()
|
||||
_T("Russian"),
|
||||
_T("Bulgarian"),
|
||||
_T("Czech"),
|
||||
_T("Polish"),
|
||||
#if wxUSE_UNICODE
|
||||
_T("Japanese"),
|
||||
_T("Georgian"),
|
||||
@@ -199,7 +200,7 @@ bool MyApp::OnInit()
|
||||
wxMenu *file_menu = new wxMenu;
|
||||
file_menu->Append(wxID_ABOUT, _("&About..."));
|
||||
file_menu->AppendSeparator();
|
||||
file_menu->Append(INTERNAT_QUIT, _("E&xit"));
|
||||
file_menu->Append(wxID_EXIT, _("E&xit"));
|
||||
|
||||
wxMenu *test_menu = new wxMenu;
|
||||
test_menu->Append(INTERNAT_OPEN, _("&Open bogus file"));
|
||||
@@ -215,10 +216,10 @@ bool MyApp::OnInit()
|
||||
frame->SetMenuBar(menu_bar);
|
||||
|
||||
// Show the frame
|
||||
frame->Show(TRUE);
|
||||
frame->Show(true);
|
||||
SetTopWindow(frame);
|
||||
|
||||
return TRUE;
|
||||
return true;
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
@@ -228,10 +229,8 @@ bool MyApp::OnInit()
|
||||
// main frame constructor
|
||||
MyFrame::MyFrame(wxLocale& locale)
|
||||
: wxFrame(NULL,
|
||||
-1,
|
||||
_("International wxWidgets App"),
|
||||
wxPoint(50, 50),
|
||||
wxSize(350, 60)),
|
||||
wxID_ANY,
|
||||
_("International wxWidgets App")),
|
||||
m_locale(locale)
|
||||
{
|
||||
// Empty
|
||||
@@ -239,7 +238,7 @@ MyFrame::MyFrame(wxLocale& locale)
|
||||
|
||||
void MyFrame::OnQuit(wxCommandEvent& WXUNUSED(event) )
|
||||
{
|
||||
Close(TRUE);
|
||||
Close(true);
|
||||
}
|
||||
|
||||
void MyFrame::OnAbout(wxCommandEvent& WXUNUSED(event))
|
||||
@@ -249,7 +248,7 @@ void MyFrame::OnAbout(wxCommandEvent& WXUNUSED(event))
|
||||
wxString sysname = m_locale.GetSysName();
|
||||
wxString canname = m_locale.GetCanonicalName();
|
||||
|
||||
localeInfo.Printf(_("Language: %s\nSystem locale name: %s\nCanonical locale name: %s\n"),
|
||||
localeInfo.Printf(_("Language: %s\nSystem locale name:\n%s\nCanonical locale name: %s\n"),
|
||||
locale.c_str(), sysname.c_str(), canname.c_str() );
|
||||
|
||||
wxMessageDialog
|
||||
|
Reference in New Issue
Block a user