7 Commits

Author SHA1 Message Date
Simon Rozman
636e7acc1b wxAuiManagerUpdatePerspectiveCaptions() introduced; Version set to 1.5 (API level 15) 2016-10-18 12:35:47 +02:00
Simon Rozman
05627f98d6 Merge branch 'master' of https://github.com/Amebis/wxExtend 2016-10-18 11:00:26 +02:00
Simon Rozman
90a48ae7ce wxInitializeLocale() upgraded to optionally return UI language 2016-10-18 11:00:11 +02:00
Simon Rozman
c22865524d Excessive c_str() removed 2016-10-17 16:37:14 +02:00
Simon Rozman
dee95d7d6c Localization update 2016-10-17 10:15:03 +02:00
Simon Rozman
b644d08eac Translation template update 2016-10-13 11:51:21 +02:00
Simon Rozman
3e96043e88 Aesthetic modifications 2016-10-13 10:09:40 +02:00
40 changed files with 364 additions and 200 deletions

View File

@@ -46,98 +46,98 @@ s$(MSIBUILD_LENGTH_ID) S38 s$(MSIBUILD_LENGTH_ID) i2 S255 S$(MSIBUILD_LENGTH_ID)
Component Component
!IFNDEF WXEXTEND_STATIC
!IF "$(PLAT)" == "Win32"
compwxExtend.dll.Win32 {37C6943E-B5D0-4C22-B039-29FEE015D0E8} $(WXEXTEND_BIN_DIR) 0 filewxExtend.dll.Win32
compwxExtend.dll.Win32 {8D93D165-26AE-4066-9FBE-C37349BCEBAF} $(WXEXTEND_BIN_DIR) 0 filewxExtend.dll.Win32
!ENDIF
!IF "$(PLAT)" == "x64"
compwxExtend.dll.x64 {F323428B-B329-4492-943C-0F2387C80DC9} $(WXEXTEND_BIN_DIR) 256 filewxExtend.dll.x64
compwxExtend.dll.x64 {5CC39463-FEBE-496F-8EFB-F4F0AC4BCAB4} $(WXEXTEND_BIN_DIR) 256 filewxExtend.dll.x64
!ENDIF
!ENDIF
!IF "$(LANG)" == "bg_BG"
compwxExtend.mo.bg_BG {CF5725EF-F683-4673-8523-5502B57C0C9F} WXEXTENDLOCBGBGDIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filewxExtend.mo.bg_BG
compwxExtend.mo.bg_BG {08F3D750-73F1-4D53-ADE6-4F4C5AFF24C1} WXEXTENDLOCBGBGDIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filewxExtend.mo.bg_BG
!ENDIF
!IF "$(LANG)" == "ca_ES"
compwxExtend.mo.ca_ES {80493A96-C77A-4F92-8B3E-35BE9127EBBE} WXEXTENDLOCCAESDIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filewxExtend.mo.ca_ES
compwxExtend.mo.ca_ES {EEC3A2FA-C1F1-45BD-A407-91A5083879FC} WXEXTENDLOCCAESDIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filewxExtend.mo.ca_ES
!ENDIF
!IF "$(LANG)" == "cs_CZ"
compwxExtend.mo.cs_CZ {EECC383F-CBFF-4675-ABB9-16D77AD25D5C} WXEXTENDLOCCSCZDIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filewxExtend.mo.cs_CZ
compwxExtend.mo.cs_CZ {6DBD1DFC-8266-467A-AE3B-F7ED9100BA8C} WXEXTENDLOCCSCZDIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filewxExtend.mo.cs_CZ
!ENDIF
!IF "$(LANG)" == "cy_UK"
compwxExtend.mo.cy_UK {9601C64F-4C99-4F2D-95CA-F2DF150F1982} WXEXTENDLOCCYUKDIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filewxExtend.mo.cy_UK
compwxExtend.mo.cy_UK {8875B6EF-C0AB-4557-80D9-32F49925F79F} WXEXTENDLOCCYUKDIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filewxExtend.mo.cy_UK
!ENDIF
!IF "$(LANG)" == "de_DE"
compwxExtend.mo.de_DE {9C3D448E-E6F3-45B9-BFF9-8E12A7B5AB53} WXEXTENDLOCDEDEDIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filewxExtend.mo.de_DE
compwxExtend.mo.de_DE {5CCA52DE-D4A9-4986-9D7D-D00EA6560D2F} WXEXTENDLOCDEDEDIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filewxExtend.mo.de_DE
!ENDIF
!IF "$(LANG)" == "el_GR"
compwxExtend.mo.el_GR {51A8EA7F-709F-4C3B-A94D-3BEC3899C80B} WXEXTENDLOCELGRDIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filewxExtend.mo.el_GR
compwxExtend.mo.el_GR {4617F1A6-BB15-4FF8-8CC8-C0D5C3B9DA63} WXEXTENDLOCELGRDIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filewxExtend.mo.el_GR
!ENDIF
!IF "$(LANG)" == "es_ES"
compwxExtend.mo.es_ES {D11A4B09-D9CF-4350-8B26-D9CF117E2980} WXEXTENDLOCESESDIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filewxExtend.mo.es_ES
compwxExtend.mo.es_ES {1469FC38-FF9B-4E5E-9F4C-998A86A4A1E0} WXEXTENDLOCESESDIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filewxExtend.mo.es_ES
!ENDIF
!IF "$(LANG)" == "eu_ES"
compwxExtend.mo.eu_ES {C93CEE38-3602-4FF2-8319-6125F91EE03C} WXEXTENDLOCEUESDIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filewxExtend.mo.eu_ES
compwxExtend.mo.eu_ES {8EAF1DF8-E7DB-4AC0-A627-423380BAE39F} WXEXTENDLOCEUESDIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filewxExtend.mo.eu_ES
!ENDIF
!IF "$(LANG)" == "fi_FI"
compwxExtend.mo.fi_FI {6F6F463B-7013-4453-8224-6AEA6B2EBDBC} WXEXTENDLOCFIFIDIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filewxExtend.mo.fi_FI
compwxExtend.mo.fi_FI {4705881C-6A69-48C1-A1E1-D649F042DD77} WXEXTENDLOCFIFIDIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filewxExtend.mo.fi_FI
!ENDIF
!IF "$(LANG)" == "fr_CA"
compwxExtend.mo.fr_CA {39D0AB42-9AB6-45FB-990F-5525D1004332} WXEXTENDLOCFRCADIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filewxExtend.mo.fr_CA
compwxExtend.mo.fr_CA {1D90EA4B-EFC5-447C-9CB5-FBF3FD00388C} WXEXTENDLOCFRCADIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filewxExtend.mo.fr_CA
!ENDIF
!IF "$(LANG)" == "fr_FR"
compwxExtend.mo.fr_FR {5E68D9D9-AAF3-4194-9675-2C484A3B5E7C} WXEXTENDLOCFRFRDIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filewxExtend.mo.fr_FR
compwxExtend.mo.fr_FR {CC5336F8-9522-48C9-82DE-6D719C6F729B} WXEXTENDLOCFRFRDIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filewxExtend.mo.fr_FR
!ENDIF
!IF "$(LANG)" == "gl_ES"
compwxExtend.mo.gl_ES {CA353D77-B09A-4588-AF5E-A0B2E3742B1B} WXEXTENDLOCGLESDIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filewxExtend.mo.gl_ES
compwxExtend.mo.gl_ES {D7590042-3256-480F-ACAA-2CF9221FB666} WXEXTENDLOCGLESDIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filewxExtend.mo.gl_ES
!ENDIF
!IF "$(LANG)" == "hr_HR"
compwxExtend.mo.hr_HR {F096E922-C060-49A1-81F0-A5FEC68F3873} WXEXTENDLOCHRHRDIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filewxExtend.mo.hr_HR
compwxExtend.mo.hr_HR {03BF1A96-BD07-475C-895D-BF367B8EAB44} WXEXTENDLOCHRHRDIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filewxExtend.mo.hr_HR
!ENDIF
!IF "$(LANG)" == "hu_HU"
compwxExtend.mo.hu_HU {8B377B6C-5B05-4D7C-B1F5-7A40E2BB7BD4} WXEXTENDLOCHUHUDIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filewxExtend.mo.hu_HU
compwxExtend.mo.hu_HU {5C8C4A78-B95A-4A99-B115-BD90001A6A3C} WXEXTENDLOCHUHUDIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filewxExtend.mo.hu_HU
!ENDIF
!IF "$(LANG)" == "is_IS"
compwxExtend.mo.is_IS {10C23840-30DE-4014-9F82-80FAC55243D2} WXEXTENDLOCISISDIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filewxExtend.mo.is_IS
compwxExtend.mo.is_IS {17013596-7B9B-4893-8C75-7A5C5F76F2B3} WXEXTENDLOCISISDIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filewxExtend.mo.is_IS
!ENDIF
!IF "$(LANG)" == "it_IT"
compwxExtend.mo.it_IT {C5733B34-3315-44BC-B568-F6EDEDD6EA92} WXEXTENDLOCITITDIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filewxExtend.mo.it_IT
compwxExtend.mo.it_IT {81EE1891-9774-465B-8079-B86C1511A4BF} WXEXTENDLOCITITDIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filewxExtend.mo.it_IT
!ENDIF
!IF "$(LANG)" == "ko_KR"
compwxExtend.mo.ko_KR {668C27C4-C799-46B4-A8D7-DB4C2E5DBCBC} WXEXTENDLOCKOKRDIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filewxExtend.mo.ko_KR
compwxExtend.mo.ko_KR {9B36C0D2-D4B3-4A4E-9FC8-BBC7E4E0101E} WXEXTENDLOCKOKRDIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filewxExtend.mo.ko_KR
!ENDIF
!IF "$(LANG)" == "lt_LT"
compwxExtend.mo.lt_LT {3EEECA40-96BB-4F14-9E4F-2B4176D849A5} WXEXTENDLOCLTLTDIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filewxExtend.mo.lt_LT
compwxExtend.mo.lt_LT {4FF5FEB7-AECC-45A9-A81C-85D6D9B55A9C} WXEXTENDLOCLTLTDIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filewxExtend.mo.lt_LT
!ENDIF
!IF "$(LANG)" == "nb_NO"
compwxExtend.mo.nb_NO {5CC24C7D-E928-4CAB-BA91-EB4D11BC2A4B} WXEXTENDLOCNBNODIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filewxExtend.mo.nb_NO
compwxExtend.mo.nb_NO {D970A1E8-66B8-430E-93E2-34CE2A49FBCB} WXEXTENDLOCNBNODIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filewxExtend.mo.nb_NO
!ENDIF
!IF "$(LANG)" == "nl_NL"
compwxExtend.mo.nl_NL {8E9F03EF-E808-4AB8-B136-CC2622E29BD1} WXEXTENDLOCNLNLDIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filewxExtend.mo.nl_NL
compwxExtend.mo.nl_NL {F9BE9502-CFAB-4D90-8150-446B5C092D5F} WXEXTENDLOCNLNLDIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filewxExtend.mo.nl_NL
!ENDIF
!IF "$(LANG)" == "pl_PL"
compwxExtend.mo.pl_PL {F7994ACB-60DD-4722-8E8E-65B071664A78} WXEXTENDLOCPLPLDIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filewxExtend.mo.pl_PL
compwxExtend.mo.pl_PL {E0B0C10B-84D5-4E1F-9B78-51215B5BFB38} WXEXTENDLOCPLPLDIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filewxExtend.mo.pl_PL
!ENDIF
!IF "$(LANG)" == "pt_PT"
compwxExtend.mo.pt_PT {3157094C-A5A7-420D-AB47-80A721560DED} WXEXTENDLOCPTPTDIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filewxExtend.mo.pt_PT
compwxExtend.mo.pt_PT {34F22826-EF6E-44E5-8BF8-AC509C4336FA} WXEXTENDLOCPTPTDIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filewxExtend.mo.pt_PT
!ENDIF
!IF "$(LANG)" == "ru_RU"
compwxExtend.mo.ru_RU {3B4C86C3-ABFF-4272-B8E4-2E9B59DC7867} WXEXTENDLOCRURUDIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filewxExtend.mo.ru_RU
compwxExtend.mo.ru_RU {DD18920B-1755-4D08-B670-CD669576258D} WXEXTENDLOCRURUDIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filewxExtend.mo.ru_RU
!ENDIF
!IF "$(LANG)" == "sk_SK"
compwxExtend.mo.sk_SK {6E14CF20-6D82-4A23-9FED-E68C1C2FC92A} WXEXTENDLOCSKSKDIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filewxExtend.mo.sk_SK
compwxExtend.mo.sk_SK {82DF7307-E848-4AFB-8BE7-E792BC51FDF3} WXEXTENDLOCSKSKDIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filewxExtend.mo.sk_SK
!ENDIF
!IF "$(LANG)" == "sl_SI"
compwxExtend.mo.sl_SI {E970685D-7997-40C9-A95C-95F1204BD534} WXEXTENDLOCSLSIDIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filewxExtend.mo.sl_SI
compwxExtend.mo.sl_SI {2CC6A48A-4B96-4530-B95E-450357B2FB23} WXEXTENDLOCSLSIDIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filewxExtend.mo.sl_SI
!ENDIF
!IF "$(LANG)" == "sr_RS"
compwxExtend.mo.sr_RS {74E368AA-79B0-407D-9A05-E42002300EE7} WXEXTENDLOCSRRSDIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filewxExtend.mo.sr_RS
compwxExtend.mo.sr_RS {6F9F08AC-A9A4-4E3C-8E38-5C1BEB543401} WXEXTENDLOCSRRSDIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filewxExtend.mo.sr_RS
!ENDIF
!IF "$(LANG)" == "sv_SE"
compwxExtend.mo.sv_SE {084986BC-EB55-4BA3-B8E5-FF0714F1C8A3} WXEXTENDLOCSVSEDIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filewxExtend.mo.sv_SE
compwxExtend.mo.sv_SE {9C84C8E8-535C-4C09-91C9-BD83100E0050} WXEXTENDLOCSVSEDIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filewxExtend.mo.sv_SE
!ENDIF
!IF "$(LANG)" == "tr_TR"
compwxExtend.mo.tr_TR {519F85E4-8B31-42EF-BCDD-9B3B907C0762} WXEXTENDLOCTRTRDIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filewxExtend.mo.tr_TR
compwxExtend.mo.tr_TR {A0A90268-99D7-4E4C-B275-7D3174458516} WXEXTENDLOCTRTRDIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filewxExtend.mo.tr_TR
!ENDIF
!IF "$(LANG)" == "vi_VN"
compwxExtend.mo.vi_VN {738F9C8C-2084-4003-91EA-55CA4B851343} WXEXTENDLOCVIVNDIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filewxExtend.mo.vi_VN
compwxExtend.mo.vi_VN {E7E317CD-C7AB-4043-8C4B-58E31569753A} WXEXTENDLOCVIVNDIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filewxExtend.mo.vi_VN
!ENDIF
<<NOKEEP
@@ -257,23 +257,23 @@ File File
!IFNDEF WXEXTEND_STATIC
!IF "$(PLAT)" == "Win32"
!IF "$(CFG)" == "Release"
filewxExtend.dll.Win32 compwxExtend.dll.Win32 WXEXTE~2.DLL|wxExtend14u_vc100.dll 0 0 1536 1
filewxExtend.dll.Win32 compwxExtend.dll.Win32 WXEXTE~2.DLL|wxExtend15u_vc100.dll 0 0 1536 1
!ENDIF
!IF "$(CFG)" == "Debug"
filewxExtend.dll.Win32 compwxExtend.dll.Win32 WXEXTE~4.DLL|wxExtend14ud_vc100.dll 0 0 1536 1
filewxExtend.dll.Win32 compwxExtend.dll.Win32 WXEXTE~4.DLL|wxExtend15ud_vc100.dll 0 0 1536 1
!ENDIF
!ENDIF
!IF "$(PLAT)" == "x64"
!IF "$(CFG)" == "Release"
filewxExtend.dll.x64 compwxExtend.dll.x64 WXEXTE~6.DLL|wxExtend14u_vc100_x64.dll 0 0 1536 1
filewxExtend.dll.x64 compwxExtend.dll.x64 WXEXTE~6.DLL|wxExtend15u_vc100_x64.dll 0 0 1536 1
!ENDIF
!IF "$(CFG)" == "Debug"
filewxExtend.dll.x64 compwxExtend.dll.x64 WXEXTE~8.DLL|wxExtend14ud_vc100_x64.dll 0 0 1536 1
filewxExtend.dll.x64 compwxExtend.dll.x64 WXEXTE~8.DLL|wxExtend15ud_vc100_x64.dll 0 0 1536 1
!ENDIF
!ENDIF
!ENDIF
!IF "$(LANG)" != "en_US"
filewxExtend.mo.$(LANG) compwxExtend.mo.$(LANG) WXEXTE~1.MO|wxExtend14.mo 0 $(MSIBUILD_LANGID) 0 1
filewxExtend.mo.$(LANG) compwxExtend.mo.$(LANG) WXEXTE~1.MO|wxExtend15.mo 0 $(MSIBUILD_LANGID) 0 1
!ENDIF
<<NOKEEP

View File

@@ -2,7 +2,7 @@
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Label="PropertySheets" />
<PropertyGroup Label="UserMacros">
<wxExtendVersion>14</wxExtendVersion>
<wxExtendVersion>15</wxExtendVersion>
</PropertyGroup>
<PropertyGroup>
<OutDir>..\..\..\output\$(Platform).$(Configuration)\</OutDir>

View File

@@ -22,6 +22,7 @@
<ClCompile Include="..\src\appbar.cpp" />
<ClCompile Include="..\src\comutils.cpp" />
<ClCompile Include="..\src\crypto.cpp" />
<ClCompile Include="..\src\framemanager.cpp" />
<ClCompile Include="..\src\hex.cpp" />
<ClCompile Include="..\src\stdafx.cpp">
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
@@ -36,6 +37,7 @@
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\include\wxex\appbar.h" />
<ClInclude Include="..\include\wxex\aui\framemanager.h" />
<ClInclude Include="..\include\wxex\common.h" />
<ClInclude Include="..\include\wxex\comutils.h" />
<ClInclude Include="..\include\wxex\crypto.h" />

View File

@@ -20,6 +20,9 @@
<Filter Include="Header Files\persist">
<UniqueIdentifier>{33d4709f-47d3-42c1-9562-bc4743799b49}</UniqueIdentifier>
</Filter>
<Filter Include="Header Files\aui">
<UniqueIdentifier>{be99b1e7-e013-4c69-8966-6b34932a1711}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\src\stdafx.cpp">
@@ -49,6 +52,9 @@
<ClCompile Include="..\src\valnet.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\src\framemanager.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\src\stdafx.h">
@@ -87,6 +93,9 @@
<ClInclude Include="..\include\wxex\valnet.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\include\wxex\aui\framemanager.h">
<Filter>Header Files\aui</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<None Include="..\locale\wxExtend.pot">

View File

@@ -0,0 +1,39 @@
/*
Copyright 2015-2016 Amebis
Copyright 2016 G<>ANT
This file is part of wxExtend.
wxExtend is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
wxExtend is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with wxExtend. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#include "../common.h"
#include <wx/aui/framemanager.h>
#include <wx/string.h>
///
/// Updates perspective captions with matching captions from panes.
///
/// \param[in ] mgr wxAUI manager
/// \param[inout] perspective Perspective string to update captions in
///
/// \returns
/// - \c true when update succeeded
/// - \c false otherwise
///
bool WXEXTEND_API wxAuiManagerUpdatePerspectiveCaptions(wxAuiManager& mgr, wxString& perspective);

View File

@@ -24,17 +24,17 @@
///
/// wxExtend Version
///
#define wxEXTEND_VERSION 0x01040000
#define wxEXTEND_VERSION 0x01050000
#define wxEXTEND_VERSION_MAJ 1
#define wxEXTEND_VERSION_MIN 4
#define wxEXTEND_VERSION_MIN 5
#define wxEXTEND_VERSION_REV 0
#define wxEXTEND_VERSION_BUILD 0
#define wxEXTEND_VERSION_STR "1.4"
#define wxEXTEND_VERSION_STR "1.5"
#define wxEXTEND_BUILD_YEAR_STR "2016"
#define wxExtendVersion "14"
#define wxExtendVersion "15"
#if !defined(RC_INVOKED) && !defined(MIDL_PASS)
@@ -131,13 +131,14 @@ inline bool wxModifyStyleEx(_In_ WXHWND hWnd, _In_ DWORD dwRemove, _In_ DWORD dw
/// The language identifier is read from `Language` configuration string ("ll_CC" form expected).
/// The path to folder containing localization catalogue PO files is read from `LocalizationRepositoryPath` configuration string.
///
/// \param[inout] locale Locale to initialize
/// \param[inout] locale Locale to initialize
/// \param[out ] language Translation language
///
/// \returns
/// - \c true when initialization succeeded
/// - \c false otherwise
///
inline bool wxInitializeLocale(wxLocale &locale)
inline bool wxInitializeLocale(wxLocale &locale, wxLanguage *language = NULL)
{
// Read language from configuration.
wxLanguage lang_code;
@@ -148,6 +149,9 @@ inline bool wxInitializeLocale(wxLocale &locale)
} else
lang_code = wxLANGUAGE_DEFAULT;
if (language)
*language = lang_code;
if (wxLocale::IsAvailable(lang_code)) {
// Language is "available". Well... Known actually.
wxString sPath;

View File

@@ -176,7 +176,7 @@ public:
return true;
} else {
wxLogError(wxT("Can not open %s file for reading."), fileName.c_str());
wxLogError(wxT("Can not open %s file for reading."), fileName);
return false;
}
}

View File

@@ -22,6 +22,8 @@
#include "../common.h"
#include "../aui/framemanager.h"
#include <wx/persist.h>
#include <wx/aui/framemanager.h>
@@ -67,7 +69,14 @@ public:
{
// Load perspective string from configuration.
wxString persp;
return RestoreValue(wxT(wxPERSIST_AUIMGR_PERSPECTIVE), &persp) && GetManager()->LoadPerspective(persp);
wxCHECK(RestoreValue(wxT(wxPERSIST_AUIMGR_PERSPECTIVE), &persp), false);
// Update captions (see http://trac.wxwidgets.org/ticket/12528).
wxAuiManager* mgr = GetManager();
wxCHECK(wxAuiManagerUpdatePerspectiveCaptions(*mgr, persp), false);
// Restore perspective.
return mgr->LoadPerspective(persp);
}
protected:

View File

@@ -3,8 +3,9 @@
msgid ""
msgstr ""
"Project-Id-Version: wxExtend\n"
"POT-Creation-Date: 2016-10-07 12:59+0200\n"
"POT-Creation-Date: 2016-10-13 11:47+0200\n"
"PO-Revision-Date: 2016-02-06 09:04+0100\n"
"Last-Translator: University of Ruse <support@uni-ruse.bg>, 2016\n"
"Language-Team: Bulgarian (Bulgaria) (https://www.transifex.com/eduroam_devel/teams/11799/bg_BG/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -18,22 +19,25 @@ msgstr ""
"X-Poedit-SearchPath-1: include\n"
"X-Poedit-SourceCharset: UTF-8\n"
#: src/valnet.cpp:99
#: src/valnet.cpp:93
#, c-format
msgid "Invalid character in host name found: %c"
msgstr ""
msgstr "Открит е невалиден символ в името на хоста: %c"
#: src/valnet.cpp:99
#: src/valnet.cpp:93
msgid "Validation conflict"
msgstr ""
msgstr "Проверка на конфликт"
#: include/wxex/appbar.h:981
#: include/wxex/appbar.h:992
msgid ""
"There is already an auto hidden bar on this edge.\n"
"Only one auto hidden bar is allowed on each edge.\n"
"Auto-hide feature is now off."
msgstr ""
"В този ъгъл вече има автоматично скриваща се лента.\n"
"Във всеки ъгъл е разрешена само една автоматично скриваща се лента.\n"
"Сега функцията автоматично скриване е изключена."
#: include/wxex/appbar.h:981
#: include/wxex/appbar.h:992
msgid "Warning"
msgstr ""
msgstr "Предупреждение"

View File

@@ -3,8 +3,9 @@
msgid ""
msgstr ""
"Project-Id-Version: wxExtend\n"
"POT-Creation-Date: 2016-10-07 12:59+0200\n"
"POT-Creation-Date: 2016-10-13 11:47+0200\n"
"PO-Revision-Date: 2016-02-06 09:04+0100\n"
"Last-Translator: eduki <ecercos@xtec.cat>, 2016\n"
"Language-Team: Catalan (Spain) (https://www.transifex.com/eduroam_devel/teams/11799/ca_ES/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -18,22 +19,25 @@ msgstr ""
"X-Poedit-SearchPath-1: include\n"
"X-Poedit-SourceCharset: UTF-8\n"
#: src/valnet.cpp:99
#: src/valnet.cpp:93
#, c-format
msgid "Invalid character in host name found: %c"
msgstr ""
msgstr "S'ha trobat un caracter no vàlid en el nom de màquina: %c"
#: src/valnet.cpp:99
#: src/valnet.cpp:93
msgid "Validation conflict"
msgstr ""
msgstr "Conflicte de validació"
#: include/wxex/appbar.h:981
#: include/wxex/appbar.h:992
msgid ""
"There is already an auto hidden bar on this edge.\n"
"Only one auto hidden bar is allowed on each edge.\n"
"Auto-hide feature is now off."
msgstr ""
"Ja hi ha una barra oculta en aquest extrem.\n"
"Només hi pot haver una barra oculta en cada extrem.\n"
"L'amagat automàtic està desactivat."
#: include/wxex/appbar.h:981
#: include/wxex/appbar.h:992
msgid "Warning"
msgstr ""
msgstr "Alerta"

View File

@@ -3,7 +3,7 @@
msgid ""
msgstr ""
"Project-Id-Version: wxExtend\n"
"POT-Creation-Date: 2016-10-07 12:59+0200\n"
"POT-Creation-Date: 2016-10-13 11:47+0200\n"
"PO-Revision-Date: 2016-02-06 09:04+0100\n"
"Last-Translator: Martin Šimek <simek.mar@gmail.com>, 2016\n"
"Language-Team: Czech (Czech Republic) (https://www.transifex.com/eduroam_devel/teams/11799/cs_CZ/)\n"
@@ -19,16 +19,16 @@ msgstr ""
"X-Poedit-SearchPath-1: include\n"
"X-Poedit-SourceCharset: UTF-8\n"
#: src/valnet.cpp:99
#: src/valnet.cpp:93
#, c-format
msgid "Invalid character in host name found: %c"
msgstr "Nalezen nepovolený znak ve jméně stroje: %c"
#: src/valnet.cpp:99
#: src/valnet.cpp:93
msgid "Validation conflict"
msgstr "Chyba při kontrole"
#: include/wxex/appbar.h:981
#: include/wxex/appbar.h:992
msgid ""
"There is already an auto hidden bar on this edge.\n"
"Only one auto hidden bar is allowed on each edge.\n"
@@ -38,6 +38,6 @@ msgstr ""
"Je povolena pouze jedna automaticky skrytá lišta na každé straně.\n"
"Funkce automatického skrytí je nyní vypnuta."
#: include/wxex/appbar.h:981
#: include/wxex/appbar.h:992
msgid "Warning"
msgstr "Upozornění. "

View File

@@ -3,7 +3,7 @@
msgid ""
msgstr ""
"Project-Id-Version: wxExtend\n"
"POT-Creation-Date: 2016-10-07 12:59+0200\n"
"POT-Creation-Date: 2016-10-13 11:47+0200\n"
"PO-Revision-Date: 2016-02-06 09:04+0100\n"
"Language-Team: Welsh (https://www.transifex.com/eduroam_devel/teams/11799/cy/)\n"
"MIME-Version: 1.0\n"
@@ -18,22 +18,22 @@ msgstr ""
"X-Poedit-SearchPath-1: include\n"
"X-Poedit-SourceCharset: UTF-8\n"
#: src/valnet.cpp:99
#: src/valnet.cpp:93
#, c-format
msgid "Invalid character in host name found: %c"
msgstr ""
#: src/valnet.cpp:99
#: src/valnet.cpp:93
msgid "Validation conflict"
msgstr ""
#: include/wxex/appbar.h:981
#: include/wxex/appbar.h:992
msgid ""
"There is already an auto hidden bar on this edge.\n"
"Only one auto hidden bar is allowed on each edge.\n"
"Auto-hide feature is now off."
msgstr ""
#: include/wxex/appbar.h:981
#: include/wxex/appbar.h:992
msgid "Warning"
msgstr ""

View File

@@ -3,7 +3,7 @@
msgid ""
msgstr ""
"Project-Id-Version: wxExtend\n"
"POT-Creation-Date: 2016-10-07 12:59+0200\n"
"POT-Creation-Date: 2016-10-13 11:47+0200\n"
"PO-Revision-Date: 2016-02-06 09:04+0100\n"
"Last-Translator: Simon Rozman <simon@rozman.si>, 2016\n"
"Language-Team: German (https://www.transifex.com/eduroam_devel/teams/11799/de/)\n"
@@ -19,22 +19,22 @@ msgstr ""
"X-Poedit-SearchPath-1: include\n"
"X-Poedit-SourceCharset: UTF-8\n"
#: src/valnet.cpp:99
#: src/valnet.cpp:93
#, c-format
msgid "Invalid character in host name found: %c"
msgstr "Ungültiger Buchstabe im Servernamen gefunden: %c"
#: src/valnet.cpp:99
#: src/valnet.cpp:93
msgid "Validation conflict"
msgstr "Fehler bei der Validierung"
#: include/wxex/appbar.h:981
#: include/wxex/appbar.h:992
msgid ""
"There is already an auto hidden bar on this edge.\n"
"Only one auto hidden bar is allowed on each edge.\n"
"Auto-hide feature is now off."
msgstr ""
#: include/wxex/appbar.h:981
#: include/wxex/appbar.h:992
msgid "Warning"
msgstr "Warnung"

View File

@@ -3,7 +3,7 @@
msgid ""
msgstr ""
"Project-Id-Version: wxExtend\n"
"POT-Creation-Date: 2016-10-07 12:59+0200\n"
"POT-Creation-Date: 2016-10-13 11:47+0200\n"
"PO-Revision-Date: 2016-02-06 09:04+0100\n"
"Last-Translator: Vicky Kons <vickyk@admin.grnet.gr>, 2016\n"
"Language-Team: Greek (https://www.transifex.com/eduroam_devel/teams/11799/el/)\n"
@@ -19,16 +19,16 @@ msgstr ""
"X-Poedit-SearchPath-1: include\n"
"X-Poedit-SourceCharset: UTF-8\n"
#: src/valnet.cpp:99
#: src/valnet.cpp:93
#, c-format
msgid "Invalid character in host name found: %c"
msgstr "Βρέθηκε μη έγκυρος χαρακτήρας στο hostname: %c"
#: src/valnet.cpp:99
#: src/valnet.cpp:93
msgid "Validation conflict"
msgstr "Πρόβλημα επικύρωσης"
#: include/wxex/appbar.h:981
#: include/wxex/appbar.h:992
msgid ""
"There is already an auto hidden bar on this edge.\n"
"Only one auto hidden bar is allowed on each edge.\n"
@@ -38,6 +38,6 @@ msgstr ""
"Μόνο ένα αυτόματο κρυμμένο μενού επιτρέπεται σε κάθε ακριανό πλαίσιο.\n"
"Το χαρακτηριστικό της αυτόματης απόκρυψης είναι πλέον απενεργοποιημένο."
#: include/wxex/appbar.h:981
#: include/wxex/appbar.h:992
msgid "Warning"
msgstr "Προειδοποίηση"

View File

@@ -3,9 +3,9 @@
msgid ""
msgstr ""
"Project-Id-Version: wxExtend\n"
"POT-Creation-Date: 2016-10-07 12:59+0200\n"
"POT-Creation-Date: 2016-10-13 11:47+0200\n"
"PO-Revision-Date: 2016-02-06 09:04+0100\n"
"Last-Translator: Simon Rozman <simon@rozman.si>, 2016\n"
"Last-Translator: Alberto Martínez <alberto_martinez@deusto.es>, 2016\n"
"Language-Team: Spanish (https://www.transifex.com/eduroam_devel/teams/11799/es/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -19,22 +19,25 @@ msgstr ""
"X-Poedit-SearchPath-1: include\n"
"X-Poedit-SourceCharset: UTF-8\n"
#: src/valnet.cpp:99
#: src/valnet.cpp:93
#, c-format
msgid "Invalid character in host name found: %c"
msgstr "Carácter no válido en el nombre: %c"
#: src/valnet.cpp:99
#: src/valnet.cpp:93
msgid "Validation conflict"
msgstr "Conflicto de validación"
#: include/wxex/appbar.h:981
#: include/wxex/appbar.h:992
msgid ""
"There is already an auto hidden bar on this edge.\n"
"Only one auto hidden bar is allowed on each edge.\n"
"Auto-hide feature is now off."
msgstr ""
"Ya hay una barra con ocultación automática en este borde.\n"
"Sólo se permite una barra con ocultación automática en cada borde.\n"
"La propiedad de ocultación automática está desactivada."
#: include/wxex/appbar.h:981
#: include/wxex/appbar.h:992
msgid "Warning"
msgstr "Advertencia"

View File

@@ -3,7 +3,7 @@
msgid ""
msgstr ""
"Project-Id-Version: wxExtend\n"
"POT-Creation-Date: 2016-10-07 12:59+0200\n"
"POT-Creation-Date: 2016-10-13 11:47+0200\n"
"PO-Revision-Date: 2016-02-06 09:04+0100\n"
"Language-Team: Basque (Spain) (https://www.transifex.com/eduroam_devel/teams/11799/eu_ES/)\n"
"MIME-Version: 1.0\n"
@@ -18,22 +18,22 @@ msgstr ""
"X-Poedit-SearchPath-1: include\n"
"X-Poedit-SourceCharset: UTF-8\n"
#: src/valnet.cpp:99
#: src/valnet.cpp:93
#, c-format
msgid "Invalid character in host name found: %c"
msgstr ""
#: src/valnet.cpp:99
#: src/valnet.cpp:93
msgid "Validation conflict"
msgstr ""
#: include/wxex/appbar.h:981
#: include/wxex/appbar.h:992
msgid ""
"There is already an auto hidden bar on this edge.\n"
"Only one auto hidden bar is allowed on each edge.\n"
"Auto-hide feature is now off."
msgstr ""
#: include/wxex/appbar.h:981
#: include/wxex/appbar.h:992
msgid "Warning"
msgstr ""

View File

@@ -3,7 +3,7 @@
msgid ""
msgstr ""
"Project-Id-Version: wxExtend\n"
"POT-Creation-Date: 2016-10-07 12:59+0200\n"
"POT-Creation-Date: 2016-10-13 11:47+0200\n"
"PO-Revision-Date: 2016-02-06 09:04+0100\n"
"Language-Team: Finnish (Finland) (https://www.transifex.com/eduroam_devel/teams/11799/fi_FI/)\n"
"MIME-Version: 1.0\n"
@@ -18,22 +18,22 @@ msgstr ""
"X-Poedit-SearchPath-1: include\n"
"X-Poedit-SourceCharset: UTF-8\n"
#: src/valnet.cpp:99
#: src/valnet.cpp:93
#, c-format
msgid "Invalid character in host name found: %c"
msgstr ""
#: src/valnet.cpp:99
#: src/valnet.cpp:93
msgid "Validation conflict"
msgstr ""
#: include/wxex/appbar.h:981
#: include/wxex/appbar.h:992
msgid ""
"There is already an auto hidden bar on this edge.\n"
"Only one auto hidden bar is allowed on each edge.\n"
"Auto-hide feature is now off."
msgstr ""
#: include/wxex/appbar.h:981
#: include/wxex/appbar.h:992
msgid "Warning"
msgstr ""

View File

@@ -3,7 +3,7 @@
msgid ""
msgstr ""
"Project-Id-Version: wxExtend\n"
"POT-Creation-Date: 2016-10-07 12:59+0200\n"
"POT-Creation-Date: 2016-10-13 11:47+0200\n"
"PO-Revision-Date: 2016-02-06 09:04+0100\n"
"Language-Team: French (Canada) (https://www.transifex.com/eduroam_devel/teams/11799/fr_CA/)\n"
"MIME-Version: 1.0\n"
@@ -18,22 +18,22 @@ msgstr ""
"X-Poedit-SearchPath-1: include\n"
"X-Poedit-SourceCharset: UTF-8\n"
#: src/valnet.cpp:99
#: src/valnet.cpp:93
#, c-format
msgid "Invalid character in host name found: %c"
msgstr ""
#: src/valnet.cpp:99
#: src/valnet.cpp:93
msgid "Validation conflict"
msgstr ""
#: include/wxex/appbar.h:981
#: include/wxex/appbar.h:992
msgid ""
"There is already an auto hidden bar on this edge.\n"
"Only one auto hidden bar is allowed on each edge.\n"
"Auto-hide feature is now off."
msgstr ""
#: include/wxex/appbar.h:981
#: include/wxex/appbar.h:992
msgid "Warning"
msgstr ""

View File

@@ -3,7 +3,7 @@
msgid ""
msgstr ""
"Project-Id-Version: wxExtend\n"
"POT-Creation-Date: 2016-10-07 12:59+0200\n"
"POT-Creation-Date: 2016-10-13 11:47+0200\n"
"PO-Revision-Date: 2016-02-06 09:04+0100\n"
"Language-Team: French (France) (https://www.transifex.com/eduroam_devel/teams/11799/fr_FR/)\n"
"MIME-Version: 1.0\n"
@@ -18,22 +18,22 @@ msgstr ""
"X-Poedit-SearchPath-1: include\n"
"X-Poedit-SourceCharset: UTF-8\n"
#: src/valnet.cpp:99
#: src/valnet.cpp:93
#, c-format
msgid "Invalid character in host name found: %c"
msgstr ""
#: src/valnet.cpp:99
#: src/valnet.cpp:93
msgid "Validation conflict"
msgstr ""
#: include/wxex/appbar.h:981
#: include/wxex/appbar.h:992
msgid ""
"There is already an auto hidden bar on this edge.\n"
"Only one auto hidden bar is allowed on each edge.\n"
"Auto-hide feature is now off."
msgstr ""
#: include/wxex/appbar.h:981
#: include/wxex/appbar.h:992
msgid "Warning"
msgstr ""

View File

@@ -3,7 +3,7 @@
msgid ""
msgstr ""
"Project-Id-Version: wxExtend\n"
"POT-Creation-Date: 2016-10-07 12:59+0200\n"
"POT-Creation-Date: 2016-10-13 11:47+0200\n"
"PO-Revision-Date: 2016-02-06 09:04+0100\n"
"Language-Team: Galician (Spain) (https://www.transifex.com/eduroam_devel/teams/11799/gl_ES/)\n"
"MIME-Version: 1.0\n"
@@ -18,22 +18,22 @@ msgstr ""
"X-Poedit-SearchPath-1: include\n"
"X-Poedit-SourceCharset: UTF-8\n"
#: src/valnet.cpp:99
#: src/valnet.cpp:93
#, c-format
msgid "Invalid character in host name found: %c"
msgstr ""
#: src/valnet.cpp:99
#: src/valnet.cpp:93
msgid "Validation conflict"
msgstr ""
#: include/wxex/appbar.h:981
#: include/wxex/appbar.h:992
msgid ""
"There is already an auto hidden bar on this edge.\n"
"Only one auto hidden bar is allowed on each edge.\n"
"Auto-hide feature is now off."
msgstr ""
#: include/wxex/appbar.h:981
#: include/wxex/appbar.h:992
msgid "Warning"
msgstr ""

View File

@@ -3,7 +3,7 @@
msgid ""
msgstr ""
"Project-Id-Version: wxExtend\n"
"POT-Creation-Date: 2016-10-07 12:59+0200\n"
"POT-Creation-Date: 2016-10-13 11:47+0200\n"
"PO-Revision-Date: 2016-02-06 09:04+0100\n"
"Last-Translator: Simon Rozman <simon@rozman.si>, 2016\n"
"Language-Team: Croatian (Croatia) (https://www.transifex.com/eduroam_devel/teams/11799/hr_HR/)\n"
@@ -19,22 +19,22 @@ msgstr ""
"X-Poedit-SearchPath-1: include\n"
"X-Poedit-SourceCharset: UTF-8\n"
#: src/valnet.cpp:99
#: src/valnet.cpp:93
#, c-format
msgid "Invalid character in host name found: %c"
msgstr "Nevažeći znak u imenu poslužitelja %c"
#: src/valnet.cpp:99
#: src/valnet.cpp:93
msgid "Validation conflict"
msgstr "Problem s provjerom"
#: include/wxex/appbar.h:981
#: include/wxex/appbar.h:992
msgid ""
"There is already an auto hidden bar on this edge.\n"
"Only one auto hidden bar is allowed on each edge.\n"
"Auto-hide feature is now off."
msgstr ""
#: include/wxex/appbar.h:981
#: include/wxex/appbar.h:992
msgid "Warning"
msgstr "Upozorenje"

View File

@@ -3,7 +3,7 @@
msgid ""
msgstr ""
"Project-Id-Version: wxExtend\n"
"POT-Creation-Date: 2016-10-07 12:59+0200\n"
"POT-Creation-Date: 2016-10-13 11:47+0200\n"
"PO-Revision-Date: 2016-02-06 09:04+0100\n"
"Language-Team: Hungarian (https://www.transifex.com/eduroam_devel/teams/11799/hu/)\n"
"MIME-Version: 1.0\n"
@@ -18,22 +18,22 @@ msgstr ""
"X-Poedit-SearchPath-1: include\n"
"X-Poedit-SourceCharset: UTF-8\n"
#: src/valnet.cpp:99
#: src/valnet.cpp:93
#, c-format
msgid "Invalid character in host name found: %c"
msgstr ""
#: src/valnet.cpp:99
#: src/valnet.cpp:93
msgid "Validation conflict"
msgstr ""
#: include/wxex/appbar.h:981
#: include/wxex/appbar.h:992
msgid ""
"There is already an auto hidden bar on this edge.\n"
"Only one auto hidden bar is allowed on each edge.\n"
"Auto-hide feature is now off."
msgstr ""
#: include/wxex/appbar.h:981
#: include/wxex/appbar.h:992
msgid "Warning"
msgstr ""

View File

@@ -3,7 +3,7 @@
msgid ""
msgstr ""
"Project-Id-Version: wxExtend\n"
"POT-Creation-Date: 2016-10-07 12:59+0200\n"
"POT-Creation-Date: 2016-10-13 11:47+0200\n"
"PO-Revision-Date: 2016-02-06 09:04+0100\n"
"Language-Team: Icelandic (https://www.transifex.com/eduroam_devel/teams/11799/is/)\n"
"MIME-Version: 1.0\n"
@@ -18,22 +18,22 @@ msgstr ""
"X-Poedit-SearchPath-1: include\n"
"X-Poedit-SourceCharset: UTF-8\n"
#: src/valnet.cpp:99
#: src/valnet.cpp:93
#, c-format
msgid "Invalid character in host name found: %c"
msgstr ""
#: src/valnet.cpp:99
#: src/valnet.cpp:93
msgid "Validation conflict"
msgstr ""
#: include/wxex/appbar.h:981
#: include/wxex/appbar.h:992
msgid ""
"There is already an auto hidden bar on this edge.\n"
"Only one auto hidden bar is allowed on each edge.\n"
"Auto-hide feature is now off."
msgstr ""
#: include/wxex/appbar.h:981
#: include/wxex/appbar.h:992
msgid "Warning"
msgstr ""

View File

@@ -3,7 +3,7 @@
msgid ""
msgstr ""
"Project-Id-Version: wxExtend\n"
"POT-Creation-Date: 2016-10-07 12:59+0200\n"
"POT-Creation-Date: 2016-10-13 11:47+0200\n"
"PO-Revision-Date: 2016-02-06 09:04+0100\n"
"Language-Team: Italian (Italy) (https://www.transifex.com/eduroam_devel/teams/11799/it_IT/)\n"
"MIME-Version: 1.0\n"
@@ -18,22 +18,22 @@ msgstr ""
"X-Poedit-SearchPath-1: include\n"
"X-Poedit-SourceCharset: UTF-8\n"
#: src/valnet.cpp:99
#: src/valnet.cpp:93
#, c-format
msgid "Invalid character in host name found: %c"
msgstr ""
#: src/valnet.cpp:99
#: src/valnet.cpp:93
msgid "Validation conflict"
msgstr ""
#: include/wxex/appbar.h:981
#: include/wxex/appbar.h:992
msgid ""
"There is already an auto hidden bar on this edge.\n"
"Only one auto hidden bar is allowed on each edge.\n"
"Auto-hide feature is now off."
msgstr ""
#: include/wxex/appbar.h:981
#: include/wxex/appbar.h:992
msgid "Warning"
msgstr ""

View File

@@ -3,7 +3,7 @@
msgid ""
msgstr ""
"Project-Id-Version: wxExtend\n"
"POT-Creation-Date: 2016-10-07 12:59+0200\n"
"POT-Creation-Date: 2016-10-13 11:47+0200\n"
"PO-Revision-Date: 2016-02-06 09:04+0100\n"
"Last-Translator: Simon Rozman <simon@rozman.si>, 2016\n"
"Language-Team: Lithuanian (https://www.transifex.com/eduroam_devel/teams/11799/lt/)\n"
@@ -19,22 +19,22 @@ msgstr ""
"X-Poedit-SearchPath-1: include\n"
"X-Poedit-SourceCharset: UTF-8\n"
#: src/valnet.cpp:99
#: src/valnet.cpp:93
#, c-format
msgid "Invalid character in host name found: %c"
msgstr "Kompiuterio varde aptiktas netinkamas simbolis: %c"
#: src/valnet.cpp:99
#: src/valnet.cpp:93
msgid "Validation conflict"
msgstr "Patikra nesėkminga"
#: include/wxex/appbar.h:981
#: include/wxex/appbar.h:992
msgid ""
"There is already an auto hidden bar on this edge.\n"
"Only one auto hidden bar is allowed on each edge.\n"
"Auto-hide feature is now off."
msgstr ""
#: include/wxex/appbar.h:981
#: include/wxex/appbar.h:992
msgid "Warning"
msgstr "Įspėjimas"

View File

@@ -3,7 +3,7 @@
msgid ""
msgstr ""
"Project-Id-Version: wxExtend\n"
"POT-Creation-Date: 2016-10-07 12:59+0200\n"
"POT-Creation-Date: 2016-10-13 11:47+0200\n"
"PO-Revision-Date: 2016-02-06 09:04+0100\n"
"Last-Translator: Tom Ivar Myren <tom.myren@uninett.no>, 2016\n"
"Language-Team: Norwegian Bokmål (https://www.transifex.com/eduroam_devel/teams/11799/nb/)\n"
@@ -19,16 +19,16 @@ msgstr ""
"X-Poedit-SearchPath-1: include\n"
"X-Poedit-SourceCharset: UTF-8\n"
#: src/valnet.cpp:99
#: src/valnet.cpp:93
#, c-format
msgid "Invalid character in host name found: %c"
msgstr "Ugyldig tegn funnet i navn: %c"
#: src/valnet.cpp:99
#: src/valnet.cpp:93
msgid "Validation conflict"
msgstr "Valideringskonflikt"
#: include/wxex/appbar.h:981
#: include/wxex/appbar.h:992
msgid ""
"There is already an auto hidden bar on this edge.\n"
"Only one auto hidden bar is allowed on each edge.\n"
@@ -38,6 +38,6 @@ msgstr ""
"Only one auto hidden bar is allowed on each edge.\n"
"Auto-hide feature is now off."
#: include/wxex/appbar.h:981
#: include/wxex/appbar.h:992
msgid "Warning"
msgstr "Advarsel"

View File

@@ -3,7 +3,7 @@
msgid ""
msgstr ""
"Project-Id-Version: wxExtend\n"
"POT-Creation-Date: 2016-10-07 12:59+0200\n"
"POT-Creation-Date: 2016-10-13 11:47+0200\n"
"PO-Revision-Date: 2016-02-06 09:04+0100\n"
"Language-Team: Dutch (https://www.transifex.com/eduroam_devel/teams/11799/nl/)\n"
"MIME-Version: 1.0\n"
@@ -18,22 +18,22 @@ msgstr ""
"X-Poedit-SearchPath-1: include\n"
"X-Poedit-SourceCharset: UTF-8\n"
#: src/valnet.cpp:99
#: src/valnet.cpp:93
#, c-format
msgid "Invalid character in host name found: %c"
msgstr ""
#: src/valnet.cpp:99
#: src/valnet.cpp:93
msgid "Validation conflict"
msgstr ""
#: include/wxex/appbar.h:981
#: include/wxex/appbar.h:992
msgid ""
"There is already an auto hidden bar on this edge.\n"
"Only one auto hidden bar is allowed on each edge.\n"
"Auto-hide feature is now off."
msgstr ""
#: include/wxex/appbar.h:981
#: include/wxex/appbar.h:992
msgid "Warning"
msgstr ""

View File

@@ -3,7 +3,7 @@
msgid ""
msgstr ""
"Project-Id-Version: wxExtend\n"
"POT-Creation-Date: 2016-10-07 12:59+0200\n"
"POT-Creation-Date: 2016-10-13 11:47+0200\n"
"PO-Revision-Date: 2016-02-06 09:04+0100\n"
"Last-Translator: Simon Rozman <simon@rozman.si>, 2016\n"
"Language-Team: Polish (Poland) (https://www.transifex.com/eduroam_devel/teams/11799/pl_PL/)\n"
@@ -19,22 +19,22 @@ msgstr ""
"X-Poedit-SearchPath-1: include\n"
"X-Poedit-SourceCharset: UTF-8\n"
#: src/valnet.cpp:99
#: src/valnet.cpp:93
#, c-format
msgid "Invalid character in host name found: %c"
msgstr "W nazwie hosta znaleziono nieprawidłowy znak: %c"
#: src/valnet.cpp:99
#: src/valnet.cpp:93
msgid "Validation conflict"
msgstr "Błąd walidacji danych"
#: include/wxex/appbar.h:981
#: include/wxex/appbar.h:992
msgid ""
"There is already an auto hidden bar on this edge.\n"
"Only one auto hidden bar is allowed on each edge.\n"
"Auto-hide feature is now off."
msgstr ""
#: include/wxex/appbar.h:981
#: include/wxex/appbar.h:992
msgid "Warning"
msgstr "Ostrzeżenie"

View File

@@ -3,7 +3,7 @@
msgid ""
msgstr ""
"Project-Id-Version: wxExtend\n"
"POT-Creation-Date: 2016-10-07 12:59+0200\n"
"POT-Creation-Date: 2016-10-13 11:47+0200\n"
"PO-Revision-Date: 2016-02-06 09:04+0100\n"
"Language-Team: Portuguese (Portugal) (https://www.transifex.com/eduroam_devel/teams/11799/pt_PT/)\n"
"MIME-Version: 1.0\n"
@@ -18,22 +18,22 @@ msgstr ""
"X-Poedit-SearchPath-1: include\n"
"X-Poedit-SourceCharset: UTF-8\n"
#: src/valnet.cpp:99
#: src/valnet.cpp:93
#, c-format
msgid "Invalid character in host name found: %c"
msgstr ""
#: src/valnet.cpp:99
#: src/valnet.cpp:93
msgid "Validation conflict"
msgstr ""
#: include/wxex/appbar.h:981
#: include/wxex/appbar.h:992
msgid ""
"There is already an auto hidden bar on this edge.\n"
"Only one auto hidden bar is allowed on each edge.\n"
"Auto-hide feature is now off."
msgstr ""
#: include/wxex/appbar.h:981
#: include/wxex/appbar.h:992
msgid "Warning"
msgstr ""

View File

@@ -3,7 +3,7 @@
msgid ""
msgstr ""
"Project-Id-Version: wxExtend\n"
"POT-Creation-Date: 2016-10-07 12:59+0200\n"
"POT-Creation-Date: 2016-10-13 11:47+0200\n"
"PO-Revision-Date: 2016-02-06 09:04+0100\n"
"Last-Translator: Simon Rozman <simon@rozman.si>, 2016\n"
"Language-Team: Russian (Russia) (https://www.transifex.com/eduroam_devel/teams/11799/ru_RU/)\n"
@@ -19,16 +19,16 @@ msgstr ""
"X-Poedit-SearchPath-1: include\n"
"X-Poedit-SourceCharset: UTF-8\n"
#: src/valnet.cpp:99
#: src/valnet.cpp:93
#, c-format
msgid "Invalid character in host name found: %c"
msgstr ""
#: src/valnet.cpp:99
#: src/valnet.cpp:93
msgid "Validation conflict"
msgstr ""
#: include/wxex/appbar.h:981
#: include/wxex/appbar.h:992
msgid ""
"There is already an auto hidden bar on this edge.\n"
"Only one auto hidden bar is allowed on each edge.\n"
@@ -38,6 +38,6 @@ msgstr ""
"На каждом месте может находится только одна автоматически скрыта панель.\n"
"Автоматическое скрытие теперь выключен."
#: include/wxex/appbar.h:981
#: include/wxex/appbar.h:992
msgid "Warning"
msgstr "Предупреждение"

View File

@@ -3,7 +3,7 @@
msgid ""
msgstr ""
"Project-Id-Version: wxExtend\n"
"POT-Creation-Date: 2016-10-07 12:59+0200\n"
"POT-Creation-Date: 2016-10-13 11:47+0200\n"
"PO-Revision-Date: 2016-02-06 09:04+0100\n"
"Language-Team: Slovak (Slovakia) (https://www.transifex.com/eduroam_devel/teams/11799/sk_SK/)\n"
"MIME-Version: 1.0\n"
@@ -18,22 +18,22 @@ msgstr ""
"X-Poedit-SearchPath-1: include\n"
"X-Poedit-SourceCharset: UTF-8\n"
#: src/valnet.cpp:99
#: src/valnet.cpp:93
#, c-format
msgid "Invalid character in host name found: %c"
msgstr ""
#: src/valnet.cpp:99
#: src/valnet.cpp:93
msgid "Validation conflict"
msgstr ""
#: include/wxex/appbar.h:981
#: include/wxex/appbar.h:992
msgid ""
"There is already an auto hidden bar on this edge.\n"
"Only one auto hidden bar is allowed on each edge.\n"
"Auto-hide feature is now off."
msgstr ""
#: include/wxex/appbar.h:981
#: include/wxex/appbar.h:992
msgid "Warning"
msgstr ""

View File

@@ -3,7 +3,7 @@
msgid ""
msgstr ""
"Project-Id-Version: wxExtend\n"
"POT-Creation-Date: 2016-10-07 12:59+0200\n"
"POT-Creation-Date: 2016-10-13 11:47+0200\n"
"PO-Revision-Date: 2016-02-06 09:04+0100\n"
"Last-Translator: Simon Rozman <simon@rozman.si>, 2016\n"
"Language-Team: Slovenian (Slovenia) (https://www.transifex.com/eduroam_devel/teams/11799/sl_SI/)\n"
@@ -19,16 +19,16 @@ msgstr ""
"X-Poedit-SearchPath-1: include\n"
"X-Poedit-SourceCharset: UTF-8\n"
#: src/valnet.cpp:99
#: src/valnet.cpp:93
#, c-format
msgid "Invalid character in host name found: %c"
msgstr "Napačen znak v imenu gostitelja: %c"
#: src/valnet.cpp:99
#: src/valnet.cpp:93
msgid "Validation conflict"
msgstr "Nesoglasje pri preverjanju"
#: include/wxex/appbar.h:981
#: include/wxex/appbar.h:992
msgid ""
"There is already an auto hidden bar on this edge.\n"
"Only one auto hidden bar is allowed on each edge.\n"
@@ -38,6 +38,6 @@ msgstr ""
"Na vsakem robu je lahko samo ena samodejno skrita pasica.\n"
"Samodejno skrivanje je zdaj izklopljeno."
#: include/wxex/appbar.h:981
#: include/wxex/appbar.h:992
msgid "Warning"
msgstr "Opozorilo"

View File

@@ -3,7 +3,7 @@
msgid ""
msgstr ""
"Project-Id-Version: wxExtend\n"
"POT-Creation-Date: 2016-10-07 12:59+0200\n"
"POT-Creation-Date: 2016-10-13 11:47+0200\n"
"PO-Revision-Date: 2016-02-06 09:04+0100\n"
"Last-Translator: Marko Eremija <marko.eremija@amres.ac.rs>, 2016\n"
"Language-Team: Serbian (https://www.transifex.com/eduroam_devel/teams/11799/sr/)\n"
@@ -19,16 +19,16 @@ msgstr ""
"X-Poedit-SearchPath-1: include\n"
"X-Poedit-SourceCharset: UTF-8\n"
#: src/valnet.cpp:99
#: src/valnet.cpp:93
#, c-format
msgid "Invalid character in host name found: %c"
msgstr "Neispravan karakter je pronađen u DNS imenu: %c"
#: src/valnet.cpp:99
#: src/valnet.cpp:93
msgid "Validation conflict"
msgstr "Konflikt prilikom validacije"
#: include/wxex/appbar.h:981
#: include/wxex/appbar.h:992
msgid ""
"There is already an auto hidden bar on this edge.\n"
"Only one auto hidden bar is allowed on each edge.\n"
@@ -38,6 +38,6 @@ msgstr ""
"Dozvoljen je samo po jedan sakriven klizač na svakoj ivici.\n"
"Opcija za automatsko sakrivanje je isključena. "
#: include/wxex/appbar.h:981
#: include/wxex/appbar.h:992
msgid "Warning"
msgstr "Upozorenje"

View File

@@ -3,7 +3,7 @@
msgid ""
msgstr ""
"Project-Id-Version: wxExtend\n"
"POT-Creation-Date: 2016-10-07 12:59+0200\n"
"POT-Creation-Date: 2016-10-13 11:47+0200\n"
"PO-Revision-Date: 2016-02-06 09:04+0100\n"
"Language-Team: Swedish (https://www.transifex.com/eduroam_devel/teams/11799/sv/)\n"
"MIME-Version: 1.0\n"
@@ -18,22 +18,22 @@ msgstr ""
"X-Poedit-SearchPath-1: include\n"
"X-Poedit-SourceCharset: UTF-8\n"
#: src/valnet.cpp:99
#: src/valnet.cpp:93
#, c-format
msgid "Invalid character in host name found: %c"
msgstr ""
#: src/valnet.cpp:99
#: src/valnet.cpp:93
msgid "Validation conflict"
msgstr ""
#: include/wxex/appbar.h:981
#: include/wxex/appbar.h:992
msgid ""
"There is already an auto hidden bar on this edge.\n"
"Only one auto hidden bar is allowed on each edge.\n"
"Auto-hide feature is now off."
msgstr ""
#: include/wxex/appbar.h:981
#: include/wxex/appbar.h:992
msgid "Warning"
msgstr ""

View File

@@ -3,7 +3,7 @@
msgid ""
msgstr ""
"Project-Id-Version: wxExtend\n"
"POT-Creation-Date: 2016-10-07 12:59+0200\n"
"POT-Creation-Date: 2016-10-13 11:47+0200\n"
"PO-Revision-Date: 2016-02-06 09:04+0100\n"
"Language-Team: Turkish (https://www.transifex.com/eduroam_devel/teams/11799/tr/)\n"
"MIME-Version: 1.0\n"
@@ -18,22 +18,22 @@ msgstr ""
"X-Poedit-SearchPath-1: include\n"
"X-Poedit-SourceCharset: UTF-8\n"
#: src/valnet.cpp:99
#: src/valnet.cpp:93
#, c-format
msgid "Invalid character in host name found: %c"
msgstr ""
#: src/valnet.cpp:99
#: src/valnet.cpp:93
msgid "Validation conflict"
msgstr ""
#: include/wxex/appbar.h:981
#: include/wxex/appbar.h:992
msgid ""
"There is already an auto hidden bar on this edge.\n"
"Only one auto hidden bar is allowed on each edge.\n"
"Auto-hide feature is now off."
msgstr ""
#: include/wxex/appbar.h:981
#: include/wxex/appbar.h:992
msgid "Warning"
msgstr ""

View File

@@ -3,7 +3,7 @@
msgid ""
msgstr ""
"Project-Id-Version: wxExtend\n"
"POT-Creation-Date: 2016-10-07 12:59+0200\n"
"POT-Creation-Date: 2016-10-13 11:47+0200\n"
"PO-Revision-Date: 2016-02-06 09:04+0100\n"
"Language-Team: Vietnamese (https://www.transifex.com/eduroam_devel/teams/11799/vi/)\n"
"MIME-Version: 1.0\n"
@@ -18,22 +18,22 @@ msgstr ""
"X-Poedit-SearchPath-1: include\n"
"X-Poedit-SourceCharset: UTF-8\n"
#: src/valnet.cpp:99
#: src/valnet.cpp:93
#, c-format
msgid "Invalid character in host name found: %c"
msgstr ""
#: src/valnet.cpp:99
#: src/valnet.cpp:93
msgid "Validation conflict"
msgstr ""
#: include/wxex/appbar.h:981
#: include/wxex/appbar.h:992
msgid ""
"There is already an auto hidden bar on this edge.\n"
"Only one auto hidden bar is allowed on each edge.\n"
"Auto-hide feature is now off."
msgstr ""
#: include/wxex/appbar.h:981
#: include/wxex/appbar.h:992
msgid "Warning"
msgstr ""

View File

@@ -2,7 +2,7 @@
msgid ""
msgstr ""
"Project-Id-Version: wxExtend\n"
"POT-Creation-Date: 2016-10-07 12:59+0200\n"
"POT-Creation-Date: 2016-10-13 11:47+0200\n"
"PO-Revision-Date: 2016-02-06 09:04+0100\n"
"Last-Translator: Simon Rozman <simon.rozman@amebis.si>\n"
"Language-Team: Amebis, d. o. o., Kamnik <info@amebis.si>\n"
@@ -18,22 +18,22 @@ msgstr ""
"X-Poedit-SearchPath-0: src\n"
"X-Poedit-SearchPath-1: include\n"
#: src/valnet.cpp:99
#: src/valnet.cpp:93
#, c-format
msgid "Invalid character in host name found: %c"
msgstr ""
#: src/valnet.cpp:99
#: src/valnet.cpp:93
msgid "Validation conflict"
msgstr ""
#: include/wxex/appbar.h:981
#: include/wxex/appbar.h:992
msgid ""
"There is already an auto hidden bar on this edge.\n"
"Only one auto hidden bar is allowed on each edge.\n"
"Auto-hide feature is now off."
msgstr ""
#: include/wxex/appbar.h:981
#: include/wxex/appbar.h:992
msgid "Warning"
msgstr ""

88
src/framemanager.cpp Normal file
View File

@@ -0,0 +1,88 @@
/*
Copyright 2015-2016 Amebis
Copyright 2016 G<>ANT
This file is part of wxExtend.
wxExtend is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
wxExtend is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with wxExtend. If not, see <http://www.gnu.org/licenses/>.
*/
#include "stdafx.h"
bool WXEXTEND_API wxAuiManagerUpdatePerspectiveCaptions(wxAuiManager& mgr, wxString& perspective)
{
wxString input = perspective;
wxString output;
wxString part;
// check layout string version
// 'layout1' = wxAUI 0.9.0 - wxAUI 0.9.2
// 'layout2' = wxAUI 0.9.2 (wxWidgets 2.8)
part = input.BeforeFirst(wxT('|'));
input = input.AfterFirst(wxT('|'));
part.Trim(true);
part.Trim(false);
if (part != wxT("layout2"))
return false;
output += part;
output += wxT('|');
// replace escaped characters so we can
// split up the string easily
input.Replace(wxT("\\|"), wxT("\a"));
input.Replace(wxT("\\;"), wxT("\b"));
while (1)
{
wxString pane_part = input.BeforeFirst(wxT('|'));
input = input.AfterFirst(wxT('|'));
pane_part.Trim(true);
// if the string is empty, we're done parsing
if (pane_part.empty())
break;
// Undo our escaping
pane_part.Replace(wxT("\a"), wxT("|"));
pane_part.Replace(wxT("\b"), wxT(";"));
if (pane_part.Left(9) == wxT("dock_size"))
{
output += pane_part;
output += wxT('|');
continue;
}
wxAuiPaneInfo pane;
mgr.LoadPaneInfo(pane_part, pane);
wxAuiPaneInfo& p = mgr.GetPane(pane.name);
if (!p.IsOk())
{
// the pane window couldn't be found
// in the existing layout -- skip it
continue;
}
// Update caption.
pane.caption = p.caption;
output += mgr.SavePaneInfo(pane);
output += wxT('|');
}
perspective = output;
return true;
}

View File

@@ -25,7 +25,7 @@ size_t WXEXTEND_API wxHexEncode(char *dst, size_t dstLen, const void *src_, size
{
wxCHECK_MSG( src_, wxCONV_FAILED, wxT("NULL input buffer") );
const unsigned char *src = static_cast<const unsigned char *>(src_);
const unsigned char *src = reinterpret_cast<const unsigned char *>(src_);
static const char bhex[] = "0123456789ABCDEF";
@@ -51,7 +51,7 @@ size_t WXEXTEND_API wxHexDecode(void *dst_, size_t dstLen, const char *src, size
{
wxCHECK_MSG( src, wxCONV_FAILED, wxT("NULL input buffer") );
unsigned char *dst = static_cast<unsigned char *>(dst_);
unsigned char *dst = reinterpret_cast<unsigned char *>(dst_);
size_t decLen = 0;
@@ -66,7 +66,7 @@ size_t WXEXTEND_API wxHexDecode(void *dst_, size_t dstLen, const char *src, size
const char *p;
for ( p = src; srcLen; p++, srcLen-- )
{
const unsigned char c = static_cast<unsigned char>(*p);
const unsigned char c = *reinterpret_cast<const unsigned char*>(p);
if ( '0' <= c && c <= '9' ) in = (in << 4) | (c - '0') , n++;
else if ( 'A' <= c && c <= 'F' ) in = (in << 4) | (c - 'A' + 10), n++;
else if ( 'a' <= c && c <= 'f' ) in = (in << 4) | (c - 'a' + 10), n++;

View File

@@ -24,6 +24,8 @@
// include the grand <wx/wx.h> at a cost of longer pre-compilation phase.
#include <wx/wx.h>
#include "../include/wxex/aui/framemanager.h"
#include "../include/wxex/appbar.h"
#include "../include/wxex/comutils.h"
#include "../include/wxex/crypto.h"