Currently translated at 100.0% (889 of 889 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (882 of 882 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (880 of 880 strings)
Co-authored-by: Максим Горпиніч <gorpinicmaksim0@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/kotatsu/strings/uk/
Translation: Kotatsu/Strings
Currently translated at 100.0% (889 of 889 strings)
Translated using Weblate (Italian)
Currently translated at 100.0% (882 of 882 strings)
Translated using Weblate (Italian)
Currently translated at 100.0% (876 of 876 strings)
Co-authored-by: Nicola Bortoletto <nicola.bortoletto@live.com>
Translate-URL: https://hosted.weblate.org/projects/kotatsu/strings/it/
Translation: Kotatsu/Strings
Adds a new "Every 6 hours" frequency option to the periodic backup settings.
To maintain consistency with the existing preference values, which are stored in days, this new option is represented internally as a fractional value of `0.25` days.
The implementation includes:
- Adding the new string resource and updating the preference arrays.
- Changing the preference type in `AppSettings.kt` from `Long` to `Float` to accommodate the fractional value.
- Updating the millisecond conversion logic to correctly calculate the interval from a float value in days.
This approach avoids a complex data migration and is simpler and safer than changing the base unit for all values from days to hours.
This commit adds support for backing up and restoring saved filters.
- Added a new `SAVED_FILTERS` section to the backup process.
- Implemented the logic to read filters from SharedPreferences during backup and write them back during restore.
- Fixed compilation errors in `AppBackupAgent` and `BackupSectionModel`.
This commit adds support for backing up and restoring saved filters.
- Added a new `SAVED_FILTERS` section to the backup process.
- Implemented the logic to read filters from SharedPreferences during backup and write them back during restore.
When an image in the webtoon reader is shorter than the screen height, it was being incorrectly scaled, causing it to appear zoomed in or cropped.
This was caused by the `scrollTo` function in `WebtoonImageView.kt` calling `resetScaleAndCenter()` for images with a scroll range of zero. This method, from the underlying SubsamplingScaleImageView library, resets the image to a default scale instead of using the custom logic required by the reader.
The fix replaces the call to `resetScaleAndCenter()` with `scrollToInternal(0)`. This ensures that the custom scaling logic, which fits the image to the screen width, is applied consistently to all images, regardless of their height.