From dcc10250659a11bd3bfc00abdf6cf9a99a4bf016 Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Sun, 23 Feb 2025 01:32:19 +0100
Subject: [PATCH] Rename "inject".

---
 src/templates/file_data.tmpl | 3 ++-
 src/templates/files.tmpl     | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/templates/file_data.tmpl b/src/templates/file_data.tmpl
index 555c05b..adeaa58 100644
--- a/src/templates/file_data.tmpl
+++ b/src/templates/file_data.tmpl
@@ -34,7 +34,8 @@ async function update_file_data() {
     if (file_data.present) {
         const a = new_child_to("a", td_present, "yes");
         a.href = "/{{page_names.download}}/{{file.yt_id}}";
-        const button = new_child_to("button", td_present, "inject");
+        td_present.appendChild(document.createTextNode(" "));
+        const button = new_child_to("button", td_present, "add as next");
         button.onclick = function() { player_command("inject_{{file.digest.b64}}"); }
     } else {
         td_present.textContent = "no";
diff --git a/src/templates/files.tmpl b/src/templates/files.tmpl
index 9fbf6d2..76147ff 100644
--- a/src/templates/files.tmpl
+++ b/src/templates/files.tmpl
@@ -95,7 +95,7 @@ needed tags: <select id="tags_select" onchange="select_tag()"></select><br />
 </div>
 <p>
 known files (shown: <span id="files_count">?</span>):
-<button onclick="inject_all();">inject all</button>
+<button onclick="inject_all();">add all as next</button>
 </p>
 <table id="sortable_table">
 <tr>
-- 
2.30.2