diff --git a/.gitattributes b/.gitattributes index 5d0fed6..74aa7bf 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,4 +1,5 @@ * text=auto !eol +MSICALib/L10N/sl_SI.po -text MSICALib/MSITSCA.cpp -text MSICALib/MSITSCA.h -text MSICALib/MSITSCA.vcxproj -text svneol=unset#text/xml @@ -8,4 +9,3 @@ MSICALib/StdAfx.h -text MSICALib/msm/Makefile -text svneol=unset#text/plain%3B+charset%3DWindows-1250 MSICALib/res/MSITSCA.rc -text svneol=unset#unset MSICALib/res/MSITSCA.rcx -text svneol=unset#unset -MSICALib/res/en_GB.po -text diff --git a/.gitignore b/.gitignore index 8664d0a..b816f90 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ MSICALib/*.user +MSICALib/L10N/*.mo MSICALib/MSITSCA.Debug.Win32 MSICALib/MSITSCA.Debug.x64 MSICALib/MSITSCA.Release.Win32 diff --git a/MSICALib/L10N/sl_SI.po b/MSICALib/L10N/sl_SI.po new file mode 100644 index 0000000..5c28c4b --- /dev/null +++ b/MSICALib/L10N/sl_SI.po @@ -0,0 +1,85 @@ +msgid "" +msgstr "" +"Project-Id-Version: MSICA\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2013-06-07 20:27+0100\n" +"PO-Revision-Date: \n" +"Last-Translator: Simon Rozman \n" +"Language-Team: Amebis, d. o. o., Kamnik \n" +"Language: sl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Poedit-KeywordsList: __\n" +"X-Poedit-Basepath: ..\n" +"X-Generator: Poedit 1.5.7\n" +"X-Poedit-SearchPath-0: res\n" +"X-Poedit-SearchPath-1: msm\n" + +# Language Code and Windows Charset (hexadecimal) +# If we do not intend to provide different localization of same base language (like merging Portugal Portugeese and Brasil Portugese into the same Portugeese), use the code of Microsoft defined default sublanguage. +# For example: Use LANG_PORTUGUESE + SUBLANG_DEFAULT = 0x416, although 0x416 represents Brasil Portugese (too). +#: MSITSCA.rcx:43 +msgid "040904e4" +msgstr "042404e2" + +# Language Code (hexadecimal) +# If we do not intend to provide different localization of same base language (like merging Portugal Portugeese and Brasil Portugese into the same Portugeese), use the code of Microsoft defined default sublanguage. +# For example: Use LANG_PORTUGUESE + SUBLANG_DEFAULT = 0x416, although 0x416 represents Brasil Portugese (too). +#: MSITSCA.rcx:61 +msgid "0x409" +msgstr "0x424" + +# Windows charset for this language (decimal) +#: MSITSCA.rcx:61 ..\msm/Sl.DebugU.Win32.ActionText-2.idtx:3 +#: ..\msm/Sl.DebugU.Win32.Error-2.idtx:3 +msgid "1252" +msgstr "1250" + +# The name of the constant in RC to include the resources in this language. +#: MSITSCA.rcx:42 MSITSCA.rcx:60 MSITSCA.rcx:76 +msgid "AFX_TARG_ENU" +msgstr "AFX_TARG_SLV" + +#: MSITSCA.rcx:45 +msgid "Amebis, d. o. o., Kamnik" +msgstr "Amebis, d. o. o., Kamnik" + +# Language Identifier (see http://msdn.microsoft.com/en-us/library/windows/desktop/dd318693(v=vs.85).aspx) +#: MSITSCA.rcx:78 +msgid "LANG_ENGLISH" +msgstr "LANG_SLOVENIAN" + +#: MSITSCA.rcx:48 MSITSCA.rcx:50 +msgid "MSITSCA" +msgstr "MSITSCA" + +#: MSITSCA.rcx:46 +msgid "Scheduled Task Installation Support Library" +msgstr "Podporna knjižnica za nameščanje načrtovanih opravil" + +# Sublanguage Identifier (see http://msdn.microsoft.com/en-us/library/windows/desktop/dd318693(v=vs.85).aspx) +#: MSITSCA.rcx:78 +msgid "SUBLANG_DEFAULT" +msgstr "SUBLANG_DEFAULT" + +#: MSITSCA.rcx:49 +msgid "Copyright © Amebis, d. o. o., Kamnik, 2012" +msgstr "Vse pravice pridržane © Amebis, d. o. o., Kamnik, 2012" + +#: ..\msm/Sl.DebugU.Win32.Error-2.idtx:4 +msgid "" +"Error [2] creating scheduled task list. Please, contact your support " +"personnel." +msgstr "" +"Pri pripravi seznama razvrščenih opravil je prišlo do napake [2]. Obrnite se " +"na svojo tehnično službo." + +#: ..\msm/Sl.DebugU.Win32.ActionText-2.idtx:4 +msgid "Scheduled task: [1]" +msgstr "Razporejeno opravilo: [1]" + +#: ..\msm/Sl.DebugU.Win32.ActionText-2.idtx:4 +msgid "Registering scheduled tasks" +msgstr "Registracija razporejenih opravil" diff --git a/MSICALib/MSITSCA.vcxproj b/MSICALib/MSITSCA.vcxproj index 445b665..4395ad5 100644 --- a/MSICALib/MSITSCA.vcxproj +++ b/MSICALib/MSITSCA.vcxproj @@ -164,14 +164,14 @@ - - - {8552ee55-177e-4f51-b51b-baf7d6462cde} + + + diff --git a/MSICALib/MSITSCA.vcxproj.filters b/MSICALib/MSITSCA.vcxproj.filters index e33848e..fbf7d93 100644 --- a/MSICALib/MSITSCA.vcxproj.filters +++ b/MSICALib/MSITSCA.vcxproj.filters @@ -41,7 +41,7 @@ - + Resource Files diff --git a/MSICALib/msm/Makefile b/MSICALib/msm/Makefile index 5d68f33..dd8645c 100644 --- a/MSICALib/msm/Makefile +++ b/MSICALib/msm/Makefile @@ -1,14 +1,14 @@ -!INCLUDE "..\..\include\MSINast.mak" +!INCLUDE "..\..\include\MSIBuildCfg.mak" -MSM_IMA_LOKALIZACIJO=1 +MSIBUILD_IS_LOCALIZEABLE=1 ###################################################################### # _Validation -Vse :: "$(JEZIK).$(CFG).$(PLAT)._Validation-1.idt" +Vse :: "$(LANG).$(PLAT).$(CFG)._Validation-1.idt" -"$(JEZIK).$(CFG).$(PLAT)._Validation-1.idt" : "Makefile" "..\..\include\MSINast.mak" +"$(LANG).$(PLAT).$(CFG)._Validation-1.idt" : "Makefile" ""..\..\include\MSIBuildCfg.mak"" -if exist $@ del /f /q $@ move /y << $@ > NUL Table Column Nullable MinValue MaxValue KeyTable KeyColumn Category Set Description @@ -52,60 +52,60 @@ TaskTrigger Task_ N ScheduledTask 1 Identifier Key of the Trigger's task. ###################################################################### # ActionText -Vse :: "$(JEZIK).$(CFG).$(PLAT).ActionText-2.idt" +Vse :: "$(LANG).$(PLAT).$(CFG).ActionText-2.idt" -"Sl.$(CFG).$(PLAT).ActionText-2.idtx" : "Makefile" "..\..\include\MSINast.mak" +"En.$(PLAT).$(CFG).ActionText-2.idtx" : "Makefile" ""..\..\include\MSIBuildCfg.mak"" -if exist $@ del /f /q $@ move /y << $@ > NUL Action Description Template -s$(MSI_TIP_ID) L0 L0 +s$(MSIBUILD_LENGTH_ID) L0 L0 1250 ActionText Action -InstallScheduledTasks Registracija razporejenih opravil Razporejeno opravilo: [1] +InstallScheduledTasks Registering scheduled tasks Scheduled task: [1] < NUL +"It.$(CFG).$(PLAT).ActionText-2.idt" : "En.$(PLAT).$(CFG).ActionText-2.idtx" "..\L10N\it_IT.po" + rcxgettext.exe idtp $@ $** + +"Sl.$(CFG).$(PLAT).ActionText-2.idt" : "En.$(PLAT).$(CFG).ActionText-2.idtx" "..\L10N\sl_SI.po" + rcxgettext.exe idtp $@ $** + ###################################################################### # Binary Vse :: \ - "$(JEZIK).$(CFG).$(PLAT).Binary-1.idt" \ - "$(JEZIK).$(CFG).$(PLAT).Binary-1\MSITSCA.dll" + "$(LANG).$(PLAT).$(CFG).Binary-1.idt" \ + "$(LANG).$(PLAT).$(CFG).Binary-1\MSITSCA.dll" -"$(JEZIK).$(CFG).$(PLAT).Binary-1.idt" : "Makefile" "..\..\include\MSINast.mak" "$(JEZIK).$(CFG).$(PLAT).Binary-1" +"$(LANG).$(PLAT).$(CFG).Binary-1.idt" : "Makefile" ""..\..\include\MSIBuildCfg.mak"" "$(LANG).$(PLAT).$(CFG).Binary-1" -if exist $@ del /f /q $@ move /y << $@ > NUL Name Data -s$(MSI_TIP_ID) v0 +s$(MSIBUILD_LENGTH_ID) v0 Binary Name binMSITSCA.dll MSITSCA.dll < NUL ###################################################################### # CustomAction -Vse :: "$(JEZIK).$(CFG).$(PLAT).CustomAction-1.idt" +Vse :: "$(LANG).$(PLAT).$(CFG).CustomAction-1.idt" -"$(JEZIK).$(CFG).$(PLAT).CustomAction-1.idt" : "Makefile" "..\..\include\MSINast.mak" +"$(LANG).$(PLAT).$(CFG).CustomAction-1.idt" : "Makefile" ""..\..\include\MSIBuildCfg.mak"" -if exist $@ del /f /q $@ move /y << $@ > NUL Action Type Source Target -s$(MSI_TIP_ID) i2 S$(MSI_TIP_ID) S255 +s$(MSIBUILD_LENGTH_ID) i2 S$(MSIBUILD_LENGTH_ID) S255 CustomAction Action EvaluateScheduledTasks 1 binMSITSCA.dll EvaluateScheduledTasks InstallScheduledTasks 3073 binMSITSCA.dll InstallScheduledTasks @@ -117,40 +117,40 @@ CommitScheduledTasks 3585 binMSITSCA.dll InstallScheduledTasks ###################################################################### # Error -Vse :: "$(JEZIK).$(CFG).$(PLAT).Error-2.idt" +Vse :: "$(LANG).$(PLAT).$(CFG).Error-2.idt" -"Sl.$(CFG).$(PLAT).Error-2.idtx" : "Makefile" "..\..\include\MSINast.mak" +"En.$(PLAT).$(CFG).Error-2.idtx" : "Makefile" ""..\..\include\MSIBuildCfg.mak"" -if exist $@ del /f /q $@ move /y << $@ > NUL Error Message i2 L0 1250 Error Error -2551 Pri pripravi seznama razvrenih opravil je prilo do napake [2]. Obrnite se na svojo tehnino slubo. +2551 Error [2] creating scheduled task list. Please, contact your support personnel. < NUL +"It.$(CFG).$(PLAT).Error-2.idt" : "En.$(PLAT).$(CFG).Error-2.idtx" "..\L10N\it_IT.po" + rcxgettext.exe idtp $@ $** + +"Sl.$(CFG).$(PLAT).Error-2.idt" : "En.$(PLAT).$(CFG).Error-2.idtx" "..\L10N\sl_SI.po" + rcxgettext.exe idtp $@ $** + ###################################################################### # InstallExecuteSequence -Vse :: "$(JEZIK).$(CFG).$(PLAT).InstallExecuteSequence-1.idt" +Vse :: "$(LANG).$(PLAT).$(CFG).InstallExecuteSequence-1.idt" -"$(JEZIK).$(CFG).$(PLAT).InstallExecuteSequence-1.idt" : "Makefile" "..\..\include\MSINast.mak" +"$(LANG).$(PLAT).$(CFG).InstallExecuteSequence-1.idt" : "Makefile" ""..\..\include\MSIBuildCfg.mak"" -if exist $@ del /f /q $@ move /y << $@ > NUL Action Condition Sequence -s$(MSI_TIP_ID) S255 I2 +s$(MSIBUILD_LENGTH_ID) S255 I2 InstallExecuteSequence Action EvaluateScheduledTasks 6580 RollbackScheduledTasks 6581 @@ -162,13 +162,13 @@ CommitScheduledTasks 6583 ###################################################################### # ScheduledTask -Vse :: "$(JEZIK).$(CFG).$(PLAT).ScheduledTask-1.idt" +Vse :: "$(LANG).$(PLAT).$(CFG).ScheduledTask-1.idt" -"$(JEZIK).$(CFG).$(PLAT).ScheduledTask-1.idt" : "Makefile" "..\..\include\MSINast.mak" +"$(LANG).$(PLAT).$(CFG).ScheduledTask-1.idt" : "Makefile" ""..\..\include\MSIBuildCfg.mak"" -if exist $@ del /f /q $@ move /y << $@ > NUL Task DisplayName Application Parameters Directory_ Flags Priority User Password Author Description IdleMin IdleDeadline MaxRuntime Condition Component_ -s$(MSI_TIP_ID) l255 s255 S255 s$(MSI_TIP_ID) i4 i4 S255 S255 L255 L0 I2 I2 i4 S255 s$(MSI_TIP_ID) +s$(MSIBUILD_LENGTH_ID) l255 s255 S255 s$(MSIBUILD_LENGTH_ID) i4 i4 S255 S255 L255 L0 I2 I2 i4 S255 s$(MSIBUILD_LENGTH_ID) ScheduledTask Task < NUL Trigger BeginDate EndDate StartTime StartTimeRand MinutesDuration MinutesInterval Flags Type DaysInterval WeeksInterval DaysOfTheWeek DaysOfMonth WeekOfMonth MonthsOfYear Task_ -s$(MSI_TIP_ID) i2 I2 i2 I2 I4 I4 i4 i2 I2 I2 I2 I4 I2 I2 s$(MSI_TIP_ID) +s$(MSIBUILD_LENGTH_ID) i2 I2 i2 I2 I4 I4 i4 i2 I2 I2 I2 I4 I2 I2 s$(MSIBUILD_LENGTH_ID) TaskTrigger Trigger <\n" -"Language-Team: Amebis, d. o. o., Kamnik \n" -"Language: en\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Poedit-SourceCharset: UTF-8\n" -"X-Poedit-KeywordsList: __\n" -"X-Poedit-Basepath: .\n" -"X-Generator: Poedit 1.5.5\n" -"X-Poedit-SearchPath-0: .\n" -"X-Poedit-SearchPath-1: ..\\msm\n" - -# Koda jezika in privzeta kodna stran ANSI za ta jezik (šesnajstiško) -# Če ne prevajamo ločeno vsake lokalne različice jezika, uporabimo kodo privzetega podjezika. -# Na primer: LANGUAGE_ENGLISH + SUBLANGUAGE_DEFAULT = 0x409, čeprav 0x409 predstavlja (tudi) ameriško angleščino (SUBLANGUAGE_ENGLISH_US = SUBLANGUAGE_DEFAULT), sami pa uporabljamo britansko. -#: MSITSCA.rcx:43 -msgid "042404e2" -msgstr "040904e4" - -# Koda jezika (šesnajstiško) -# Če ne prevajamo ločeno vsake lokalne različice jezika, uporabimo kodo privzetega podjezika. -# Na primer: LANGUAGE_ENGLISH + SUBLANGUAGE_DEFAULT = 0x409, čeprav 0x409 predstavlja (tudi) ameriško angleščino (SUBLANGUAGE_ENGLISH_US = SUBLANGUAGE_DEFAULT), sami pa uporabljamo britansko. -#: MSITSCA.rcx:61 -msgid "0x424" -msgstr "0x409" - -# Privzeta kodna stran ANSI za ta jezik (desetiško) -#: MSITSCA.rcx:61 ..\msm/Sl.DebugU.Win32.ActionText-2.idtx:3 -#: ..\msm/Sl.DebugU.Win32.Error-2.idtx:3 -msgid "1250" -msgstr "1252" - -# Ime konstante, s katero vklopimo vire v tem jeziku. -#: MSITSCA.rcx:42 MSITSCA.rcx:60 MSITSCA.rcx:76 -msgid "AFX_TARG_SLV" -msgstr "AFX_TARG_ENU" - -#: MSITSCA.rcx:45 -msgid "Amebis, d. o. o., Kamnik" -msgstr "Amebis, d. o. o., Kamnik" - -# Konstanta s kodo jezika -#: MSITSCA.rcx:78 -msgid "LANG_SLOVENIAN" -msgstr "LANG_ENGLISH" - -#: MSITSCA.rcx:48 MSITSCA.rcx:50 -msgid "MSITSCA" -msgstr "MSITSCA" - -#: MSITSCA.rcx:46 -msgid "Podporna knjižnica za nameščanje načrtovanih opravil" -msgstr "Scheduled Task Installation Support Library" - -# Konstanta s kodo lokalne različice jezika -#: MSITSCA.rcx:78 -msgid "SUBLANG_DEFAULT" -msgstr "SUBLANG_DEFAULT" - -#: MSITSCA.rcx:49 -msgid "Vse pravice pridržane © Amebis, d. o. o., Kamnik, 2012" -msgstr "Copyright © Amebis, d. o. o., Kamnik, 2012" - -#: ..\msm/Sl.DebugU.Win32.Error-2.idtx:4 -msgid "" -"Pri pripravi seznama razvrščenih opravil je prišlo do napake [2]. Obrnite se " -"na svojo tehnično službo." -msgstr "" -"Error [2] creating scheduled task list. Please, contact your support " -"personnel." - -#: ..\msm/Sl.DebugU.Win32.ActionText-2.idtx:4 -msgid "Razporejeno opravilo: [1]" -msgstr "Scheduled task: [1]" - -#: ..\msm/Sl.DebugU.Win32.ActionText-2.idtx:4 -msgid "Registracija razporejenih opravil" -msgstr "Registering scheduled tasks" - -#~ msgid "" -#~ "Pri branju iz datoteke seznama razporejenih opravil »[2]« je prišlo do " -#~ "napake [3]. Obrnite se na svojo tehnično službo." -#~ msgstr "" -#~ "Error [3] reading from \"[2]\" scheduled task list file. Please, contact " -#~ "your support personnel." - -#~ msgid "" -#~ "Pri nastavljanju parametra »[2]« je prišlo do napake [3]. Obrnite se na " -#~ "svojo tehnično službo." -#~ msgstr "" -#~ "Error [3] setting \"[2]\" parameter. Please, contact your support " -#~ "personnel." - -#~ msgid "" -#~ "Pri odpiranju namestitvenega paketa je prišlo do napake. Obrnite se na " -#~ "svojo tehnično službo." -#~ msgstr "" -#~ "Error opening installation package. Please, contact your support " -#~ "personnel." - -#~ msgid "" -#~ "Pri pisanju v datoteko seznama razporejenih opravil »[2]« je prišlo do " -#~ "napake [3]. Obrnite se na svojo tehnično službo." -#~ msgstr "" -#~ "Error [3] writing to \"[2]\" scheduled task list file. Please, contact " -#~ "your support personnel."