Last Fixes before Release (#2192)

* Removed Moq from the project. Fixed a localization string

* Fixed a bug with virtualized reading lists when reordering, it wouldn't use the correct order index.

* Added some german common strings cause weblate is a PIA to use.

* Added a bug marker for something that needs another release for
This commit is contained in:
Joe Milazzo 2023-08-09 10:34:33 -05:00 committed by GitHub
parent 4442f8e1d0
commit cb57e48000
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 24 additions and 24 deletions

View File

@ -8,7 +8,6 @@
<ItemGroup> <ItemGroup>
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="7.0.10" /> <PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="7.0.10" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.0" /> <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.0" />
<PackageReference Include="Moq" Version="4.20.1" />
<PackageReference Include="NSubstitute" Version="5.0.0" /> <PackageReference Include="NSubstitute" Version="5.0.0" />
<PackageReference Include="System.IO.Abstractions.TestingHelpers" Version="19.2.51" /> <PackageReference Include="System.IO.Abstractions.TestingHelpers" Version="19.2.51" />
<PackageReference Include="TestableIO.System.IO.Abstractions.Wrappers" Version="19.2.51" /> <PackageReference Include="TestableIO.System.IO.Abstractions.Wrappers" Version="19.2.51" />

View File

@ -146,6 +146,7 @@ public class ProcessSeries : IProcessSeries
_logger.LogInformation("[ScannerService] Processing series {SeriesName}", series.OriginalName); _logger.LogInformation("[ScannerService] Processing series {SeriesName}", series.OriginalName);
// parsedInfos[0] is not the first volume or chapter. We need to find it using a ComicInfo check (as it uses firstParsedInfo for series sort) // parsedInfos[0] is not the first volume or chapter. We need to find it using a ComicInfo check (as it uses firstParsedInfo for series sort)
// BUG: This check doesn't work for Books, as books usually have metadata on all files. (#2167)
var firstParsedInfo = parsedInfos.FirstOrDefault(p => p.ComicInfo != null, firstInfo); var firstParsedInfo = parsedInfos.FirstOrDefault(p => p.ComicInfo != null, firstInfo);
UpdateVolumes(series, parsedInfos, forceUpdate); UpdateVolumes(series, parsedInfos, forceUpdate);

View File

@ -7,9 +7,9 @@
<div class="d-flex list-container"> <div class="d-flex list-container">
<div class="me-3 align-middle"> <div class="me-3 align-middle">
<div style="padding-top: 40px"> <div style="padding-top: 40px">
<label for="reorder-{{i}}" class="form-label visually-hidden">{{t('reorder-label')}}</label> <label for="reorder-{{item.order}}" class="form-label visually-hidden">{{t('reorder-label')}}</label>
<input *ngIf="accessibilityMode" id="reorder-{{i}}" class="form-control" type="number" inputmode="numeric" min="0" [max]="items.length - 1" [value]="item.order" style="width: 60px" <input *ngIf="accessibilityMode" id="reorder-{{i}}" class="form-control" type="number" inputmode="numeric" min="0" [max]="items.length - 1" [value]="item.order" style="width: 60px"
(focusout)="updateIndex(i, item)" (keydown.enter)="updateIndex(i, item)" aria-describedby="instructions"> (focusout)="updateIndex(item.order, item)" (keydown.enter)="updateIndex(item.order, item)" aria-describedby="instructions">
</div> </div>
</div> </div>

View File

@ -1657,28 +1657,28 @@
}, },
"common": { "common": {
"reset-to-default": "", "reset-to-default": "",
"close": "", "close": "Schließen",
"cancel": "", "cancel": "Stornieren",
"create": "", "create": "Erstellen",
"save": "", "save": "Speichern",
"reset": "", "reset": "",
"add": "", "add": "Hinzufügen",
"apply": "", "apply": "",
"delete": "", "delete": "Löschen",
"edit": "", "edit": "Bearbeiten",
"help": "", "help": "Hilfe",
"submit": "", "submit": "Einreichen",
"email": "", "email": "Email",
"read": "", "read": "Lesen",
"loading": "", "loading": "Wird geladen…",
"username": "", "username": "Nutzername",
"password": "", "password": "Passwort",
"promoted": "", "promoted": "",
"select-all": "", "select-all": "Wählen Sie Alle",
"deselect-all": "", "deselect-all": "Alle abwählen",
"series-count": "", "series-count": "{{num}}er-Serie",
"item-count": "", "item-count": "{{num}} Artikel",
"book-num": "", "book-num": "Buch",
"issue-hash-num": "", "issue-hash-num": "",
"issue-num": "", "issue-num": "",
"chapter-num": "", "chapter-num": "",

View File

@ -429,7 +429,7 @@
"month-ago": "a month ago", "month-ago": "a month ago",
"months-ago": "{{value}} months ago", "months-ago": "{{value}} months ago",
"year-ago": "a year ago", "year-ago": "a year ago",
"years-ago": "{[value}} years ago" "years-ago": "{{value}} years ago"
}, },
"relationship-pipe": { "relationship-pipe": {

View File

@ -7,7 +7,7 @@
"name": "GPL-3.0", "name": "GPL-3.0",
"url": "https://github.com/Kareadita/Kavita/blob/develop/LICENSE" "url": "https://github.com/Kareadita/Kavita/blob/develop/LICENSE"
}, },
"version": "0.7.6.13" "version": "0.7.6.14"
}, },
"servers": [ "servers": [
{ {