Skip to content

Commit

Permalink
Add Sinhalese language
Browse files Browse the repository at this point in the history
  • Loading branch information
cyanfish committed Mar 23, 2018
1 parent 6f7d517 commit e230e92
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 2 deletions.
11 changes: 10 additions & 1 deletion NAPS2.Core/Lang/LanguageNames.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/LanguageNames.resx
Original file line number Diff line number Diff line change
Expand Up @@ -237,4 +237,7 @@
<data name="nn" xml:space="preserve">
<value>Nynorsk</value>
</data>
<data name="si" xml:space="preserve">
<value>සිංහල</value>
</data>
</root>
2 changes: 1 addition & 1 deletion NAPS2/NAPS2.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@
<Content Include="Setup\lib\64\twaindsm.dll" />
<Content Include="Setup\lib\NTwain.dll" />
<Content Include="Setup\lib\twaindsm.dll" />
<Content Include="Setup\setup.iss" />
<Content Include="Setup\setup.languagefiles.iss">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
Expand All @@ -173,7 +174,6 @@
<None Include="Setup\lib\PdfSharp.dll" />
<Content Include="scanner-app.ico" />
<Content Include="Setup\license.txt" />
<Content Include="Setup\setup.iss" />
<None Include="Setup\lib\wiaaut.dll" />
</ItemGroup>
<ItemGroup>
Expand Down
6 changes: 6 additions & 0 deletions NAPS2/Setup/LanguageComponents.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
<ComponentRef Id="LangComponent_pt_PT" />
<ComponentRef Id="LangComponent_ro" />
<ComponentRef Id="LangComponent_ru" />
<ComponentRef Id="LangComponent_si" />
<ComponentRef Id="LangComponent_sk" />
<ComponentRef Id="LangComponent_sl" />
<ComponentRef Id="LangComponent_sq" />
Expand Down Expand Up @@ -185,6 +186,11 @@
<File Source="..\NAPS2\bin\InstallerMSI\ru\NAPS2.Core.resources.dll" Id="LangFile_ru" />
</Component>
</Directory>
<Directory Id="LangFolder_si" Name="si">
<Component Id="LangComponent_si">
<File Source="..\NAPS2\bin\InstallerMSI\si\NAPS2.Core.resources.dll" Id="LangFile_si" />
</Component>
</Directory>
<Directory Id="LangFolder_sk" Name="sk">
<Component Id="LangComponent_sk">
<File Source="..\NAPS2\bin\InstallerMSI\sk\NAPS2.Core.resources.dll" Id="LangFile_sk" />
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 @@ -27,6 +27,7 @@ Source: "..\bin\InstallerEXE\pt-BR\NAPS2.Core.resources.dll"; DestDir: "{app}\\l
Source: "..\bin\InstallerEXE\pt-PT\NAPS2.Core.resources.dll"; DestDir: "{app}\\lib\pt-PT"; Flags: ignoreversion
Source: "..\bin\InstallerEXE\ro\NAPS2.Core.resources.dll"; DestDir: "{app}\\lib\ro"; Flags: ignoreversion
Source: "..\bin\InstallerEXE\ru\NAPS2.Core.resources.dll"; DestDir: "{app}\\lib\ru"; Flags: ignoreversion
Source: "..\bin\InstallerEXE\si\NAPS2.Core.resources.dll"; DestDir: "{app}\\lib\si"; Flags: ignoreversion
Source: "..\bin\InstallerEXE\sk\NAPS2.Core.resources.dll"; DestDir: "{app}\\lib\sk"; Flags: ignoreversion
Source: "..\bin\InstallerEXE\sl\NAPS2.Core.resources.dll"; DestDir: "{app}\\lib\sl"; Flags: ignoreversion
Source: "..\bin\InstallerEXE\sq\NAPS2.Core.resources.dll"; DestDir: "{app}\\lib\sq"; Flags: ignoreversion
Expand Down

0 comments on commit e230e92

Please sign in to comment.