ui: update search results text style

This commit is contained in:
Travis Abendshien
2026-09-11 22:16:59 -07:00
parent dd7a1e797e
commit 0ceba9379b
2 changed files with 8 additions and 5 deletions
+6 -3
View File
@@ -1641,11 +1641,14 @@ class QtDriver(DriverMixin, QObject):
end_time = time.time()
# inform user about completed search
time_span = f"<a style=color:'gray'>({format_timespan(end_time - start_time).title()})</a>"
count = f"<b>{results.total_count:,}</b>"
self.main_window.results_label.setText(
Translations.format(
"status.results_found",
count=results.total_count,
time_span=format_timespan(end_time - start_time),
# Show "X Results" on query, "X Items" on none
"status.results_found" if state and state.query else "status.items",
count=count,
time_span=time_span,
)
)
+2 -2
View File
@@ -373,12 +373,12 @@
"sorting.direction.descending": "Descending",
"sorting.mode.random": "Random",
"splash.opening_library": "Opening Library \"{library_path}\"…",
"status.items": "{count} Items {time_span}",
"status.library_save_success": "Library Saved and Closed!",
"status.library_version_expected": "Expected:",
"status.library_version_found": "Found:",
"status.library_version_mismatch": "Library Version Mismatch!",
"status.results": "Results",
"status.results_found": "{count} Results Found ({time_span})",
"status.results_found": "{count} Results {time_span}",
"status.results.invalid_syntax": "Invalid Search Syntax:",
"tag_manager.title": "Library Tags",
"tag.add": "Add Tag",