Skip to content

Commit

Permalink
add language pack
Browse files Browse the repository at this point in the history
  • Loading branch information
NouSoft committed Dec 3, 2019
1 parent f4c3e8e commit 2841425
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
6 changes: 4 additions & 2 deletions DNN Platform/Website/DotNetNuke.Website.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
Expand Down Expand Up @@ -3517,6 +3516,9 @@
<Content Include="DesktopModules\AuthenticationServices\DNN\App_LocalResources\Login.ascx.fa-IR.resx" />
<Content Include="DesktopModules\AuthenticationServices\DNN\App_LocalResources\Settings.ascx.fa-IR.resx" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Install\Language\installlanguage.resources" />
</ItemGroup>
<PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@
var mainJs = mobi ? 'scripts/main.mobi.js' : 'scripts/main.js';
var mainCss = mobi ? 'css/main.mobi.css' : 'css/main.css';

//START persian-dnnsoftware
if (window.parent['personaBarSettings']['culture'] == 'fa-IR' || window.parent['personaBarSettings']['culture'].startsWith("ar-")) {
mainCss = mobi ? 'css/main.mobi.rtl.css' : 'css/main.rtl.css';
}
//END persian-dnnsoftware

styles.push(mainCss);

addCssToHead(styles, version);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ span.dnnFormError:after { position: absolute; bottom: -7px; right: 15px; content
.flat li.focus { background: #1c465e; position: relative; z-index: 3; color: #fff; }
.flat li.active { background: #1c465e; color: #fff; }
.personabar { width: 80px; background-color: #3d3c3c; height: 100%; position: fixed; top: 0; right: -100px; z-index: 1000; display: none; }
.personabar .personabarLogo { width: 80px; height: 103px; background: #515050 url('../images/Logo.png') no-repeat center center; /*persian-dnnsoftware*/ -ms-background-size: 32px auto; background-size: 32px auto; position: relative; }
.personabar .personabarLogo { width: 80px; height: 103px; background: #515050 url('../images/Logo.svg') no-repeat center center; -ms-background-size: 32px auto; background-size: 32px auto; position: relative; }
.personabar .personabarLogo:hover { background-color: #2f2f2f; }
.personabar .personabarLogo a.update { text-decoration: none; text-transform: uppercase; font-size: 7px; /*font-family:pb_semibold;*/ display: none; position: absolute; bottom: 8px; width: 100%; text-align: center; }
.personabar .personabarLogo a.update.normal-update { color: #21a3da; display: block; }
Expand Down

0 comments on commit 2841425

Please sign in to comment.