diff --git a/.gitignore b/.gitignore index 7fc867f..40c976b 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ temp /*.opensdf /ZRCola/locale/*.mo +/output/locale/sl/ZRCola.mo diff --git a/ZRCola/ZRCola.props b/ZRCola/ZRCola.props index a4c723a..d65a46e 100644 --- a/ZRCola/ZRCola.props +++ b/ZRCola/ZRCola.props @@ -6,6 +6,9 @@ ..\output\$(Platform).$(Configuration)\ + + ..\output\locale\%(Filename)\$(ProjectName).mo + ..\lib\wxExtend\include diff --git a/ZRCola/ZRCola.vcxproj b/ZRCola/ZRCola.vcxproj index 4080feb..db2e1ed 100644 --- a/ZRCola/ZRCola.vcxproj +++ b/ZRCola/ZRCola.vcxproj @@ -102,7 +102,11 @@ + + + + \ No newline at end of file diff --git a/ZRCola/ZRCola.vcxproj.filters b/ZRCola/ZRCola.vcxproj.filters index ee75585..bf0a0e3 100644 --- a/ZRCola/ZRCola.vcxproj.filters +++ b/ZRCola/ZRCola.vcxproj.filters @@ -13,6 +13,10 @@ {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms + + {e43059ae-37ac-4b28-84fb-18d1b3972b30} + po;pot + @@ -55,4 +59,9 @@ Resource Files + + + Resource Files\Localization + + \ No newline at end of file diff --git a/include/common.props b/include/common.props index 6cb1062..764d021 100644 --- a/include/common.props +++ b/include/common.props @@ -18,7 +18,9 @@ along with ZRCola. If not, see . --> - + + + temp\$(ProjectName).$(Platform).$(Configuration).$(PlatformToolset)\ @@ -45,6 +47,9 @@ WINVER=0x0501;_WIN32_WINNT=0x0501;%(PreprocessorDefinitions) + + Amperstand + \ No newline at end of file diff --git a/include/xgettext.props b/include/xgettext.props new file mode 100644 index 0000000..3ab4ae0 --- /dev/null +++ b/include/xgettext.props @@ -0,0 +1,45 @@ + + + + + Midl + CustomBuild + + + _SelectedFiles;$(POCompilationDependsOn) + + + + MO + false + false + false + false + false + None + $(OutDir)%(Filename).mo + false + 1 + LSB + + msgfmt.exe [AllOptions] [AdditionalOptions] [Inputs] + + + \ No newline at end of file diff --git a/include/xgettext.targets b/include/xgettext.targets new file mode 100644 index 0000000..138a382 --- /dev/null +++ b/include/xgettext.targets @@ -0,0 +1,65 @@ + + + + + + + POCompile + + + + $(MSBuildThisFileDirectory)$(MSBuildThisFileName).xml + + + + + + + + + + + + + POCompilationClean;$(CleanDependsOn); + + \ No newline at end of file diff --git a/include/xgettext.xml b/include/xgettext.xml new file mode 100644 index 0000000..aa3779b --- /dev/null +++ b/include/xgettext.xml @@ -0,0 +1,83 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/lib/wxExtend b/lib/wxExtend index c86e4f5..62c74b5 160000 --- a/lib/wxExtend +++ b/lib/wxExtend @@ -1 +1 @@ -Subproject commit c86e4f51b5c99f51abca368270084672466fcb42 +Subproject commit 62c74b569466bd74da766c761be96a1e017c025e diff --git a/output/locale/sl/ZRCola.mo b/output/locale/sl/ZRCola.mo deleted file mode 100644 index 6700933..0000000 Binary files a/output/locale/sl/ZRCola.mo and /dev/null differ