Bump version to 0.9.8; update localization files and adjust tag processing logic
All checks were successful
Gitea/kapitanbooru-uploader/pipeline/head This commit looks good
All checks were successful
Gitea/kapitanbooru-uploader/pipeline/head This commit looks good
This commit is contained in:
@@ -35,7 +35,7 @@ class Core:
|
||||
"""
|
||||
|
||||
def __init__(self, settings: Settings, gui_mode: bool = True):
|
||||
self.version = "0.9.7"
|
||||
self.version = "0.9.8"
|
||||
self.acknowledged_version = parse_version(self.version)
|
||||
self.settings = settings
|
||||
self.tags_repo = TagsRepo(settings)
|
||||
|
@@ -1,6 +1,6 @@
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Kapitanbooru Uploader 0.9.7\n"
|
||||
"Project-Id-Version: Kapitanbooru Uploader 0.9.8\n"
|
||||
"Report-Msgid-Bugs-To: kapitan@mlesniak.pl\n"
|
||||
"POT-Creation-Date: 2025-06-26 18:21+0200\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
|
@@ -1,6 +1,6 @@
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Kapitanbooru Uploader 0.9.7\n"
|
||||
"Project-Id-Version: Kapitanbooru Uploader 0.9.8\n"
|
||||
"Report-Msgid-Bugs-To: kapitan@mlesniak.pl\n"
|
||||
"POT-Creation-Date: 2025-06-26 18:21+0200\n"
|
||||
"Language: pl\n"
|
||||
|
@@ -221,11 +221,14 @@ def parse_parameters(param_str:str, tags_repo: TagsRepo) -> str:
|
||||
for lora_match in LORAHASH_PATTERN.finditer(lora_hashes):
|
||||
lora_name = lora_match.group("name").strip()
|
||||
if lora_name:
|
||||
if lora_name=="ElfIL" and "e_lf":
|
||||
if lora_name=="ElfIL" and "e_lf" in tags:
|
||||
tags.discard("e_lf")
|
||||
tags.add("reanette_elfelt")
|
||||
elif lora_name=="Illustrious_Mikuneki_Style":
|
||||
tags.add("mikuneki")
|
||||
elif lora_name=="konosuba-claire-s3-illustriousxl-lora-nochekaiser" and any(tag in tags for tag in ["claire", "claire_(konosuba)"]):
|
||||
tags.discard("claire")
|
||||
tags.add("claire_(konosuba)")
|
||||
tags = set([WHITESPACE_PATTERN.sub("_", param.strip()) for param in tags])
|
||||
tags = set(
|
||||
[
|
||||
|
Reference in New Issue
Block a user