Sfoglia il codice sorgente

feat: add translation for table selection prompt in database template

Manuel 7 mesi fa
parent
commit
89db3d2fe5
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      templates/admin/database.html

+ 1 - 1
templates/admin/database.html

@@ -928,7 +928,7 @@ async function loadTables() {
 
 function populateTableSelect() {
     const select = document.getElementById('tableSelect');
-    select.innerHTML = '<option value="">Selecciona una tabla...</option>';
+    select.innerHTML = '<option value="">{{ _('Selecciona una tabla...') }}</option>';
     tablesData.forEach(table => {
         const option = document.createElement('option');
         option.value = table.name;