-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor translationeditor widget and pulling translation strings fro…
…m crowdin Signed-off-by: Sam Poyigi <[email protected]>
- Loading branch information
Showing
21 changed files
with
341 additions
and
182 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,7 +32,8 @@ | |
} | ||
|
||
.btn-primary, | ||
.btn-success { | ||
.btn-success, | ||
.btn-danger { | ||
color: $white; | ||
|
||
&:hover, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 24 additions & 11 deletions
35
resources/views/system/_partials/languages/updates.blade.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,44 @@ | ||
<div class="modal-dialog modal-dialog-scrollable"> | ||
<div class="modal-content"> | ||
<div class="modal-header"> | ||
<h4 class="modal-title">@lang($title)</h4> | ||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-hidden="true"></button> | ||
</div> | ||
<div class="modal-body text-center"> | ||
@if($updates) | ||
<div class="modal-header"> | ||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-hidden="true"></button> | ||
</div> | ||
<div class="modal-body text-center"> | ||
<span class="fa-stack fa-3x text-muted"> | ||
<i class="fa-solid fa-circle fa-stack-2x"></i> | ||
<i class="fa-solid fa-arrow-up fa-stack-1x fa-inverse"></i> | ||
</span> | ||
<p class="lead mt-4">{{$message}}</p> | ||
</div> | ||
<p class="lead mt-4">{{sprintf(lang('igniter::system.languages.text_title_update_available'), $locale)}}</p> | ||
<p>@lang('igniter::system.languages.text_update_available')</p> | ||
</div> | ||
@else | ||
<div class="modal-header"> | ||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-hidden="true"></button> | ||
</div> | ||
<div class="modal-body text-center"> | ||
<span class="fa-stack fa-3x text-muted"> | ||
<i class="fa-solid fa-circle fa-stack-2x"></i> | ||
<i class="fa-solid fa-arrow-up fa-stack-1x fa-inverse"></i> | ||
</span> | ||
<p class="lead mt-4">{{sprintf(lang('igniter::system.languages.text_no_update_available'), $locale)}}</p> | ||
</div> | ||
@endif | ||
<div class="modal-footer progress-indicator-container"> | ||
<button | ||
type="button" | ||
class="btn btn-link" | ||
data-bs-dismiss="modal" | ||
>@lang('igniter::admin.button_close')</button> | ||
@isset($language->code) | ||
@if($updates) | ||
<button | ||
type="button" | ||
type="submit" | ||
id="apply-updates" | ||
class="btn btn-primary" | ||
data-control="apply-updates" | ||
data-progress-indicator="@lang('igniter::admin.text_loading')" | ||
>@lang('igniter::system.languages.button_apply_update')</button> | ||
@endisset | ||
@endif | ||
</div> | ||
</div> | ||
{!! form_close() !!} | ||
</div> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.