Skip to content

Commit

Permalink
Add Swedish language
Browse files Browse the repository at this point in the history
  • Loading branch information
cyanfish committed May 11, 2015
1 parent 5cdcc3f commit d379b56
Show file tree
Hide file tree
Showing 5 changed files with 70 additions and 0 deletions.
9 changes: 9 additions & 0 deletions NAPS2.Core/Lang/LanguageResources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions NAPS2.Core/Lang/LanguageResources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -174,4 +174,7 @@
<data name="nl" xml:space="preserve">
<value>Nederlands</value>
</data>
<data name="sv" xml:space="preserve">
<value>Svenska</value>
</data>
</root>
51 changes: 51 additions & 0 deletions NAPS2.Core/NAPS2.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,9 @@
<EmbeddedResource Include="WinForms\FAbout.ru.resx">
<DependentUpon>FAbout.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="WinForms\FAbout.sv.resx">
<DependentUpon>FAbout.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="WinForms\FAbout.uk.resx">
<DependentUpon>FAbout.cs</DependentUpon>
</EmbeddedResource>
Expand Down Expand Up @@ -480,6 +483,9 @@
<EmbeddedResource Include="WinForms\FChooseIcon.ru.resx">
<DependentUpon>FChooseIcon.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="WinForms\FChooseIcon.sv.resx">
<DependentUpon>FChooseIcon.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="WinForms\FChooseIcon.uk.resx">
<DependentUpon>FChooseIcon.cs</DependentUpon>
</EmbeddedResource>
Expand Down Expand Up @@ -538,6 +544,9 @@
<EmbeddedResource Include="WinForms\FChooseProfile.ru.resx">
<DependentUpon>FChooseProfile.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="WinForms\FChooseProfile.sv.resx">
<DependentUpon>FChooseProfile.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="WinForms\FChooseProfile.uk.resx">
<DependentUpon>FChooseProfile.cs</DependentUpon>
</EmbeddedResource>
Expand Down Expand Up @@ -596,6 +605,9 @@
<EmbeddedResource Include="WinForms\FDesktop.ru.resx">
<DependentUpon>FDesktop.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="WinForms\FDesktop.sv.resx">
<DependentUpon>FDesktop.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="WinForms\FDesktop.uk.resx">
<DependentUpon>FDesktop.cs</DependentUpon>
</EmbeddedResource>
Expand Down Expand Up @@ -653,6 +665,9 @@
<EmbeddedResource Include="WinForms\FDownloadProgress.ru.resx">
<DependentUpon>FDownloadProgress.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="WinForms\FDownloadProgress.sv.resx">
<DependentUpon>FDownloadProgress.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="WinForms\FDownloadProgress.uk.resx">
<DependentUpon>FDownloadProgress.cs</DependentUpon>
</EmbeddedResource>
Expand Down Expand Up @@ -711,6 +726,9 @@
<EmbeddedResource Include="WinForms\FEditScanSettings.ru.resx">
<DependentUpon>FEditScanSettings.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="WinForms\FEditScanSettings.sv.resx">
<DependentUpon>FEditScanSettings.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="WinForms\FEditScanSettings.uk.resx">
<DependentUpon>FEditScanSettings.cs</DependentUpon>
</EmbeddedResource>
Expand Down Expand Up @@ -769,6 +787,9 @@
<EmbeddedResource Include="WinForms\FManageProfiles.ru.resx">
<DependentUpon>FManageProfiles.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="WinForms\FManageProfiles.sv.resx">
<DependentUpon>FManageProfiles.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="WinForms\FManageProfiles.uk.resx">
<DependentUpon>FManageProfiles.cs</DependentUpon>
</EmbeddedResource>
Expand Down Expand Up @@ -826,6 +847,9 @@
<EmbeddedResource Include="WinForms\FOcrLanguageDownload.ru.resx">
<DependentUpon>FOcrLanguageDownload.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="WinForms\FOcrLanguageDownload.sv.resx">
<DependentUpon>FOcrLanguageDownload.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="WinForms\FOcrLanguageDownload.uk.resx">
<DependentUpon>FOcrLanguageDownload.cs</DependentUpon>
</EmbeddedResource>
Expand Down Expand Up @@ -883,6 +907,9 @@
<EmbeddedResource Include="WinForms\FOcrSetup.ru.resx">
<DependentUpon>FOcrSetup.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="WinForms\FOcrSetup.sv.resx">
<DependentUpon>FOcrSetup.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="WinForms\FOcrSetup.uk.resx">
<DependentUpon>FOcrSetup.cs</DependentUpon>
</EmbeddedResource>
Expand Down Expand Up @@ -941,6 +968,9 @@
<EmbeddedResource Include="WinForms\FPDFSave.ru.resx">
<DependentUpon>FPDFSave.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="WinForms\FPDFSave.sv.resx">
<DependentUpon>FPDFSave.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="WinForms\FPDFSave.uk.resx">
<DependentUpon>FPDFSave.cs</DependentUpon>
</EmbeddedResource>
Expand Down Expand Up @@ -998,6 +1028,9 @@
<EmbeddedResource Include="WinForms\FRecover.ru.resx">
<DependentUpon>FRecover.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="WinForms\FRecover.sv.resx">
<DependentUpon>FRecover.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="WinForms\FRecover.uk.resx">
<DependentUpon>FRecover.cs</DependentUpon>
</EmbeddedResource>
Expand Down Expand Up @@ -1056,6 +1089,9 @@
<EmbeddedResource Include="WinForms\FTwainGui.ru.resx">
<DependentUpon>FTwainGui.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="WinForms\FTwainGui.sv.resx">
<DependentUpon>FTwainGui.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="WinForms\FTwainGui.uk.resx">
<DependentUpon>FTwainGui.cs</DependentUpon>
</EmbeddedResource>
Expand Down Expand Up @@ -1113,6 +1149,9 @@
<EmbeddedResource Include="WinForms\FUpdate.ru.resx">
<DependentUpon>FUpdate.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="WinForms\FUpdate.sv.resx">
<DependentUpon>FUpdate.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="WinForms\FUpdate.uk.resx">
<DependentUpon>FUpdate.cs</DependentUpon>
</EmbeddedResource>
Expand Down Expand Up @@ -1171,6 +1210,9 @@
<EmbeddedResource Include="WinForms\FViewer.ru.resx">
<DependentUpon>FViewer.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="WinForms\FViewer.sv.resx">
<DependentUpon>FViewer.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="WinForms\FViewer.uk.resx">
<DependentUpon>FViewer.cs</DependentUpon>
</EmbeddedResource>
Expand Down Expand Up @@ -1229,6 +1271,9 @@
<EmbeddedResource Include="WinForms\ThumbnailList.ru.resx">
<DependentUpon>ThumbnailList.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="WinForms\ThumbnailList.sv.resx">
<DependentUpon>ThumbnailList.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="WinForms\ThumbnailList.uk.resx">
<DependentUpon>ThumbnailList.cs</DependentUpon>
</EmbeddedResource>
Expand Down Expand Up @@ -1287,6 +1332,9 @@
<EmbeddedResource Include="WinForms\TiffViewer.ru.resx">
<DependentUpon>TiffViewer.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="WinForms\TiffViewer.sv.resx">
<DependentUpon>TiffViewer.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="WinForms\TiffViewer.uk.resx">
<DependentUpon>TiffViewer.cs</DependentUpon>
</EmbeddedResource>
Expand Down Expand Up @@ -1345,6 +1393,9 @@
<EmbeddedResource Include="WinForms\TiffViewerCtl.ru.resx">
<DependentUpon>TiffViewerCtl.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="WinForms\TiffViewerCtl.sv.resx">
<DependentUpon>TiffViewerCtl.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="WinForms\TiffViewerCtl.uk.resx">
<DependentUpon>TiffViewerCtl.cs</DependentUpon>
</EmbeddedResource>
Expand Down
6 changes: 6 additions & 0 deletions NAPS2/Setup/LanguageComponents.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
<ComponentRef Id="LangComponent_pt_PT" />
<ComponentRef Id="LangComponent_ro" />
<ComponentRef Id="LangComponent_ru" />
<ComponentRef Id="LangComponent_sv" />
<ComponentRef Id="LangComponent_uk" />
</ComponentGroup>

Expand Down Expand Up @@ -109,6 +110,11 @@
<File Source="..\NAPS2\bin\InstallerMSI\ru\NAPS2.Core.resources.dll" Id="LangFile_ru" />
</Component>
</Directory>
<Directory Id="LangFolder_sv" Name="sv">
<Component Id="LangComponent_sv">
<File Source="..\NAPS2\bin\InstallerMSI\sv\NAPS2.Core.resources.dll" Id="LangFile_sv" />
</Component>
</Directory>
<Directory Id="LangFolder_uk" Name="uk">
<Component Id="LangComponent_uk">
<File Source="..\NAPS2\bin\InstallerMSI\uk\NAPS2.Core.resources.dll" Id="LangFile_uk" />
Expand Down
1 change: 1 addition & 0 deletions NAPS2/Setup/setup.languagefiles.iss
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ Source: "..\bin\InstallerEXE\pt-BR\NAPS2.Core.resources.dll"; DestDir: "{app}\pt
Source: "..\bin\InstallerEXE\pt-PT\NAPS2.Core.resources.dll"; DestDir: "{app}\pt-PT"; Flags: ignoreversion
Source: "..\bin\InstallerEXE\ro\NAPS2.Core.resources.dll"; DestDir: "{app}\ro"; Flags: ignoreversion
Source: "..\bin\InstallerEXE\ru\NAPS2.Core.resources.dll"; DestDir: "{app}\ru"; Flags: ignoreversion
Source: "..\bin\InstallerEXE\sv\NAPS2.Core.resources.dll"; DestDir: "{app}\sv"; Flags: ignoreversion
Source: "..\bin\InstallerEXE\uk\NAPS2.Core.resources.dll"; DestDir: "{app}\uk"; Flags: ignoreversion

0 comments on commit d379b56

Please sign in to comment.