Compare commits

...

29 Commits
v9.5.6 ... main

Author SHA1 Message Date
Travis Abendshien
c4c749650f fix(tests) remove manditory check for ripgrep 2026-01-24 17:16:32 -08:00
TheBobBobs
d54d46e704 fix: persist entry selection across pages and save scroll positions (#1248)
* fix: persist entry selection across pages and save scroll positions

* fix: add badges to all selected entries not just visible ones
2026-01-22 22:45:36 -08:00
Sola-ris
4c484bc4c6 fix: call ripgrep with explicit utf-8 encoding. (#1199) 2026-01-22 22:04:09 -08:00
Jann Stute
4dc06835cb fix: prevent deadlock when wanted mnemonics conflict (#1200)
* fix: prevent deadlock when wanted mnemonics conflict

* fix: remove invalid mnemonics from translations
2026-01-22 21:55:03 -08:00
Weblate (bot)
2a2d279725 translations: update from Hosted Weblate (#1266)
* Translated using Weblate (Thai)

Currently translated at 1.6% (6 of 362 strings)

Added translation using Weblate (Thai)

Co-authored-by: Anucha Hlownonkor <tony.chompoo@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/tagstudio/strings/th/
Translation: TagStudio/Strings

* Translated using Weblate (Tamil)

Currently translated at 100.0% (362 of 362 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: தமிழ்நேரம் <tamilneram247@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/tagstudio/strings/ta/
Translation: TagStudio/Strings

* Translated using Weblate (Portuguese (Brazil))

Currently translated at 87.2% (316 of 362 strings)

Co-authored-by: Asmodeus <colligare1Asmodeum@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/tagstudio/strings/pt_BR/
Translation: TagStudio/Strings

* Translated using Weblate (Greek)

Currently translated at 44.7% (162 of 362 strings)

Translated using Weblate (Greek)

Currently translated at 44.7% (162 of 362 strings)

Translated using Weblate (Greek)

Currently translated at 27.0% (98 of 362 strings)

Added translation using Weblate (Greek)

Co-authored-by: Gvol <gvol@ncshosting.org>
Co-authored-by: Gvol <gvol@nexusystems.org>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Travis Abendshien <46939827+CyanVoxel@users.noreply.github.com>
Translate-URL: https://hosted.weblate.org/projects/tagstudio/strings/el/
Translation: TagStudio/Strings

* Translated using Weblate (Japanese)

Currently translated at 100.0% (362 of 362 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: wany-oh <wany-oh@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/tagstudio/strings/ja/
Translation: TagStudio/Strings

* Translated using Weblate (Icelandic)

Currently translated at 11.0% (40 of 362 strings)

Added translation using Weblate (Icelandic)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Kristinn Snær <mortallighting@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/tagstudio/strings/is/
Translation: TagStudio/Strings

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (362 of 362 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Szíjártó Levente Pál <szijartoleventepal@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/tagstudio/strings/hu/
Translation: TagStudio/Strings

* Translated using Weblate (Italian)

Currently translated at 100.0% (362 of 362 strings)

Translated using Weblate (Italian)

Currently translated at 100.0% (359 of 359 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Omni <omnipresentw@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/tagstudio/strings/it/
Translation: TagStudio/Strings

* Translated using Weblate (Dutch)

Currently translated at 35.9% (130 of 362 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Typfout <timo.pollarini@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/tagstudio/strings/nl/
Translation: TagStudio/Strings

* Translated using Weblate (Spanish)

Currently translated at 100.0% (362 of 362 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (359 of 359 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Julen Arratibel Etxabe <jarratibeletxabe@gmail.com>
Co-authored-by: r40s-0 <andre.orenday@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/tagstudio/strings/es/
Translation: TagStudio/Strings

* Translated using Weblate (French)

Currently translated at 100.0% (362 of 362 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Med <45147847+kitsumed@users.noreply.github.com>
Translate-URL: https://hosted.weblate.org/projects/tagstudio/strings/fr/
Translation: TagStudio/Strings

* Translated using Weblate (Cebuano)

Currently translated at 30.3% (109 of 359 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: StartsMercury <startsmercury@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/tagstudio/strings/ceb/
Translation: TagStudio/Strings

* Translated using Weblate (Toki Pona)

Currently translated at 94.4% (342 of 362 strings)

Co-authored-by: Bee Crankson <ProfB.crankson@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/tagstudio/strings/tok/
Translation: TagStudio/Strings

---------

Co-authored-by: Anucha Hlownonkor <tony.chompoo@gmail.com>
Co-authored-by: தமிழ்நேரம் <tamilneram247@gmail.com>
Co-authored-by: Asmodeus <colligare1Asmodeum@gmail.com>
Co-authored-by: Gvol <gvol@ncshosting.org>
Co-authored-by: Gvol <gvol@nexusystems.org>
Co-authored-by: Travis Abendshien <46939827+CyanVoxel@users.noreply.github.com>
Co-authored-by: wany-oh <wany-oh@users.noreply.hosted.weblate.org>
Co-authored-by: Kristinn Snær <mortallighting@gmail.com>
Co-authored-by: Szíjártó Levente Pál <szijartoleventepal@gmail.com>
Co-authored-by: Omni <omnipresentw@users.noreply.hosted.weblate.org>
Co-authored-by: Typfout <timo.pollarini@gmail.com>
Co-authored-by: Julen Arratibel Etxabe <jarratibeletxabe@gmail.com>
Co-authored-by: r40s-0 <andre.orenday@gmail.com>
Co-authored-by: Med <45147847+kitsumed@users.noreply.github.com>
Co-authored-by: StartsMercury <startsmercury@gmail.com>
Co-authored-by: Bee Crankson <ProfB.crankson@gmail.com>
2026-01-22 21:46:31 -08:00
Jann Stute
32a9a04399 fix: tab order in build_tag modal (#1235) 2026-01-21 23:50:10 -08:00
Jann Stute
785959ec24 fix: pyright errors in blender_renderer.py (#1236) 2026-01-21 22:47:29 -08:00
Jann Stute
97c9d34186 fix: errors in DupeFilesRegistry (#1233) 2026-01-21 22:22:16 -08:00
TheBobBobs
57849bf4d5 remove entry even if deleting it's file failed (#1246) 2026-01-21 18:15:01 -08:00
TheBobBobs
dd01c7cdcd fix: when deleting tag remove all TagParent rows with it's id (#1250)
* fix: when deleting tag remove all TagParent rows with it's id

* delete TagEntry rows as well
2026-01-18 14:53:40 -08:00
Timo Gottszky
86274efeef fix(nix): add requests and semver to nix package (#1265)
The addition of the update notification added requests and semver to the
dependencies. They were however not added to the nix package, breaking
the build.
2025-12-17 12:36:11 -06:00
Sola-ris
84cf47038f feat: render archive thumbnails (#1194)
* feat: render archive thumbnails.

* fix: pass mode to tarfile.open.
2025-12-16 18:22:16 -08:00
Trigam
44cf02db21 fix: prevent log error when running update_driver_widgets (#1188) 2025-12-15 10:37:56 -08:00
Sola-ris
7ae3a6bec8 feat: render .clip thumbnails. (#1150)
* feat: render .clip thumbnails.

* doc: document .clip support.

* fix: add CLIP_STUDIO_PAINT_TYPES to ALL_CATEGORIES.

* explicitly close connection.
2025-12-15 10:12:32 -08:00
Jann Stute
f3bcb7c5c6 feat: update notification (#1166)
* feat: update notification

* fix: missing dependency

* fix: replace custom parsing with semver dependency

* fix: link directly to latest release
2025-12-15 10:00:46 -08:00
Sola-ris
04744b224c feat: render .mdp thumbnails. (#1153) 2025-12-15 09:37:07 -08:00
Weblate (bot)
dcd48ebb12 translations: update from Hosted Weblate (#1171)
* Translated using Weblate (Tamil)

Currently translated at 100.0% (357 of 357 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: தமிழ்நேரம் <tamilneram247@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/tagstudio/strings/ta/
Translation: TagStudio/Strings

* Translated using Weblate (Portuguese (Brazil))

Currently translated at 86.2% (308 of 357 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 70.5% (252 of 357 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 69.7% (249 of 357 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: José Victor <jose.vdr.pessoal@gmail.com>
Co-authored-by: Travis Abendshien <46939827+CyanVoxel@users.noreply.github.com>
Co-authored-by: dmto dmto <danielmetonini123@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/tagstudio/strings/pt_BR/
Translation: TagStudio/Strings

* Translated using Weblate (German)

Currently translated at 100.0% (359 of 359 strings)

Translated using Weblate (German)

Currently translated at 100.0% (357 of 357 strings)

Co-authored-by: Dariton4000 <lukas@familieschmelzer.de>
Co-authored-by: Herr Chaos <herrchaotic@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/tagstudio/strings/de/
Translation: TagStudio/Strings

* Translated using Weblate (Japanese)

Currently translated at 100.0% (359 of 359 strings)

Co-authored-by: wany-oh <wany-oh@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/tagstudio/strings/ja/
Translation: TagStudio/Strings

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (359 of 359 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Szíjártó Levente Pál <szijartoleventepal@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/tagstudio/strings/hu/
Translation: TagStudio/Strings

* Translated using Weblate (Italian)

Currently translated at 100.0% (357 of 357 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Omni <blackbass175@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/tagstudio/strings/it/
Translation: TagStudio/Strings

* Translated using Weblate (Spanish)

Currently translated at 99.1% (354 of 357 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Joan <joancanalscrehuet@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/tagstudio/strings/es/
Translation: TagStudio/Strings

* Translated using Weblate (Swedish)

Currently translated at 35.5% (127 of 357 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: vallimar <vallimar@outlook.com>
Translate-URL: https://hosted.weblate.org/projects/tagstudio/strings/sv/
Translation: TagStudio/Strings

* Translated using Weblate (Chinese (Traditional Han script))

Currently translated at 100.0% (357 of 357 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: ngivanyh <ivan.ng0515@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/tagstudio/strings/zh_Hant/
Translation: TagStudio/Strings

* Translated using Weblate (Chinese (Simplified Han script))

Currently translated at 94.3% (337 of 357 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: ngivanyh <ivan.ng0515@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/tagstudio/strings/zh_Hans/
Translation: TagStudio/Strings

* Translated using Weblate (Cebuano)

Currently translated at 25.6% (92 of 359 strings)

Added translation using Weblate (Cebuano)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: StartsMercury <startsmercury@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/tagstudio/strings/ceb/
Translation: TagStudio/Strings

* Translated using Weblate (Toki Pona)

Currently translated at 94.1% (336 of 357 strings)

Translated using Weblate (Toki Pona)

Currently translated at 94.1% (336 of 357 strings)

Translated using Weblate (Toki Pona)

Currently translated at 87.1% (311 of 357 strings)

Co-authored-by: Bee Crankson <ProfB.crankson@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Star Athendwyl <weblate.tyke961@passmail.net>
Translate-URL: https://hosted.weblate.org/projects/tagstudio/strings/tok/
Translation: TagStudio/Strings

---------

Co-authored-by: தமிழ்நேரம் <tamilneram247@gmail.com>
Co-authored-by: José Victor <jose.vdr.pessoal@gmail.com>
Co-authored-by: Travis Abendshien <46939827+CyanVoxel@users.noreply.github.com>
Co-authored-by: dmto dmto <danielmetonini123@gmail.com>
Co-authored-by: Dariton4000 <lukas@familieschmelzer.de>
Co-authored-by: Herr Chaos <herrchaotic@gmail.com>
Co-authored-by: wany-oh <wany-oh@users.noreply.hosted.weblate.org>
Co-authored-by: Szíjártó Levente Pál <szijartoleventepal@gmail.com>
Co-authored-by: Omni <blackbass175@gmail.com>
Co-authored-by: Joan <joancanalscrehuet@gmail.com>
Co-authored-by: vallimar <vallimar@outlook.com>
Co-authored-by: ngivanyh <ivan.ng0515@gmail.com>
Co-authored-by: StartsMercury <startsmercury@gmail.com>
Co-authored-by: Bee Crankson <ProfB.crankson@gmail.com>
Co-authored-by: Star Athendwyl <weblate.tyke961@passmail.net>
2025-12-14 22:35:59 -08:00
Sola-ris
49e9ede387 feat: render .pdn thumbnails. (#1149)
* feat: render .pdn thumbnails.

* fix: add background to .pdn thumbnail

* doc: document .pdn support.

* fix: add PAINT_DOT_NET_TYPES to ALL_CATEGORIES.
2025-12-14 20:31:42 -08:00
Travis Abendshien
77274fb77f docs: fix list formatting on CONTRIBUTING.md 2025-12-12 10:02:01 -08:00
Trigam
ccb16e970a fix: escape the dash in URL regex (#1255) 2025-12-11 23:47:17 -08:00
Travis Abendshien
71d9fc6f3c docs: fix typo and update preview support 2025-12-11 23:41:32 -08:00
Travis Abendshien
9778db681a docs: update CONTRIBUTING.md 2025-12-11 23:40:57 -08:00
Trigam
88d0b47a86 feat: add hidden tags (#1139)
* Add `is_hidden` field to the `tags` table

* Add hidden checkbox to the edit tag panel

* Fix formatting

* Exclude hidden tags from search results

* Fix formatting (I should probably actually check before committing? lmao?)

* Bit of cleanup

* Add toggle for excluding hidden entries below search bar

* That might be important maybe

* Update Save Format Changes page in docs (and include updated test database)

* Simplify query and invert name+logic

* chore: remove unused code, tweak strings

---------

Co-authored-by: Travis Abendshien <46939827+CyanVoxel@users.noreply.github.com>
2025-11-25 22:48:36 -08:00
Xarvex
c38cc9daaa chore(thumb_renderer): bump Pillow (#1227)
Builds upon #1065, mkdocs-material has now bumped the Pillow version
being used, and now the built in AVIF support can be used
2025-11-25 21:46:47 -08:00
Sola-ris
6397b228eb feat: add windows runner for pytest (#1201)
* feat: run tests on windows and macOS.

* resue steps via anchors.

* remove macOS job.
2025-11-23 20:23:41 -08:00
Trigam
4d882a7156 fix: 'Add Tag to Selected' action fails (#1224)
* Fix

* Fix preview panel being reset

* Fix 'Add Tag to Selected' not emitting badge signals
2025-11-23 20:20:14 -08:00
Travis Abendshien
4c0cb1648f chore: update PULL_REQUEST_TEMPLATE.md 2025-11-14 15:31:13 -08:00
CallMeHein
0529925cd1 fix: "Search for Tag" in Tag Manager executes multiple queries (#1173)
* test: add test to ensure actions are replaced when widgets are replaced

* fix: disconnect previous action before adding new action
2025-11-07 16:18:07 -08:00
Timo Gottszky
5dcad418f7 fix(nix): replace wrapGAppsHook with wrapGAppsHook3 (#1189)
wrapGAppsHook has been aliased to wrapGAppsHook3 for a long time.
Recently this alias was converted to a throw, breaking the build with
newer nixpkgs versions.
2025-11-07 16:28:18 -06:00
62 changed files with 1665 additions and 394 deletions

View File

@@ -4,7 +4,8 @@
^^^ Summarize the changes done and why they were done above.
By submitting this pull request, you certify that you have read the
[CONTRIBUTING.md](https://github.com/TagStudioDev/TagStudio/blob/main/CONTRIBUTING.md).
[Contributing](https://docs.tagstud.io/contributing) page on our documentation site,
or in the project's [CONTRIBUTING.md](https://github.com/TagStudioDev/TagStudio/blob/main/docs/contributing.md) file.
IMPORTANT FOR FEATURES: Please verify that a feature request or some other form
of communication with maintainers was already conducted in terms of approving.

View File

@@ -4,21 +4,24 @@ name: pytest
on: [push, pull_request]
jobs:
pytest:
name: Run pytest
pytest-linux:
name: Run pytest (Linux)
runs-on: ubuntu-24.04
steps:
- name: Checkout repo
- &checkout
name: Checkout repo
uses: actions/checkout@v4
- name: Setup Python
- &setup-python
name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: pip
- name: Install Python dependencies
- &install-dependencies
name: Install Python dependencies
run: |
python -m pip install --upgrade uv
uv pip install --system .[pytest]
@@ -40,6 +43,7 @@ jobs:
libxcb-xinerama0 \
libxkbcommon-x11-0 \
libyaml-dev \
ripgrep \
x11-utils
- name: Execute pytest
@@ -52,10 +56,27 @@ jobs:
name: coverage
path: coverage.xml
pytest-windows:
name: Run pytest (Windows)
runs-on: windows-2025
steps:
- *checkout
- *setup-python
- *install-dependencies
- name: Install system dependencies
run: |
choco install ripgrep
- name: Execute pytest
run: |
pytest
coverage:
name: Check coverage
runs-on: ubuntu-latest
needs: pytest
needs: pytest-linux
steps:
- name: Fetch coverage

View File

@@ -14,6 +14,10 @@ Thank you so much for showing interest in contributing to TagStudio! Here are a
- **Please don't** create pull requests that consist of large refactors, _especially_ without discussing them with us first. These end up doing more harm than good for the project by continuously delaying progress and disrupting everyone else's work.
- If you wish to discuss TagStudio further, feel free to join the [Discord Server](https://discord.com/invite/hRNnVKhF2G)!
<!-- prettier-ignore -->
!!! note
If the fix is small and self-explanatory (i.e. a typo), then it doesn't require an issue to be opened first. Issue tracking is supposed to make our lives easier, not harder. Please use your best judgement to minimize the amount of work for everyone involved.
### Contribution Checklist
- I've read the [Feature Roadmap](roadmap.md) page
@@ -25,8 +29,11 @@ Thank you so much for showing interest in contributing to TagStudio! Here are a
- **_I mean it, I've found or created an issue for my feature/fix!_**
<!-- prettier-ignore -->
!!! note
If the fix is small and self-explanatory (i.e. a typo), then it doesn't require an issue to be opened first. Issue tracking is supposed to make our lives easier, not harder. Please use your best judgement to minimize the amount of work for everyone involved.
!!! failure "Unacceptable Code"
The following types of code will NOT be accepted to the project:
- Code that is not yours or does not have a compatible license with TagStudio's [own one](../LICENSE)
- Code that you do not understand and/or cannot explain
## Creating a Development Environment

View File

@@ -92,7 +92,7 @@ hide:
***
Apposed to filling your drives with [sidecar files](https://en.wikipedia.org/wiki/Sidecar_file), TagStudio uses a project-like [library](libraries.md) system that stores your tags and metadata inside a single save file per-library.
Opposed to filling your drives with [sidecar files](https://en.wikipedia.org/wiki/Sidecar_file), TagStudio uses a project-like [library](libraries.md) system that stores your tags and metadata inside a single save file per-library.
[:material-arrow-right: Learn About the Format](libraries.md)

View File

@@ -123,3 +123,12 @@ Migration from the legacy JSON format is provided via a walkthrough when opening
| [v9.5.4](https://github.com/TagStudioDev/TagStudio/releases/tag/v9.5.4) | SQLite | `<Library Folder>`/.TagStudio/ts_library.sqlite |
- Applies repairs to the `tag_parents` table created in [version 100](#version-100), removing rows that reference tags that have been deleted.
#### Version 103
| Used From | Format | Location |
| ----------------------------------------------------------------------- | ------ | ----------------------------------------------- |
| [#1139](https://github.com/TagStudioDev/TagStudio/pull/1139) | SQLite | `<Library Folder>`/.TagStudio/ts_library.sqlite |
- Adds the `is_hidden` column to the `tags` table (default `0`). Used for excluding entries tagged with hidden tags from library searches.
- Sets the `is_hidden` field on the built-in Archived tag to `1`, to match the Archived tag now being hidden by default.

View File

@@ -78,27 +78,41 @@ Audio thumbnails will default to embedded cover art (if any) and fallback to gen
Preview support for office documents or well-known project file formats varies by the format and whether or not embedded thumbnails are available to be read from. OpenDocument-based files are typically supported.
| Filetype | Extensions | Preview Type |
| ----------------------------- | --------------------- | -------------------------------------------------------------------------- |
| Blender | `.blend`, `.blend<#>` | Embedded thumbnail :material-alert-circle:{ title="If available in file" } |
| Keynote (Apple iWork) | `.key` | Embedded thumbnail |
| Krita[^3] | `.kra`, `.krz` | Embedded thumbnail :material-alert-circle:{ title="If available in file" } |
| MuseScore | `.mscz` | Embedded thumbnail :material-alert-circle:{ title="If available in file" } |
| Numbers (Apple iWork) | `.numbers` | Embedded thumbnail |
| OpenDocument Presentation | `.odp`, `.fodp` | Embedded thumbnail |
| OpenDocument Spreadsheet | `.ods`, `.fods` | Embedded thumbnail |
| OpenDocument Text | `.odt`, `.fodt` | Embedded thumbnail |
| Pages (Apple iWork) | `.pages` | Embedded thumbnail |
| PDF | `.pdf` | First page render |
| Photoshop | `.psd` | Flattened image render |
| PowerPoint (Microsoft Office) | `.pptx`, `.ppt` | Embedded thumbnail :material-alert-circle:{ title="If available in file" } |
| Filetype | Extensions | Preview Type |
|--------------------------------------| --------------------- | -------------------------------------------------------------------------- |
| Blender | `.blend`, `.blend<#>` | Embedded thumbnail :material-alert-circle:{ title="If available in file" } |
| Clip Studio Paint | `.clip` | Embedded thumbnail |
| Keynote (Apple iWork) | `.key` | Embedded thumbnail |
| Krita[^3] | `.kra`, `.krz` | Embedded thumbnail :material-alert-circle:{ title="If available in file" } |
| Mdipack (FireAlpaca, Medibang Paint) | `.mdp` | Embedded thumbnail |
| MuseScore | `.mscz` | Embedded thumbnail :material-alert-circle:{ title="If available in file" } |
| Numbers (Apple iWork) | `.numbers` | Embedded thumbnail |
| OpenDocument Presentation | `.odp`, `.fodp` | Embedded thumbnail |
| OpenDocument Spreadsheet | `.ods`, `.fods` | Embedded thumbnail |
| OpenDocument Text | `.odt`, `.fodt` | Embedded thumbnail |
| Pages (Apple iWork) | `.pages` | Embedded thumbnail |
| Paint.NET | `.pdn` | Embedded thumbnail |
| PDF | `.pdf` | First page render |
| Photoshop | `.psd` | Flattened image render |
| PowerPoint (Microsoft Office) | `.pptx`, `.ppt` | Embedded thumbnail :material-alert-circle:{ title="If available in file" } |
### :material-archive: Archives
Archive thumbnails will display the first image from the archive within the Preview Panel.
| Filetype | Extensions |
|----------|----------------|
| 7-Zip | `.7z`, `.s7z` |
| RAR | `.rar` |
| Tar | `.tar`, `.tgz` |
| Zip | `.zip` |
### :material-book: eBooks
| Filetype | Extensions | Preview Type |
| ------------------ | --------------------- | ---------------------------- |
| EPUB | `.epub` | Embedded cover |
| Comic Book Archive | `.cbr`, `.cbt` `.cbz` | Embedded cover or first page |
| Filetype | Extensions | Preview Type |
| ------------------ | ----------------------------- | ---------------------------- |
| EPUB | `.epub` | Embedded cover |
| Comic Book Archive | `.cbr`, `.cbt` `.cbz`, `.cb7` | Embedded cover or first page |
### :material-cube-outline: 3D Models

12
flake.lock generated
View File

@@ -7,11 +7,11 @@
]
},
"locked": {
"lastModified": 1756770412,
"narHash": "sha256-+uWLQZccFHwqpGqr2Yt5VsW/PbeJVTn9Dk6SHWhNRPw=",
"lastModified": 1763759067,
"narHash": "sha256-LlLt2Jo/gMNYAwOgdRQBrsRoOz7BPRkzvNaI/fzXi2Q=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "4524271976b625a4a605beefd893f270620fd751",
"rev": "2cccadc7357c0ba201788ae99c4dfa90728ef5e0",
"type": "github"
},
"original": {
@@ -22,11 +22,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1757487488,
"narHash": "sha256-zwE/e7CuPJUWKdvvTCB7iunV4E/+G0lKfv4kk/5Izdg=",
"lastModified": 1763835633,
"narHash": "sha256-HzxeGVID5MChuCPESuC0dlQL1/scDKu+MmzoVBJxulM=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "ab0f3607a6c7486ea22229b92ed2d355f1482ee0",
"rev": "050e09e091117c3d7328c7b2b7b577492c43c134",
"type": "github"
},
"original": {

View File

@@ -6,7 +6,7 @@
qt6,
ripgrep,
stdenv,
wrapGAppsHook,
wrapGAppsHook3,
pillow-jxl-plugin,
@@ -30,7 +30,7 @@ python3Packages.buildPythonApplication {
# Should be unnecessary once PR is pulled.
# PR: https://github.com/NixOS/nixpkgs/pull/271037
# Issue: https://github.com/NixOS/nixpkgs/issues/149812
wrapGAppsHook
wrapGAppsHook3
];
buildInputs = [
qt6.qtbase
@@ -70,7 +70,7 @@ python3Packages.buildPythonApplication {
"\${qtWrapperArgs[@]}"
];
pythonRemoveDeps = lib.optional (!withJXLSupport) [ "pillow_jxl" ];
pythonRemoveDeps = lib.optional (!withJXLSupport) "pillow_jxl";
pythonRelaxDeps = [
"numpy"
"pillow"
@@ -80,6 +80,8 @@ python3Packages.buildPythonApplication {
"py7zr"
"pyside6"
"rarfile"
"requests"
"semver"
"structlog"
"typing-extensions"
];
@@ -96,7 +98,6 @@ python3Packages.buildPythonApplication {
numpy
opencv-python
pillow
pillow-avif-plugin
pillow-heif
py7zr
pydantic
@@ -104,6 +105,8 @@ python3Packages.buildPythonApplication {
pyside6
rarfile
rawpy
requests
semver
send2trash
sqlalchemy
srctools

View File

@@ -51,7 +51,7 @@ let
# Should be unnecessary once PR is pulled.
# PR: https://github.com/NixOS/nixpkgs/pull/271037
# Issue: https://github.com/NixOS/nixpkgs/issues/149812
wrapGAppsHook
wrapGAppsHook3
];
buildInputs = with pkgs.qt6; [
qtbase
@@ -87,7 +87,7 @@ pkgs.mkShellNoCC {
env = {
QT_QPA_PLATFORM = "wayland;xcb";
UV_NO_SYNC = "1";
UV_NO_SYNC = 1;
UV_PYTHON_DOWNLOADS = "never";
};
@@ -111,7 +111,8 @@ pkgs.mkShellNoCC {
fi
source "''${venv}"/bin/activate
PYTHONPATH=${pythonPath}''${PYTHONPATH:+:}''${PYTHONPATH:-}
PYTHONPATH=${pythonPath}''${PYTHONPATH:+:''${PYTHONPATH}}
export PYTHONPATH
if [ ! -f "''${venv}"/pyproject.toml ] || ! diff --brief pyproject.toml "''${venv}"/pyproject.toml >/dev/null; then
printf '%s\n' 'Installing dependencies, pyproject.toml changed...' >&2

View File

@@ -16,8 +16,7 @@ dependencies = [
"mutagen~=1.47",
"numpy~=2.2",
"opencv_python~=4.11",
"Pillow>=10.2,<=11",
"pillow-avif-plugin~=1.5",
"Pillow>=10.2,<12",
"pillow-heif~=0.22",
"pillow-jxl-plugin~=1.3",
"py7zr==1.0.0",
@@ -34,6 +33,8 @@ dependencies = [
"typing_extensions~=4.13",
"ujson~=5.10",
"wcmatch==10.*",
"requests~=2.31.0",
"semver~=3.0.4",
]
[project.optional-dependencies]

View File

@@ -11,7 +11,7 @@ JSON_FILENAME: str = "ts_library.json"
DB_VERSION_LEGACY_KEY: str = "DB_VERSION"
DB_VERSION_CURRENT_KEY: str = "CURRENT"
DB_VERSION_INITIAL_KEY: str = "INITIAL"
DB_VERSION: int = 102
DB_VERSION: int = 103
TAG_CHILDREN_QUERY = text("""
WITH RECURSIVE ChildTags AS (

View File

@@ -57,8 +57,8 @@ def make_tables(engine: Engine) -> None:
conn.execute(
text(
"INSERT INTO tags "
"(id, name, color_namespace, color_slug, is_category) VALUES "
f"({RESERVED_TAG_END}, 'temp', NULL, NULL, false)"
"(id, name, color_namespace, color_slug, is_category, is_hidden) VALUES "
f"({RESERVED_TAG_END}, 'temp', NULL, NULL, false, false)"
)
)
conn.execute(text(f"DELETE FROM tags WHERE id = {RESERVED_TAG_END}"))

View File

@@ -1,6 +1,6 @@
import enum
import random
from dataclasses import dataclass, replace
from dataclasses import dataclass, field, replace
from pathlib import Path
import structlog
@@ -78,10 +78,13 @@ class BrowsingState:
"""Represent a state of the Library grid view."""
page_index: int = 0
page_positions: dict[int, int] = field(default_factory=dict)
sorting_mode: SortingModeEnum = SortingModeEnum.DATE_ADDED
ascending: bool = True
ascending: bool = False
random_seed: float = 0
show_hidden_entries: bool = False
query: str | None = None
# Abstract Syntax Tree Of the current Search Query
@@ -147,6 +150,9 @@ class BrowsingState:
def with_search_query(self, search_query: str) -> "BrowsingState":
return replace(self, query=search_query)
def with_show_hidden_entries(self, show_hidden_entries: bool) -> "BrowsingState":
return replace(self, show_hidden_entries=show_hidden_entries)
class FieldTypeEnum(enum.Enum):
TEXT_LINE = "Text Line"

View File

@@ -151,6 +151,7 @@ def get_default_tags() -> tuple[Tag, ...]:
name="Archived",
aliases={TagAlias(name="Archive")},
parent_tags={meta_tag},
is_hidden=True,
color_slug="red",
color_namespace="tagstudio-standard",
)
@@ -540,6 +541,8 @@ class Library:
self.__apply_db8_schema_changes(session)
if loaded_db_version < 9:
self.__apply_db9_schema_changes(session)
if loaded_db_version < 103:
self.__apply_db103_schema_changes(session)
if loaded_db_version == 6:
self.__apply_repairs_for_db6(session)
@@ -551,6 +554,8 @@ class Library:
self.__apply_db100_parent_repairs(session)
if loaded_db_version < 102:
self.__apply_db102_repairs(session)
if loaded_db_version < 103:
self.__apply_db103_default_data(session)
# Convert file extension list to ts_ignore file, if a .ts_ignore file does not exist
self.migrate_sql_to_ts_ignore(library_dir)
@@ -698,6 +703,36 @@ class Library:
session.commit()
logger.info("[Library][Migration] Verified TagParent table data")
def __apply_db103_schema_changes(self, session: Session):
"""Apply database schema changes introduced in DB_VERSION 103."""
add_is_hidden_column = text(
"ALTER TABLE tags ADD COLUMN is_hidden BOOLEAN NOT NULL DEFAULT 0"
)
try:
session.execute(add_is_hidden_column)
session.commit()
logger.info("[Library][Migration] Added is_hidden column to tags table")
except Exception as e:
logger.error(
"[Library][Migration] Could not create is_hidden column in tags table!",
error=e,
)
session.rollback()
def __apply_db103_default_data(self, session: Session):
"""Apply default data changes introduced in DB_VERSION 103."""
try:
session.query(Tag).filter(Tag.id == TAG_ARCHIVED).update({"is_hidden": True})
session.commit()
logger.info("[Library][Migration] Updated archived tag to be hidden")
session.commit()
except Exception as e:
logger.error(
"[Library][Migration] Could not update archived tag to be hidden!",
error=e,
)
session.rollback()
def migrate_sql_to_ts_ignore(self, library_dir: Path):
# Do not continue if existing '.ts_ignore' file is found
if Path(library_dir / TS_FOLDER_NAME / IGNORE_NAME).exists():
@@ -1003,13 +1038,19 @@ class Library:
else:
statement = select(Entry.id)
if search.ast:
ast = search.ast
if not search.show_hidden_entries:
statement = statement.where(~Entry.tags.any(Tag.is_hidden))
if ast:
start_time = time.time()
statement = statement.where(SQLBoolExpressionBuilder(self).visit(search.ast))
statement = statement.where(SQLBoolExpressionBuilder(self).visit(ast))
end_time = time.time()
logger.info(
f"SQL Expression Builder finished ({format_timespan(end_time - start_time)})"
)
statement = statement.distinct(Entry.id)
sort_on: ColumnExpressionArgument = Entry.id
@@ -1129,35 +1170,29 @@ class Library:
session.commit()
return True
def remove_tag(self, tag_id: int):
def remove_tag(self, tag_id: int) -> bool:
with Session(self.engine, expire_on_commit=False) as session:
try:
aliases = session.scalars(select(TagAlias).where(TagAlias.tag_id == tag_id))
for alias in aliases:
session.delete(alias)
session.flush()
tag_parents = session.scalars(
select(TagParent).where(TagParent.parent_id == tag_id)
).all()
for tag_parent in tag_parents:
session.delete(tag_parent)
session.flush()
disam_stmt = (
session.execute(delete(TagAlias).where(TagAlias.tag_id == tag_id))
session.execute(delete(TagEntry).where(TagEntry.tag_id == tag_id))
session.execute(
delete(TagParent).where(
or_(TagParent.child_id == tag_id, TagParent.parent_id == tag_id)
)
)
session.execute(
update(Tag)
.where(Tag.disambiguation_id == tag_id)
.values(disambiguation_id=None)
)
session.execute(disam_stmt)
session.flush()
session.query(Tag).filter_by(id=tag_id).delete()
session.execute(delete(Tag).where(Tag.id == tag_id))
session.commit()
except IntegrityError as e:
logger.error(e)
session.rollback()
return False
return True
def update_field_position(
self,

View File

@@ -97,6 +97,7 @@ class Tag(Base):
color_slug: Mapped[str | None] = mapped_column()
color: Mapped[TagColorGroup | None] = relationship(lazy="joined")
is_category: Mapped[bool]
is_hidden: Mapped[bool]
icon: Mapped[str | None]
aliases: Mapped[set[TagAlias]] = relationship(back_populates="tag")
parent_tags: Mapped[set["Tag"]] = relationship(
@@ -138,6 +139,7 @@ class Tag(Base):
color_slug: str | None = None,
disambiguation_id: int | None = None,
is_category: bool = False,
is_hidden: bool = False,
):
self.name = name
self.aliases = aliases or set()
@@ -148,6 +150,7 @@ class Tag(Base):
self.shorthand = shorthand
self.disambiguation_id = disambiguation_id
self.is_category = is_category
self.is_hidden = is_hidden
self.id = id # pyright: ignore[reportAttributeAccessIssue]
super().__init__()

View File

@@ -4,9 +4,9 @@ from pathlib import Path
import structlog
from tagstudio.core.library.alchemy.enums import BrowsingState
from tagstudio.core.library.alchemy.library import Library
from tagstudio.core.library.alchemy.models import Entry
from tagstudio.core.utils.types import unwrap
logger = structlog.get_logger()
@@ -28,7 +28,7 @@ class DupeFilesRegistry:
A duplicate file is defined as an identical or near-identical file as determined
by a DupeGuru results file.
"""
library_dir = self.library.library_dir
library_dir = unwrap(self.library.library_dir)
if not isinstance(results_filepath, Path):
results_filepath = Path(results_filepath)
@@ -43,7 +43,7 @@ class DupeFilesRegistry:
files: list[Entry] = []
for element in group:
if element.tag == "file":
file_path = Path(element.attrib.get("path"))
file_path = Path(unwrap(element.attrib.get("path")))
try:
path_relative = file_path.relative_to(library_dir)
@@ -51,16 +51,12 @@ class DupeFilesRegistry:
# The file is not in the library directory
continue
results = self.library.search_library(
BrowsingState.from_path(path_relative), 500
)
entries = self.library.get_entries(results.ids)
if not results:
entry = self.library.get_entry_full_by_path(path_relative)
if entry is None:
# file not in library
continue
files.append(entries[0])
files.append(entry)
if not len(files) > 1:
# only one file in the group, nothing to do
@@ -82,5 +78,5 @@ class DupeFilesRegistry:
for i, entries in enumerate(self.groups):
remove_ids = entries[1:]
logger.info("Removing entries group", ids=remove_ids)
self.library.remove_entries(remove_ids)
self.library.remove_entries([e.id for e in remove_ids])
yield i - 1 # The -1 waits for the next step to finish

View File

@@ -171,6 +171,8 @@ class SQLBoolExpressionBuilder(BaseVisitor[ColumnElement[bool]]):
continue
case ConstraintType.FileType:
pass
case ConstraintType.MediaType:
pass
case ConstraintType.Path:
pass
case ConstraintType.Special:

View File

@@ -105,8 +105,8 @@ class RefreshTracker:
),
cwd=library_dir,
capture_output=True,
text=True,
shell=True,
encoding="UTF-8",
)
compiled_ignore_path.unlink()

View File

@@ -33,6 +33,7 @@ class MediaType(str, Enum):
AUDIO_MIDI = "audio_midi"
AUDIO = "audio"
BLENDER = "blender"
CLIP_STUDIO_PAINT = "clip_studio_paint"
CODE = "code"
DATABASE = "database"
DISK_IMAGE = "disk_image"
@@ -46,9 +47,11 @@ class MediaType(str, Enum):
INSTALLER = "installer"
IWORK = "iwork"
MATERIAL = "material"
MDIPACK = "mdipack"
MODEL = "model"
OPEN_DOCUMENT = "open_document"
PACKAGE = "package"
PAINT_DOT_NET = "paint_dot_net"
PDF = "pdf"
PLAINTEXT = "plaintext"
PRESENTATION = "presentation"
@@ -175,6 +178,7 @@ class MediaCategories:
".blend31",
".blend32",
}
_CLIP_STUDIO_PAINT_SET: set[str] = {".clip"}
_CODE_SET: set[str] = {
".bat",
".cfg",
@@ -335,6 +339,7 @@ class MediaCategories:
_INSTALLER_SET: set[str] = {".appx", ".msi", ".msix"}
_IWORK_SET: set[str] = {".key", ".pages", ".numbers"}
_MATERIAL_SET: set[str] = {".mtl"}
_MDIPACK_SET: set[str] = {".mdp"}
_MODEL_SET: set[str] = {".3ds", ".fbx", ".obj", ".stl"}
_OPEN_DOCUMENT_SET: set[str] = {
".fodg",
@@ -358,6 +363,7 @@ class MediaCategories:
".pkg",
".xapk",
}
_PAINT_DOT_NET_SET: set[str] = {".pdn"}
_PDF_SET: set[str] = {".pdf"}
_PLAINTEXT_SET: set[str] = {
".csv",
@@ -452,6 +458,12 @@ class MediaCategories:
is_iana=False,
name="blender",
)
CLIP_STUDIO_PAINT_TYPES = MediaCategory(
media_type=MediaType.CLIP_STUDIO_PAINT,
extensions=_CLIP_STUDIO_PAINT_SET,
is_iana=False,
name="clip studio paint",
)
CODE_TYPES = MediaCategory(
media_type=MediaType.CODE,
extensions=_CODE_SET,
@@ -536,6 +548,12 @@ class MediaCategories:
is_iana=False,
name="material",
)
MDIPACK_TYPES = MediaCategory(
media_type=MediaType.MDIPACK,
extensions=_MDIPACK_SET,
is_iana=False,
name="mdipack",
)
MODEL_TYPES = MediaCategory(
media_type=MediaType.MODEL,
extensions=_MODEL_SET,
@@ -554,6 +572,12 @@ class MediaCategories:
is_iana=False,
name="package",
)
PAINT_DOT_NET_TYPES = MediaCategory(
media_type=MediaType.PAINT_DOT_NET,
extensions=_PAINT_DOT_NET_SET,
is_iana=False,
name="paint.net",
)
PDF_TYPES = MediaCategory(
media_type=MediaType.PDF,
extensions=_PDF_SET,
@@ -628,6 +652,7 @@ class MediaCategories:
AUDIO_MIDI_TYPES,
AUDIO_TYPES,
BLENDER_TYPES,
CLIP_STUDIO_PAINT_TYPES,
DATABASE_TYPES,
DISK_IMAGE_TYPES,
DOCUMENT_TYPES,
@@ -640,9 +665,11 @@ class MediaCategories:
INSTALLER_TYPES,
IWORK_TYPES,
MATERIAL_TYPES,
MDIPACK_TYPES,
MODEL_TYPES,
OPEN_DOCUMENT_TYPES,
PACKAGE_TYPES,
PAINT_DOT_NET_TYPES,
PDF_TYPES,
PLAINTEXT_TYPES,
PRESENTATION_TYPES,
@@ -679,7 +706,7 @@ class MediaCategories:
Args:
ext (str): File extension with a leading "." and in all lowercase.
media_cat (MediaCategory): The MediaCategory to to check for extension membership.
media_cat (MediaCategory): The MediaCategory to check for extension membership.
mime_fallback (bool): Flag to guess MIME type if no set matches are made.
"""
return media_cat.contains(ext, mime_fallback)

View File

@@ -5,17 +5,23 @@
"""The core classes and methods of TagStudio."""
import json
import re
from functools import lru_cache
from pathlib import Path
import requests
import structlog
from tagstudio.core.constants import TS_FOLDER_NAME
from tagstudio.core.library.alchemy.fields import FieldID
from tagstudio.core.library.alchemy.library import Library
from tagstudio.core.library.alchemy.models import Entry
from tagstudio.core.utils.types import unwrap
logger = structlog.get_logger(__name__)
MOST_RECENT_RELEASE_VERSION: str | None = None
class TagStudioCore:
def __init__(self):
@@ -27,6 +33,7 @@ class TagStudioCore:
Return a formatted object with notable values or an empty object if none is found.
"""
raise NotImplementedError("This method is currently broken and needs to be fixed.")
info = {}
_filepath = filepath.parent / (filepath.name + ".json")
@@ -101,11 +108,11 @@ class TagStudioCore:
"""Match defined conditions against a file to add Entry data."""
# TODO - what even is this file format?
# TODO: Make this stored somewhere better instead of temporarily in this JSON file.
cond_file = lib.library_dir / TS_FOLDER_NAME / "conditions.json"
cond_file = unwrap(lib.library_dir) / TS_FOLDER_NAME / "conditions.json"
if not cond_file.is_file():
return False
entry: Entry = lib.get_entry(entry_id)
entry: Entry = unwrap(lib.get_entry(entry_id))
try:
with open(cond_file, encoding="utf8") as f:
@@ -130,7 +137,9 @@ class TagStudioCore:
is_new = field["id"] not in entry_field_types
field_key = field["id"]
if is_new:
lib.add_field_to_entry(entry.id, field_key, field["value"])
lib.add_field_to_entry(
entry.id, field_id=field_key, value=field["value"]
)
else:
lib.update_entry_field(entry.id, field_key, field["value"])
@@ -181,3 +190,21 @@ class TagStudioCore:
except Exception:
logger.exception("Error building Instagram URL.", entry=entry)
return ""
@staticmethod
@lru_cache(maxsize=1)
def get_most_recent_release_version() -> str:
"""Get the version of the most recent Github release."""
resp = requests.get("https://api.github.com/repos/TagStudioDev/TagStudio/releases/latest")
assert resp.status_code == 200, "Could not fetch information on latest release."
data = resp.json()
tag: str = data["tag_name"]
assert tag.startswith("v")
version = tag[1:]
# the assert does not allow for prerelease/build,
# because the latest release should never have them
assert re.match(r"^\d+\.\d+\.\d+$", version) is not None, "Invalid version format."
return version

View File

@@ -2,8 +2,6 @@
# Licensed under the GPL-3.0 License.
# Created for TagStudio: https://github.com/CyanVoxel/TagStudio
# pyright: reportExplicitAny=false
import os
import subprocess
import sys

View File

@@ -2,6 +2,8 @@
# Licensed under the GPL-3.0 License.
# Created for TagStudio: https://github.com/CyanVoxel/TagStudio
import semver
def strip_punctuation(string: str) -> str:
"""Returns a given string stripped of all punctuation characters."""
@@ -32,3 +34,18 @@ def strip_web_protocol(string: str) -> str:
for prefix in prefixes:
string = string.removeprefix(prefix)
return string
def is_version_outdated(current: str, latest: str) -> bool:
vcur = semver.Version.parse(current)
vlat = semver.Version.parse(latest)
assert vlat.prerelease is None and vlat.build is None
if vcur.major != vlat.major:
return vcur.major < vlat.major
elif vcur.minor != vlat.minor:
return vcur.minor < vlat.minor
elif vcur.patch != vlat.patch:
return vcur.patch < vlat.patch
else:
return vcur.prerelease is not None or vcur.build is not None

View File

@@ -32,7 +32,7 @@ class FixIgnoredEntriesModal(FixIgnoredEntriesModalView):
lambda: (
self.update_ignored_count(),
self.driver.update_browsing_state(),
self.driver.library_info_window.update_cleanup(),
self.update_driver_widgets(),
self.refresh_ignored(),
)
)
@@ -52,20 +52,13 @@ class FixIgnoredEntriesModal(FixIgnoredEntriesModalView):
pw.setWindowTitle(Translations["library.scan_library.title"])
pw.update_label(Translations["entries.ignored.scanning"])
def update_driver_widgets():
if (
hasattr(self.driver, "library_info_window")
and self.driver.library_info_window.isVisible()
):
self.driver.library_info_window.update_cleanup()
pw.from_iterable_function(
self.tracker.refresh_ignored_entries,
None,
self.set_ignored_count,
self.update_ignored_count,
self.remove_modal.refresh_list,
update_driver_widgets,
self.update_driver_widgets,
)
def set_ignored_count(self):
@@ -88,6 +81,13 @@ class FixIgnoredEntriesModal(FixIgnoredEntriesModalView):
)
self.ignored_count_label.setText(f"<h3>{count_text}</h3>")
def update_driver_widgets(self):
if (
hasattr(self.driver, "library_info_window")
and self.driver.library_info_window.isVisible()
):
self.driver.library_info_window.update_cleanup()
@override
def showEvent(self, event: QtGui.QShowEvent) -> None: # type: ignore
self.update_ignored_count()

View File

@@ -0,0 +1,39 @@
import structlog
from PySide6.QtCore import Qt
from PySide6.QtWidgets import QMessageBox
from tagstudio.core.constants import VERSION
from tagstudio.core.ts_core import TagStudioCore
from tagstudio.qt.models.palette import ColorType, UiColor, get_ui_color
from tagstudio.qt.translations import Translations
logger = structlog.get_logger(__name__)
class OutOfDateMessageBox(QMessageBox):
"""A warning dialog for if the TagStudio is not running under the latest release version."""
def __init__(self):
super().__init__()
title = Translations.format("version_modal.title")
self.setWindowTitle(title)
self.setIcon(QMessageBox.Icon.Warning)
self.setWindowModality(Qt.WindowModality.ApplicationModal)
self.setStandardButtons(
QMessageBox.StandardButton.Ignore | QMessageBox.StandardButton.Cancel
)
self.setDefaultButton(QMessageBox.StandardButton.Ignore)
# Enables the cancel button but hides it to allow for click X to close dialog
self.button(QMessageBox.StandardButton.Cancel).hide()
red = get_ui_color(ColorType.PRIMARY, UiColor.RED)
green = get_ui_color(ColorType.PRIMARY, UiColor.GREEN)
latest_release_version = TagStudioCore.get_most_recent_release_version()
status = Translations.format(
"version_modal.status",
installed_version=f"<span style='color:{red}'>{VERSION}</span>",
latest_release_version=f"<span style='color:{green}'>{latest_release_version}</span>",
)
self.setText(f"{Translations['version_modal.description']}<br><br>{status}")

View File

@@ -20,6 +20,7 @@ from PySide6.QtWidgets import (
from tagstudio.core.constants import VERSION, VERSION_BRANCH
from tagstudio.core.enums import Theme
from tagstudio.core.ts_core import TagStudioCore
from tagstudio.qt.models.palette import ColorType, UiColor, get_ui_color
from tagstudio.qt.previews.vendored import ffmpeg
from tagstudio.qt.resource_manager import ResourceManager
@@ -103,6 +104,19 @@ class AboutModal(QWidget):
self.system_info_layout = QFormLayout(self.system_info_widget)
self.system_info_layout.setLabelAlignment(Qt.AlignmentFlag.AlignRight)
# Version
version_title = QLabel("Version")
most_recent_release = TagStudioCore.get_most_recent_release_version()
version_content_style = self.form_content_style
if most_recent_release == VERSION:
version_content = QLabel(f"{VERSION}")
else:
version_content = QLabel(f"{VERSION} (Latest Release: {most_recent_release})")
version_content_style += "color: #d9534f;"
version_content.setStyleSheet(version_content_style)
version_content.setMaximumWidth(version_content.sizeHint().width())
self.system_info_layout.addRow(version_title, version_content)
# License
license_title = QLabel(f"{Translations['about.license']}")
license_content = QLabel("GPLv3")

View File

@@ -246,6 +246,46 @@ class BuildTagPanel(PanelWidget):
self.cat_layout.addWidget(self.cat_checkbox)
self.cat_layout.addWidget(self.cat_title)
# Hidden ---------------------------------------------------------------
self.hidden_widget = QWidget()
self.hidden_layout = QHBoxLayout(self.hidden_widget)
self.hidden_layout.setStretch(1, 1)
self.hidden_layout.setContentsMargins(0, 0, 0, 0)
self.hidden_layout.setSpacing(6)
self.hidden_layout.setAlignment(Qt.AlignmentFlag.AlignLeft)
self.hidden_title = QLabel(Translations["tag.is_hidden"])
self.hidden_checkbox = QCheckBox()
self.hidden_checkbox.setFixedSize(22, 22)
self.hidden_checkbox.setStyleSheet(
f"QCheckBox{{"
f"background: rgba{primary_color.toTuple()};"
f"color: rgba{text_color.toTuple()};"
f"border-color: rgba{border_color.toTuple()};"
f"border-radius: 6px;"
f"border-style:solid;"
f"border-width: 2px;"
f"}}"
f"QCheckBox::indicator{{"
f"width: 10px;"
f"height: 10px;"
f"border-radius: 2px;"
f"margin: 4px;"
f"}}"
f"QCheckBox::indicator:checked{{"
f"background: rgba{text_color.toTuple()};"
f"}}"
f"QCheckBox::hover{{"
f"border-color: rgba{highlight_color.toTuple()};"
f"}}"
f"QCheckBox::focus{{"
f"border-color: rgba{highlight_color.toTuple()};"
f"outline:none;"
f"}}"
)
self.hidden_layout.addWidget(self.hidden_checkbox)
self.hidden_layout.addWidget(self.hidden_title)
# Add Widgets to Layout ================================================
self.root_layout.addWidget(self.name_widget)
self.root_layout.addWidget(self.shorthand_widget)
@@ -256,6 +296,7 @@ class BuildTagPanel(PanelWidget):
self.root_layout.addWidget(self.color_widget)
self.root_layout.addWidget(QLabel("<h3>Properties</h3>"))
self.root_layout.addWidget(self.cat_widget)
self.root_layout.addWidget(self.hidden_widget)
self.parent_ids: set[int] = set()
self.alias_ids: list[int] = []
@@ -481,7 +522,7 @@ class BuildTagPanel(PanelWidget):
self.alias_names.clear()
last: QWidget = self.panel_save_button
last: QWidget | None = self.panel_save_button
for alias_id in self.alias_ids:
alias = self.lib.get_alias(self.tag.id, alias_id)
@@ -508,7 +549,8 @@ class BuildTagPanel(PanelWidget):
self.aliases_table.setCellWidget(row, 1, new_item)
self.aliases_table.setCellWidget(row, 0, remove_btn)
self.setTabOrder(last, self.aliases_table.cellWidget(row, 1))
if last is not None:
self.setTabOrder(last, self.aliases_table.cellWidget(row, 1))
self.setTabOrder(
self.aliases_table.cellWidget(row, 1), self.aliases_table.cellWidget(row, 0)
)
@@ -544,6 +586,7 @@ class BuildTagPanel(PanelWidget):
self.color_button.set_tag_color_group(None)
self.cat_checkbox.setChecked(tag.is_category)
self.hidden_checkbox.setChecked(tag.is_hidden)
def on_name_changed(self):
is_empty = not self.name_field.text().strip()
@@ -567,6 +610,7 @@ class BuildTagPanel(PanelWidget):
tag.color_namespace = self.tag_color_namespace
tag.color_slug = self.tag_color_slug
tag.is_category = self.cat_checkbox.isChecked()
tag.is_hidden = self.hidden_checkbox.isChecked()
logger.info("built tag", tag=tag)
return tag
@@ -581,3 +625,4 @@ class BuildTagPanel(PanelWidget):
self.setTabOrder(unwrap(self.panel_save_button), self.aliases_table.cellWidget(0, 1))
self.name_field.selectAll()
self.name_field.setFocus()
self._set_aliases()

View File

@@ -10,7 +10,7 @@ from datetime import datetime as dt
from warnings import catch_warnings
import structlog
from PySide6.QtCore import Qt, Signal
from PySide6.QtCore import Qt
from PySide6.QtGui import QGuiApplication
from PySide6.QtWidgets import (
QFrame,
@@ -22,7 +22,6 @@ from PySide6.QtWidgets import (
QWidget,
)
from tagstudio.core.constants import TAG_ARCHIVED, TAG_FAVORITE
from tagstudio.core.enums import Theme
from tagstudio.core.library.alchemy.enums import FieldTypeEnum
from tagstudio.core.library.alchemy.fields import (
@@ -51,9 +50,6 @@ logger = structlog.get_logger(__name__)
class FieldContainers(QWidget):
"""The Preview Panel Widget."""
favorite_updated = Signal(bool)
archived_updated = Signal(bool)
def __init__(self, library: Library, driver: "QtDriver"):
super().__init__()
@@ -131,7 +127,7 @@ class FieldContainers(QWidget):
container_index += 1
container_len += 1
if update_badges:
self.emit_badge_signals({t.id for t in entry_tags})
self.driver.emit_badge_signals({t.id for t in entry_tags})
# Write field container(s)
for index, field in enumerate(entry_fields, start=container_index):
@@ -242,7 +238,7 @@ class FieldContainers(QWidget):
self.driver.selected,
tag_ids=tags,
)
self.emit_badge_signals(tags, emit_on_absent=False)
self.driver.emit_badge_signals(tags, emit_on_absent=False)
def write_container(self, index: int, field: BaseField, is_mixed: bool = False):
"""Update/Create data for a FieldContainer.
@@ -493,16 +489,3 @@ class FieldContainers(QWidget):
result = remove_mb.exec_()
if result == QMessageBox.ButtonRole.ActionRole.value:
callback()
def emit_badge_signals(self, tag_ids: list[int] | set[int], emit_on_absent: bool = True):
"""Emit any connected signals for updating badge icons."""
logger.info("[emit_badge_signals] Emitting", tag_ids=tag_ids, emit_on_absent=emit_on_absent)
if TAG_ARCHIVED in tag_ids:
self.archived_updated.emit(True) # noqa: FBT003
elif emit_on_absent:
self.archived_updated.emit(False) # noqa: FBT003
if TAG_FAVORITE in tag_ids:
self.favorite_updated.emit(True) # noqa: FBT003
elif emit_on_absent:
self.favorite_updated.emit(False) # noqa: FBT003

View File

@@ -496,13 +496,11 @@ class ItemThumb(FlowWidget):
toggle_value: bool,
tag_id: int,
):
if entry_id in self.driver.selected:
if len(self.driver.selected) == 1:
self.driver.main_window.preview_panel.field_containers_widget.update_toggled_tag(
tag_id, toggle_value
)
else:
pass
selected = self.driver._selected
if len(selected) == 1 and entry_id in selected:
self.driver.main_window.preview_panel.field_containers_widget.update_toggled_tag(
tag_id, toggle_value
)
@override
def mouseMoveEvent(self, event: QMouseEvent) -> None: # type: ignore[misc]

View File

@@ -304,6 +304,7 @@ class TagSearchPanel(PanelWidget):
tag_widget.on_edit.disconnect()
tag_widget.on_remove.disconnect()
tag_widget.bg_button.clicked.disconnect()
tag_widget.search_for_tag_action.triggered.disconnect()
tag_id = tag.id
tag_widget.on_edit.connect(lambda t=tag: self.edit_tag(t))

View File

@@ -34,9 +34,7 @@ class TextWidget(FieldWidget):
# Regex from https://stackoverflow.com/a/6041965
def linkify(text: str):
url_pattern = (
r"(http|ftp|https):\/\/([\w_-]+(?:(?:\.[\w_-]+)+))([\w.,@?^=%&:\/~+#-*]*[\w@?^=%&\/~+#-*])"
)
url_pattern = r"(http|ftp|https):\/\/([\w_-]+(?:(?:\.[\w_-]+)+))([\w.,@?^=%&:\/~+#\-*]*[\w@?^=%&\/~+#\-*])" # noqa: E501
return re.sub(
url_pattern,
lambda url: f'<a href="{url.group(0)}">{url.group(0)}</a>',

View File

@@ -1,10 +1,13 @@
# Licensed under the GPL-3.0 License.
# Created for TagStudio: https://github.com/CyanVoxel/TagStudio
import re
import structlog
from PySide6.QtGui import QAction
from PySide6.QtWidgets import QMenu
logger = structlog.get_logger(__name__)
def remove_mnemonic_marker(label: str) -> str:
"""Remove existing accelerator markers (&) from a label."""
@@ -25,6 +28,31 @@ def remove_mnemonic_marker(label: str) -> str:
return result
def get_wanted_mnemonics(text: str) -> list[str]:
matches = re.findall("(?:^|[^&])&([^&])", text)
return matches
def sanitise_mnemonics(actions: list[QAction]) -> None:
previous = []
for action in actions:
text = action.text()
m = get_wanted_mnemonics(text)
if len(m) == 0:
continue
elif len(m) > 1:
logger.warning("Found multiple wanted mnemonics, removing all", text=text)
action.setText(remove_mnemonic_marker(text))
continue
elif m[0] in previous:
logger.warning("Removing conflicting mnemonic", text=text)
action.setText(remove_mnemonic_marker(text))
continue
previous.append(m[0])
# Additional weight for first character in string
FIRST_CHARACTER_EXTRA_WEIGHT = 50
# Additional weight for the beginning of a word
@@ -97,6 +125,9 @@ def assign_mnemonics(menu: QMenu):
# Collect actions
actions = [a for a in menu.actions() if not a.isSeparator()]
# sanitise mnemonics to prevent deadlocks
sanitise_mnemonics(actions)
# Sequence map: mnemonic key -> QAction
sequence_to_action: dict[str, QAction] = {}

View File

@@ -3,13 +3,17 @@
# Created for TagStudio: https://github.com/CyanVoxel/TagStudio
import base64
import contextlib
import hashlib
import math
import os
import sqlite3
import struct
import tarfile
import xml.etree.ElementTree as ET
import zipfile
import zlib
from copy import deepcopy
from io import BytesIO
from pathlib import Path
@@ -19,7 +23,6 @@ from xml.etree.ElementTree import Element
import cv2
import numpy as np
import pillow_avif # noqa: F401 # pyright: ignore[reportUnusedImport]
import py7zr
import py7zr.io
import rarfile
@@ -110,22 +113,28 @@ class _SevenZipFile(py7zr.SevenZipFile):
return factory.get(name).read()
class _TarFile(tarfile.TarFile):
class _TarFile:
"""Wrapper around tarfile.TarFile to mimic zipfile.ZipFile's API."""
def __init__(self, filepath: Path, mode: Literal["r"]) -> None:
super().__init__(filepath, mode)
self.tar: tarfile.TarFile
self.filepath = filepath
self.mode = mode
def namelist(self) -> list[str]:
return self.getnames()
return self.tar.getnames()
def read(self, name: str) -> bytes:
return unwrap(self.extractfile(name)).read()
return unwrap(self.tar.extractfile(name)).read()
def __enter__(self) -> "_TarFile":
self.tar = tarfile.open(self.filepath, self.mode).__enter__()
return self
def __exit__(self, *args) -> None:
self.tar.__exit__(*args)
type _Archive_T = (
type[zipfile.ZipFile] | type[rarfile.RarFile] | type[_SevenZipFile] | type[_TarFile]
)
type _Archive = zipfile.ZipFile | rarfile.RarFile | _SevenZipFile | _TarFile
@@ -781,25 +790,17 @@ class ThumbRenderer(QObject):
)
im: Image.Image | None = None
try:
blend_image = blend_thumb(str(filepath))
bg = Image.new("RGB", blend_image.size, color=bg_color)
bg.paste(blend_image, mask=blend_image.getchannel(3))
im = bg
except (
AttributeError,
UnidentifiedImageError,
TypeError,
) as e:
if str(e) == "expected string or buffer":
if (blend_image := blend_thumb(str(filepath))) is not None:
bg = Image.new("RGB", blend_image.size, color=bg_color)
bg.paste(blend_image, mask=blend_image.getchannel(3))
im = bg
else:
logger.info(
f"[ThumbRenderer][BLENDER][INFO] {filepath.name} "
f"Doesn't have an embedded thumbnail. ({type(e).__name__})"
"Doesn't have an embedded thumbnail."
)
else:
logger.error("Couldn't render thumbnail", filepath=filepath, error=type(e).__name__)
except Exception as e:
logger.error("Couldn't render thumbnail", filepath=filepath, error=type(e).__name__)
return im
@staticmethod
@@ -907,15 +908,7 @@ class ThumbRenderer(QObject):
"""
im: Image.Image | None = None
try:
archiver: _Archive_T = zipfile.ZipFile
if ext == ".cb7":
archiver = _SevenZipFile
elif ext == ".cbr":
archiver = rarfile.RarFile
elif ext == ".cbt":
archiver = _TarFile
with archiver(filepath, "r") as archive:
with ThumbRenderer.__open_archive(filepath, ext) as archive:
if "ComicInfo.xml" in archive.namelist():
comic_info = ET.fromstring(archive.read("ComicInfo.xml"))
im = ThumbRenderer.__cover_from_comic_info(archive, comic_info, "FrontCover")
@@ -925,13 +918,7 @@ class ThumbRenderer(QObject):
)
if not im:
for file_name in archive.namelist():
if file_name.lower().endswith(
(".png", ".jpg", ".jpeg", ".gif", ".bmp", ".svg")
):
image_data = archive.read(file_name)
im = Image.open(BytesIO(image_data))
break
im = ThumbRenderer.__first_image(archive)
except Exception as e:
logger.error("Couldn't render thumbnail", filepath=filepath, error=type(e).__name__)
@@ -963,6 +950,63 @@ class ThumbRenderer(QObject):
return im
@staticmethod
def _archive_thumb(filepath: Path, ext: str) -> Image.Image | None:
"""Extract the first image found in the archive.
Args:
filepath (Path): The path to the archive.
ext (str): The file extension.
Returns:
Image: The first image found in the archive.
"""
im: Image.Image | None = None
try:
with ThumbRenderer.__open_archive(filepath, ext) as archive:
im = ThumbRenderer.__first_image(archive)
except Exception as e:
logger.error("Couldn't render thumbnail", filepath=filepath, error=type(e).__name__)
return im
@staticmethod
def __open_archive(filepath: Path, ext: str) -> _Archive:
"""Open an archive with its corresponding archiver.
Args:
filepath (Path): The path to the archive.
ext (str): The file extension.
Returns:
_Archive: The opened archive.
"""
archiver: type[_Archive] = zipfile.ZipFile
if ext in {".7z", ".cb7", ".s7z"}:
archiver = _SevenZipFile
elif ext in {".cbr", ".rar"}:
archiver = rarfile.RarFile
elif ext in {".cbt", ".tar", ".tgz"}:
archiver = _TarFile
return archiver(filepath, "r")
@staticmethod
def __first_image(archive: _Archive) -> Image.Image | None:
"""Find and extract the first renderable image in the archive.
Args:
archive (_Archive): The current archive.
Returns:
Image: The first renderable image in the archive.
"""
for file_name in archive.namelist():
if file_name.lower().endswith((".png", ".jpg", ".jpeg", ".gif", ".bmp", ".svg")):
image_data = archive.read(file_name)
return Image.open(BytesIO(image_data))
return None
def _font_short_thumb(self, filepath: Path, size: int) -> Image.Image | None:
"""Render a small font preview ("Aa") thumbnail from a font file.
@@ -1378,6 +1422,113 @@ class ThumbRenderer(QObject):
logger.error("Couldn't render thumbnail", filepath=filepath, error=type(e).__name__)
return im
@staticmethod
def _mdp_thumb(filepath: Path) -> Image.Image | None:
"""Extract the thumbnail from a .mdp file.
Args:
filepath (Path): The path of the .mdp file.
Returns:
Image: The embedded thumbnail.
"""
im: Image.Image | None = None
try:
with open(filepath, "rb") as f:
magic = struct.unpack("<7sx", f.read(8))[0]
if magic != b"mdipack":
return im
bin_header = struct.unpack("<LLL", f.read(12))
xml_header = ET.fromstring(f.read(bin_header[1]))
mdibin_count = len(xml_header.findall("./*Layer")) + 1
for _ in range(mdibin_count):
pac_header = struct.unpack("<3sxLLLL48s64s", f.read(132))
if not pac_header[6].startswith(b"thumb"):
f.seek(pac_header[3], os.SEEK_CUR)
continue
thumb_element = unwrap(xml_header.find("Thumb"))
dimensions = (
int(unwrap(thumb_element.get("width"))),
int(unwrap(thumb_element.get("height"))),
)
thumb_blob = f.read(pac_header[3])
if pac_header[2] == 1:
thumb_blob = zlib.decompress(thumb_blob, bufsize=pac_header[4])
im = Image.frombytes("RGBA", dimensions, thumb_blob, "raw", "BGRA")
break
except Exception as e:
logger.error("Couldn't render thumbnail", filepath=filepath, error=type(e).__name__)
return im
@staticmethod
def _pdn_thumb(filepath: Path) -> Image.Image | None:
"""Extract the base64-encoded thumbnail from a .pdn file header.
Args:
filepath (Path): The path of the .pdn file.
Returns:
Image: the decoded PNG thumbnail or None by default.
"""
im: Image.Image | None = None
with open(filepath, "rb") as f:
try:
# First 4 bytes are the magic number
if f.read(4) != b"PDN3":
return im
# Header length is a little-endian 24-bit int
header_size = struct.unpack("<i", f.read(3) + b"\x00")[0]
thumb_element = ET.fromstring(f.read(header_size)).find("./*thumb")
if thumb_element is None:
return im
encoded_png = thumb_element.get("png")
if encoded_png:
decoded_png = base64.b64decode(encoded_png)
im = Image.open(BytesIO(decoded_png))
if im.mode == "RGBA":
new_bg = Image.new("RGB", im.size, color="#1e1e1e")
new_bg.paste(im, mask=im.getchannel(3))
im = new_bg
except Exception as e:
logger.error("Couldn't render thumbnail", filepath=filepath, error=type(e).__name__)
return im
@staticmethod
def _clip_thumb(filepath: Path) -> Image.Image | None:
"""Extract the thumbnail from the SQLite database embedded in a .clip file.
Args:
filepath (Path): The path of the .clip file.
Returns:
Image: The embedded thumbnail, if extractable.
"""
im: Image.Image | None = None
try:
with open(filepath, "rb") as f:
blob = f.read()
sqlite_index = blob.find(b"SQLite format 3")
if sqlite_index == -1:
return im
with sqlite3.connect(":memory:") as conn:
conn.deserialize(blob[sqlite_index:])
thumbnail = conn.execute("SELECT ImageData FROM CanvasPreview").fetchone()
if thumbnail:
im = Image.open(BytesIO(thumbnail[0]))
conn.close()
except Exception as e:
logger.error("Couldn't render thumbnail", filepath=filepath, error=type(e).__name__)
return im
def render(
self,
timestamp: float,
@@ -1391,7 +1542,7 @@ class ThumbRenderer(QObject):
"""Render a thumbnail or preview image.
Args:
timestamp (float): The timestamp for which this this job was dispatched.
timestamp (float): The timestamp for which this job was dispatched.
filepath (str | Path): The path of the file to render a thumbnail for.
base_size (tuple[int,int]): The unmodified base size of the thumbnail.
pixel_ratio (float): The screen pixel ratio.
@@ -1504,7 +1655,7 @@ class ThumbRenderer(QObject):
save_to_file=file_name,
)
# If the normal renderer failed, fallback the the defaults
# If the normal renderer failed, fallback the defaults
# (with native non-cached sizing!)
if not image:
image = (
@@ -1601,7 +1752,7 @@ class ThumbRenderer(QObject):
"""Render a thumbnail or preview image.
Args:
timestamp (float): The timestamp for which this this job was dispatched.
timestamp (float): The timestamp for which this job was dispatched.
filepath (str | Path): The path of the file to render a thumbnail for.
base_size (tuple[int,int]): The unmodified base size of the thumbnail.
pixel_ratio (float): The screen pixel ratio.
@@ -1628,6 +1779,11 @@ class ThumbRenderer(QObject):
ext, MediaCategories.KRITA_TYPES, mime_fallback=True
):
image = self._krita_thumb(_filepath)
# Clip Studio Paint ============================================
elif MediaCategories.is_ext_in_category(
ext, MediaCategories.CLIP_STUDIO_PAINT_TYPES
):
image = self._clip_thumb(_filepath)
# VTF ==========================================================
elif MediaCategories.is_ext_in_category(
ext, MediaCategories.SOURCE_ENGINE_TYPES, mime_fallback=True
@@ -1704,6 +1860,15 @@ class ThumbRenderer(QObject):
ext, MediaCategories.PDF_TYPES, mime_fallback=True
):
image = self._pdf_thumb(_filepath, adj_size)
# Archives =====================================================
elif MediaCategories.is_ext_in_category(ext, MediaCategories.ARCHIVE_TYPES):
image = self._archive_thumb(_filepath, ext)
# MDIPACK ======================================================
elif MediaCategories.is_ext_in_category(ext, MediaCategories.MDIPACK_TYPES):
image = self._mdp_thumb(_filepath)
# Paint.NET ====================================================
elif MediaCategories.is_ext_in_category(ext, MediaCategories.PAINT_DOT_NET_TYPES):
image = self._pdn_thumb(_filepath)
# No Rendered Thumbnail ========================================
if not image:
raise NoRendererError

View File

@@ -32,7 +32,7 @@ from io import BufferedReader
from PIL import Image, ImageOps
def blend_extract_thumb(path):
def blend_extract_thumb(path) -> tuple[bytes | None, int, int]:
rend = b"REND"
test = b"TEST"
@@ -97,8 +97,10 @@ def blend_extract_thumb(path):
return image_buffer, x, y
def blend_thumb(file_in):
def blend_thumb(file_in) -> Image.Image | None:
buf, width, height = blend_extract_thumb(file_in)
if buf is None:
return None
image = Image.frombuffer(
"RGBA",
(width, height),

View File

@@ -1,9 +1,10 @@
import math
import time
from collections.abc import Iterable
from pathlib import Path
from typing import TYPE_CHECKING, Any, override
from PySide6.QtCore import QPoint, QRect, QSize
from PySide6.QtCore import QPoint, QRect, QSize, Signal
from PySide6.QtGui import QPixmap
from PySide6.QtWidgets import QLayout, QLayoutItem, QScrollArea
@@ -19,6 +20,9 @@ if TYPE_CHECKING:
class ThumbGridLayout(QLayout):
# Id of first visible entry
visible_changed = Signal(int)
def __init__(self, driver: "QtDriver", scroll_area: QScrollArea) -> None:
super().__init__(None)
self.driver: QtDriver = driver
@@ -26,10 +30,6 @@ class ThumbGridLayout(QLayout):
self._item_thumbs: list[ItemThumb] = []
self._items: list[QLayoutItem] = []
# Entry.id -> _entry_ids[index]
self._selected: dict[int, int] = {}
# _entry_ids[index]
self._last_selected: int | None = None
self._entry_ids: list[int] = []
self._entries: dict[int, Entry] = {}
@@ -47,12 +47,14 @@ class ThumbGridLayout(QLayout):
# _entry_ids[StartIndex:EndIndex]
self._last_page_update: tuple[int, int] | None = None
self._scroll_to: int | None = None
def scroll_to(self, entry_id: int):
self._scroll_to = entry_id
def set_entries(self, entry_ids: list[int]):
self.scroll_area.verticalScrollBar().setValue(0)
self._selected.clear()
self._last_selected = None
self._entry_ids = entry_ids
self._entries.clear()
self._tag_entries.clear()
@@ -83,90 +85,20 @@ class ThumbGridLayout(QLayout):
self._last_page_update = None
def select_all(self):
self._selected.clear()
for index, id in enumerate(self._entry_ids):
self._selected[id] = index
self._last_selected = index
def update_selected(self):
for item_thumb in self._item_thumbs:
value = item_thumb.item_id in self.driver._selected
item_thumb.thumb_button.set_selected(value)
for entry_id in self._entry_items:
self._set_selected(entry_id)
def select_inverse(self):
selected = {}
for index, id in enumerate(self._entry_ids):
if id not in self._selected:
selected[id] = index
self._last_selected = index
for id in self._selected:
if id not in selected:
self._set_selected(id, value=False)
for id in selected:
self._set_selected(id)
self._selected = selected
def select_entry(self, entry_id: int):
if entry_id in self._selected:
index = self._selected.pop(entry_id)
if index == self._last_selected:
self._last_selected = None
self._set_selected(entry_id, value=False)
else:
try:
index = self._entry_ids.index(entry_id)
except ValueError:
index = -1
self._selected[entry_id] = index
self._last_selected = index
self._set_selected(entry_id)
def select_to_entry(self, entry_id: int):
index = self._entry_ids.index(entry_id)
if len(self._selected) == 0:
self.select_entry(entry_id)
return
if self._last_selected is None:
self._last_selected = min(self._selected.values(), key=lambda i: abs(index - i))
start = self._last_selected
self._last_selected = index
if start > index:
index, start = start, index
else:
index += 1
for i in range(start, index):
entry_id = self._entry_ids[i]
self._selected[entry_id] = i
self._set_selected(entry_id)
def clear_selected(self):
for entry_id in self._entry_items:
self._set_selected(entry_id, value=False)
self._selected.clear()
self._last_selected = None
def _set_selected(self, entry_id: int, value: bool = True):
if entry_id not in self._entry_items:
return
index = self._entry_items[entry_id]
if index < len(self._item_thumbs):
self._item_thumbs[index].thumb_button.set_selected(value)
def add_tags(self, entry_ids: list[int], tag_ids: list[int]):
def add_tags(self, entry_ids: Iterable[int], tag_ids: Iterable[int]):
for tag_id in tag_ids:
self._tag_entries.setdefault(tag_id, set()).update(entry_ids)
def remove_tags(self, entry_ids: list[int], tag_ids: list[int]):
def remove_tags(self, entry_ids: Iterable[int], tag_ids: Iterable[int]):
for tag_id in tag_ids:
self._tag_entries.setdefault(tag_id, set()).difference_update(entry_ids)
def _fetch_entries(self, ids: list[int]):
def _fetch_entries(self, ids: Iterable[int]):
ids = [id for id in ids if id not in self._entries]
entries = self.driver.lib.get_entries(ids)
for entry in entries:
@@ -263,12 +195,24 @@ class ThumbGridLayout(QLayout):
per_row, width_offset, height_offset = self._size(rect.right())
view_height = self.parentWidget().parentWidget().height()
offset = self.scroll_area.verticalScrollBar().value()
if self._scroll_to is not None:
try:
index = self._entry_ids.index(self._scroll_to)
value = (index // per_row) * height_offset
self.scroll_area.verticalScrollBar().setMaximum(value)
self.scroll_area.verticalScrollBar().setSliderPosition(value)
offset = value
except ValueError:
pass
self._scroll_to = None
visible_rows = math.ceil((view_height + (offset % height_offset)) / height_offset)
offset = int(offset / height_offset)
start = offset * per_row
end = start + (visible_rows * per_row)
self.visible_changed.emit(self._entry_ids[start])
# Load closest off screen rows
start -= per_row * 3
end += per_row * 3
@@ -363,7 +307,7 @@ class ThumbGridLayout(QLayout):
entry_id = self._entry_ids[i]
item_index = self._entry_items[entry_id]
item_thumb = self._item_thumbs[item_index]
item_thumb.thumb_button.set_selected(entry_id in self._selected)
item_thumb.thumb_button.set_selected(entry_id in self.driver._selected)
item_thumb.assign_badge(BadgeType.ARCHIVED, entry_id in self._tag_entries[TAG_ARCHIVED])
item_thumb.assign_badge(BadgeType.FAVORITE, entry_id in self._tag_entries[TAG_FAVORITE])
@@ -383,7 +327,7 @@ class ThumbGridLayout(QLayout):
@override
def itemAt(self, index: int) -> QLayoutItem:
if index >= len(self._items):
return None
return None # pyright: ignore[reportReturnType]
return self._items[index]
@override

View File

@@ -17,6 +17,7 @@ import re
import sys
import time
from argparse import Namespace
from collections import OrderedDict
from pathlib import Path
from queue import Queue
from shutil import which
@@ -62,7 +63,7 @@ from tagstudio.core.library.refresh import RefreshTracker
from tagstudio.core.media_types import MediaCategories
from tagstudio.core.query_lang.util import ParsingError
from tagstudio.core.ts_core import TagStudioCore
from tagstudio.core.utils.str_formatting import strip_web_protocol
from tagstudio.core.utils.str_formatting import is_version_outdated, strip_web_protocol
from tagstudio.core.utils.types import unwrap
from tagstudio.qt.cache_manager import CacheManager
from tagstudio.qt.controllers.ffmpeg_missing_message_box import FfmpegMissingMessageBox
@@ -71,6 +72,7 @@ from tagstudio.qt.controllers.ffmpeg_missing_message_box import FfmpegMissingMes
from tagstudio.qt.controllers.fix_ignored_modal_controller import FixIgnoredEntriesModal
from tagstudio.qt.controllers.ignore_modal_controller import IgnoreModal
from tagstudio.qt.controllers.library_info_window_controller import LibraryInfoWindow
from tagstudio.qt.controllers.out_of_date_message_box import OutOfDateMessageBox
from tagstudio.qt.global_settings import (
DEFAULT_GLOBAL_SETTINGS_PATH,
GlobalSettings,
@@ -177,6 +179,9 @@ class QtDriver(DriverMixin, QObject):
SIGTERM = Signal()
favorite_updated = Signal(bool)
archived_updated = Signal(bool)
tag_manager_panel: PanelModal | None = None
color_manager_panel: TagColorManager | None = None
ignore_modal: PanelModal | None = None
@@ -202,7 +207,8 @@ class QtDriver(DriverMixin, QObject):
self.lib = Library()
self.rm: ResourceManager = ResourceManager()
self.args = args
self.frame_content: list[int] = [] # List of Entry IDs on the current page
self.frame_content: list[int] = [] # List of Entry IDs for the current query
self._selected: OrderedDict[int, None] = OrderedDict()
self.pages_count = 0
self.scrollbar_pos = 0
@@ -254,7 +260,13 @@ class QtDriver(DriverMixin, QObject):
@property
def selected(self) -> list[int]:
return list(self.main_window.thumb_layout._selected.keys())
return list(self._selected.keys())
@property
def last_selected(self) -> int | None:
if len(self._selected) == 0:
return None
return reversed(self._selected).__next__()
def __reset_navigation(self) -> None:
self.browsing_history = History(BrowsingState.show_all())
@@ -357,8 +369,9 @@ class QtDriver(DriverMixin, QObject):
self.tag_manager_panel = PanelModal(
widget=TagDatabasePanel(self, self.lib),
title=Translations["tag_manager.title"],
done_callback=lambda checked=False,
s=self.selected: self.main_window.preview_panel.set_selection(s, update_preview=False),
done_callback=lambda checked=False: (
self.main_window.preview_panel.set_selection(self.selected, update_preview=False)
),
has_save=False,
)
@@ -369,9 +382,9 @@ class QtDriver(DriverMixin, QObject):
self.add_tag_modal = TagSearchModal(self.lib, is_tag_chooser=True)
self.add_tag_modal.tsp.set_driver(self)
self.add_tag_modal.tsp.tag_chosen.connect(
lambda t, s=self.selected: (
self.add_tags_to_selected_callback(t),
self.main_window.preview_panel.set_selection(s),
lambda chosen_tag: (
self.add_tags_to_selected_callback([chosen_tag]),
self.main_window.preview_panel.set_selection(self.selected),
)
)
@@ -559,12 +572,22 @@ class QtDriver(DriverMixin, QObject):
self.main_window.search_field.textChanged.connect(self.update_completions_list)
self.main_window.preview_panel.field_containers_widget.archived_updated.connect(
def on_visible_changed(entry_id: int | None):
current = self.browsing_history.current
page_index = current.page_index
if entry_id is None:
current.page_positions.pop(page_index)
else:
current.page_positions[page_index] = entry_id
self.main_window.thumb_layout.visible_changed.connect(on_visible_changed)
self.archived_updated.connect(
lambda hidden: self.update_badges(
{BadgeType.ARCHIVED: hidden}, origin_id=0, add_tags=False
)
)
self.main_window.preview_panel.field_containers_widget.favorite_updated.connect(
self.favorite_updated.connect(
lambda hidden: self.update_badges(
{BadgeType.FAVORITE: hidden}, origin_id=0, add_tags=False
)
@@ -575,7 +598,7 @@ class QtDriver(DriverMixin, QObject):
)
self.init_library_window()
self.migration_modal: JsonMigrationModal = None
self.migration_modal: JsonMigrationModal | None = None
path_result = self.evaluate_path(str(self.args.open).lstrip().rstrip())
if path_result.success and path_result.library_path:
@@ -590,6 +613,9 @@ class QtDriver(DriverMixin, QObject):
if not which(FFMPEG_CMD) or not which(FFPROBE_CMD):
FfmpegMissingMessageBox().show()
if is_version_outdated(VERSION, TagStudioCore.get_most_recent_release_version()):
OutOfDateMessageBox().exec()
self.app.exec()
self.shutdown()
@@ -623,6 +649,7 @@ class QtDriver(DriverMixin, QObject):
BrowsingState.from_search_query(self.main_window.search_field.text())
.with_sorting_mode(self.main_window.sorting_mode)
.with_sorting_direction(self.main_window.sorting_direction)
.with_show_hidden_entries(self.main_window.show_hidden_entries)
)
except ParsingError as e:
self.main_window.status_bar.showMessage(
@@ -655,6 +682,12 @@ class QtDriver(DriverMixin, QObject):
lambda: self.thumb_size_callback(self.main_window.thumb_size_combobox.currentIndex())
)
# Exclude hidden entries checkbox
self.main_window.show_hidden_entries_checkbox.setChecked(False) # Default: No
self.main_window.show_hidden_entries_checkbox.stateChanged.connect(
self.show_hidden_entries_callback
)
self.main_window.back_button.clicked.connect(lambda: self.navigation_callback(-1))
self.main_window.forward_button.clicked.connect(lambda: self.navigation_callback(1))
@@ -743,6 +776,7 @@ class QtDriver(DriverMixin, QObject):
self.main_window.setWindowTitle(self.base_title)
self.frame_content.clear()
self._selected.clear()
if self.color_manager_panel:
self.color_manager_panel.reset()
@@ -800,6 +834,19 @@ class QtDriver(DriverMixin, QObject):
)
)
def emit_badge_signals(self, tag_ids: list[int] | set[int], emit_on_absent: bool = True):
"""Emit any connected signals for updating badge icons."""
logger.info("[emit_badge_signals] Emitting", tag_ids=tag_ids, emit_on_absent=emit_on_absent)
if TAG_ARCHIVED in tag_ids:
self.archived_updated.emit(True) # noqa: FBT003
elif emit_on_absent:
self.archived_updated.emit(False) # noqa: FBT003
if TAG_FAVORITE in tag_ids:
self.favorite_updated.emit(True) # noqa: FBT003
elif emit_on_absent:
self.favorite_updated.emit(False) # noqa: FBT003
def add_tag_action_callback(self):
panel = BuildTagPanel(self.lib)
self.modal = PanelModal(
@@ -824,7 +871,7 @@ class QtDriver(DriverMixin, QObject):
def select_all_action_callback(self):
"""Set the selection to all visible items."""
self.main_window.thumb_layout.select_all()
self.select_all()
self.set_clipboard_menu_viability()
self.set_select_actions_visibility()
@@ -833,7 +880,7 @@ class QtDriver(DriverMixin, QObject):
def select_inverse_action_callback(self):
"""Invert the selection of all visible items."""
self.main_window.thumb_layout.select_inverse()
self.select_inverse()
self.set_clipboard_menu_viability()
self.set_select_actions_visibility()
@@ -841,16 +888,17 @@ class QtDriver(DriverMixin, QObject):
self.main_window.preview_panel.set_selection(self.selected, update_preview=False)
def clear_select_action_callback(self):
self.main_window.thumb_layout.clear_selected()
self.clear_selected()
self.set_select_actions_visibility()
self.set_clipboard_menu_viability()
self.main_window.preview_panel.set_selection(self.selected)
def add_tags_to_selected_callback(self, tag_ids: list[int]):
selected = self.selected
selected: list[int] = self.selected
self.main_window.thumb_layout.add_tags(selected, tag_ids)
self.lib.add_tags_to_entries(selected, tag_ids)
self.emit_badge_signals(tag_ids)
def delete_files_callback(self, origin_path: str | Path, origin_id: int | None = None):
"""Callback to send on or more files to the system trash.
@@ -870,6 +918,7 @@ class QtDriver(DriverMixin, QObject):
deleted_count: int = 0
selected = self.selected
library_dir = unwrap(self.lib.library_dir)
if len(selected) <= 1 and origin_path:
origin_id_ = origin_id
@@ -878,7 +927,7 @@ class QtDriver(DriverMixin, QObject):
origin_id_ = selected[0]
pending.append((origin_id_, Path(origin_path)))
elif (len(selected) > 1) or (len(selected) <= 1):
else:
for item in selected:
entry = self.lib.get_entry(item)
filepath: Path = entry.path
@@ -895,39 +944,30 @@ class QtDriver(DriverMixin, QObject):
e_id, f = tup
if (origin_path == f) or (not origin_path):
self.main_window.preview_panel.preview_thumb.media_player.stop()
if delete_file(self.lib.library_dir / f):
self.main_window.status_bar.showMessage(
Translations.format(
"status.deleting_file", i=i, count=len(pending), path=f
)
)
self.main_window.status_bar.repaint()
self.lib.remove_entries([e_id])
msg = Translations.format(
"status.deleting_file", i=i, count=len(pending), path=f
)
self.main_window.status_bar.showMessage(msg)
self.main_window.status_bar.repaint()
self.lib.remove_entries([e_id])
if delete_file(library_dir / f):
deleted_count += 1
selected.clear()
self.clear_select_action_callback()
if deleted_count > 0:
self.update_browsing_state()
self.main_window.preview_panel.set_selection(selected)
self.clear_select_action_callback()
self.update_browsing_state()
if len(selected) <= 1 and deleted_count == 0:
self.main_window.status_bar.showMessage(Translations["status.deleted_none"])
elif len(selected) <= 1 and deleted_count == 1:
self.main_window.status_bar.showMessage(
Translations.format("status.deleted_file_plural", count=deleted_count)
)
elif len(selected) > 1 and deleted_count == 0:
self.main_window.status_bar.showMessage(Translations["status.deleted_none"])
elif len(selected) > 1 and deleted_count < len(selected):
self.main_window.status_bar.showMessage(
Translations.format("status.deleted_partial_warning", count=deleted_count)
)
elif len(selected) > 1 and deleted_count == len(selected):
self.main_window.status_bar.showMessage(
Translations.format("status.deleted_file_plural", count=deleted_count)
)
if deleted_count > 0 and deleted_count != len(pending):
msg = Translations.format("status.deleted_partial_warning", count=deleted_count)
else:
index = min(deleted_count, 2)
msg = (
Translations["status.deleted_none"],
Translations["status.deleted_file_singular"],
Translations.format("status.deleted_file_plural", count=deleted_count),
)[index]
self.main_window.status_bar.showMessage(msg)
self.main_window.status_bar.repaint()
def delete_file_confirmation(self, count: int, filename: Path | None = None) -> int:
@@ -1082,8 +1122,8 @@ class QtDriver(DriverMixin, QObject):
def run_macro(self, name: MacroID, entry_id: int):
"""Run a specific Macro on an Entry given a Macro name."""
entry: Entry = self.lib.get_entry(entry_id)
full_path = self.lib.library_dir / entry.path
entry: Entry = unwrap(self.lib.get_entry(entry_id))
full_path = unwrap(self.lib.library_dir) / entry.path
source = "" if entry.path.parent == Path(".") else entry.path.parts[0].lower()
logger.info(
@@ -1156,6 +1196,14 @@ class QtDriver(DriverMixin, QObject):
min(self.main_window.thumb_size // spacing_divisor, min_spacing)
)
def show_hidden_entries_callback(self):
logger.info("Show Hidden Entries Changed", exclude=self.main_window.show_hidden_entries)
self.update_browsing_state(
self.browsing_history.current.with_show_hidden_entries(
self.main_window.show_hidden_entries
)
)
def mouse_navigation(self, event: QMouseEvent):
# print(event.button())
if event.button() == Qt.MouseButton.ForwardButton:
@@ -1166,16 +1214,16 @@ class QtDriver(DriverMixin, QObject):
def page_move(self, value: int, absolute=False) -> None:
logger.info("page_move", value=value, absolute=absolute)
current = self.browsing_history.current
if not absolute:
value += self.browsing_history.current.page_index
self.browsing_history.push(
self.browsing_history.current.with_page_index(clamp(value, 0, self.pages_count - 1))
)
# TODO: Re-allow selecting entries across multiple pages at once.
# This works fine with additive selection but becomes a nightmare with bridging.
current.page_index += value
else:
current.page_index = value
current.page_index = clamp(current.page_index, 0, self.pages_count - 1)
# TODO: The back mouse button will no longer move to the previous page and
# instead goto the previous query passing a new state to update_browsing_state
# will get this behaviour back but would mess with persisting page scroll positions
self.update_browsing_state()
def navigation_callback(self, delta: int) -> None:
@@ -1236,12 +1284,12 @@ class QtDriver(DriverMixin, QObject):
"""
logger.info("[QtDriver] Selecting Items:", item_id=item_id, append=append, bridge=bridge)
if append:
self.main_window.thumb_layout.select_entry(item_id)
self.select_entry(item_id)
elif bridge:
self.main_window.thumb_layout.select_to_entry(item_id)
self.select_to_entry(item_id)
else:
self.main_window.thumb_layout.clear_selected()
self.main_window.thumb_layout.select_entry(item_id)
self.clear_selected()
self.select_entry(item_id)
self.set_clipboard_menu_viability()
self.set_select_actions_visibility()
@@ -1356,7 +1404,14 @@ class QtDriver(DriverMixin, QObject):
self.thumb_job_queue.all_tasks_done.notify_all()
self.thumb_job_queue.not_full.notify_all()
self.main_window.thumb_layout.set_entries(self.frame_content)
page_size = (
len(self.frame_content) if self.settings.infinite_scroll else self.settings.page_size
)
page = self.browsing_history.current.page_index
start = page * page_size
end = min(start + page_size, len(self.frame_content))
self.main_window.thumb_layout.set_entries(self.frame_content[start:end])
self.main_window.thumb_layout.update()
self.main_window.update()
@@ -1371,8 +1426,11 @@ class QtDriver(DriverMixin, QObject):
add_tags(bool): Flag determining if tags associated with the badges need to be added to
the items. Defaults to True.
"""
item_ids = self.selected if (not origin_id or origin_id in self.selected) else [origin_id]
pending_entries: dict[BadgeType, list[int]] = {}
entry_ids = (
set(self._selected.keys())
if (origin_id == 0 or origin_id in self._selected)
else {origin_id}
)
logger.info(
"[QtDriver][update_badges] Updating ItemThumb badges",
@@ -1381,12 +1439,9 @@ class QtDriver(DriverMixin, QObject):
add_tags=add_tags,
)
for it in self.main_window.thumb_layout._item_thumbs:
if it.item_id in item_ids:
if it.item_id in entry_ids:
for badge_type, value in badge_values.items():
if add_tags:
if not pending_entries.get(badge_type):
pending_entries[badge_type] = []
pending_entries[badge_type].append(it.item_id)
it.toggle_item_tag(it.item_id, value, BADGE_TAGS[badge_type])
it.assign_badge(badge_type, value)
@@ -1395,10 +1450,9 @@ class QtDriver(DriverMixin, QObject):
logger.info(
"[QtDriver][update_badges] Adding tags to updated entries",
pending_entries=pending_entries,
pending_entries=entry_ids,
)
for badge_type, value in badge_values.items():
entry_ids = pending_entries.get(badge_type, [])
tag_ids = [BADGE_TAGS[badge_type]]
if value:
@@ -1426,8 +1480,7 @@ class QtDriver(DriverMixin, QObject):
# search the library
start_time = time.time()
Ignore.get_patterns(self.lib.library_dir, include_global=True)
page_size = 0 if self.settings.infinite_scroll else self.settings.page_size
results = self.lib.search_library(self.browsing_history.current, page_size)
results = self.lib.search_library(self.browsing_history.current, page_size=0)
logger.info("items to render", count=len(results))
end_time = time.time()
@@ -1442,9 +1495,17 @@ class QtDriver(DriverMixin, QObject):
# update page content
self.frame_content = results.ids
page_index = self.browsing_history.current.page_index
if state is None:
entry_id = self.browsing_history.current.page_positions.get(page_index)
else:
entry_id = self.last_selected
if entry_id is not None:
self.main_window.thumb_layout.scroll_to(entry_id)
self.update_thumbs()
# update pagination
page_size = 0 if self.settings.infinite_scroll else self.settings.page_size
if page_size > 0:
self.pages_count = math.ceil(results.total_count / page_size)
else:
@@ -1660,3 +1721,45 @@ class QtDriver(DriverMixin, QObject):
event.accept()
else:
event.ignore()
def select_all(self):
self._selected = OrderedDict.fromkeys(self.frame_content)
self.main_window.thumb_layout.update_selected()
def select_inverse(self):
selected = OrderedDict()
for id in self.frame_content:
if id not in self._selected:
selected[id] = None
self._selected = selected
self.main_window.thumb_layout.update_selected()
def select_entry(self, entry_id: int):
if entry_id in self._selected:
self._selected.pop(entry_id)
else:
self._selected[entry_id] = None
self.main_window.thumb_layout.update_selected()
def select_to_entry(self, entry_id: int):
if len(self._selected) == 0:
self.select_entry(entry_id)
return
last_selected = reversed(self._selected).__next__()
start = self.frame_content.index(last_selected)
end = self.frame_content.index(entry_id)
if start > end:
end, start = start, end
else:
end += 1
for i in range(start, end):
entry_id = self.frame_content[i]
self._selected[entry_id] = None
self.main_window.thumb_layout.update_selected()
def clear_selected(self):
self._selected.clear()
self.main_window.thumb_layout.update_selected()

View File

@@ -11,13 +11,15 @@ import structlog
from PIL import Image, ImageQt
from PySide6 import QtCore
from PySide6.QtCore import QMetaObject, QSize, QStringListModel, Qt
from PySide6.QtGui import QAction, QPixmap
from PySide6.QtGui import QAction, QColor, QPixmap
from PySide6.QtWidgets import (
QCheckBox,
QComboBox,
QCompleter,
QFrame,
QGridLayout,
QHBoxLayout,
QLabel,
QLayout,
QLineEdit,
QMainWindow,
@@ -34,12 +36,14 @@ from PySide6.QtWidgets import (
)
from tagstudio.core.enums import ShowFilepathOption
from tagstudio.core.library.alchemy.enums import SortingModeEnum
from tagstudio.core.library.alchemy.enums import SortingModeEnum, TagColorEnum
from tagstudio.qt.controllers.preview_panel_controller import PreviewPanel
from tagstudio.qt.helpers.color_overlay import theme_fg_overlay
from tagstudio.qt.mixed.landing import LandingWidget
from tagstudio.qt.mixed.pagination import Pagination
from tagstudio.qt.mixed.tag_widget import get_border_color, get_highlight_color, get_text_color
from tagstudio.qt.mnemonics import assign_mnemonics
from tagstudio.qt.models.palette import ColorType, get_tag_color
from tagstudio.qt.platform_strings import trash_term
from tagstudio.qt.resource_manager import ResourceManager
from tagstudio.qt.thumb_grid_layout import ThumbGridLayout
@@ -578,7 +582,57 @@ class MainWindow(QMainWindow):
self.extra_input_layout = QHBoxLayout()
self.extra_input_layout.setObjectName("extra_input_layout")
## left side spacer
primary_color = QColor(get_tag_color(ColorType.PRIMARY, TagColorEnum.DEFAULT))
border_color = get_border_color(primary_color)
highlight_color = get_highlight_color(primary_color)
text_color: QColor = get_text_color(primary_color, highlight_color)
## Show hidden entries checkbox
self.show_hidden_entries_widget = QWidget()
self.show_hidden_entries_layout = QHBoxLayout(self.show_hidden_entries_widget)
self.show_hidden_entries_layout.setStretch(1, 1)
self.show_hidden_entries_layout.setContentsMargins(0, 0, 0, 0)
self.show_hidden_entries_layout.setSpacing(6)
self.show_hidden_entries_layout.setAlignment(Qt.AlignmentFlag.AlignLeft)
self.show_hidden_entries_title = QLabel(Translations["home.show_hidden_entries"])
self.show_hidden_entries_checkbox = QCheckBox()
self.show_hidden_entries_checkbox.setFixedSize(22, 22)
self.show_hidden_entries_checkbox.setStyleSheet(
f"QCheckBox{{"
f"background: rgba{primary_color.toTuple()};"
f"color: rgba{text_color.toTuple()};"
f"border-color: rgba{border_color.toTuple()};"
f"border-radius: 6px;"
f"border-style:solid;"
f"border-width: 2px;"
f"}}"
f"QCheckBox::indicator{{"
f"width: 10px;"
f"height: 10px;"
f"border-radius: 2px;"
f"margin: 4px;"
f"}}"
f"QCheckBox::indicator:checked{{"
f"background: rgba{text_color.toTuple()};"
f"}}"
f"QCheckBox::hover{{"
f"border-color: rgba{highlight_color.toTuple()};"
f"}}"
f"QCheckBox::focus{{"
f"border-color: rgba{highlight_color.toTuple()};"
f"outline:none;"
f"}}"
)
self.show_hidden_entries_checkbox.setChecked(False) # Default: No
self.show_hidden_entries_layout.addWidget(self.show_hidden_entries_checkbox)
self.show_hidden_entries_layout.addWidget(self.show_hidden_entries_title)
self.extra_input_layout.addWidget(self.show_hidden_entries_widget)
## Spacer
self.extra_input_layout.addItem(
QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum)
)
@@ -712,3 +766,8 @@ class MainWindow(QMainWindow):
@property
def thumb_size(self) -> int:
return self.thumb_size_combobox.currentData()
@property
def show_hidden_entries(self) -> bool:
"""Whether to show entries tagged with hidden tags."""
return self.show_hidden_entries_checkbox.isChecked()

View File

@@ -0,0 +1,111 @@
{
"about.documentation": "Dokumentasyon",
"about.license": "Lisensiya",
"about.module.found": "Makit-i",
"about.title": "Mahitungod sa TagStudio",
"color.color_border": "Gamita ang Ikaduha nga Kolor alang sa Utlanan",
"color.import_pack": "Pag-angkat og Putos sa Kolor",
"color.name": "Ngalan",
"color.namespace.delete.title": "Panas-i ang Bansag sa Kolor",
"color.new": "Bag-o nga Kolor",
"color.placeholder": "Kolor",
"color.primary": "Nag-una nga Kolor",
"color.primary_required": "Nag-una nga Kolor (Kinahanglan)",
"color.secondary": "Ikaduha nga Kolor",
"color.title.no_color": "Walay Kolor",
"color_manager.title": "Pag-atiman ang Mga Kolor sa Timailhan",
"edit.color_manager": "Pag-atiman sa Mga Kolor sa Timailhan",
"entries.generic.refresh_alt": "Pag&lab-as",
"entries.tags": "Mga Timailhan",
"field.edit": "Usba ang Uma",
"file.dimensions": "Sukod",
"file.duration": "Gilay-on",
"generic.add": "Pagdugang",
"generic.apply": "Ibutang",
"generic.apply_alt": "I&butang",
"generic.cancel": "Paphai",
"generic.cancel_alt": "&Paphai",
"generic.close": "Tak-opi",
"generic.continue": "Padayon",
"generic.copy": "Hulari",
"generic.cut": "Hagbasi",
"generic.delete": "Panas-i",
"generic.delete_alt": "Pa&nas-i",
"generic.done": "Human na",
"generic.done_alt": "&Human na",
"generic.edit": "Usba",
"generic.edit_alt": "&Usba",
"generic.filename": "Ngalan sa limbas",
"generic.missing": "Nawala",
"generic.navigation.back": "Pagbalik",
"generic.navigation.next": "Pagpadayon",
"generic.no": "Dili",
"generic.none": "Wala",
"generic.overwrite": "Puliha",
"generic.overwrite_alt": "Pu&liha",
"generic.paste": "Pagbun-ag",
"generic.remove": "Tangtangi",
"generic.remove_alt": "&Tangtangi",
"generic.rename": "Ilisdi ang ngalan",
"generic.rename_alt": "Ilisdi ang &ngalan",
"generic.reset": "Pag-usab",
"generic.save": "Pagtipig",
"generic.skip": "Lab-aki",
"generic.skip_alt": "Lab-a&ki",
"generic.yes": "Oo",
"home.search": "Pagpangita",
"json_migration.heading.aliases": "Mga dagmay:",
"json_migration.heading.colors": "Mga kolor:",
"json_migration.heading.differ": "Sumpaki",
"json_migration.heading.match": "Mibagay",
"json_migration.heading.names": "Mga ngalan:",
"json_migration.heading.paths": "Mga dalan:",
"json_migration.heading.shorthands": "Mga laktod",
"library.name": "Librarya",
"library_info.cleanup": "Paghinlo",
"library_info.stats": "Estatistika",
"library_info.stats.colors": "Mga Kolor sa Timailhan",
"library_info.stats.entries": "Mga sulod:",
"library_info.stats.fields": "Mga uma:",
"library_info.stats.macros": "Mga makro:",
"library_info.stats.namespaces": "Mga bansag:",
"library_info.stats.tags": "Mga timailhan:",
"library_object.name": "Ngalan",
"media_player.autoplay": "Gawing modula",
"media_player.loop": "Paglakong",
"menu.edit": "Usba",
"menu.edit.new_tag": "Bag-o nga &Timailhan",
"menu.file": "Li&mbas",
"menu.help": "&Tabang",
"menu.help.about": "Mahitungod sa",
"menu.macros": "&Mga makro:",
"menu.select": "Pilia",
"menu.settings": "Mga Himutangan...",
"menu.tools": "Mga &himan",
"menu.view": "Paglanta&w",
"menu.window": "Tamboanan",
"namespace.create.title": "Paghimo og Bansag",
"namespace.new.button": "Bag-o nga Bansag",
"namespace.new.prompt": "Paghimo og Bag-o nga Bansag aron Makasugod og Dugang og",
"preview.ignored": "Linguglingogon",
"settings.dateformat.english": "Inggles",
"settings.dateformat.international": "Internasyonal",
"settings.dateformat.system": "Sistema",
"settings.language": "Pinulongan",
"settings.splash.option.random": "Sinalagma",
"settings.tag_click_action.open_edit": "Usba ang Timailhan",
"settings.theme.dark": "Dulom",
"settings.theme.label": "Hilisgotan:",
"settings.theme.light": "Hayag",
"settings.theme.system": "Sistema",
"settings.title": "Mga Himutangan",
"sorting.direction.ascending": "Nagasaka",
"sorting.direction.descending": "Naganaog",
"sorting.mode.random": "Sinalagma",
"status.library_version_expected": "Dinahom:",
"status.library_version_found": "Makit-i",
"status.results": "Mga agi",
"tag.choose_color": "Pamili og Kolor sa Timailhan",
"tag.color": "Kolor",
"tag.edit": "Usba ang Timailhan"
}

View File

@@ -140,6 +140,7 @@
"home.search_entries": "Nach Einträgen suchen",
"home.search_library": "Bibliothek durchsuchen",
"home.search_tags": "Tags suchen",
"home.show_hidden_entries": "Zeige versteckte Einträge an",
"home.thumbnail_size": "Größe des Vorschaubildes",
"home.thumbnail_size.extra_large": "Extra Große Vorschau",
"home.thumbnail_size.large": "Große Vorschau",
@@ -180,27 +181,27 @@
"library.name": "Bibliothek",
"library.refresh.scanning.plural": "Durchsuche Verzeichnisse nach neuen Dateien...\n{searched_count} Dateien durchsucht, {found_count} neue Dateien gefunden",
"library.refresh.scanning.singular": "Durchsuche Verzeichnisse nach neuen Dateien...\n{searched_count} Datei durchsucht, {found_count} neue Datei gefunden",
"library.refresh.scanning_preparing": "Überprüfe Verzeichnisse auf neue Dateien...\nBereite vor...",
"library.refresh.title": "Verzeichnisse werden aktualisiert",
"library.scan_library.title": "Bibliothek wird scannen",
"library_info.cleanup": "Aufräumen",
"library_info.cleanup.backups": "Bibliotheks-Backups:",
"library_info.cleanup.dupe_files": "Doppelte Dateien:",
"library_info.cleanup.ignored": "Ausgeblendete Einträge:",
"library_info.cleanup.legacy_json": "Übriggebliebene Legacybibliotheken:",
"library_info.cleanup.unlinked": "Nicht verlinkte Einträge:",
"library_info.cleanup": "Aufräumen",
"library_info.stats": "Statistiken",
"library_info.stats.colors": "Tagfarben:",
"library_info.stats.entries": "Einträge:",
"library_info.stats.fields": "Felder:",
"library_info.stats.macros": "Macros:",
"library_info.stats.namespaces": "Namespaces:",
"library_info.stats.tags": "Tags:",
"library_info.stats": "Statistiken",
"library_info.title": "Bibliothek '{library_dir}'",
"library_info.version": "Formatsversion der Bibliothek: {version}",
"library_object.name_required": "Name (erforderlich)",
"library_object.name": "Name",
"library_object.name_required": "Name (erforderlich)",
"library_object.slug": "ID Schlüssel",
"library.refresh.scanning_preparing": "Überprüfe Verzeichnisse auf neue Dateien...\nBereite vor...",
"library.refresh.title": "Verzeichnisse werden aktualisiert",
"library.scan_library.title": "Bibliothek wird scannen",
"library_object.slug_required": "ID Schlüssel (erforderlich)",
"macros.running.dialog.new_entries": "Führe konfigurierte Makros für {count}/{total} neue Dateieinträge aus...",
"macros.running.dialog.title": "Ausführen von Makros bei neuen Einträgen",
@@ -266,6 +267,7 @@
"settings.generate_thumbs": "Generiere Thumbnails",
"settings.global": "Globale Einstellungen",
"settings.hourformat.label": "24-Stunden Format",
"settings.infinite_scroll": "Unendliches Scrollen",
"settings.language": "Sprache",
"settings.library": "Bibliothekseinstellungen",
"settings.open_library_on_start": "Bibliothek zum Start öffnen",
@@ -273,7 +275,13 @@
"settings.restart_required": "Bitte TagStudio neustarten, um Änderungen anzuwenden.",
"settings.show_filenames_in_grid": "Dateinamen in Raster darstellen",
"settings.show_recent_libraries": "Zuletzt verwendete Bibliotheken anzeigen",
"settings.tag_click_action.add_to_search": "Tag zu Suche hinzufügen",
"settings.splash.label": "Start Bildschrim",
"settings.splash.option.classic": "Klassisch (9.0)",
"settings.splash.option.default": "Standard",
"settings.splash.option.goo_gears": "Open Source (9.4)",
"settings.splash.option.ninety_five": "'95 (9.5)",
"settings.splash.option.random": "Zufall",
"settings.tag_click_action.add_to_search": "Tag zur Suche hinzufügen",
"settings.tag_click_action.label": "Tag Klick Aktion",
"settings.tag_click_action.open_edit": "Tag bearbeiten",
"settings.tag_click_action.set_search": "Nach Tag suchen",
@@ -281,6 +289,7 @@
"settings.theme.label": "Design:",
"settings.theme.light": "Hell",
"settings.theme.system": "System",
"settings.thumb_cache_size.label": "Thumbnail Cache Größe",
"settings.title": "Einstellungen",
"settings.zeropadding.label": "Platzsparendes Datum",
"sorting.direction.ascending": "Aufsteigend",
@@ -317,6 +326,7 @@
"tag.disambiguation.tooltip": "Diesen Tag zur Unterscheidung verwenden",
"tag.edit": "Tag bearbeiten",
"tag.is_category": "Ist Kategorie",
"tag.is_hidden": "Ist versteckt",
"tag.name": "Name",
"tag.new": "Neuer Tag",
"tag.parent_tags": "Übergeordnete Tags",

View File

@@ -0,0 +1,164 @@
{
"about.config_path": "Διαδρομή Config",
"about.description": "ο TagStudio είναι μια εφαρμογή οργάνωσης φωτογραφιών και αρχείων με ένα υποκείμενο σύστημα βασισμένο σε ετικέτες που εστιάζει στην παροχή ελευθερίας και ευελιξίας στον χρήστη. Χωρίς ιδιόκτητα προγράμματα ή μορφές, χωρίς πληθώρα αρχείων και χωρίς πλήρη ανατροπή της δομής του συστήματος αρχείων σας.",
"about.documentation": "Τεκμηρίωση",
"about.license": "Άδεια χρήσης",
"about.module.found": "Βρέθηκε",
"about.title": "Πληροφορίες για το TagStudio",
"about.website": "Ιστοσελίδα",
"app.git": "Git Commit",
"app.pre_release": "Pre-Release",
"app.title": "{base_title} Βιβλιοθήκη \"{library_dir} «««",
"color.color_border": "Χρησιμοποιήστε το δευτερεύον χρώμα για τα σύνορα",
"color.confirm_delete": "Είστε βέβαιοι ότι θέλετε να διαγράψετε το χρώμα \"{color_name}\";",
"color.delete": "Διαγράψτε Tag",
"color.import_pack": "Εισαγωγή Πακέτου Χρωμάτων",
"color.name": "Όνομα",
"color.namespace.delete.prompt": "Είστε βέβαιοι ότι θέλετε να διαγράψετε αυτόν τον χώρο ονόματος χρωμάτων; Αυτό θα διαγράψει όλα τα χρώματα στο χώρο του ονόματος μαζί του!",
"color.namespace.delete.title": "Διαγράψτε Color Namespace",
"color.new": "Νέο χρώμα",
"color.placeholder": "Χρώμα",
"color.primary": "Βασικό Χρώμα",
"color.primary_required": "Βασικό Χρώμα (Υποχρεωτικό)",
"color.secondary": "Δευτερεύον Χρώμα",
"color.title.no_color": "Χωρίς Χρώμα",
"color_manager.title": "Διαχείριση χρωμάτων Tag",
"dependency.missing.title": "{dependency} Δεν υπάρχει",
"drop_import.description": "Τα παρακάτω αρχεία ταιριάζουν μονοπάτια αρχείων που υπάρχουν ήδη στη βιβλιοθήκη",
"drop_import.duplicates_choice.plural": "Τα παρακάτω αρχεία {count} ταιριάζουν μονοπάτια αρχείων που υπάρχουν ήδη στη βιβλιοθήκη.",
"drop_import.duplicates_choice.singular": "Το παρακάτω αρχείο ταιριάζει με ένα μονοπάτι αρχείου που υπάρχει ήδη στη βιβλιοθήκη.",
"drop_import.progress.label.initial": "Εισαγωγή νέων αρχείων...",
"drop_import.progress.label.plural": "Εισαγωγή νέων αρχείων...\n{count} Αρχεία Εισήχθησαν.{suffix}",
"drop_import.progress.label.singular": "Εισαγωγή νέων αρχείων...\n1 Αρχείο εισήχθη.{suffix}",
"drop_import.progress.window_title": "Εισαγωγή αρχείων",
"drop_import.title": "Αντικρουόμενα αρχεία(s)",
"edit.color_manager": "Διαχείριση χρωμάτων Tag",
"edit.copy_fields": "Αντιγραφή πεδίων",
"edit.paste_fields": "Επικόλληση πεδίων",
"edit.tag_manager": "Διαχείριση Tags",
"entries.duplicate.merge": "Συγχώνευση διπλότυπων εγγραφών",
"entries.duplicate.merge.label": "Συγχώνευση διπλότυπων εγγραφών...",
"entries.duplicate.refresh": "Ανανέωση διπλότυπων εγγραφών",
"entries.duplicates.description": "Ως διπλότυπες εγγραφές ορίζονται οι πολλαπλές εγγραφές που υποδεικνύουν το ίδιο αρχείο στον δίσκο. Η συγχώνευση αυτών θα συνδυάσει τις ετικέτες και τα μεταδεδομένα από όλα τα διπλότυπα σε μια ενιαία, ενοποιημένη εγγραφή. Αυτές δεν πρέπει να συγχέονται με τα \"διπλότυπα αρχεία\", τα οποία είναι αντίγραφα των ίδιων των αρχείων σας εκτός του TagStudio.",
"entries.generic.refresh_alt": "&Ανανέωση",
"entries.generic.remove.removing": "Αφαίρεση εγγραφών",
"entries.generic.remove.removing_count": "Αφαίρεση {count} εγγραφών...",
"entries.ignored.description": "Οι εγγραφές αρχείων θεωρούνται \"αγνοημένες\" εάν προστέθηκαν στη βιβλιοθήκη πριν ενημερωθούν οι κανόνες εξαίρεσης του χρήστη (μέσω του αρχείου '.ts_ignore') για να τα αποκλείσουν. Τα αγνοημένα αρχεία διατηρούνται στη βιβλιοθήκη από προεπιλογή, προκειμένου να αποφευχθεί η τυχαία απώλεια δεδομένων κατά την ενημέρωση των κανόνων εξαίρεσης.",
"entries.ignored.ignored_count": "Αγνοημένες εγγραφές: {count}",
"entries.ignored.remove": "Αφαίρεση αγνοημένων εγγραφών",
"entries.ignored.remove_alt": "Α&φαίρεση αγνοημένων εγγραφών",
"entries.ignored.scanning": "Σάρωση βιβλιοθήκης για αγνοημένες εγγραφές...",
"entries.ignored.title": "Διόρθωση αγνοημένων εγγραφών",
"entries.mirror": "&Αντικατοπτρισμός",
"entries.mirror.confirmation": "Είστε βέβαιοι ότι θέλετε να αντικατοπτρίσετε τις ακόλουθες {count} εγγραφές;",
"entries.mirror.label": "Αντικατοπτρισμός {idx}/{total} εγγραφών...",
"entries.mirror.title": "Αντικατοπτρισμός εγγραφών",
"entries.mirror.window_title": "Αντικατοπτρισμός εγγραφών",
"entries.remove.plural.confirm": "Είστε βέβαιοι ότι θέλετε να αφαιρέσετε αυτές τις <b>{count}</b> εγγραφές από τη βιβλιοθήκη σας; Δεν θα διαγραφεί κανένα αρχείο από τον δίσκο.",
"entries.remove.singular.confirm": "Είστε βέβαιοι ότι θέλετε να αφαιρέσετε αυτή την εγγραφή από τη βιβλιοθήκη σας; Δεν θα διαγραφεί κανένα αρχείο από τον δίσκο.",
"entries.running.dialog.new_entries": "Προσθήκη {total} νέων εγγραφών αρχείων...",
"entries.running.dialog.title": "Προσθήκη νέων εγγραφών αρχείων",
"entries.tags": "Tags",
"entries.unlinked.description": "Κάθε εγγραφή της βιβλιοθήκης είναι συνδεδεμένη με ένα αρχείο σε έναν από τους καταλόγους σας. Εάν ένα αρχείο που είναι συνδεδεμένο με μια εγγραφή μετακινηθεί ή διαγραφεί εκτός του TagStudio, τότε θεωρείται αποσυνδεδεμένο.<br><br>Οι αποσυνδεδεμένες εγγραφές μπορούν να επανασυνδεθούν αυτόματα μέσω αναζήτησης στους καταλόγους σας ή να διαγραφούν, εάν το επιθυμείτε.",
"entries.unlinked.relink.attempting": "Προσπάθεια επανασύνδεσης {index}/{unlinked_count} εγγραφών, {fixed_count} επανασυνδέθηκαν επιτυχώς",
"entries.unlinked.relink.manual": "&Χειροκίνητη επανασύνδεση",
"entries.unlinked.relink.title": "Επανασύνδεση εγγραφών",
"entries.unlinked.remove": "Αφαίρεση αποσυνδεδεμένων εγγραφών",
"entries.unlinked.remove_alt": "Α&φαίρεση αποσυνδεδεμένων εγγραφών",
"entries.unlinked.scanning": "Σάρωση βιβλιοθήκης για αποσυνδεδεμένες εγγραφές...",
"entries.unlinked.search_and_relink": "&Αναζήτηση && Επανασύνδεση",
"entries.unlinked.title": "Διόρθωση αποσυνδεδεμένων εγγραφών",
"entries.unlinked.unlinked_count": "Αποσυνδεδεμένες εγγραφές: {count}",
"ffmpeg.missing.description": "Δεν βρέθηκαν τα FFmpeg ή/και FFprobe. Το FFmpeg είναι απαραίτητο για την αναπαραγωγή πολυμέσων και τη δημιουργία μικρογραφιών.",
"ffmpeg.missing.status": "{ffmpeg}: {ffmpeg_status}<br>{ffprobe}: {ffprobe_status}",
"field.copy": "Αντιγραφή πεδίου",
"field.edit": "Επεξεργασία πεδίου",
"field.paste": "Επικόλληση πεδίου",
"file.date_added": "Ημερομηνία προσθήκης",
"file.date_created": "Ημερομηνία δημιουργίας",
"file.date_modified": "Ημερομηνία τροποποίησης",
"file.dimensions": "Διαστάσεις",
"file.duplicates.description": "Το TagStudio υποστηρίζει την εισαγωγή αποτελεσμάτων από το DupeGuru για τη διαχείριση διπλότυπων αρχείων.",
"file.duplicates.dupeguru.advice": "Μετά τον κατοπτρισμό, μπορείτε ελεύθερα να χρησιμοποιήσετε το DupeGuru για να διαγράψετε τα ανεπιθύμητα αρχεία. Στη συνέχεια, χρησιμοποιήστε τη λειτουργία «Διόρθωση αποσυνδεδεμένων εγγραφών» στο μενού «Εργαλεία» του TagStudio, προκειμένου να διαγράψετε τις αποσυνδεδεμένες εγγραφές.",
"file.duplicates.dupeguru.file_extension": "Αρχεία DupeGuru (*.dupeguru)",
"file.duplicates.dupeguru.load_file": "&Φόρτωση αρχείου DupeGuru",
"file.duplicates.dupeguru.no_file": "Δεν επιλέχθηκε αρχείο DupeGuru",
"file.duplicates.dupeguru.open_file": "Άνοιγμα αρχείου αποτελεσμάτων DupeGuru",
"file.duplicates.fix": "Διόρθωση διπλότυπων αρχείων",
"file.duplicates.matches": "Αντιστοιχίες διπλότυπων αρχείων: {count}",
"file.duplicates.matches_uninitialized": "Αντιστοιχίες διπλότυπων αρχείων: Μ/Δ",
"file.duplicates.mirror.description": "Κατοπτρισμός των δεδομένων της εγγραφής σε κάθε σύνολο αντιστοιχισμένων διπλοτύπων, συνδυάζοντας όλα τα δεδομένα χωρίς την αφαίρεση ή την επανάληψη πεδίων. Αυτή η λειτουργία δεν θα διαγράψει αρχεία ή δεδομένα.",
"file.duplicates.mirror_entries": "&Κατοπτρισμός εγγραφών",
"file.duration": "Διάρκεια",
"file.not_found": "Το αρχείο δεν βρέθηκε",
"file.open_file": "Άνοιγμα αρχείου",
"file.open_file_with": "Άνοιγμα αρχείου με",
"file.open_location.generic": "Εμφάνιση αρχείου στην Εξερεύνηση αρχείων",
"file.open_location.mac": "Εμφάνιση στο Finder",
"file.open_location.windows": "Εμφάνιση στην Εξερεύνηση αρχείων",
"file.path": "Διαδρομή αρχείου",
"folders_to_tags.close_all": "Κλείσιμο όλων",
"folders_to_tags.converting": "Μετατροπή φακέλων σε Tags",
"folders_to_tags.description": "Δημιουργεί ετικέτες με βάση τη δομή των φακέλων σας και τις εφαρμόζει στις εγγραφές σας. \nΗ παρακάτω δομή εμφανίζει όλες τις ετικέτες που πρόκειται να δημιουργηθούν, καθώς και σε ποιες εγγραφές θα εφαρμοστούν.",
"folders_to_tags.open_all": "Άνοιγμα όλων",
"folders_to_tags.title": "Δημιουργία ετικετών από φακέλους",
"generic.add": "Προσθήκη",
"generic.apply": "Εφαρμογή",
"generic.apply_alt": "&Εφαρμογή",
"generic.cancel": "Ακύρωση",
"generic.cancel_alt": "&Ακύρωση",
"generic.close": "Κλείσιμο",
"generic.continue": "Συνέχεια",
"generic.copy": "Αντιγραφή",
"generic.cut": "Αποκοπή",
"generic.delete": "Διαγραφή",
"generic.delete_alt": "&Διαγραφή",
"generic.done": "Τέλος",
"generic.done_alt": "&Τέλος",
"generic.edit": "Επεξεργασία",
"generic.edit_alt": "&Επεξεργασία",
"generic.filename": "Όνομα αρχείου",
"generic.missing": "Λείπει",
"generic.navigation.back": "Πίσω",
"generic.navigation.next": "Επόμενο",
"generic.no": "Όχι",
"generic.none": "Κανένα",
"generic.overwrite": "Αντικατάσταση",
"generic.overwrite_alt": "&Αντικατάσταση",
"generic.paste": "Επικόλληση",
"generic.recent_libraries": "Πρόσφατες βιβλιοθήκες",
"generic.remove": "Αφαίρεση",
"generic.remove_alt": "&Αφαίρεση",
"generic.rename": "Μετονομασία",
"generic.rename_alt": "&Μετονομασία",
"generic.reset": "Επαναφορά",
"generic.save": "Αποθήκευση",
"generic.skip": "Παράλειψη",
"generic.skip_alt": "&Παράλειψη",
"generic.yes": "Ναι",
"home.search": "Αναζήτηση",
"home.search_entries": "Αναζήτηση καταχωρίσεων",
"home.search_library": "Αναζήτηση στη βιβλιοθήκη",
"home.search_tags": "Αναζήτηση ετικετών",
"home.show_hidden_entries": "Εμφάνιση κρυφών καταχωρίσεων",
"home.thumbnail_size": "Μέγεθος μικρογραφιών",
"home.thumbnail_size.extra_large": "Πολύ μεγάλες μικρογραφίες",
"home.thumbnail_size.large": "Μεγάλες μικρογραφίες",
"home.thumbnail_size.medium": "Μεσαίες μικρογραφίες",
"home.thumbnail_size.mini": "Μίνι μικρογραφίες",
"home.thumbnail_size.small": "Μικρές μικρογραφίες",
"ignore.open_file": "Εμφάνιση του αρχείου \"{ts_ignore}\" στον δίσκο",
"json_migration.checking_for_parity": "Έλεγχος ισοτιμίας...",
"json_migration.creating_database_tables": "Δημιουργία πινάκων βάσης δεδομένων SQL...",
"json_migration.description": "<br>Εκκινήστε και προεπισκοπήστε τα αποτελέσματα της διαδικασίας μεταφοράς της βιβλιοθήκης. Η μετατραπείσα βιβλιοθήκη <i>δεν</i> θα χρησιμοποιηθεί εκτός αν κάνετε κλικ στο \"Ολοκλήρωση μεταφοράς\". <br><br>Τα δεδομένα της βιβλιοθήκης θα πρέπει είτε να έχουν τιμές που συμπίπτουν είτε να φέρουν την ετικέτα \"Αντιστοιχίστηκε\". Οι τιμές που δεν συμπίπτουν θα εμφανίζονται με κόκκινο χρώμα και θα φέρουν το σύμβολο \"<b>(!)</b>\" δίπλα τους.<br><center><i>Αυτή η διαδικασία μπορεί να διαρκέσει αρκετά λεπτά για μεγάλες βιβλιοθήκες.</i></center>",
"json_migration.discrepancies_found": "Βρέθηκαν ασυμφωνίες στη βιβλιοθήκη",
"json_migration.discrepancies_found.description": "Βρέθηκαν ασυμφωνίες μεταξύ της αρχικής και της μετατραπείσας μορφής της βιβλιοθήκης. Παρακαλούμε ελέγξτε και επιλέξτε αν θα συνεχίσετε με τη μεταφορά ή αν θα την ακυρώσετε.",
"json_migration.finish_migration": "Ολοκλήρωση μεταφοράς",
"json_migration.heading.aliases": "Ψευδώνυμα:",
"json_migration.heading.colors": "Χρώματα:",
"json_migration.heading.differ": "Ασυμφωνία",
"json_migration.heading.extension_list_type": "Τύπος λίστας επεκτάσεων:",
"json_migration.heading.file_extension_list": "Λίστα επεκτάσεων αρχείων:",
"json_migration.heading.match": "Αντιστοιχίστηκε",
"json_migration.heading.names": "Όνομα:"
}

View File

@@ -146,6 +146,7 @@
"home.thumbnail_size.mini": "Mini Thumbnails",
"home.thumbnail_size.small": "Small Thumbnails",
"home.thumbnail_size": "Thumbnail Size",
"home.show_hidden_entries": "Show Hidden Entries",
"ignore.open_file": "Show \"{ts_ignore}\" File on Disk",
"json_migration.checking_for_parity": "Checking for Parity...",
"json_migration.creating_database_tables": "Creating SQL Database Tables...",
@@ -326,6 +327,7 @@
"tag.disambiguation.tooltip": "Use this tag for disambiguation",
"tag.edit": "Edit Tag",
"tag.is_category": "Is Category",
"tag.is_hidden": "Is Hidden",
"tag.name": "Name",
"tag.new": "New Tag",
"tag.parent_tags.add": "Add Parent Tag(s)",
@@ -348,6 +350,9 @@
"trash.dialog.title.singular": "Delete File",
"trash.name.generic": "Trash",
"trash.name.windows": "Recycle Bin",
"version_modal.title": "TagStudio Update Available",
"version_modal.description": "A new version of TagStudio is available! You can download the latest release from <a href=\"https://github.com/TagStudioDev/TagStudio/releases/latest\">Github</a>.",
"version_modal.status": "Installed Version: {installed_version}<br>Latest Release Version: {latest_release_version}",
"view.size.0": "Mini",
"view.size.1": "Small",
"view.size.2": "Medium",

View File

@@ -1,5 +1,5 @@
{
"about.config_path": "Ruta de configuración",
"about.config_path": "Ruta de Configuración",
"about.description": "TagStudio es una aplicación para organizar fotografías y archivos que utiliza un sistema de etiquetas subyacentes centrado en dar libertad y flexibilidad al usuario. Sin programas ni formatos propios, ni un mar de archivos y sin trastornar completamente la estructura de tu sistema de archivos.",
"about.documentation": "Documentación",
"about.license": "Licencia",
@@ -54,7 +54,7 @@
"entries.mirror.label": "Reflejando {idx}/{total} Entradas...",
"entries.mirror.title": "Reflejando entradas",
"entries.mirror.window_title": "Reflejar entradas",
"entries.remove.plural.confirm": "¿Está seguro de que desea eliminar las siguientes {count} entradas?",
"entries.remove.plural.confirm": "¿Está seguro de que desea eliminar estas <b>{count}</b> entradas de su librería? No se eliminará ningún archivo del disco.",
"entries.remove.singular.confirm": "¿Está seguro que quiere eliminar ésta entrada de su librería? Ningún archivo en el disco será eliminado.",
"entries.running.dialog.new_entries": "Añadiendo {total} nuevas entradas de archivos...",
"entries.running.dialog.title": "Añadiendo las nuevas entradas de archivos",
@@ -140,6 +140,7 @@
"home.search_entries": "Buscar entradas",
"home.search_library": "Buscar el biblioteca",
"home.search_tags": "Buscar etiquetas",
"home.show_hidden_entries": "Mostrar entradas ocultas",
"home.thumbnail_size": "Tamaño de la vista previa",
"home.thumbnail_size.extra_large": "Imágenes extra grandes",
"home.thumbnail_size.large": "Imágenes grandes",
@@ -206,8 +207,8 @@
"macros.running.dialog.title": "Ejecución de macros en entradas nuevas",
"media_player.autoplay": "Reproducción automática",
"media_player.loop": "Bucle",
"menu.delete_selected_files_ambiguous": "Mover archivo(s) a la {trash_term}",
"menu.delete_selected_files_plural": "Mover archivos a la {trash_term}",
"menu.delete_selected_files_ambiguous": "Mover Archivo(s) a la {trash_term}",
"menu.delete_selected_files_plural": "Mover Archivos a la {trash_term}",
"menu.delete_selected_files_singular": "Mover archivo a la {trash_term}",
"menu.edit": "Editar",
"menu.edit.ignore_files": "Ignorar archivos y carpetas",
@@ -217,13 +218,13 @@
"menu.file.clear_recent_libraries": "Borrar recientes",
"menu.file.close_library": "&Cerrar biblioteca",
"menu.file.missing_library.message": "La ubicación de la biblioteca \"{library}\" no se ha podido encontrar.",
"menu.file.missing_library.title": "Biblioteca desaparecida",
"menu.file.missing_library.title": "Librería No Encontrada",
"menu.file.new_library": "Nueva biblioteca",
"menu.file.open_backups_folder": "Abrir Carpeta de Respaldos",
"menu.file.open_create_library": "&Abrir/Crear biblioteca",
"menu.file.open_library": "Abrir biblioteca",
"menu.file.open_recent_library": "Abrir reciente",
"menu.file.refresh_directories": "&Actualizar directorios",
"menu.file.refresh_directories": "Actualizar directorios",
"menu.file.save_backup": "&Guardar copia de seguridad de la biblioteca",
"menu.file.save_library": "Guardar biblioteca",
"menu.help": "&Ayuda",
@@ -266,6 +267,7 @@
"settings.generate_thumbs": "Generación de Miniaturas",
"settings.global": "Ajustes globales",
"settings.hourformat.label": "Formato 24-horas",
"settings.infinite_scroll": "Desplazamiento infinito",
"settings.language": "Idioma",
"settings.library": "Ajustes de la biblioteca",
"settings.open_library_on_start": "Abrir biblioteca al iniciar",
@@ -287,7 +289,7 @@
"settings.theme.label": "Tema:",
"settings.theme.light": "Claro",
"settings.theme.system": "Sistema",
"settings.thumb_cache_size.label": "Tamaño cache de miniaturas",
"settings.thumb_cache_size.label": "Tamaño de la caché de miniaturas",
"settings.title": "Ajustes",
"settings.zeropadding.label": "Rellenar ceros en fechas",
"sorting.direction.ascending": "Ascendiente",
@@ -324,6 +326,7 @@
"tag.disambiguation.tooltip": "Utiliza esta etiqueta para desambiguar",
"tag.edit": "Editar etiqueta",
"tag.is_category": "Es categoría",
"tag.is_hidden": "Está oculto",
"tag.name": "Nombre",
"tag.new": "Nueva etiqueta",
"tag.parent_tags": "Etiquetas principales",
@@ -347,6 +350,9 @@
"trash.dialog.title.singular": "Eliminar archivo",
"trash.name.generic": "Basura",
"trash.name.windows": "Papelera de reciclaje",
"version_modal.description": "¡Ya está disponible una nueva versión de TagStudio! Puedes descargar la última versión desde <a href=\"https://github.com/TagStudioDev/TagStudio/releases/latest\">Github</a>.",
"version_modal.status": "Versión Instalada: {installed_version}<br>Última Versión Publicada: {latest_release_version}",
"version_modal.title": "Actualización de TagStudio disponible",
"view.size.0": "Mini",
"view.size.1": "Pequeño",
"view.size.2": "Medio",

View File

@@ -140,6 +140,7 @@
"home.search_entries": "Recherche",
"home.search_library": "Rechercher dans la Bibliothèque",
"home.search_tags": "Recherche de Tags",
"home.show_hidden_entries": "Afficher les entrées cachées",
"home.thumbnail_size": "Taille de la miniature",
"home.thumbnail_size.extra_large": "Très Grandes Miniatures",
"home.thumbnail_size.large": "Grandes Miniatures",
@@ -325,6 +326,7 @@
"tag.disambiguation.tooltip": "Utilisez ce Tag pour définir une ambiguïté",
"tag.edit": "Modifier un Tag",
"tag.is_category": "Est une Catégorie",
"tag.is_hidden": "Est cachée",
"tag.name": "Nom",
"tag.new": "Nouveau Tag",
"tag.parent_tags": "Tags Parent",
@@ -348,6 +350,9 @@
"trash.dialog.title.singular": "Supprimer le Fichier",
"trash.name.generic": "Poubelle",
"trash.name.windows": "Corbeille",
"version_modal.description": "Une nouvelle version de TagStudio est disponible! Vous pouvez télécharger la version la plus récente sur <a href=\"https://github.com/TagStudioDev/TagStudio/releases/latest\">Github</a>.",
"version_modal.status": "Version installer : {installed_version}<br>Dernière version disponible : {latest_release_version}",
"version_modal.title": "Mise à jour de TagStudio disponible",
"view.size.0": "Mini",
"view.size.1": "Petit",
"view.size.2": "Moyen",

View File

@@ -33,7 +33,7 @@
"drop_import.progress.window_title": "Fájlok importálása",
"drop_import.title": "Fájlütközés",
"edit.color_manager": "&Színek kezelése",
"edit.copy_fields": "Mezők &másolása",
"edit.copy_fields": "Mezők másolása",
"edit.paste_fields": "Mezők &beillesztése",
"edit.tag_manager": "Címkék kezelése",
"entries.duplicate.merge": "Egyező elemek &egyesítése",
@@ -140,6 +140,7 @@
"home.search_entries": "Tételek keresése",
"home.search_library": "Keresés a könyvtárban",
"home.search_tags": "Címkék keresése",
"home.show_hidden_entries": "Rejtett elemel megjelenítése",
"home.thumbnail_size": "Miniatűrök mérete",
"home.thumbnail_size.extra_large": "Extra nagy miniatűrök",
"home.thumbnail_size.large": "Nagy miniatűrök",
@@ -211,7 +212,7 @@
"menu.delete_selected_files_singular": "Fájl {trash_term} &helyezése",
"menu.edit": "S&zerkesztés",
"menu.edit.ignore_files": "Fájlok és mappák figyelmen kívül hagyása",
"menu.edit.manage_tags": "&Címkék ke&zelése",
"menu.edit.manage_tags": "Címkék kezelése",
"menu.edit.new_tag": "Ú&j címke",
"menu.file": "&Fájl",
"menu.file.clear_recent_libraries": "&Legutóbbi könyvtárak listájának törlése",
@@ -325,6 +326,7 @@
"tag.disambiguation.tooltip": "Címke használata egyértelműsítéshez",
"tag.edit": "Címke szerkesztése",
"tag.is_category": "Kategória",
"tag.is_hidden": "Rejtett",
"tag.name": "Név",
"tag.new": "Új címke",
"tag.parent_tags": "Szülőcímkék",
@@ -348,6 +350,9 @@
"trash.dialog.title.singular": "Fájl törlése",
"trash.name.generic": "kukába",
"trash.name.windows": "lomtárba",
"version_modal.description": "Elérhetővé vált egy TagStudio-frissítés. A legújabb verziót a <a href=\"https://github.com/TagStudioDev/TagStudio/releases/latest\">Githubról</a> töltheti le.",
"version_modal.status": "Telepített verzió: {installed_version}<br>Legújabb stabil verzió: {latest_release_version}",
"version_modal.title": "TagStudio-frissítés",
"view.size.0": "Apró",
"view.size.1": "Kicsi",
"view.size.2": "Közepes",

View File

@@ -0,0 +1,42 @@
{
"about.config_path": "Stillingarslóð",
"about.description": "TagStudio er forrit sem skipuleggur og heldur utan um myndir og skrár í gegnum merkja kerfi, sem einblínir á frelsi og sveigjanleika fyrir notandann. Enginn séreigna-hugbúnaður eða skráarsnið, engar aukaskrár, og engin enduruppröðun á skráarkerfinu þínu í heild.",
"about.documentation": "Skjölun",
"about.license": "Leyfi",
"about.module.found": "Fannst",
"about.title": "Um TagStudio",
"about.website": "Vefsíða",
"app.git": "Git Commit",
"app.pre_release": "Forútgáfa",
"app.title": "{base_title} - Safn '{library_dir}'",
"color.color_border": "Nota aukalit fyrir jaðar",
"color.confirm_delete": "Ertu viss um að þú viljir eyða litnum \"{color_name}\"?",
"color.delete": "Eyða Merki",
"color.import_pack": "Flytja inn Litapakka",
"color.name": "Nafn",
"color.namespace.delete.prompt": "Ertu viss um að þú viljir eyða þessu litanafnrými? Þetta mun eyða ÖLLUM litum sem deila því nafnrými!",
"color.namespace.delete.title": "Eyða Litanafnrými",
"color.new": "Nýr Litur",
"color.placeholder": "Litur",
"color.primary": "Aðal Litur",
"color.primary_required": "Aðal Litur (Nauðsynlegt)",
"color.secondary": "Aukalitur",
"color.title.no_color": "Enginn Litur",
"color_manager.title": "Stjórna litum Merkja",
"dependency.missing.title": "{dependency} Fannst Ekki",
"drop_import.description": "Eftirfarandi skrár passa við skráarslóðir sem eru nú þegar í safninu",
"drop_import.duplicates_choice.plural": "Eftirfarandi {count} skrár passa við skráarslóðir sem eru þegar til í safninu.",
"drop_import.duplicates_choice.singular": "Eftirfarandi skrá passar við skráarslóð sem er þegar til í safninu.",
"drop_import.progress.label.initial": "Flyt inn nýjar skrár...",
"drop_import.progress.label.plural": "Flyt inn nýjar skrár...\n{count} Skrár fluttar inn.{suffix}",
"drop_import.progress.label.singular": "Flyt inn nýjar skrár...\n1 Skrá flutt inn.{suffix}",
"drop_import.progress.window_title": "Flytja inn Skrár",
"drop_import.title": "Áreksur Skráa(r)",
"edit.color_manager": "Stjórna litum Merkja",
"edit.copy_fields": "Afrita Reiti",
"edit.paste_fields": "Líma Reiti",
"edit.tag_manager": "Stjórna Merkjum",
"entries.duplicate.merge": "Sameina tvífaldar skráningar",
"entries.duplicate.merge.label": "Sameina tvífaldar skráningar...",
"entries.duplicate.refresh": "Endurhlaða tvíföldum skráningum"
}

View File

@@ -87,6 +87,7 @@
"file.duplicates.fix": "Corregi File Duplicati",
"file.duplicates.matches": "File Duplicati Corrispondenti: {count}",
"file.duplicates.matches_uninitialized": "File Duplicati Corrispondenti: N/A",
"file.duplicates.mirror.description": "Replica i dati delle Voci su ogni insieme di corrispondenze duplicate, combinando tutti i dati senza rimuovere o duplicare i campi. Questa operazione non eliminerà alcun file o dato.",
"file.duplicates.mirror_entries": "&Replica Voci",
"file.duration": "Lunghezza",
"file.not_found": "File Non Trovato",
@@ -139,6 +140,7 @@
"home.search_entries": "Cerca Voci",
"home.search_library": "Cerca Biblioteca",
"home.search_tags": "Cerca Etichette",
"home.show_hidden_entries": "Mostra Voci Nascoste",
"home.thumbnail_size": "Dimensione Miniature",
"home.thumbnail_size.extra_large": "Miniature Molto Grandi",
"home.thumbnail_size.large": "Miniature Grandi",
@@ -159,9 +161,10 @@
"json_migration.heading.file_extension_list": "Elenco Estensioni dei File:",
"json_migration.heading.match": "Abbinato",
"json_migration.heading.names": "Nomi:",
"json_migration.heading.parent_tags": "Etichette Padre:",
"json_migration.heading.parent_tags": "Etichette Genitore:",
"json_migration.heading.paths": "Percorsi:",
"json_migration.heading.shorthands": "Abbreviazioni:",
"json_migration.info.description": "File di salvataggio della biblioteca creati con TagStudio versione <b>9.4 e inferiore</b> dovranno essere migrati al nuovo formato <b>v9.5+</b>.<br><h2>Cosa devi sapere:</h2><ul><li>Il tuo file di salvataggio esistente <b><i>NON</i></b> verrà eliminato</li><li>I tuoi file personali <b><i>NON</i></b> verranno eliminati, spostati, o modificati</li><li>Il nuovo formato di salvataggio v9.5+ non può essere aperto con versioni precedenti di TagStudio</li></ul><h3>Cosa è cambiato:</h3><ul><li>I \"Campi di Etichette\" sono stati rimpiazzati da \"Categorie di Etichette\". Invece di aggiungere prima etichette ai campi, le etichette vengono ora aggiunte direttamente alle voci dei file. Vengono poi organizzate automaticamente in categorie in base alle etichette genitore contrassegnate con la nuva proprietà \"È Categoria\" nel menu di modifica delle etichette. Qualsiasi etichetta può essere contrassegnata come categoria, e le etichette figlie si ordineranno da sole sotto le etichette genitore contrassegnate come categoria. Le etichette \"Preferito\" e \"Archiviato\" ereditano ora dalla nuova etichetta \"Etichette Meta\" che è contrassegnata come una categoria per impostazione predefinita.</li><li>I colori delle etichette sono stati modificati e ampliati. Alcuni colori sono stati rinominati o consolidati, però tutti i colori delle etichette continueranno ad essere convertibili in corrispondenze esatte o simili nella versione v9.5.</li></ul><ul>",
"json_migration.migrating_files_entries": "Migrando {entries:,d} Voci di File...",
"json_migration.migration_complete": "Migrazione Completata!",
"json_migration.migration_complete_with_discrepancies": "Migrazione Completata, Discrepanze Rilevate",
@@ -185,6 +188,7 @@
"library_info.cleanup.backups": "Backup della Biblioteca:",
"library_info.cleanup.dupe_files": "File Duplicati:",
"library_info.cleanup.ignored": "Voci Ignorate:",
"library_info.cleanup.legacy_json": "Residui Biblioteca Legacy:",
"library_info.cleanup.unlinked": "Voci non Collegate:",
"library_info.stats": "Statistiche",
"library_info.stats.colors": "Colori Etichette:",
@@ -220,7 +224,7 @@
"menu.file.open_create_library": "&Apri/Crea Biblioteca",
"menu.file.open_library": "Apri Biblioteca",
"menu.file.open_recent_library": "Apri Recenti",
"menu.file.refresh_directories": "&Aggiorna Cartelle",
"menu.file.refresh_directories": "Aggiorna Cartelle",
"menu.file.save_backup": "&Salva Backup della Biblioteca",
"menu.file.save_library": "Salva Biblioteca",
"menu.help": "&Aiuto",
@@ -287,6 +291,7 @@
"settings.theme.system": "Sistema",
"settings.thumb_cache_size.label": "Dimensione Cache delle Miniature",
"settings.title": "Impostazioni",
"settings.zeropadding.label": "Riempimento con zeri delle date",
"sorting.direction.ascending": "Ascendente",
"sorting.direction.descending": "Discendente",
"sorting.mode.random": "Casuale",
@@ -321,10 +326,12 @@
"tag.disambiguation.tooltip": "Usa questa etichetta per la disambiguazione",
"tag.edit": "Modifica Etichetta",
"tag.is_category": "È Categoria",
"tag.is_hidden": "È Nascosta",
"tag.name": "Nome",
"tag.new": "Nuova Etichetta",
"tag.parent_tags.add": "Aggiungi Etichette Padre",
"tag.parent_tags.description": "Questa etichetta può essere considerata come sostitutiva di qualunque di queste Etichette Padre nelle richerche.",
"tag.parent_tags": "Etichette Genitore",
"tag.parent_tags.add": "Aggiungi Etichette Genitore",
"tag.parent_tags.description": "Questa etichetta può essere considerata come sostitutiva di qualunque di queste Etichette Genitore nelle richerche.",
"tag.remove": "Rimuovi Etichetta",
"tag.search_for_tag": "Cerca Etichetta",
"tag.shorthand": "Abbreviazione",
@@ -343,6 +350,9 @@
"trash.dialog.title.singular": "Elimina File",
"trash.name.generic": "Spazzatura",
"trash.name.windows": "Cestino",
"version_modal.description": "Una nuova versione di TagStudio è disponibile! Puoi scaricare l'ultima versione da <a href=\"https://github.com/TagStudioDev/TagStudio/releases/latest\">Github</a>.",
"version_modal.status": "Versione Installata: {installed_version}<br>Ultima Versione Rilasciata: {latest_release_version}",
"version_modal.title": "Aggiornamento di TagStudio Disponibile",
"view.size.0": "Mini",
"view.size.1": "Piccolo",
"view.size.2": "Medio",

View File

@@ -140,6 +140,7 @@
"home.search_entries": "エントリを検索",
"home.search_library": "ライブラリを検索",
"home.search_tags": "タグを検索",
"home.show_hidden_entries": "非表示のエントリを表示",
"home.thumbnail_size": "サムネイルのサイズ",
"home.thumbnail_size.extra_large": "特大サムネイル",
"home.thumbnail_size.large": "大サムネイル",
@@ -325,6 +326,7 @@
"tag.disambiguation.tooltip": "このタグは曖昧さを解消するために使用されます",
"tag.edit": "タグの編集",
"tag.is_category": "カテゴリとして扱う",
"tag.is_hidden": "非表示",
"tag.name": "名前",
"tag.new": "新しいタグ",
"tag.parent_tags": "親タグ",
@@ -348,6 +350,9 @@
"trash.dialog.title.singular": "ファイルの削除",
"trash.name.generic": "ごみ箱",
"trash.name.windows": "ごみ箱",
"version_modal.description": "TagStudio の新しいバージョンが利用できます。<a href=\"https://github.com/TagStudioDev/TagStudio/releases/latest\">GitHub</a> から最新リリースをダウンロードできます。",
"version_modal.status": "インストール済みのバージョン: {installed_version}<br>最新リリースのバージョン: {latest_release_version}",
"version_modal.title": "TagStudio の更新があります",
"view.size.0": "極小",
"view.size.1": "小",
"view.size.2": "中",

View File

@@ -195,7 +195,7 @@
"menu.edit.new_tag": "Ny &Etikett",
"menu.file": "Fil",
"menu.file.clear_recent_libraries": "Fjern Nylige",
"menu.file.close_library": "&Lukk Bibliotek",
"menu.file.close_library": "Lukk Bibliotek",
"menu.file.missing_library.message": "Plasseringen til biblioteket \"{library}\" kan ikke finnes.",
"menu.file.missing_library.title": "Manglende Bibliotek",
"menu.file.new_library": "Nytt Bibliotek",
@@ -212,7 +212,7 @@
"menu.select": "Velg",
"menu.settings": "Innstillinger...",
"menu.tools": "Verktøy",
"menu.tools.fix_duplicate_files": "Fiks Duplikate &Filer",
"menu.tools.fix_duplicate_files": "Fiks Duplikate Filer",
"menu.tools.fix_unlinked_entries": "Fiks &Frakoblede Oppføringer",
"menu.view": "&Se",
"menu.window": "Vindu",

View File

@@ -7,8 +7,10 @@
"about.website": "Website",
"app.git": "Git Commit",
"app.pre_release": "Pre-Release",
"color.color_border": "Gebruik Secundaire Kleur voor Rand",
"color.confirm_delete": "Weet u zeker dat u de kleur \"{color_name}\" wilt verwijderen?",
"color.delete": "Verwijder Label",
"color.import_pack": "Importeer Kleurenpakket",
"color.name": "Naam",
"color.new": "Nieuwe Kleur",
"color.placeholder": "Kleur",
@@ -22,10 +24,13 @@
"drop_import.progress.label.plural": "Nieuwe bestanden importeren…\n{count} bestanden geïmporteerd.{suffix}",
"drop_import.progress.label.singular": "Nieuwe bestanden importeren…\n1 bestand geïmporteerd.{suffix}",
"drop_import.progress.window_title": "Importeer bestanden",
"drop_import.title": "Conflicterende bestand(en)",
"edit.color_manager": "Beheer Label Kleuren",
"edit.copy_fields": "Velden Kopiëren",
"edit.paste_fields": "Velden Plakken",
"edit.tag_manager": "Beheer Labels",
"entries.duplicate.merge": "Dubbele Vermeldingen Samenvoegen",
"entries.duplicate.merge.label": "Dubbele vermeldingen samenvoegen...",
"entries.tags": "Labels",
"field.copy": "Veld Kopiëren",
"field.edit": "Veld Aanpassen",

View File

@@ -181,14 +181,14 @@
"menu.edit.new_tag": "Nowy &Tag",
"menu.file": "&Plik",
"menu.file.clear_recent_libraries": "Wyczyść ostatnie",
"menu.file.close_library": "&Zamknij bibliotekę",
"menu.file.close_library": "Zamknij bibliotekę",
"menu.file.missing_library.message": "Lokalizacja biblioteki \"{library}\" nie została odnaleziona.",
"menu.file.missing_library.title": "Brakująca biblioteka",
"menu.file.new_library": "Nowa biblioteka",
"menu.file.open_create_library": "&Otwórz/Stwórz bibliotekę",
"menu.file.open_library": "Otwórz bibliotekę",
"menu.file.open_recent_library": "Otwórz ostatnie",
"menu.file.refresh_directories": "&Odśwież katalogi",
"menu.file.refresh_directories": "Odśwież katalogi",
"menu.file.save_backup": "&Zapisz kopię zapasową biblioteki",
"menu.file.save_library": "Zapisz bibliotekę",
"menu.help": "&Pomoc",

View File

@@ -181,7 +181,7 @@
"menu.file.open_create_library": "&Abrir/Criar Biblioteca",
"menu.file.open_library": "Abrir Biblioteca",
"menu.file.open_recent_library": "Abrir Recente",
"menu.file.refresh_directories": "&Atualizar Pastas",
"menu.file.refresh_directories": "Atualizar Pastas",
"menu.file.save_backup": "&Gravar Backup da Biblioteca",
"menu.file.save_library": "Gravar Biblioteca",
"menu.help": "&Ajuda",

View File

@@ -3,7 +3,9 @@
"about.description": "TagStudio é uma aplicação de organização de fotos e arquivos com um sistema de tags que tem como foco conceder liberdade e flexibilidade ao usuário. Sem programas ou formatos proprietários, sem imensidão de arquivos Sidecar, e sem total transtorno de sua estrutura de sistema de arquivos.",
"about.documentation": "Documentação",
"about.license": "Licença",
"about.module.found": "Encontrado",
"about.title": "Sobre",
"about.website": "Site",
"app.git": "Confirmação do Git",
"app.pre_release": "Pré-Lançamento",
"app.title": "{base_title} - Biblioteca '{library_dir}'",
@@ -21,6 +23,7 @@
"color.secondary": "Cor Secundária",
"color.title.no_color": "Nenhuma Cor",
"color_manager.title": "Gerenciar Cores das Tags",
"dependency.missing.title": "{dependency} Não Encontrada",
"drop_import.description": "Os seguintes arquivos correspondem a caminhos de arquivos que já existem na biblioteca",
"drop_import.duplicates_choice.plural": "Os seguintes arquivos {count} correspondem a caminhos de arquivo que já existem na biblioteca.",
"drop_import.duplicates_choice.singular": "O arquivo a seguir corresponde a um caminho de arquivo que já existe na biblioteca.",
@@ -37,13 +40,22 @@
"entries.duplicate.merge.label": "Mesclando Itens Duplicados...",
"entries.duplicate.refresh": "Atualizar Registros Duplicados",
"entries.duplicates.description": "Registros duplicados são definidas como multiplos registros que levam ao mesmo arquivo no disco. Mesclar esses registros irá combinar as tags e metadados de todas as duplicatas em um único registro consolidado. Não confundir com \"Arquivos Duplicados\" que são duplicatas dos seus arquivos fora do TagStudio.",
"entries.generic.refresh_alt": "&Atualizar",
"entries.generic.remove.removing": "Deletando Registros",
"entries.generic.remove.removing_count": "Removendo {count} Registros...",
"entries.ignored.description": "Os arquivos são considerados \"ignorados\" se foram adicionados à biblioteca antes que as regras de ignorar do usuário (através do arquivo '.ts_ignore') fossem atualizadas para excluí-los. Os arquivos ignorados são mantidos na biblioteca por padrão para evitar perda acidental de dados ao atualizar as regras de ignorar.",
"entries.ignored.ignored_count": "Registros Ignorados: {count}",
"entries.ignored.remove": "Remover Registros Ignorados",
"entries.ignored.remove_alt": "Remover Entradas Ignoradas",
"entries.ignored.scanning": "Escaneando a Biblioteca por Registros Ignorados",
"entries.ignored.title": "Consertar Registros Ignorados",
"entries.mirror": "&Espelho",
"entries.mirror.confirmation": "Tem certeza que você deseja espelhar os seguintes {count} registros?",
"entries.mirror.label": "Espelhando {idx}/{total} Registros...",
"entries.mirror.title": "Espelhando Registros",
"entries.mirror.window_title": "Espelhar Registros",
"entries.remove.plural.confirm": "Tem certeza que deseja deletar os seguintes {count} Registros ?",
"entries.remove.singular.confirm": "Você tem certeza que deseja remover esse registro da sua bilbioteca ? Nenhum arquivo no disco será excluído.",
"entries.running.dialog.new_entries": "Adicionando {total} Novos Registros de Arquivos...",
"entries.running.dialog.title": "Adicionando Novos Registros de Arquivos",
"entries.tags": "Tags",
@@ -51,10 +63,14 @@
"entries.unlinked.relink.attempting": "Tentando referenciar {index}/{unlinked_count} Registros, {fixed_count} Referenciados com Sucesso",
"entries.unlinked.relink.manual": "&Referência Manual",
"entries.unlinked.relink.title": "Referenciando Registros",
"entries.unlinked.remove": "Remover Registros Não Vinculados",
"entries.unlinked.remove_alt": "Remover Entradas sem Conexões",
"entries.unlinked.scanning": "Escaneando bibliotecada em busca de registros não referenciados...",
"entries.unlinked.search_and_relink": "&Buscar && Referenciar",
"entries.unlinked.title": "Corrigir Registros Não Referenciados",
"entries.unlinked.unlinked_count": "Registros Não Referenciados: {count}",
"ffmpeg.missing.description": "FFmpeg e/ou FFprobe não foram encontrados. FFmpeg é necessário para reproduzir multimídias e miniaturas.",
"ffmpeg.missing.status": "{ffmpeg}: {ffmpeg_status}<br>{ffprobe}: {ffprobe_status}",
"field.copy": "Copiar Campo",
"field.edit": "Editar Campo",
"field.paste": "Colar Campo",
@@ -80,6 +96,7 @@
"file.open_location.generic": "Abrir no explorador de arquivos",
"file.open_location.mac": "Mostrar no Finder",
"file.open_location.windows": "Mostrar no Explorador de Arquivos",
"file.path": "Caminho do Arquivo",
"folders_to_tags.close_all": "Fechar Tudo",
"folders_to_tags.converting": "Convertendo pastas para Tags",
"folders_to_tags.description": "Cria tags com base na sua estrutura de arquivos e aplica elas nos seus registros\nA estrutura abaixo mostra todas as tags que serão criadas e em quais itens elas serão aplicadas.",
@@ -101,43 +118,58 @@
"generic.edit": "Editar",
"generic.edit_alt": "&Editar",
"generic.filename": "Nome do Arquivo",
"generic.missing": "Vazio",
"generic.navigation.back": "Anterior",
"generic.navigation.next": "Próximo",
"generic.no": "Não",
"generic.none": "Nenhum",
"generic.overwrite": "Sobrescrever",
"generic.overwrite_alt": "&Sobrescrever",
"generic.paste": "Colar",
"generic.recent_libraries": "Bibliotecas recentes",
"generic.remove": "Remover",
"generic.remove_alt": "&Remover",
"generic.rename": "Renomear",
"generic.rename_alt": "&Renomear",
"generic.reset": "Redefinir",
"generic.save": "Salvar",
"generic.skip": "Pular",
"generic.skip_alt": "&Pular",
"generic.yes": "Sim",
"home.search": "Buscar",
"home.search_entries": "Buscar Registros",
"home.search_library": "Buscar na Biblioteca",
"home.search_tags": "Buscar Tags",
"home.show_hidden_entries": "Mostrar Itens Ocultos",
"home.thumbnail_size": "Tamanho de miniatura",
"home.thumbnail_size.extra_large": "Miniaturas Extra Grandes",
"home.thumbnail_size.large": "Miniaturas Grandes",
"home.thumbnail_size.medium": "Miniaturas Médias",
"home.thumbnail_size.mini": "Miniaturas Mini",
"home.thumbnail_size.small": "Miniaturas Pequenas",
"ignore.open_file": "Mostrar \"{ts_ignore}\" Arquivo no Disco",
"json_migration.checking_for_parity": "Verificando a Paridade",
"json_migration.creating_database_tables": "Criando Tabelas de Banco de Dados SQL...",
"json_migration.description": "<br>Inicie e pré-visualize os resultados do processo de migração da biblioteca. A biblioteca convertida <i>não</i> será usada a menos que você clique em \"Terminar Migração\". <br><br>A informação da biblioteca devem ter valores correspondentes ou ter o rotulo \"Correspondido\". Valores que não tenham correspondência serão mostrados em vermelho e conter um símbolo \"<b>(!)</b>\" próximo a eles. <br><center><i>Este processo pode demorar alguns minutos para bibliotecas grandes.</i></center>",
"json_migration.discrepancies_found": "Encontradas Discrepâncias na biblioteca",
"json_migration.discrepancies_found.description": "Discrepâncias foram encontradas entre os arquivos de Biblioteca originais e os convertidos. Por favor, revise e escolha continuar com a migração ou cancelar.",
"json_migration.finish_migration": "Finalizar Migração",
"json_migration.heading.aliases": "Pseudônimos:",
"json_migration.heading.colors": "Cores:",
"json_migration.heading.differ": "Discrepância",
"json_migration.heading.extension_list_type": "Lista dos tipos de Extensão:",
"json_migration.heading.file_extension_list": "Lista de Extensão de Arquivo:",
"json_migration.heading.match": "Correspondido",
"json_migration.heading.names": "Nomes:",
"json_migration.heading.parent_tags": "Tags Pai:",
"json_migration.heading.paths": "Caminhos:",
"json_migration.heading.shorthands": "Taquigrafias:",
"json_migration.info.description": "Os arquivos de biblioteca salvos criados com as versões do TagStudio <b>9.4 e anteriores</b> precisarão ser migrados para o novo formato <b>v9.5+</b>.<br><h2>O que você precisa saber:</h2><ul><li>Seu arquivo de biblioteca salvo existente <b><i>NÃO</i></b> será excluído</li><li>Seus arquivos pessoais <b><i>NÃO</i></b> serão excluídos, movidos ou modificados</li><li>O novo formato de salvamento v9.5+ não pode ser aberto em versões anteriores do TagStudio</li></ul><h3>O que mudou:</h3><ul><li>\"Campos de Tag\" foram substituídos por \"Categorias de Tag\". Em vez de adicionar tags aos campos primeiro, as tags agora são adicionadas diretamente às entradas do arquivo. Elas são então organizadas automaticamente em categorias com base nas tags pai marcadas com a nova propriedade \"É Categoria\" no menu de edição de tags. Qualquer tag pode ser marcada como uma categoria e as tags filhas serão classificadas sob as tags pai marcadas como categorias. As tags \"Favoritos\" e \"Arquivados\" agora herdam de uma nova tag \"Meta Tags\", que é marcada como categoria por padrão.</li><li>As cores das tags foram ajustadas e expandidas. Algumas cores foram renomeadas ou consolidadas, porém todas as cores das tags ainda serão convertidas para correspondências exatas ou aproximadas na versão 9.5.</li></ul><ul>",
"json_migration.migrating_files_entries": "Migrando {entries:,d} Registros de Arquivos...",
"json_migration.migration_complete": "Migração Concluída!",
"json_migration.migration_complete_with_discrepancies": "Migração Concluída, Discrepâncias Encontradas",
"json_migration.start_and_preview": "Iniciar e Visualizar",
"json_migration.title": "Salvar Formato de Migração: \"{path}\"",
"json_migration.title.new_lib": "<h2>Biblioteca v9.5+</h2>",
"json_migration.title.old_lib": "<h2>Biblioteca v9.4</h2>",
"landing.open_create_library": "Abrir/Criar Biblioteca {shortcut}",
@@ -152,14 +184,29 @@
"library.refresh.scanning_preparing": "Escaneando Diretórios por Novos Arquivos...\nPreparando...",
"library.refresh.title": "Atualizando Pastas",
"library.scan_library.title": "Escaneando Biblioteca",
"library_info.cleanup": "Limpeza",
"library_info.cleanup.backups": "Backup de Bibliotecas:",
"library_info.cleanup.dupe_files": "Arquivos Duplicados:",
"library_info.cleanup.ignored": "Registros Ignorados",
"library_info.cleanup.legacy_json": "Sobra da Biblioteca Legada:",
"library_info.cleanup.unlinked": "Registros Desvinculados:",
"library_info.stats": "Estatísticas",
"library_info.stats.colors": "Cores de Etiquetas:",
"library_info.stats.entries": "Registros:",
"library_info.stats.fields": "Campos:",
"library_info.stats.macros": "Macros:",
"library_info.stats.namespaces": "Namespaces:",
"library_info.stats.tags": "Tags:",
"library_info.title": "Biblioteca '{library_dir}'",
"library_info.version": "Formato de Versão da Biblioteca: {version}",
"library_object.name": "Nome",
"library_object.name_required": "Nome (Obrigatório)",
"library_object.slug": "ID Alternativo",
"library_object.slug_required": "ID Alternativo (obrigatório)",
"macros.running.dialog.new_entries": "Executando Macros Configurados nos {count}/{total} Novos Registros de Arquivos...",
"macros.running.dialog.title": "Executando Macros nos Novos Registros",
"media_player.autoplay": "Tocar Automaticamente",
"media_player.loop": "Repetição",
"menu.delete_selected_files_ambiguous": "Mover Arquivo(s) para {trash_term}",
"menu.delete_selected_files_plural": "Mover Arquivos para {trash_term}",
"menu.delete_selected_files_singular": "Mover Arquivo para {trash_term}",
@@ -170,41 +217,87 @@
"menu.file": "&Arquivo",
"menu.file.clear_recent_libraries": "Limpar Recentes",
"menu.file.close_library": "&Fechar Biblioteca",
"menu.file.missing_library.message": "A localização da biblioteca \"{library}\" não foi encontrada.",
"menu.file.missing_library.title": "Biblioteca Não Encontrada",
"menu.file.new_library": "Nova Biblioteca",
"menu.file.open_backups_folder": "Abrir Pasta de Backups",
"menu.file.open_create_library": "&Abrir/Criar Biblioteca",
"menu.file.open_library": "Abrir Biblioteca",
"menu.file.open_recent_library": "Abrir Recente",
"menu.file.refresh_directories": "&Atualizar Pastas",
"menu.file.refresh_directories": "Atualizar Pastas",
"menu.file.save_backup": "&Salvar Backup da Biblioteca",
"menu.file.save_library": "Salvar Biblioteca",
"menu.help": "&Ajuda",
"menu.help.about": "Sobre",
"menu.macros": "&Macros",
"menu.macros.folders_to_tags": "Pastas para Tags",
"menu.select": "Selecionar",
"menu.settings": "Configurações...",
"menu.tools": "&Ferramentas",
"menu.tools.fix_duplicate_files": "Corrigir &Arquivos Duplicados",
"menu.tools.fix_ignored_entries": "Consertar Entradas &Ignoradas",
"menu.tools.fix_unlinked_entries": "Corrigir &Registros Não Referenciados",
"menu.view": "&Exibir",
"menu.view.decrease_thumbnail_size": "Diminuir Tamanho de Miniatura",
"menu.view.increase_thumbnail_size": "Aumentar Tamanho de Miniatura",
"menu.view.library_info": "&Informação da Biblioteca",
"menu.window": "Janela",
"namespace.create.description": "Namespaces são usados pelo TagStudio para separar grupos de items como as etiquetas e cores, de uma forma que os fazem ser fáceis de exportar e compartilhar. Namespaces começam com \"tagstudio\" são reservados pelo TagStudio para uso interno.",
"namespace.create.description_color": "Cor de etiquetas usam namespaces como grupo de paleta de cor. Todas as cores customizadas devem estar primeiro em um grupo de namespace.",
"namespace.create.title": "Criar Namespace",
"namespace.new.button": "Novo Namespace",
"namespace.new.prompt": "Crie um Novo Namespace para Começar a Adicionar Cores Customizadas!",
"preview.ignored": "Ignorado",
"preview.multiple_selection": "<b>{count}</b> Itens Selecionados",
"preview.no_selection": "Nenhum Item Selecionado",
"preview.unlinked": "Desvinculado",
"select.add_tag_to_selected": "Adicionar Tag às Seleções",
"select.all": "Selecionar Tudo",
"select.clear": "Limpar Seleção",
"select.inverse": "Inverter Seleção",
"settings.clear_thumb_cache.title": "Limpar cache de miniaturas",
"settings.dateformat.english": "Inglês",
"settings.dateformat.international": "Internacional",
"settings.dateformat.label": "Formato de Data",
"settings.dateformat.system": "Sistema",
"settings.filepath.label": "Visibilidade do Caminho do Arquivo",
"settings.filepath.option.full": "Mostrar Caminhos Completos",
"settings.filepath.option.name": "Mostrar Apenas Nome de Arquivos",
"settings.filepath.option.relative": "Mostrar Caminhos Relativos",
"settings.generate_thumbs": "Geração de Miniatura",
"settings.global": "Configurações Globais",
"settings.hourformat.label": "Formato em 24 Horas",
"settings.infinite_scroll": "Rolagem Infinita",
"settings.language": "Idioma",
"settings.library": "Configurações da Biblioteca",
"settings.open_library_on_start": "Abrir Biblioteca ao Iniciar",
"settings.page_size": "Tamanho da Página",
"settings.restart_required": "Por favor reinicie o TagStudio para que as mudanças façam efeito.",
"settings.show_filenames_in_grid": "Exibir nome dos arquivos",
"settings.show_recent_libraries": "Mostrar Bibliotecas Recentes",
"settings.splash.label": "Tela Inicial",
"settings.splash.option.classic": "Clássico (9.0)",
"settings.splash.option.default": "Padrão",
"settings.splash.option.goo_gears": "Código Aberto (9.4)",
"settings.splash.option.random": "Aleatório",
"settings.tag_click_action.add_to_search": "Adicionar Etiqueta à Pesquisa",
"settings.tag_click_action.label": "Ação de Clique da Etiqueta",
"settings.tag_click_action.open_edit": "Editar Etiqueta",
"settings.tag_click_action.set_search": "Pesquisar por Etiqueta",
"settings.theme.dark": "Escuro",
"settings.theme.label": "Tema:",
"settings.theme.light": "Claro",
"settings.theme.system": "Sistema",
"settings.thumb_cache_size.label": "Tamanho de Cache da Miniatura",
"settings.title": "Configurações",
"sorting.direction.ascending": "Ordem Ascendente",
"sorting.direction.descending": "Ordem Descendente",
"sorting.mode.random": "Aleatório",
"splash.opening_library": "Abrindo Biblioteca \"{library_path}\"...",
"status.deleted_file_plural": "{count} Arquivos Apagados!",
"status.deleted_file_singular": "1 Arquivo Apagado!",
"status.deleted_none": "Nenhum Arquivo Apagado.",
"status.deleted_partial_warning": "Apenas {count} arquivo(s) excluído(s)! Verifique se algum dos arquivos está faltando ou em uso.",
"status.deleting_file": "Apagando arquivo [{i}/{count}]: \"{path}\"...",
"status.library_backup_in_progress": "Salvando Backup da Biblioteca...",
"status.library_backup_success": "Backup da Biblioteca Salvo em: \"{path}\" ({time_span})",
@@ -228,14 +321,18 @@
"tag.confirm_delete": "Tem certeza que quer deletar a tag \"{tag_name}\"?",
"tag.create": "Criar Tag",
"tag.create_add": "Criar && Adicionar \"{query}\"",
"tag.disambiguation.tooltip": "Use esta etiqueta para desambiguação",
"tag.edit": "Editar Tag",
"tag.is_category": "É Categoria",
"tag.is_hidden": "Está Oculto",
"tag.name": "Nome",
"tag.new": "Nova Tag",
"tag.parent_tags": "Tags Pai",
"tag.parent_tags.add": "Adicionar Tag Pai",
"tag.remove": "Remover Tag",
"tag.search_for_tag": "Procurar por Tag",
"tag.shorthand": "Abreviação",
"tag.tag_name_required": "Nome da Tag (Obrigatório)",
"tag.view_limit": "Limite de visualização:",
"tag_manager.title": "Tags da sua biblioteca",
"trash.context.ambiguous": "Mover arquivo(s) para {trash_term}",

View File

@@ -195,7 +195,7 @@
"menu.file.open_create_library": "&Открыть/создать библиотеку",
"menu.file.open_library": "Открыть библиотеку",
"menu.file.open_recent_library": "Открыть последнюю",
"menu.file.refresh_directories": "&Обновить папки",
"menu.file.refresh_directories": "Обновить папки",
"menu.file.save_backup": "&Сохранить резервную копию библиотеки",
"menu.file.save_library": "Сохранить библиотеку",
"menu.help": "&Помощь",

View File

@@ -1,12 +1,29 @@
{
"about.config_path": "Konfigureringssökväg",
"about.description": "TagStudio är en bild- och filorganiseringsapplikation med ett underliggande etikettbaserat system som fokuserar på att ge frihet och flexibilitet till användaren. Inga proprietära program eller format, inget hav av sidofiler och ingen omstörtning av ditt filsystems struktur.",
"about.documentation": "Dokumentation",
"about.license": "Licens",
"about.module.found": "Hittade",
"about.title": "Om TagStudio",
"about.website": "Webbsida",
"app.git": "Git Commit",
"app.pre_release": "Förhandsutgåva",
"app.title": "{base_title} - Bibliotek '{library_dir}'",
"color.color_border": "Använd Sekundär Färg för Kant",
"color.confirm_delete": "Är du säker på att du vill ta bort färgen \"{color_name}\"?",
"color.delete": "Radera Etikett",
"color.import_pack": "Importera Färgpaket",
"color.name": "Namn",
"color.namespace.delete.prompt": "Är du säker på att du vill radera denna färgnamnrymd? ALLA färger i namnrymden kommer att raderas med den!",
"color.namespace.delete.title": "Radera Färgnamnrymd",
"color.new": "Ny Färg",
"color.placeholder": "Färg",
"color.primary": "Primärfärg",
"color.primary_required": "Primärfärg (Krävs)",
"color.secondary": "Sekundärfärg",
"color.title.no_color": "Ingen Färg",
"color_manager.title": "Hantera Etikettfärger",
"dependency.missing.title": "{dependency} Inte Funnen",
"drop_import.description": "Följande filer har namn som redan finns i biblioteket",
"drop_import.duplicates_choice.plural": "Följande {count} filer har namn som redan finns i biblioteket.",
"drop_import.duplicates_choice.singular": "Följande fil har ett namn som redan finns i biblioteket.",
@@ -15,25 +32,49 @@
"drop_import.progress.label.singular": "Importerar nya filer...\n1 Fil importerad.{suffix}",
"drop_import.progress.window_title": "Importera Filer",
"drop_import.title": "Konflikterande Filer",
"edit.color_manager": "Hantera Etikettfärger",
"edit.copy_fields": "Kopiera Fält",
"edit.paste_fields": "Klistra In Fält",
"edit.tag_manager": "Hantera Etiketter",
"entries.duplicate.merge": "Sammanslå Dubbla Poster",
"entries.duplicate.merge.label": "Sammanslår dubbla poster...",
"entries.duplicate.refresh": "Uppdatera Dubbla Poster",
"entries.duplicates.description": "Dubbla poster är definierade som flera poster som pekar på samma fil på datorn. Genom att slå ihop dessa poster kommer deras etiketter och metadata från dubbletterna att kombineras till en post. Dessa ska inte förväxlas med \"dubbla filer\", som är dubbletter av dina filer utanför TagStudio.",
"entries.generic.refresh_alt": "&Uppdatera",
"entries.generic.remove.removing": "Raderar poster",
"entries.generic.remove.removing_count": "Raderar {count} Poster...",
"entries.ignored.description": "Filposter räknas som \"ignorerade\" om de lades till biblioteket innan användarens ignoreringsregler (via '.ts_ignore' filen) uppdaterades för att exkludera det. Ignorerade filer behålls i biblioteket som standard för att förhindra att data förloras av misstag när ignoreringsreglerna uppdateras.",
"entries.ignored.ignored_count": "Ignorerade Poster: {count}",
"entries.ignored.remove": "Ta Bort Ignorerade Poster",
"entries.ignored.remove_alt": "&Ta Bort Ignorerade Poster",
"entries.ignored.scanning": "Skannar Bibliotek efter Ignorerade Poster...",
"entries.ignored.title": "Fixa Ignorerade Poster",
"entries.mirror": "Spegla",
"entries.mirror.confirmation": "Är du säker att du vill spegla följande {count} poster?",
"entries.mirror.label": "Speglar {idx}/{total} poster...",
"entries.mirror.title": "Speglar Poster",
"entries.mirror.window_title": "Spegla Poster",
"entries.tags": "Etiketter",
"entries.remove.plural.confirm": "Är du säker att du vill radera följande {count} poster?",
"entries.generic.remove.removing": "Raderar poster",
"entries.remove.singular.confirm": "Är du säker på att du vill ta bort denna post från ditt bibliotek? Inga filer på disken kommer att raderas.",
"entries.running.dialog.new_entries": "Lägger Till {total} Nya Filposter...",
"entries.running.dialog.title": "Lägger Till Nya Filposter",
"entries.tags": "Etiketter",
"entries.unlinked.description": "Varje post i biblioteket är länkad till en fil i en av dina kataloger. Om en fil länkad till en post är flyttad eller borttagen utanför TagStudio blir den olänkad. Olänkade poster kan automatiskt bli omlänkade genom att söka genom dina kataloger, manuellt omlänkade av användaren eller tas bort om så önskas.",
"entries.unlinked.relink.attempting": "Försöker att länka om {index}/{unlinked_count} Poster, {fixed_count} Lyckades Länkas Om",
"entries.unlinked.relink.manual": "Länka om manuellt",
"entries.unlinked.relink.title": "Länkar om poster",
"entries.unlinked.remove": "Ta Bort Olänkade Poster",
"entries.unlinked.remove_alt": "&Ta Bort Olänkade Poster",
"entries.unlinked.scanning": "Skannar bibliotek efter olänkade poster...",
"entries.unlinked.search_and_relink": "Sök && Länka om",
"entries.unlinked.title": "Fixa olänkade poster",
"entries.unlinked.unlinked_count": "Olänkade Poster: {count}",
"ffmpeg.missing.description": "FFmpeg och/eller FFprobe hittades inte. FFmpeg krävs för uppspelning av multimedia och tumnaglar.",
"ffmpeg.missing.status": "{ffmpeg}: {ffmpeg_status}<br>{ffprobe}: {ffprobe_status}",
"field.copy": "Kopiera Fält",
"field.edit": "Redigera Fält",
"field.paste": "Klistra In Fält",
"file.date_added": "Datum Tillagd",
"file.date_created": "Skapad den",
"file.date_modified": "Senast ändrad",
"file.dimensions": "Dimensioner",

View File

@@ -1,10 +1,10 @@
{
"about.config_path": "கட்டமைப்பு பாதை",
"about.description": "டேக்ச்டுடியோ என்பது ஒரு புகைப்படம் மற்றும் கோப்பு அமைப்பு பயன்பாடாகும், இது பயனருக்கு விடுதலை மற்றும் நெகிழ்வுத்தன்மையை வழங்குவதில் கவனம் செலுத்துகிறது. தனியுரிம திட்டங்கள் அல்லது வடிவங்கள் இல்லை, பக்கவாட்டு கோப்புகளின் கடல் இல்லை, உங்கள் கோப்பு முறைமை கட்டமைப்பின் முழுமையான எழுச்சி இல்லை.",
"about.description": "முகவரிச்சீட்டுஅறை என்பது ஒரு புகைப்படம் மற்றும் கோப்பு அமைப்பு பயன்பாடாகும், இது பயனருக்கு விடுதலை மற்றும் நெகிழ்வுத்தன்மையை வழங்குவதில் கவனம் செலுத்துகிறது. தனியுரிம திட்டங்கள் அல்லது வடிவங்கள் இல்லை, பக்கவாட்டு கோப்புகளின் கடல் இல்லை, உங்கள் கோப்பு முறைமை கட்டமைப்பின் முழுமையான எழுச்சி இல்லை.",
"about.documentation": "ஆவணங்கள்",
"about.license": "உரிமம்",
"about.module.found": "காணப்பட்டது",
"about.title": "டேக்ச்டுடியோ பற்றி",
"about.title": "முகவரிச்சீட்டுஅறை பற்றி",
"about.website": "வலைத்தளம்",
"app.git": "அறிவிலி கமிட்",
"app.pre_release": "முன் வெளியீடு",
@@ -39,21 +39,32 @@
"entries.duplicate.merge": "நகல் உள்ளீடுகளை ஒன்றிணைக்கவும்",
"entries.duplicate.merge.label": "நகல் உள்ளீடுகளை ஒன்றிணைத்தல் ...",
"entries.duplicate.refresh": "நகல் உள்ளீடுகளைப் புதுப்பி",
"entries.duplicates.description": "மறுநுழைவுகள் என்பது, ஒரே கோப்பை குறிக்கும் பல நுழைவுகளை குறிக்கும். இவற்றை இணைப்பதால், அனைத்து மறுநுழைவுகளின் குறிச்சொற்களும் மெட்டாடேட்டாவும் ஒரே ஒட்டுமொத்த நுழைவாகச் சேர்க்கப்படும். இவற்றை 'மறுகோப்புகள்' என்பதுடன் குழப்பக் கூடாது, ஏனெனில் அவை டாக் ஸ்டுடியோவுக்கு வெளியேயுள்ள கோப்புகளின் நகல்களாகும்.",
"entries.duplicates.description": "மறுநுழைவுகள் என்பது, ஒரே கோப்பை குறிக்கும் பல நுழைவுகளை குறிக்கும். இவற்றை இணைப்பதால், அனைத்து மறுநுழைவுகளின் குறிச்சொற்களும் மெட்டாடேட்டாவும் ஒரே ஒட்டுமொத்த நுழைவாகச் சேர்க்கப்படும். இவற்றை 'மறுகோப்புகள்' என்பதுடன் குழப்பக் கூடாது, ஏனெனில் அவை முகவரிச்சீட்டுஅறைக்கு வெளியேயுள்ள கோப்புகளின் நகல்களாகும்.",
"entries.generic.refresh_alt": "&புதுப்பி",
"entries.generic.remove.removing": "உள்ளீடுகள் நீக்கப்படுகிறது",
"entries.generic.remove.removing_count": "{count} உள்ளீடுகளை நீக்குகிறது...",
"entries.ignored.description": "பயனரின் புறக்கணிப்பு விதிகள் ('.ts_ignore' கோப்பு வழியாக) நீக்கப்படுவதற்கு முன், நூலகத்தில் சேர்க்கப்பட்டால், கோப்பு உள்ளீடுகள் \"புறக்கணிக்கப்பட்டதாக\" கருதப்படும். புறக்கணிக்கப்பட்ட கோப்புகள், புறக்கணிப்பு விதிகளைப் புதுப்பிக்கும் போது, தற்செயலான தரவு இழப்பைத் தடுக்க, இயல்புநிலையாக நூலகத்தில் வைக்கப்படும்.",
"entries.ignored.ignored_count": "புறக்கணிக்கப்பட்ட உள்ளீடுகள்: {count}",
"entries.ignored.remove": "புறக்கணிக்கப்பட்ட உள்ளீடுகளை அகற்று",
"entries.ignored.remove_alt": "புறக்கணிக்கப்பட்ட உள்ளீடுகளை அகற்று&விடு",
"entries.ignored.scanning": "புறக்கணிக்கப்பட்ட உள்ளீடுகளுக்காக நூலகத்தை வருடு செய்கிறது...",
"entries.ignored.title": "புறக்கணிக்கப்பட்ட உள்ளீடுகளை சரிசெய்யவும்",
"entries.mirror": "& கண்ணாடி",
"entries.mirror.confirmation": "பின்வரும் உள்ளீடுகளைப் பிரதிபலிக்க விரும்புகிறீர்களா {count}?",
"entries.mirror.label": "{idx}/{total} உள்ளீடுகளைப் பிரதிபலிக்கப்படுகின்றது...",
"entries.mirror.title": "உள்ளீடுகள் பிரதிபழிக்கப்படுகின்றது",
"entries.mirror.window_title": "கண்ணாடி உள்ளீடுகள்",
"entries.remove.plural.confirm": "பின்வரும் உள்ளீடுகளை நிச்சயமாக நீக்க விரும்புகிறீர்களா {count}?",
"entries.remove.plural.confirm": "இந்த <b>{count}</b> உள்ளீடுகளை உங்கள் நூலகத்திலிருந்து நீக்க விரும்புகிறீர்களா? வட்டில் உள்ள எந்தக் கோப்புகளும் நீக்கப்படாது.",
"entries.remove.singular.confirm": "உங்கள் நூலகத்திலிருந்து இந்தப் பதிவை நிச்சயமாக அகற்ற விரும்புகிறீர்களா? வட்டில் உள்ள கோப்புகள் எதுவும் நீக்கப்படாது.",
"entries.running.dialog.new_entries": "{total} புதிய கோப்பு உள்ளீடுகளைச் சேர்ப்பது ...",
"entries.running.dialog.title": "புதிய கோப்பு உள்ளீடுகளைச் சேர்ப்பது",
"entries.tags": "குறிச்சொற்கள்",
"entries.unlinked.description": "ஒவ்வொரு நூலக நுழைவும் உங்கள் கோப்பகங்களில் ஒன்றில் ஒரு கோப்போடு இணைக்கப்பட்டுள்ளது. ஒரு நுழைவுடன் இணைக்கப்பட்ட ஒரு கோப்பு டாக்ச்டுடியோவுக்கு வெளியே நகர்த்தப்பட்டால் அல்லது நீக்கப்பட்டால், அது பின்னர் இணைக்கப்படாததாகக் கருதப்படுகிறது.",
"entries.unlinked.description": "ஒவ்வொரு நூலக நுழைவும் உங்கள் கோப்பகங்களில் ஒன்றில் ஒரு கோப்போடு இணைக்கப்பட்டுள்ளது. ஒரு நுழைவுடன் இணைக்கப்பட்ட ஒரு கோப்பு முகவரிச்சீட்டுஅறைக்கு வெளியே நகர்த்தப்பட்டால் அல்லது நீக்கப்பட்டால், அது பின்னர் இணைக்கப்படாததாகக் கருதப்படுகிறது.",
"entries.unlinked.relink.attempting": "{index}/{unlinked_count} உள்ளீடுகளை மீண்டும் இணைக்க முயற்சிக்கிறது, {fixed_count} மீண்டும் இணைக்கப்பட்டது",
"entries.unlinked.relink.manual": "& கையேடு மறுபரிசீலனை",
"entries.unlinked.relink.title": "உள்ளீடுகள் மீண்டும் இணைக்கப்படுகின்றது",
"entries.unlinked.remove": "இணைக்கப்படாத உள்ளீடுகளை அகற்று",
"entries.unlinked.remove_alt": "இணைக்கப்படாத உள்ளீடுகளை அகற்று&விடு",
"entries.unlinked.scanning": "இணைக்கப்படாத நுழைவுகளை புத்தககல்லரியில் சோதனை செய்யப்படுகிறது...",
"entries.unlinked.search_and_relink": "& தேடல் && relink",
"entries.unlinked.title": "இணைக்கப்படாத உள்ளீடுகளைச் சரிசெய்யவும்",
@@ -67,8 +78,8 @@
"file.date_created": "உருவாக்கப்பட்ட தேதி",
"file.date_modified": "மாற்றப்பட்ட தேதி",
"file.dimensions": "பரிமாணங்கள்",
"file.duplicates.description": "நகல் கோப்புகளை நிர்வகிக்க டுபெகுரு முடிவுகளை இறக்குமதி செய்வதை டேக்ச்டுடியோ ஆதரிக்கிறது.",
"file.duplicates.dupeguru.advice": "படிமம் முடிந்தவுடன், தேவையற்ற கோப்புகளை நீக்க DupeGuru ஐ பயன்படுத்தலாம். அதற்குப் பிறகு, இணைக்காத நுழைவுகளை நீக்க 'டாக் ஸ்டுடியோ' ின் 'இணைக்கப்படாத உள்ளீடுகளைச் சரிசெய்' அம்சத்தைக் கருவிகள் பட்டியில் பயன்படுத்தவும்.",
"file.duplicates.description": "நகல் கோப்புகளை நிர்வகிக்க டுபெகுரு முடிவுகளை இறக்குமதி செய்வதை முகவரிச்சீட்டுஅறை ஆதரிக்கிறது.",
"file.duplicates.dupeguru.advice": "படிமம் முடிந்தவுடன், தேவையற்ற கோப்புகளை நீக்க DupeGuru ஐ பயன்படுத்தலாம். அதற்குப் பிறகு, இணைக்காத நுழைவுகளை நீக்க 'முகவரிச்சீட்டுஅறை' ின் 'இணைக்கப்படாத உள்ளீடுகளைச் சரிசெய்' அம்சத்தைக் கருவிகள் பட்டியில் பயன்படுத்தவும்.",
"file.duplicates.dupeguru.file_extension": "DupeGuru கோப்புகள் (*.dupeguru)",
"file.duplicates.dupeguru.load_file": "& டுபெகுரு கோப்பை ஏற்றவும்",
"file.duplicates.dupeguru.no_file": "DupeGuru கோப்பு எதுவும் தேர்ந்தெடுக்கப்படவில்லை",
@@ -107,33 +118,39 @@
"generic.edit": "திருத்து",
"generic.edit_alt": "திருத்து (&e)",
"generic.filename": "கோப்புப்பெயர்",
"generic.missing": "ல்லை",
"generic.missing": "காணவில்லை",
"generic.navigation.back": "பின்",
"generic.navigation.next": "அடுத்தது",
"generic.no": "இல்லை",
"generic.none": "எதுவுமில்லை",
"generic.overwrite": "மேலெழுதும்",
"generic.overwrite_alt": "& மேலெழுதும்",
"generic.paste": "ஒட்டு",
"generic.recent_libraries": "சமீபத்திய நூலகங்கள்",
"generic.remove": "அகற்று",
"generic.remove_alt": "&நீக்கு",
"generic.rename": "மறுபெயரிடுங்கள்",
"generic.rename_alt": "& மறுபெயரிடுங்கள்",
"generic.reset": "மீட்டமை",
"generic.save": "சேமி",
"generic.skip": "தவிர்",
"generic.skip_alt": "& தவிர்க்கவும்",
"generic.yes": "ஆம்",
"home.search": "தேடு",
"home.search_entries": "தேடல் உள்ளீடுகள்",
"home.search_library": "தேடல் நூலகம்",
"home.search_tags": "குறிச்சொற்களைத் தேடு",
"home.show_hidden_entries": "மறைக்கப்பட்ட உள்ளீடுகளைக் காட்டு",
"home.thumbnail_size": "சின்னப்பட அளவு",
"home.thumbnail_size.extra_large": "கூடுதல் பெரிய சிறு உருவங்கள்",
"home.thumbnail_size.large": "பெரிய சிறு உருவங்கள்",
"home.thumbnail_size.medium": "நடுத்தர சிறு உருவங்கள்",
"home.thumbnail_size.mini": "மினி சிறு உருவங்கள்",
"home.thumbnail_size.small": "சிறிய சிறு உருவங்கள்",
"ignore.open_file": "வட்டில் கோப்பு \"{ts_ignore}\" எப்படி",
"json_migration.checking_for_parity": "சமத்துவத்தை சரிபார்க்கிறது ...",
"json_migration.creating_database_tables": "கவிமொ தரவுத்தள அட்டவணைகளை உருவாக்குதல் ...",
"json_migration.description": "<br> நூலக இடம்பெயர்வு செயல்முறையின் முடிவுகளைத் தொடங்கவும் முன்னோட்டமிடவும். மாற்றப்பட்ட நூலகம் <i> இல்லை </i> நீங்கள் \"இடம்பெயர்வு முடிக்கவும்\" என்பதைக் சொடுக்கு செய்யாவிட்டால் பயன்படுத்தப்படும். <br> <br> நூலகத் தரவுகள் பொருந்தக்கூடிய மதிப்புகளைக் கொண்டிருக்க வேண்டும் அல்லது \"பொருந்திய\" லேபிளைக் கொண்டிருக்க வேண்டும். பொருந்தாத மதிப்புகள் சிவப்பு நிறத்தில் காண்பிக்கப்படும் மற்றும் அவர்களுக்கு அடுத்த \"<b> (!) </b>\" சின்னத்தைக் கொண்டிருக்கும். <br> <center> <i> இந்தச் செயல்முறை பெரிய நூலகங்களுக்குப் பல நிமிடங்கள்வரை ஆகலாம்.</i></center>",
"json_migration.description": "<br> நூலக இடம்பெயர்வு செயல்முறையின் முடிவுகளைத் தொடங்கவும் முன்னோட்டமிடவும். மாற்றப்பட்ட நூலகம் <i> இல்லை </i> நீங்கள் \"இடம்பெயர்வு முடிக்கவும்\" என்பதைக் சொடுக்கு செய்யாவிட்டால் பயன்படுத்தப்படும். <br><br> நூலகத் தரவுகள் பொருந்தக்கூடிய மதிப்புகளைக் கொண்டிருக்க வேண்டும் அல்லது \"பொருந்திய\" லேபிளைக் கொண்டிருக்க வேண்டும். பொருந்தாத மதிப்புகள் சிவப்பு நிறத்தில் காண்பிக்கப்படும் மற்றும் அவர்களுக்கு அடுத்த \"<b> (!) </b>\" சின்னத்தைக் கொண்டிருக்கும். <br> <center> <i> இந்தச் செயல்முறை பெரிய நூலகங்களுக்குப் பல நிமிடங்கள்வரை ஆகலாம்.</i></center>",
"json_migration.discrepancies_found": "நூலக முரண்பாடுகள் காணப்படுகின்றன",
"json_migration.discrepancies_found.description": "அசல் மற்றும் மாற்றப்பட்ட நூலக வடிவங்களுக்கு இடையில் முரண்பாடுகள் காணப்பட்டன. தயவுசெய்து மதிப்பாய்வு செய்து இடம்பெயர்வு தொடர வேண்டுமா அல்லது ரத்து செய்ய என்பதைத் தேர்வுசெய்க.",
"json_migration.finish_migration": "இடம்பெயர்வு முடிக்கவும்",
@@ -147,7 +164,7 @@
"json_migration.heading.parent_tags": "பெற்றோர் குறிச்சொற்கள்:",
"json_migration.heading.paths": "பாதைகள்:",
"json_migration.heading.shorthands": "சுருக்கெழுத்து:",
"json_migration.info.description": "டேக்ச்டுடியோ பதிப்புகளுடன் உருவாக்கப்பட்ட கோப்புகளை நூலகம் சேமிக்கவும் <b> 9.4 மற்றும் கீழே </b> புதிய <b> v9.5+</b> வடிவத்திற்கு இடம்பெயர வேண்டும். <b> <i> இல்லை </i> </b> நீக்கப்பட வேண்டும், நகர்த்தப்படும் அல்லது மாற்றியமைக்கப்பட வேண்டும் </li> <li> புதிய V9.5+ சேமிக்கும் வடிவமைப்பை டேக்ச்டுடியோவின் முந்தைய பதிப்புகளில் திறக்க முடியாது </li> </ul> <h3> என்ன மாற்றப்பட்டுள்ளது: </h3> <ul> <li> \"குறிச்சொற்கள்\" குறிச்சொற்களால் மாற்றப்பட்டுள்ளன. முதலில் புலங்களில் குறிச்சொற்களைச் சேர்ப்பதற்கு பதிலாக, குறிச்சொற்கள் இப்போது கோப்பு உள்ளீடுகளில் நேரடியாக சேர்க்கப்படுகின்றன. குறிச்சொல் திருத்துதல் பட்டியலில் புதிய \"வகை\" சொத்துடன் குறிக்கப்பட்ட பெற்றோர் குறிச்சொற்களின் அடிப்படையில் அவை தானாகவே வகைகளாக ஒழுங்கமைக்கப்படுகின்றன. எந்தவொரு குறிச்சொல்லையும் ஒரு வகையாகக் குறிக்க முடியும், மேலும் குழந்தை குறிச்சொற்கள் வகைகளாக குறிக்கப்பட்ட பெற்றோர் குறிச்சொற்களுக்கு அடியில் தங்களை வரிசைப்படுத்தும். \"பிடித்த\" மற்றும் \"காப்பகப்படுத்தப்பட்ட\" குறிச்சொற்கள் இப்போது ஒரு புதிய \"மேவு குறிச்சொற்கள்\" குறிச்சொல்லிலிருந்து பெறப்படுகின்றன, இது இயல்புநிலையாக ஒரு வகையாக குறிக்கப்பட்டுள்ளது. </Li> <li> குறிச்சொல் வண்ணங்கள் மாற்றப்பட்டு விரிவாக்கப்பட்டுள்ளன. சில வண்ணங்கள் மறுபெயரிடப்பட்டுள்ளன அல்லது ஒருங்கிணைக்கப்பட்டுள்ளன, இருப்பினும் எல்லா குறிச்சொல் வண்ணங்களும் V9.5 இல் உள்ள சரியான அல்லது நெருக்கமான போட்டிகளாக மாறும். </Li> </ul> <ul>",
"json_migration.info.description": "முகவரிச்சீட்டுஅறை பதிப்புகளுடன் உருவாக்கப்பட்ட கோப்புகளை நூலகம் சேமி <b> 9.4 மற்றும் கீழே </b> புதிய <b> v9.5+</b> வடிவத்திற்கு இடம்பெயர வேண்டும். <b> <i> இல்லை </i> </b> நீக்கப்பட வேண்டும், நகர்த்தப்படும் அல்லது மாற்றியமைக்கப்பட வேண்டும் </li> <li> புதிய V9.5+ சேமிக்கும் வடிவமைப்பை முகவரிச்சீட்டுஅறையின் முந்தைய பதிப்புகளில் திறக்க முடியாது </li> </ul> <h3> என்ன மாற்றப்பட்டுள்ளது: </h3> <ul> <li> \"குறிச்சொற்கள்\" குறிச்சொற்களால் மாற்றப்பட்டுள்ளன. முதலில் புலங்களில் குறிச்சொற்களைச் சேர்ப்பதற்கு பதிலாக, குறிச்சொற்கள் இப்போது கோப்பு உள்ளீடுகளில் நேரடியாகச் சேர்க்கப்படுகின்றன. குறிச்சொல் திருத்துதல் பட்டியலில் புதிய \"வகை\" சொத்துடன் குறிக்கப்பட்ட பெற்றோர் குறிச்சொற்களின் அடிப்படையில் அவை தானாகவே வகைகளாக ஒழுங்கமைக்கப்படுகின்றன. எந்தவொரு குறிச்சொல்லையும் ஒரு வகையாகக் குறிக்க முடியும், மேலும் குழந்தை குறிச்சொற்கள் வகைகளாகக் குறிக்கப்பட்ட பெற்றோர் குறிச்சொற்களுக்கு அடியில் தங்களை வரிசைப்படுத்தும். \"பிடித்த\" மற்றும் \"காப்பகப்படுத்தப்பட்ட\" குறிச்சொற்கள் இப்போது ஒரு புதிய \"மேவு குறிச்சொற்கள்\" குறிச்சொல்லிலிருந்து பெறப்படுகின்றன, இது இயல்புநிலையாக ஒரு வகையாகக் குறிக்கப்பட்டுள்ளது. </li> <li> குறிச்சொல் வண்ணங்கள் மாற்றப்பட்டு விரிவாக்கப்பட்டுள்ளன. சில வண்ணங்கள் மறுபெயரிடப்பட்டுள்ளன அல்லது ஒருங்கிணைக்கப்பட்டுள்ளன, இருப்பினும் எல்லா குறிச்சொல் வண்ணங்களும் V9.5 இல் உள்ள சரியான அல்லது நெருக்கமான போட்டிகளாக மாறும். </li> </ul> <ul>",
"json_migration.migrating_files_entries": "இடம்பெயர்வு {entries:,d} கோப்பு உள்ளீடுகள் ...",
"json_migration.migration_complete": "இடம்பெயர்வு முடிந்தது!",
"json_migration.migration_complete_with_discrepancies": "இடம்பெயர்வு முடிந்தது, முரண்பாடுகள் காணப்படுகின்றன",
@@ -167,9 +184,21 @@
"library.refresh.scanning_preparing": "புதிய கோப்புகளுக்கான அடைவுகள் சோதனை செய்யப்படுகின்றது...\nதயாராகிறது...",
"library.refresh.title": "கோப்பகங்கள் புதுப்பிக்கப்படுகின்றன",
"library.scan_library.title": "புத்தககல்லரி சோதனை செய்யப்படுகிறது",
"library_info.cleanup": "தூய்மை",
"library_info.cleanup.backups": "நூலக காப்புப்பிரதிகள்:",
"library_info.cleanup.dupe_files": "நகல் கோப்புகள்:",
"library_info.cleanup.ignored": "புறக்கணிக்கப்பட்ட உள்ளீடுகள்:",
"library_info.cleanup.legacy_json": "எஞ்சியிருக்கும் மரபு நூலகம்:",
"library_info.cleanup.unlinked": "இணைக்கப்படாத உள்ளீடுகள்:",
"library_info.stats": "புள்ளிவிவரங்கள்",
"library_info.stats.colors": "குறிச்சொல் நிறங்கள்:",
"library_info.stats.entries": "உள்ளீடுகள்:",
"library_info.stats.fields": "புலங்கள்:",
"library_info.stats.macros": "மேக்ரோக்கள்:",
"library_info.stats.namespaces": "பெயர்வெளிகள்:",
"library_info.stats.tags": "குறிச்சொற்கள்:",
"library_info.title": "நூலகம் '{library_dir}'",
"library_info.version": "நூலக வடிவமைப்பு பதிப்பு: {version}",
"library_object.name": "பெயர்",
"library_object.name_required": "பெயர் (தேவை)",
"library_object.slug": "ஐடி ச்லக்",
@@ -187,15 +216,16 @@
"menu.edit.new_tag": "புதிய & குறிச்சொல்",
"menu.file": "கோப்பு (&f)",
"menu.file.clear_recent_libraries": "சமீபத்தியதை அழிக்கவும்",
"menu.file.close_library": "& நூலகம் மூடு",
"menu.file.close_library": " நூலகம் மூடு",
"menu.file.missing_library.message": "\"{library}\" நூலகத்தின் இருப்பிடத்தைக் கண்டுபிடிக்க முடியாது.",
"menu.file.missing_library.title": "நூலகம் இல்லை",
"menu.file.new_library": "புதிய நூலகம்",
"menu.file.open_backups_folder": "காப்புப்பிரதிகள் கோப்புறையைத் திறக்கவும்",
"menu.file.open_create_library": "& நூலகத்தைத் திறக்க/உருவாக்கவும்",
"menu.file.open_library": "திறந்த நூலகம்",
"menu.file.open_recent_library": "அண்மைக் கால திறப்பு",
"menu.file.refresh_directories": "கோப்பகத்தை புதுப்பிக்கவும்",
"menu.file.save_backup": "& நூலக காப்புப்பிரதியை சேமிக்கவும்",
"menu.file.save_backup": " நூலக காப்புப்பிரதியை சேமிக்கவும்",
"menu.file.save_library": "நூலகத்தை சேமிக்கவும்",
"menu.help": "உதவி (&h)",
"menu.help.about": "பற்றி",
@@ -204,17 +234,23 @@
"menu.select": "தேர்ந்தெடு",
"menu.settings": "அமைப்புகள் ...",
"menu.tools": "கருவிகள் (&t)",
"menu.tools.fix_duplicate_files": "நகல் & கோப்புகளை சரிசெய்யவும்",
"menu.tools.fix_duplicate_files": "& நகல் கோப்புகளை சரிசெய்யவும்",
"menu.tools.fix_ignored_entries": "&புறக்கணிக்கப்பட்ட உள்ளீடுகளைச் சரிசெய்யவும்",
"menu.tools.fix_unlinked_entries": "சரிசெய்யப்படாத உள்ளீடுகளை சரிசெய்யவும்",
"menu.view": "காண்க (&v)",
"menu.view.decrease_thumbnail_size": "சிறுபடத்தின் அளவைக் குறைக்கவும்",
"menu.view.increase_thumbnail_size": "சிறுபடத்தின் அளவை அதிகரிக்கவும்",
"menu.view.library_info": "நூலகம் &தகவல்",
"menu.window": "சாளரம்",
"namespace.create.description": "குறிச்சொற்கள் மற்றும் வண்ணங்கள் போன்ற பொருட்களின் குழுக்களை ஏற்றுமதி செய்வதற்கும் பகிர்வதற்கும் எளிதாக்கும் வகையில் பிரிக்கப்படுவதற்கு பெயர்வெளிகள் டேக்ச்டுடியோவால் பயன்படுத்தப்படுகின்றன. \"டேக்ச்டுடியோ\" உடன் தொடங்கும் பெயர்வெளிகள் உள் பயன்பாட்டிற்காக டேக்ச்டுடியோவால் ஒதுக்கப்பட்டுள்ளன.",
"namespace.create.description": "குறிச்சொற்கள் மற்றும் வண்ணங்கள் போன்ற பொருட்களின் குழுக்களை ஏற்றுமதி செய்வதற்கும் பகிர்வதற்கும் எளிதாக்கும் வகையில் பிரிக்கப்படுவதற்கு பெயர்வெளிகள் முகவரிச்சீட்டுஅறையால் பயன்படுத்தப்படுகின்றன. \"முகவரிச்சீட்டுஅறை\" உடன் தொடங்கும் பெயர்வெளிகள் உள் பயன்பாட்டிற்காக முகவரிச்சீட்டுஅறையால் ஒதுக்கப்பட்டுள்ளன.",
"namespace.create.description_color": "குறிச்சொல் வண்ணங்கள் பெயர்வெளிகளை வண்ணத் தட்டு குழுக்களாகப் பயன்படுத்துகின்றன. அனைத்து தனிப்பயன் வண்ணங்களும் முதலில் ஒரு பெயர்வெளி குழுவின் கீழ் இருக்க வேண்டும்.",
"namespace.create.title": "பெயர்வெளியை உருவாக்கவும்",
"namespace.new.button": "புதிய பெயர்வெளி",
"namespace.new.prompt": "தனிப்பயன் வண்ணங்களைச் சேர்க்கத் தொடங்க புதிய பெயர்வெளியை உருவாக்கவும்!",
"preview.ignored": "புறக்கணிக்கப்பட்டது",
"preview.multiple_selection": "<b> {count} </b> தேர்ந்தெடுக்கப்பட்ட உருப்படிகள்",
"preview.no_selection": "உருப்படிகள் எதுவும் தேர்ந்தெடுக்கப்படவில்லை",
"preview.unlinked": "இணைக்கப்படவில்லை",
"select.add_tag_to_selected": "தேர்ந்தெடுக்கப்பட்டவருக்கு குறிச்சொல்லைச் சேர்க்கவும்",
"select.all": "அனைத்தையும் தெரிவுசெய்",
"select.clear": "தெளிவான தேர்வு",
@@ -228,15 +264,23 @@
"settings.filepath.option.full": "முழு பாதைகளையும் காட்டு",
"settings.filepath.option.name": "கோப்பு பெயர்களைக் காட்டு",
"settings.filepath.option.relative": "உறவினர் பாதைகளைக் காட்டு",
"settings.generate_thumbs": "சிறுபட உருவாக்கம்",
"settings.global": "உலகளாவிய அமைப்புகள்",
"settings.hourformat.label": "24 மணி நேர நேரம்",
"settings.infinite_scroll": "எல்லையற்ற ச்க்ரோலிங்",
"settings.language": "மொழி",
"settings.library": "நூலக அமைப்புகள்",
"settings.open_library_on_start": "தொடக்கத்தில் நூலகத்தைத் திறக்கவும்",
"settings.page_size": "பக்க அளவு",
"settings.restart_required": "மாற்றங்கள் நடைமுறைக்கு வருவதற்கு டேக்ச்டுடியோவை மறுதொடக்கம் செய்யுங்கள்.",
"settings.restart_required": "மாற்றங்கள் நடைமுறைக்கு வருவதற்கு முகவரிச்சீட்டுஅறையை மறுதொடக்கம் செய்.",
"settings.show_filenames_in_grid": "கட்டத்தில் கோப்பு பெயர்களைக் காட்டு",
"settings.show_recent_libraries": "அண்மைக் கால நூலகங்களைக் காட்டு",
"settings.splash.label": "ச்பிளாச் திரை",
"settings.splash.option.classic": "கிளாசிக் (9.0)",
"settings.splash.option.default": "இயல்புநிலை",
"settings.splash.option.goo_gears": "திறந்த மூல (9.4)",
"settings.splash.option.ninety_five": "'95 (9.5)",
"settings.splash.option.random": "சீரற்ற",
"settings.tag_click_action.add_to_search": "தேடுவதற்கு குறிச்சொல்லைச் சேர்க்கவும்",
"settings.tag_click_action.label": "குறிச்சொல் செயலை சொடுக்கு செய்க",
"settings.tag_click_action.open_edit": "குறிச்சொல்லைத் திருத்து",
@@ -245,10 +289,12 @@
"settings.theme.label": "தீம்:",
"settings.theme.light": "ஒளி",
"settings.theme.system": "மண்டலம்",
"settings.thumb_cache_size.label": "சிறுபடம் தற்காலிக சேமிப்பு அளவு",
"settings.title": "அமைப்புகள்",
"settings.zeropadding.label": "தேதி பூச்சிய-பேடிங்",
"sorting.direction.ascending": "ஏறுதல்",
"sorting.direction.descending": "இறங்கு",
"sorting.mode.random": "சீரற்ற",
"splash.opening_library": "\"{library_path}\" ஐ திறக்கும் ...",
"status.deleted_file_plural": "நீக்கப்பட்டது {count} கோப்புகள்!",
"status.deleted_file_singular": "1 கோப்பு நீக்கப்பட்டது!",
@@ -280,6 +326,7 @@
"tag.disambiguation.tooltip": "இந்த குறிச்சொல்லைப் பயன்படுத்தவும்",
"tag.edit": "குறிச்சொல்லைத் திருத்து",
"tag.is_category": "வகை",
"tag.is_hidden": "மறைக்கப்பட்டுள்ளது",
"tag.name": "பெயர்",
"tag.new": "புதிய குறிச்சொல்",
"tag.parent_tags": "பெற்றோர் குறிச்சொற்கள்",
@@ -294,8 +341,8 @@
"trash.context.ambiguous": "கோப்புகளை நகர்த்தவும்) {trash_term}",
"trash.context.plural": "கோப்புகளை {trash_term} பெறுநர் க்கு நகர்த்தவும்",
"trash.context.singular": "கோப்பை {trash_term} பெறுநர் க்கு நகர்த்தவும்",
"trash.dialog.disambiguation_warning.plural": "இது அவற்றை டேக்ச்டுடியோ <i> மற்றும் </i> உங்கள் கோப்பு முறைமையிலிருந்து அகற்றும்!",
"trash.dialog.disambiguation_warning.singular": "இது டேக்ச்டுடியோ <i> மற்றும் </i> உங்கள் கோப்பு முறைமையிலிருந்து அகற்றப்படும்!",
"trash.dialog.disambiguation_warning.plural": "இது அவற்றை முகவரிச்சீட்டுஅறை <i> மற்றும் </i> உங்கள் கோப்பு முறைமையிலிருந்து அகற்றும்!",
"trash.dialog.disambiguation_warning.singular": "இது முகவரிச்சீட்டுஅறை <i> மற்றும் </i> உங்கள் கோப்பு முறைமையிலிருந்து அகற்றப்படும்!",
"trash.dialog.move.confirmation.plural": "இந்த {count} கோப்புகளை {trash_term} க்கு நகர்த்த விரும்புகிறீர்களா?",
"trash.dialog.move.confirmation.singular": "இந்த கோப்பை {trash_term} with க்கு நகர்த்த விரும்புகிறீர்களா?",
"trash.dialog.permanent_delete_warning": "<b> எச்சரிக்கை! </b> இந்தக் கோப்பை {trash_term} க்கு மாற்ற முடியாவிட்டால், இது <b> நிரந்தரமாக நீக்கப்படும்! </b>",
@@ -303,6 +350,9 @@
"trash.dialog.title.singular": "கோப்பை அழி",
"trash.name.generic": "குப்பை",
"trash.name.windows": "மறுசுழற்சி பின்",
"version_modal.description": "முகவரிச்சீட்டுஅறை இன் புதிய பதிப்பு கிடைக்கிறது! சமீபத்திய வெளியீட்டை நீங்கள் பதிவிறக்கம் செய்யலாம் <a href=\"https://github.com/TagStudioDev/TagStudio/releases/latest\">அறிவிலிமையம்</a>.",
"version_modal.status": "நிறுவப்பட்ட பதிப்பு: {installed_version}<br>அண்மைகால வெளியீட்டு பதிப்பு: {latest_release_version}",
"version_modal.title": "முகவரிச்சீட்டுஅறை புதுப்பிப்பு கிடைக்கிறது",
"view.size.0": "மினி",
"view.size.1": "சிறிய",
"view.size.2": "சராசரி",

View File

@@ -0,0 +1,8 @@
{
"about.config_path": "เส้นทางกำหนดค่า",
"about.description": "TagStudio เป็นแอปพลิเคชันจัดระเบียบรูปภาพและไฟล์ที่มีระบบพื้นฐานแบบแท็ก ซึ่งเน้นความยืดหยุ่นให้แก่ผู้ใช้ ไม่มีโปรแกรมหรือรูปแบบเฉพาะ ไม่มีไฟล์เสริมจำนวนมาก และไม่มีการเปลี่ยนแปลงโครงสร้างระบบไฟล์ของคุณอย่างสิ้นเชิง",
"about.documentation": "เอกสารประกอบ",
"about.license": "ใบอนุญาต",
"about.module.found": "พบ",
"about.title": "เกี่ยวกับ TagStudio"
}

View File

@@ -41,12 +41,20 @@
"entries.duplicate.refresh": "o kama jo e sona tan ijo sama",
"entries.duplicates.description": "ken la, ijo mute li jo e ijo lon sama. ni li \"ijo sama\". sina wan e ona la, ijo sama li kama wan li jo e sona ale tan ijo sama ale.",
"entries.generic.remove.removing": "mi weka e ijo",
"entries.generic.remove.removing_count": "mi weka e ijo {count}...",
"entries.ignored.description": "sina pana e ijo lipu lon tomo, la sina weka e ona lon lawa toki pi lukin ala la, ona li \"lukin ala\". meso la, lipu pi lukin ala li lon tomo tan ni: ni ala la sina ante e lawa toki pi lukin ala la, nanpa li ken pakala.",
"entries.ignored.ignored_count": "ijo pi lukin ala: {count}",
"entries.ignored.remove": "o weka e ijo pi lukin ala",
"entries.ignored.remove_alt": "o weka e ijo pi lukin ala (&V)",
"entries.ignored.scanning": "mi alasa e ijo pi lukin ala...",
"entries.ignored.title": "o pona e ijo pi lukin ala",
"entries.mirror": "jasi&ma",
"entries.mirror.confirmation": "mi jasima e ijo {count}. ni li pona anu seme?",
"entries.mirror.label": "mi jasima e ijo {idx}/{total}...",
"entries.mirror.title": "mi jasima e ijo",
"entries.mirror.window_title": "o jasima e ijo",
"entries.remove.plural.confirm": "mi weka e ijo <b>{count}</b>. ni li pona anu seme? poki lipu pi ilo sina la lipu ala li weka.",
"entries.remove.singular.confirm": "mi weka e ijo ni. ni li pona anu seme? poki lipu pi ilo sina la lipu ala li weka.",
"entries.running.dialog.new_entries": "mi pana e lipu sin {total}...",
"entries.running.dialog.title": "mi pana e lipu sin",
"entries.tags": "poki",
@@ -54,6 +62,8 @@
"entries.unlinked.relink.attempting": "mi o pana e ijo lon tawa ijo {index}/{unlinked_count}. mi pana e ijo lon tawa ijo {fixed_count}",
"entries.unlinked.relink.manual": "sina o pana e ijo lon tawa ijo (&M)",
"entries.unlinked.relink.title": "mi pana e ijo lon tawa ijo",
"entries.unlinked.remove": "o weka e ijo pi ijo lon ala",
"entries.unlinked.remove_alt": "o weka e ijo pi ijo lon ala (&V)",
"entries.unlinked.scanning": "mi o alasa e ijo pi ijo lon ala...",
"entries.unlinked.search_and_relink": "o ala&sa o pana e ijo lon tawa ijo",
"entries.unlinked.title": "o pona e ijo pi ijo lon ala",
@@ -120,17 +130,21 @@
"generic.rename_alt": "o nimi sin (&R)",
"generic.reset": "o open sin",
"generic.save": "o awen",
"generic.skip": "o pali ala",
"generic.skip_alt": "o pali ala (&S)",
"generic.yes": "lon",
"home.search": "o alasa",
"home.search_entries": "o alasa lon ijo",
"home.search_library": "o alasa lon tomo",
"home.search_tags": "o alasa lon poki",
"home.show_hidden_entries": "o ken lukin e lipu pi ken ala lukin",
"home.thumbnail_size": "suli sitelen",
"home.thumbnail_size.extra_large": "sitelen pi suli mute",
"home.thumbnail_size.large": "sitelen suli",
"home.thumbnail_size.medium": "sitelen meso",
"home.thumbnail_size.mini": "sitelen pi lili mute",
"home.thumbnail_size.small": "sitelen lili",
"ignore.open_file": "o ken lukin e lipu \"{ts_ignore}\" lon ilo sina",
"json_migration.checking_for_parity": "mi alasa e nasin tu...",
"json_migration.description": "<br>o open e tawa tomo o lukin e pini. sina pilin ala e \"o pini e tawa\" la, mi kepeken <i>ala</i> e tomo ante. <br><br>sona tomo o jo e nanpa sama anu toki \"sama\" la ale li pona. nanpa ante li loje li jo e sitelen \"<b>(!)</b>\" lon poka ona.<br><center><i>tomo li suli la pali ni li lanpan e tenpo mute.</i></center>",
"json_migration.discrepancies_found": "mi lukin e ike pi tomo sina",
@@ -165,12 +179,17 @@
"library.refresh.scanning_preparing": "mi alasa e ijo sin lon tomo...\nmi kama pona...",
"library.refresh.title": "mi kama jo e sin lon tomo",
"library.scan_library.title": "mi o lukin e tomo",
"library_info.cleanup": "jaki",
"library_info.cleanup.backups": "sama awen tomo:",
"library_info.cleanup.ignored": "ijo pi lukin ala:",
"library_info.stats": "sona nanpa",
"library_info.stats.colors": "kule poki:",
"library_info.stats.entries": "ijo:",
"library_info.stats.fields": "ma:",
"library_info.stats.namespaces": "ma nimi:",
"library_info.stats.tags": "poki:",
"library_info.title": "tomo '{library_dir}'",
"library_info.version": "nanpa pi nasin tomo: {version}",
"library_object.name": "nimi",
"library_object.name_required": "nimi (wile mute)",
"library_object.slug": "ID Slug",
@@ -192,10 +211,12 @@
"menu.file.missing_library.message": "mi ken ala lukin e lon pi tomo \"{library}\".",
"menu.file.missing_library.title": "tomo pi lon ala",
"menu.file.new_library": "o sin e tomo",
"menu.file.open_backups_folder": "o open e kulupu pi sama awen",
"menu.file.open_create_library": "o &open/pali e tomo",
"menu.file.open_library": "o open e tomo",
"menu.file.open_recent_library": "o open e poka",
"menu.file.refresh_directories": "o lukin sin lon tomo (&R)",
"menu.file.save_backup": "o awen e &sama awen tomo",
"menu.file.save_library": "o awen e sona tomo",
"menu.help": "mi jo e toki seme (&H)",
"menu.help.about": "sona",
@@ -205,6 +226,7 @@
"menu.settings": "lawa toki...",
"menu.tools": "ilo (&T)",
"menu.tools.fix_duplicate_files": "o pona e lipu sama (&D)",
"menu.tools.fix_ignored_entries": "o pona e &ijo pi lukin ala",
"menu.tools.fix_unlinked_entries": "o pona e ijo pi ijo lon ala (&U)",
"menu.view": "o lukin (&V)",
"menu.view.decrease_thumbnail_size": "o lili e sitelen",
@@ -216,12 +238,14 @@
"namespace.create.title": "o pali sin e ma nimi",
"namespace.new.button": "o pali sin e ma nimi",
"namespace.new.prompt": "o pali sin e ma nimi tawa pana e kule sina!",
"preview.ignored": "lukin ala",
"preview.multiple_selection": "sina jo e ijo <b>{count}</b>",
"preview.no_selection": "ijo ala li anu",
"select.add_tag_to_selected": "o pana e poki tawa jo sina",
"select.all": "o jo e ale",
"select.clear": "o weka e jo sina",
"select.inverse": "o jasima e ni",
"settings.clear_thumb_cache.title": "o weka e poki sitelen",
"settings.dateformat.english": "nasin Inli",
"settings.dateformat.international": "nasin pi ma mute",
"settings.dateformat.label": "nasin tenpo",
@@ -229,6 +253,7 @@
"settings.filepath.label": "ken lukin pi nasin lipu",
"settings.filepath.option.full": "o ken lukin e nasin wan",
"settings.filepath.option.name": "o ken lukin e nimi lipu taso",
"settings.generate_thumbs": "pali pi sitelen",
"settings.global": "lawa toki pi ma ale",
"settings.hourformat.label": "tenpo pi kipisi 24",
"settings.language": "toki",
@@ -246,13 +271,17 @@
"settings.theme.label": "nasin kule:",
"settings.theme.light": "walo",
"settings.theme.system": "ilo sina",
"settings.thumb_cache_size.label": "suli pi poki sitelen",
"settings.title": "lawa toki",
"sorting.direction.ascending": "tawa sewi",
"sorting.direction.descending": "tawa anpa",
"splash.opening_library": "mi open e tomo \"{library_path}\"...",
"status.deleted_file_plural": "mi weka e lipu {count}!",
"status.deleted_file_singular": "mi weka e lipu 1!",
"status.deleted_none": "mi weka e lipu ala.",
"status.deleted_partial_warning": "mi weka e lipu {count} taso! o lukin tan ni: lipu li weka anu ijo li kepeken ona anu seme.",
"status.deleting_file": "mi weka e lipu [{i}/{count}]: \"{path}\"...",
"status.library_backup_in_progress": "mi awen e sama awen tomo...",
"status.library_backup_success": "tomo sama li lon: \"{path}\" ({time_span})",
"status.library_closed": "tomo li pini ({time_span})",
"status.library_closing": "mi pini e tomo...",
@@ -274,8 +303,10 @@
"tag.confirm_delete": "sina wile ala wile weka e poki \"{tag_name}\"?",
"tag.create": "o pali sin e poki",
"tag.create_add": "o pali sin && o pana e \"{query}\"",
"tag.disambiguation.tooltip": "o kepeken poki ni lon nimi",
"tag.edit": "o ante e poki",
"tag.is_category": "poki ala poki",
"tag.is_hidden": "ken ala lukin",
"tag.name": "nimi",
"tag.new": "poki sin",
"tag.parent_tags": "poki mama",
@@ -299,6 +330,9 @@
"trash.dialog.title.singular": "o weka e lipu",
"trash.name.generic": "poki pi ijo weka",
"trash.name.windows": "poki pi ijo weka",
"version_modal.description": "nanpa sin pi ilo Tagstudio li lon! sina ken kama jo e ona tan <a href=\"https://github.com/TagStudioDev/TagStudio/releases/latest\">ma Github</a>.",
"version_modal.status": "nanpa ni: {installed_version}<br>nanpa sin: {latest_release_version}",
"version_modal.title": "nanpa sin pi ilo Tagstudio li lon",
"view.size.0": "lili mute",
"view.size.1": "lili",
"view.size.2": "meso",

View File

@@ -182,7 +182,7 @@
"menu.edit.new_tag": "Yeni &Etiket",
"menu.file": "&Dosya",
"menu.file.clear_recent_libraries": "Yakın Geçmişi Temizle",
"menu.file.close_library": "Kütüphaneyi &Kapat",
"menu.file.close_library": "Kütüphaneyi Kapat",
"menu.file.new_library": "Yeni Kütüphane",
"menu.file.open_create_library": "Kütüphane &Aç/Oluştur",
"menu.file.open_library": "Kütüphane Aç",

View File

@@ -40,7 +40,13 @@
"entries.duplicate.merge.label": "正在合并重复项目...",
"entries.duplicate.refresh": "重新整理重复项目",
"entries.duplicates.description": "重复项目被定义为多个指向磁盘上同一文件的项目。合并这些项目将把所有重复项目的标签和元数据整合为一个统一的项目。这与“重复文件”不同,后者是指在 TagStudio 之外的文件本身的重复。",
"entries.generic.refresh_alt": "重新整理(&r)",
"entries.generic.remove.removing": "正在删除项目",
"entries.generic.remove.removing_count": "正在删除 {count} 个项目...",
"entries.ignored.ignored_count": "忽略项目: {count}",
"entries.ignored.remove": "删除忽略项目",
"entries.ignored.remove_alt": "删除忽略项目(&v)",
"entries.ignored.title": "修复忽略项目",
"entries.mirror": "镜像(&m)",
"entries.mirror.confirmation": "您确定要镜像以下 {count} 条项目吗?",
"entries.mirror.label": "正在镜像 {idx}/{total} 个项目...",
@@ -54,6 +60,8 @@
"entries.unlinked.relink.attempting": "正在尝试重新链接 {index}/{unlinked_count} 个项目, {fixed_count} 个项目成功重链",
"entries.unlinked.relink.manual": "手动重新链接(&m)",
"entries.unlinked.relink.title": "正在重新链接项目",
"entries.unlinked.remove": "删除未链接项目",
"entries.unlinked.remove_alt": "删除未链接项目(&v)",
"entries.unlinked.scanning": "正在扫描仓库以寻找未链接的项目...",
"entries.unlinked.search_and_relink": "搜索并重新链接(&s)",
"entries.unlinked.title": "修复未链接的项目",
@@ -110,17 +118,21 @@
"generic.missing": "缺失",
"generic.navigation.back": "返回",
"generic.navigation.next": "下一个",
"generic.no": "否",
"generic.none": "无",
"generic.overwrite": "覆盖",
"generic.overwrite_alt": "覆盖(&o)",
"generic.paste": "粘贴",
"generic.recent_libraries": "最近使用的仓库",
"generic.remove": "删除",
"generic.remove_alt": "删除(&r)",
"generic.rename": "重命名",
"generic.rename_alt": "重命名(&r)",
"generic.reset": "重置",
"generic.save": "保存",
"generic.skip": "跳过",
"generic.skip_alt": "跳过(&s)",
"generic.yes": "是",
"home.search": "搜索",
"home.search_entries": "搜索项目",
"home.search_library": "搜索仓库",
@@ -167,9 +179,16 @@
"library.refresh.scanning_preparing": "正在扫描文件夹中的新文件...\n准备中...",
"library.refresh.title": "正在刷新目录",
"library.scan_library.title": "正在扫描仓库",
"library_info.cleanup": "清理",
"library_info.cleanup.dupe_files": "重复文件:",
"library_info.cleanup.ignored": "忽略项目:",
"library_info.cleanup.unlinked": "未链接项目:",
"library_info.stats.colors": "标签颜色:",
"library_info.stats.entries": "项目:",
"library_info.stats.fields": "字段:",
"library_info.stats.namespaces": "命名空间:",
"library_info.stats.tags": "标签:",
"library_info.title": "仓库 '{library_dir}'",
"library_object.name": "仓库名",
"library_object.name_required": "仓库名(必填)",
"library_object.slug": "ID 短链",
@@ -191,6 +210,7 @@
"menu.file.missing_library.message": "无法找到资源库 \"{library}\" 的存储位置。",
"menu.file.missing_library.title": "仓库缺失",
"menu.file.new_library": "新建仓库",
"menu.file.open_backups_folder": "打开备份文件夹",
"menu.file.open_create_library": "打开/创建仓库(&o)",
"menu.file.open_library": "打开仓库",
"menu.file.open_recent_library": "打开最近仓库",
@@ -204,9 +224,11 @@
"menu.select": "选择",
"menu.settings": "设置...",
"menu.tools": "工具(&t)",
"menu.tools.fix_duplicate_files": "修复重复文件(&f)",
"menu.tools.fix_duplicate_files": "修复重复文件(&d)",
"menu.tools.fix_ignored_entries": "修复忽略项目(&i)",
"menu.tools.fix_unlinked_entries": "修复未链接项目(&u)",
"menu.view": "显示(&v)",
"menu.view.decrease_thumbnail_size": "缩减缩略图大小",
"menu.window": "选项(Window)",
"namespace.create.description": "命名空间由 TagStudio 用于将标签和颜色等项目分组,以便于导出和共享。以 \"TagStudio\" 开头的命名空间为 TagStudio 保留,用于内部使用。",
"namespace.create.description_color": "标签颜色使用命名空间作为颜色调色板组。所有自定义颜色必须首先归属于一个命名空间组。",
@@ -215,6 +237,7 @@
"namespace.new.prompt": "创建一个新的命名空间来开始添加自定义颜色!",
"preview.multiple_selection": "已选择 <b>{count}</b> 个项目",
"preview.no_selection": "尚未选择项目",
"preview.unlinked": "未链接",
"select.add_tag_to_selected": "添加标签到已选择的项目",
"select.all": "全选",
"select.clear": "清除选择",
@@ -228,8 +251,10 @@
"settings.filepath.option.full": "显示完整路径",
"settings.filepath.option.name": "仅显示文件名",
"settings.filepath.option.relative": "显示相对路径",
"settings.generate_thumbs": "缩略图生成",
"settings.global": "全局设置",
"settings.hourformat.label": "24小时制",
"settings.infinite_scroll": "无限滚动",
"settings.language": "语言",
"settings.library": "仓库设置",
"settings.open_library_on_start": "在启动时打开仓库",

View File

@@ -25,8 +25,8 @@
"color_manager.title": "管理標籤顏色",
"dependency.missing.title": "未找到 {dependency}",
"drop_import.description": "以下檔案與文件庫中已存在的檔案路徑重複",
"drop_import.duplicates_choice.plural": "以下 {count} 個檔案與文件庫中已存在的檔案路徑重複",
"drop_import.duplicates_choice.singular": "以下檔案與文件庫中已存在的檔案路徑重複",
"drop_import.duplicates_choice.plural": "以下 {count} 個檔案與文件庫中已存在的檔案路徑重複",
"drop_import.duplicates_choice.singular": "以下檔案與文件庫中已存在的檔案路徑重複",
"drop_import.progress.label.initial": "正在匯入新檔案...",
"drop_import.progress.label.plural": "正在匯入新檔案...\n已匯入 {count} 個檔案。{suffix}",
"drop_import.progress.label.singular": "正在匯入新檔案...\n已匯入 1 個檔案。{suffix}",
@@ -40,13 +40,22 @@
"entries.duplicate.merge.label": "正在合併重複項目...",
"entries.duplicate.refresh": "重新整理重複項目",
"entries.duplicates.description": "重複項目的定義為多個項目指向硬碟中的同一個檔案。合併這些重複項目會將其所有的標籤和元資料合併為一個單獨的項目。這些並不是重複的檔案,重複的檔案是 TagStudio 以外的重複檔案。",
"entries.generic.refresh_alt": "重新整理 (&R)",
"entries.generic.remove.removing": "正在刪除項目",
"entries.generic.remove.removing_count": "正在刪除 {count} 個項目...",
"entries.ignored.description": "如果檔案項目在忽略規則(「.ts_ignore」檔案變更使其被排除前已加入文件庫它們會視為「忽略」。為了防範在忽略規則變更造成資料遺失被忽略的檔案預設會繼續留在文件庫裡。",
"entries.ignored.ignored_count": "忽略項目:{count}",
"entries.ignored.remove": "刪除忽略項目",
"entries.ignored.remove_alt": "刪除忽略項目 (&V)",
"entries.ignored.scanning": "正在文件庫掃描忽略項目...",
"entries.ignored.title": "修復忽略項目",
"entries.mirror": "鏡像 (&M)",
"entries.mirror.confirmation": "您確定要鏡像 {count} 個項目嗎?",
"entries.mirror.label": "正在鏡像 {idx}/{total} 個項目...",
"entries.mirror.title": "鏡像項目",
"entries.mirror.window_title": "鏡像項目",
"entries.remove.plural.confirm": "您確定要刪除 {count} 個項目嗎?",
"entries.remove.plural.confirm": "您確定要刪除 <b>{count}</b> 個項目嗎?硬碟上不會有檔案被刪除。",
"entries.remove.singular.confirm": "您確定要從您的文件庫刪除這個項目嗎? 硬碟上不會有檔案被刪除。",
"entries.running.dialog.new_entries": "正在加入 {total} 個新檔案項目...",
"entries.running.dialog.title": "正在加入新檔案項目",
"entries.tags": "標籤",
@@ -54,6 +63,8 @@
"entries.unlinked.relink.attempting": "正在嘗試重新連接 {index}/{unlinked_count} 個項目,已成功重新連接 {fixed_count} 個",
"entries.unlinked.relink.manual": "手動重新連接 (&M)",
"entries.unlinked.relink.title": "正在重新連接",
"entries.unlinked.remove": "刪除未連接項目",
"entries.unlinked.remove_alt": "刪除未連接項目 (&V)",
"entries.unlinked.scanning": "正在掃描文件庫中的未連接項目...",
"entries.unlinked.search_and_relink": "搜尋並重新連接 (&S)",
"entries.unlinked.title": "修復未連接項目",
@@ -67,7 +78,7 @@
"file.date_created": "建立日期",
"file.date_modified": "修改日期",
"file.dimensions": "尺寸",
"file.duplicates.description": "TagStudio 支援匯入 DupeGuru 結果來管理重複的檔案",
"file.duplicates.description": "TagStudio 支援匯入 DupeGuru 結果來管理重複的檔案",
"file.duplicates.dupeguru.advice": "在鏡像之後,您可以使用 DupeGuru 來刪除不需要的檔案。之後,利用 TagStudio 的「修復未連接項目」功能來刪除未連接項目。",
"file.duplicates.dupeguru.file_extension": "DupeGuru 檔案 (*.dupeguru)",
"file.duplicates.dupeguru.load_file": "匯入 DupeGuru 檔案 (&L)",
@@ -110,17 +121,21 @@
"generic.missing": "遺失",
"generic.navigation.back": "返回",
"generic.navigation.next": "下一個",
"generic.no": "否",
"generic.none": "無",
"generic.overwrite": "覆寫",
"generic.overwrite_alt": "覆寫 (&O)",
"generic.paste": "貼上",
"generic.recent_libraries": "最近使用的文件庫",
"generic.remove": "刪除",
"generic.remove_alt": "刪除 (&R)",
"generic.rename": "重新命名",
"generic.rename_alt": "重新命名 (&R)",
"generic.reset": "重設",
"generic.save": "儲存",
"generic.skip": "跳過",
"generic.skip_alt": "跳過 (&S)",
"generic.yes": "是",
"home.search": "搜尋",
"home.search_entries": "搜尋項目",
"home.search_library": "搜尋文件庫",
@@ -131,6 +146,7 @@
"home.thumbnail_size.medium": "中縮圖",
"home.thumbnail_size.mini": "迷你縮圖",
"home.thumbnail_size.small": "小縮圖",
"ignore.open_file": "在硬碟顯示「{ts_ignore}」檔案",
"json_migration.checking_for_parity": "正在檢查一致性...",
"json_migration.creating_database_tables": "正在建立資料庫表格...",
"json_migration.description": "<br>開啟並預覽文件庫遷移過程。除非您按下「完成遷移」,否則被遷移的文件庫<i>不會</i>被使用。<br><br>文件庫資料應該是一致的或者要有個「已一致」標籤。不一致的資料會以紅色顯示並會有「<b>(!)</b>」標示在旁邊。<br><center><i>對於較大的文件庫,這個過程可能會花到幾分鐘以上。</i></center>",
@@ -167,9 +183,21 @@
"library.refresh.scanning_preparing": "正在掃描目錄尋找新檔案...\n準備中...",
"library.refresh.title": "重新整理目錄",
"library.scan_library.title": "掃描文件庫",
"library_info.cleanup": "清理",
"library_info.cleanup.backups": "文件庫備份:",
"library_info.cleanup.dupe_files": "重複檔案:",
"library_info.cleanup.ignored": "忽略項目:",
"library_info.cleanup.legacy_json": "遺留舊版文件庫:",
"library_info.cleanup.unlinked": "未連接項目:",
"library_info.stats": "統計數據",
"library_info.stats.colors": "標籤顏色:",
"library_info.stats.entries": "項目:",
"library_info.stats.fields": "欄位:",
"library_info.stats.macros": "巨集指令:",
"library_info.stats.namespaces": "命名空間:",
"library_info.stats.tags": "標籤:",
"library_info.title": "文件庫「{library_dir}」",
"library_info.version": "文件庫格式版本:{version}",
"library_object.name": "名稱",
"library_object.name_required": "名稱 (必填)",
"library_object.slug": "ID Slug",
@@ -188,9 +216,10 @@
"menu.file": "檔案 (&F)",
"menu.file.clear_recent_libraries": "清除最近使用的文件庫",
"menu.file.close_library": "關閉文件庫 (&C)",
"menu.file.missing_library.message": "未找到文件庫(路徑:{library}",
"menu.file.missing_library.message": "未找到文件庫(路徑:{library}",
"menu.file.missing_library.title": "文件庫遺失",
"menu.file.new_library": "新增文件庫",
"menu.file.open_backups_folder": "打開備份資料夾",
"menu.file.open_create_library": "開啟/建立文件庫 (&O)",
"menu.file.open_library": "開啟文件庫",
"menu.file.open_recent_library": "開啟最近使用的文件庫",
@@ -204,17 +233,23 @@
"menu.select": "選擇",
"menu.settings": "設定...",
"menu.tools": "工具 (&T)",
"menu.tools.fix_duplicate_files": "修復重複檔案",
"menu.tools.fix_duplicate_files": "修復重複檔案 (&D)",
"menu.tools.fix_ignored_entries": "修復忽略項目 (&I)",
"menu.tools.fix_unlinked_entries": "修復未連接項目",
"menu.view": "檢視 (&V)",
"menu.view.decrease_thumbnail_size": "縮減縮圖大小",
"menu.view.increase_thumbnail_size": "放大縮圖大小",
"menu.view.library_info": "文件庫資訊 (&I)",
"menu.window": "視窗 (&W)",
"namespace.create.description": "TagStudio 使用命名空間來區分成群的物件如標籤或顏色以便這些物件能被匯出或分享。以「tagstudio」開頭的命名空間是 TagStudio 內部使用的命名空間。",
"namespace.create.description_color": "標籤顏色使用命名空間作為色彩群組。所有自訂顏色必須先被放入一個命名空間群組。",
"namespace.create.title": "建立命名空間",
"namespace.new.button": "新增命名空間",
"namespace.new.prompt": "新增一個命名空間以新增自訂顏色",
"namespace.new.prompt": "新增一個命名空間以新增自訂顏色",
"preview.ignored": "被忽略",
"preview.multiple_selection": "已選取 <b>{count}</b> 個項目",
"preview.no_selection": "無選取項目",
"preview.unlinked": "未連接",
"select.add_tag_to_selected": "加入標籤至選取項目",
"select.all": "全部選取",
"select.clear": "清除選取",
@@ -228,15 +263,23 @@
"settings.filepath.option.full": "僅顯示絕對檔案路徑",
"settings.filepath.option.name": "僅顯示檔案名稱",
"settings.filepath.option.relative": "僅顯示相對檔案路徑",
"settings.generate_thumbs": "縮圖生成",
"settings.global": "全域設定",
"settings.hourformat.label": "24 小時制",
"settings.infinite_scroll": "無限捲動",
"settings.language": "語言",
"settings.library": "文件庫設定",
"settings.open_library_on_start": "啟動時開啟文件庫",
"settings.page_size": "頁面大小",
"settings.restart_required": "需要重新啟動 TagStudio 才能使變更生效",
"settings.restart_required": "需要重新啟動 TagStudio 才能使變更生效",
"settings.show_filenames_in_grid": "在網格中顯示檔案名稱",
"settings.show_recent_libraries": "顯示最近使用的文件庫",
"settings.splash.label": "啟動畫面",
"settings.splash.option.classic": "經典 (9.0)",
"settings.splash.option.default": "預設",
"settings.splash.option.goo_gears": "開源軟體 (9.4)",
"settings.splash.option.ninety_five": "'95 (9.5)",
"settings.splash.option.random": "隨機",
"settings.tag_click_action.add_to_search": "加入標籤至搜尋範圍",
"settings.tag_click_action.label": "標籤點選動作",
"settings.tag_click_action.open_edit": "編輯標籤",
@@ -245,21 +288,23 @@
"settings.theme.label": "主題:",
"settings.theme.light": "淺色模式",
"settings.theme.system": "系統主題",
"settings.thumb_cache_size.label": "縮圖快取大小",
"settings.title": "設定",
"settings.zeropadding.label": "日期補零",
"sorting.direction.ascending": "升序",
"sorting.direction.descending": "降序",
"sorting.mode.random": "隨機排列",
"splash.opening_library": "正在開啟「{library_path}」...",
"status.deleted_file_plural": "已刪除 {count} 個檔案!",
"status.deleted_file_singular": "已刪除一個檔案!",
"status.deleted_none": "未刪除任何檔案",
"status.deleted_none": "未刪除任何檔案",
"status.deleted_partial_warning": "只刪除了 {count} 個檔案!請檢查檔案是否遺失或正在被使用。",
"status.deleting_file": "正在刪除 [{i}/{count}]:「{path}」...",
"status.library_backup_in_progress": "正在儲存文件庫備份...",
"status.library_backup_success": "文件庫備份已儲存至:「{path}」({time_span})",
"status.library_closed": "文件庫已關閉 ({time_span})",
"status.library_closing": "正在關閉文件庫...",
"status.library_save_success": "文件庫已成功儲存並關閉",
"status.library_save_success": "文件庫已成功儲存並關閉",
"status.library_search_query": "正在搜尋文件庫...",
"status.library_version_expected": "預期版本:",
"status.library_version_found": "找到版本:",
@@ -308,7 +353,7 @@
"view.size.2": "中",
"view.size.3": "大",
"view.size.4": "特大",
"window.message.error_opening_library": "開啟文件庫時發生錯誤",
"window.message.error_opening_library": "開啟文件庫時發生錯誤",
"window.title.error": "錯誤",
"window.title.open_create_library": "開啟/建立文件庫"
}

View File

@@ -29,3 +29,23 @@ def test_refresh_new_files(library: Library, exclude_mode: bool):
# Test if the single file was added
list(registry.refresh_dir(library_dir, force_internal_tools=True))
assert registry.files_not_in_library == [Path("FOO.MD")]
@pytest.mark.parametrize("library", [TemporaryDirectory()], indirect=True)
def test_refresh_multi_byte_filenames(library: Library):
library_dir = unwrap(library.library_dir)
# Given
registry = RefreshTracker(library=library)
library.included_files.clear()
(library_dir / ".TagStudio").mkdir()
(library_dir / "こんにちは.txt").touch()
(library_dir / "emdash.txt").touch()
(library_dir / "apostrophe.txt").touch()
(library_dir / "umlaute äöü.txt").touch()
# Test if all files were added with their correct names and without exceptions
list(registry.refresh_dir(library_dir))
assert Path("こんにちは.txt") in registry.files_not_in_library
assert Path("emdash.txt") in registry.files_not_in_library
assert Path("apostrophe.txt") in registry.files_not_in_library
assert Path("umlaute äöü.txt") in registry.files_not_in_library

View File

@@ -1,12 +1,13 @@
# Copyright (C) 2025
# Licensed under the GPL-3.0 License.
# Created for TagStudio: https://github.com/CyanVoxel/TagStudio
from PySide6.QtCore import SIGNAL
from pytestqt.qtbot import QtBot
from tagstudio.core.library.alchemy.library import Library
from tagstudio.qt.mixed.tag_search import TagSearchPanel
from tagstudio.qt.mixed.tag_widget import TagWidget
from tagstudio.qt.ts_qt import QtDriver
def test_update_tags(qtbot: QtBot, library: Library):
@@ -17,3 +18,35 @@ def test_update_tags(qtbot: QtBot, library: Library):
# When
panel.update_tags()
def test_tag_widget_actions_replaced_correctly(qtbot: QtBot, qt_driver: QtDriver, library: Library):
panel = TagSearchPanel(library)
qtbot.addWidget(panel)
panel.driver = qt_driver
# Set the widget
tags = library.tags
panel.set_tag_widget(tags[0], 0)
tag_widget: TagWidget = panel.scroll_layout.itemAt(0).widget()
should_replace_actions = {
tag_widget: ["on_edit()", "on_remove()"],
tag_widget.bg_button: ["clicked()"],
tag_widget.search_for_tag_action: ["triggered()"],
}
# Ensure each action has been set
ensure_one_receiver_per_action(should_replace_actions)
# Set the widget again
panel.set_tag_widget(tags[0], 0)
# Ensure each action has been replaced (amount of receivers is still 1)
ensure_one_receiver_per_action(should_replace_actions)
def ensure_one_receiver_per_action(should_replace_actions):
for action, signal_strings in should_replace_actions.items():
for signal_str in signal_strings:
assert action.receivers(SIGNAL(signal_str)) == 1