mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 04:11:10 +00:00
Adds localization to Lumina.Presentation.Web project
This commit is contained in:
1 parent
771fa74991
commit
2c31fd8714
65 files changed
+1111
-319
No files matched your search
@@ -1,3 +1,7 @@
|
||||
@using Microsoft.AspNetCore.Mvc.Localization
|
||||
|
||||
@inject IViewLocalizer _localizer
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
@@ -27,7 +31,6 @@
|
||||
</article>
|
||||
</main>
|
||||
@if (User?.Identity?.IsAuthenticated == true)
|
||||
|
||||
{
|
||||
<!--Audio player-->
|
||||
<div class="audio-player-container">
|
||||
@@ -36,8 +39,8 @@
|
||||
height="50" width="600">
|
||||
<source src="http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4" type="video/mp4">
|
||||
</video>
|
||||
<a id="audio-player-full-height-toggle">Toggle Full Height</a>
|
||||
<a id="audio-player-close">Toggle Visibility</a>
|
||||
<a id="audio-player-full-height-toggle">@_localizer["ToggleFullHeight"]</a>
|
||||
<a id="audio-player-close">@_localizer["ToggleVisibility"]</a>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user