- |
+ |
{% if entry.is_dir %}
@@ -133,11 +133,11 @@
|
{% if entry.db_status == 'in_db' %}
- In DB
+ {{ _("admin_files.status_in_db") }}
{% elif entry.db_status == 'orphan' %}
- Orphan
+ {{ _("admin_files.status_orphan") }}
{% endif %}
|
@@ -145,7 +145,7 @@
{% if not entry.is_dir %}
- Download
+ {{ _("admin_files.btn_download") }}
{% endif %}
@@ -154,8 +154,8 @@
{% else %}
- | ID |
- Original Filename |
- Size |
- Ingested |
- local_filename |
- original_file_path |
- processed_file_path |
- Health |
+ {{ _("admin_files.col_id") }} |
+ {{ _("admin_files.col_original_filename") }} |
+ {{ _("admin_files.col_size") }} |
+ {{ _("admin_files.col_ingested") }} |
+ {{ _("admin_files.col_local_filename") }} |
+ {{ _("admin_files.col_original_file_path") }} |
+ {{ _("admin_files.col_processed_file_path") }} |
+ {{ _("admin_files.col_health") }} |
@@ -197,7 +197,7 @@
{{ rec.id }} |
{% if rec.is_duplicate %}
- dup
+ {{ _("admin_files.badge_duplicate") }}
{% endif %}
{{ rec.original_filename }}
|
@@ -226,11 +226,11 @@
{% if rec.health == 'ok' %}
- OK
+ {{ _("admin_files.health_ok") }}
{% else %}
- Missing
+ {{ _("admin_files.health_missing") }}
{% endif %}
|
@@ -241,8 +241,8 @@
{% else %}
-
- No file records found in the database.
+
+ {{ _("admin_files.empty_database") }}
{% endif %}
{% endif %}
@@ -254,17 +254,16 @@
{% if orphan_files or ghost_records %}
-
+
- Delta detected.
- Found {{ orphan_files | length }} orphan file(s) on disk with no DB record,
- and {{ ghost_records | length }} DB record(s) with missing files on disk.
+ {{ _("admin_files.delta_detected_title") }}
+ {{ _("admin_files.delta_detected_detail", orphan_count=(orphan_files | length), ghost_count=(ghost_records | length)) }}
{% else %}
-
- No delta found — filesystem and database are in sync.
+
+ {{ _("admin_files.no_delta") }}
{% endif %}
@@ -272,7 +271,7 @@
- Orphan files (on disk, no DB record)
+ {{ _("admin_files.orphan_files_heading") }} {{ _("admin_files.orphan_files_desc") }}
{{ orphan_files | length }}
{% if orphan_files %}
@@ -281,23 +280,23 @@
|
- Path (relative to workdir) |
- Size |
- Modified |
- Actions |
+ {{ _("admin_files.col_path_relative") }} |
+ {{ _("admin_files.col_size") }} |
+ {{ _("admin_files.col_modified") }} |
+ {{ _("admin_files.col_actions") }} |
{% for f in orphan_files %}
- |
+ |
{{ f.rel_path }} |
{{ f.size }} |
{{ f.modified }} |
- Download
+ {{ _("admin_files.btn_download") }}
|
@@ -306,7 +305,7 @@
{% else %}
- No orphan files found.
+ No ghost records found.
+