Support for Russian localization introduced

This commit is contained in:
Simon Rozman 2016-07-14 18:07:13 +02:00
parent 55548e1059
commit bec0e13581
8 changed files with 43 additions and 25 deletions

View File

@ -65,6 +65,9 @@ featUpdCheck $(UPDATER_FEATURE_ROOT) Automatic Updating Task for background prod
"It.$(PLAT).$(CFG).Feature-2.idt" : "En.$(PLAT).$(CFG).Feature-2.idtx" "..\locale\it_IT.po"
rcxgettext.exe idtp $@ $**
"Ru.$(PLAT).$(CFG).Feature-2.idt" : "En.$(PLAT).$(CFG).Feature-2.idtx" "..\locale\ru_RU.po"
rcxgettext.exe idtp $@ $**
"Sl.$(PLAT).$(CFG).Feature-2.idt" : "En.$(PLAT).$(CFG).Feature-2.idtx" "..\locale\sl_SI.po"
rcxgettext.exe idtp $@ $**
@ -124,6 +127,9 @@ stUpdCheck.$(PLAT) [SimpleProductName] Update [#fileUpdCheck.exe.$(PLAT)] $(UPD
"It.$(PLAT).$(CFG).ScheduledTask-2.idt" : "En.$(PLAT).$(CFG).ScheduledTask-2.idtx" "..\locale\it_IT.po"
rcxgettext.exe idtp $@ $**
"Ru.$(PLAT).$(CFG).ScheduledTask-2.idt" : "En.$(PLAT).$(CFG).ScheduledTask-2.idtx" "..\locale\ru_RU.po"
rcxgettext.exe idtp $@ $**
"Sl.$(PLAT).$(CFG).ScheduledTask-2.idt" : "En.$(PLAT).$(CFG).ScheduledTask-2.idtx" "..\locale\sl_SI.po"
rcxgettext.exe idtp $@ $**

View File

@ -90,12 +90,11 @@
<ResourceCompile Include="UpdCheck.rc" />
</ItemGroup>
<ItemGroup>
<POCompile Include="locale\de_DE.po" />
<POCompile Include="locale\ru_RU.po" />
<POCompile Include="locale\sl_SI.po" />
</ItemGroup>
<ItemGroup>
<None Include="locale\de_DE.po" />
<None Include="locale\ru_RU.po" />
<None Include="locale\sl_SI.po" />
<None Include="locale\UpdCheck.pot" />
</ItemGroup>
<ItemGroup>

View File

@ -37,15 +37,17 @@
</ResourceCompile>
</ItemGroup>
<ItemGroup>
<None Include="locale\sl_SI.po">
<POCompile Include="locale\de_DE.po">
<Filter>Resource Files\Localization</Filter>
</None>
<None Include="locale\de_DE.po">
</POCompile>
<POCompile Include="locale\ru_RU.po">
<Filter>Resource Files\Localization</Filter>
</None>
<None Include="locale\ru_RU.po">
</POCompile>
<POCompile Include="locale\sl_SI.po">
<Filter>Resource Files\Localization</Filter>
</None>
</POCompile>
</ItemGroup>
<ItemGroup>
<None Include="locale\UpdCheck.pot">
<Filter>Resource Files\Localization</Filter>
</None>

View File

@ -99,11 +99,11 @@
<ResourceCompile Include="UpdPublish.rc" />
</ItemGroup>
<ItemGroup>
<POCompile Include="locale\de_DE.po" />
<POCompile Include="locale\ru_RU.po" />
<POCompile Include="locale\sl_SI.po" />
</ItemGroup>
<ItemGroup>
<None Include="locale\de_DE.po" />
<None Include="locale\ru_RU.po" />
<None Include="locale\UpdPublish.pot" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />

View File

@ -40,17 +40,17 @@
</ResourceCompile>
</ItemGroup>
<ItemGroup>
<POCompile Include="locale\de_DE.po">
<Filter>Resource Files\Localization</Filter>
</POCompile>
<POCompile Include="locale\ru_RU.po">
<Filter>Resource Files\Localization</Filter>
</POCompile>
<POCompile Include="locale\sl_SI.po">
<Filter>Resource Files\Localization</Filter>
</POCompile>
</ItemGroup>
<ItemGroup>
<None Include="locale\de_DE.po">
<Filter>Resource Files\Localization</Filter>
</None>
<None Include="locale\ru_RU.po">
<Filter>Resource Files\Localization</Filter>
</None>
<None Include="locale\UpdPublish.pot">
<Filter>Resource Files\Localization</Filter>
</None>

View File

@ -99,11 +99,11 @@
<ResourceCompile Include="UpdSignXML.rc" />
</ItemGroup>
<ItemGroup>
<POCompile Include="locale\de_DE.po" />
<POCompile Include="locale\ru_RU.po" />
<POCompile Include="locale\sl_SI.po" />
</ItemGroup>
<ItemGroup>
<None Include="locale\de_DE.po" />
<None Include="locale\ru_RU.po" />
<None Include="locale\UpdSignXML.pot" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />

View File

@ -40,17 +40,17 @@
</ResourceCompile>
</ItemGroup>
<ItemGroup>
<POCompile Include="locale\de_DE.po">
<Filter>Resource Files\Localization</Filter>
</POCompile>
<POCompile Include="locale\ru_RU.po">
<Filter>Resource Files\Localization</Filter>
</POCompile>
<POCompile Include="locale\sl_SI.po">
<Filter>Resource Files\Localization</Filter>
</POCompile>
</ItemGroup>
<ItemGroup>
<None Include="locale\de_DE.po">
<Filter>Resource Files\Localization</Filter>
</None>
<None Include="locale\ru_RU.po">
<Filter>Resource Files\Localization</Filter>
</None>
<None Include="locale\UpdSignXML.pot">
<Filter>Resource Files\Localization</Filter>
</None>

View File

@ -45,6 +45,9 @@ compUpdater.dll.Win32 {F4962976-71C3-4200-B736-BC841FEE29C2} $(UPDATER_BIN_DIR)
!IF "$(PLAT)" == "x64"
compUpdater.dll.x64 {A968C387-EC14-4CAC-8406-F21C9779D3EF} $(UPDATER_BIN_DIR) 256 fileUpdater.dll.x64
!ENDIF
!IF "$(LANG)" == "Ru"
compUpdater.mo.ru_RU {486A9DDF-A43B-4920-BEF9-2907DD8660AD} UPDATERLOCRURUDIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) fileUpdater.mo.ru_RU
!ENDIF
!IF "$(LANG)" == "Sl"
compUpdater.mo.sl_SI {2A56FA39-F4E6-492F-A863-AFE9E53FA988} UPDATERLOCSLSIDIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) fileUpdater.mo.sl_SI
!ENDIF
@ -62,7 +65,12 @@ All :: "$(LANG).$(PLAT).$(CFG).Directory-1.idt"
Directory Directory_Parent DefaultDir
s$(MSIBUILD_LENGTH_ID) S$(MSIBUILD_LENGTH_ID) l255
Directory Directory
!IF "$(LANG)" == "Ru"
UPDATERLOCRURUDIR $(UPDATER_LOC_DIR) ru_RU
!ENDIF
!IF "$(LANG)" == "Sl"
UPDATERLOCSLSIDIR $(UPDATER_LOC_DIR) sl_SI
!ENDIF
<<NOKEEP
@ -93,6 +101,9 @@ fileUpdater.dll.x64 compUpdater.dll.x64 UPDATE~6.DLL|Updater10u_vc100_x64.dll 0
fileUpdater.dll.x64 compUpdater.dll.x64 UPDATE~8.DLL|Updater10ud_vc100_x64.dll 0 0 1536 1
!ENDIF
!ENDIF
!IF "$(LANG)" == "Ru"
fileUpdater.mo.ru_RU compUpdater.mo.ru_RU UPDATE~1.MO|Updater10.mo 0 1060 0 1
!ENDIF
!IF "$(LANG)" == "Sl"
fileUpdater.mo.sl_SI compUpdater.mo.sl_SI UPDATE~1.MO|Updater10.mo 0 1060 0 1
!ENDIF