Browse code

Change icon for member file vault in backend and add translation

Benjamin Roth authored on07/05/2025 13:18:49
Showing4 changed files
... ...
@@ -22,6 +22,6 @@ $GLOBALS['TL_DCA']['tl_member']['list']['operations']['secureDownloads'] = array
22 22
 (
23 23
   'label'               => &$GLOBALS['TL_LANG']['tl_member']['secureDownloads'],
24 24
   'href'                => 'table='.SecureDownloadsModel::getTable(),
25
-  'icon'                => 'bundles/vonrotenbergmemberfiles/images/sec_files.png',
25
+  'icon'                => 'bundles/vonrotenbergmemberfiles/images/folder-secure.svg',
26 26
 
27 27
 );
28 28
new file mode 100644
... ...
@@ -0,0 +1,12 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<xliff version="1.1">
3
+  <file source-language="en" target-language="de" datatype="plaintext" original="messages">
4
+    <body>
5
+      <!-- Operations -->
6
+      <trans-unit id="tl_member.secureDownloads">
7
+        <source>Member ID %s file vault</source>
8
+        <target>Mitglied ID %s Datei-Tresor</target>
9
+      </trans-unit>
10
+    </body>
11
+  </file>
12
+</xliff>
0 13
new file mode 100644
... ...
@@ -0,0 +1,11 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<xliff version="1.1">
3
+  <file source-language="en" datatype="plaintext" original="messages">
4
+    <body>
5
+      <!-- Operations -->
6
+      <trans-unit id="tl_member.secureDownloads">
7
+        <source>Member ID %s file vault</source>
8
+      </trans-unit>
9
+    </body>
10
+  </file>
11
+</xliff>
0 12
new file mode 100644
... ...
@@ -0,0 +1 @@
1
+<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg width="16px" height="16px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;"><path d="M12,19l-7,0c-1.097,0 -2,-0.903 -2,-2l0,-11c0,-1.097 0.903,-2 2,-2l4,0l3,3l7,0c1.097,0 2,0.903 2,2l0,3" style="fill:none;fill-rule:nonzero;stroke:#8c004c;stroke-width:1px;"/><g><path d="M16,18.874c0,-0.429 0.353,-0.781 0.781,-0.781l4.689,-0c0.429,-0 0.782,0.352 0.782,0.781l-0,2.345c-0,0.428 -0.353,0.781 -0.782,0.781l-4.689,0c-0.428,0 -0.781,-0.353 -0.781,-0.781l0,-2.345Z" style="fill:none;fill-rule:nonzero;stroke:#8c004c;stroke-width:1px;"/><path d="M17.563,18.093l-0,-1.563c-0,-0.858 0.706,-1.563 1.563,-1.563c0.857,-0 1.563,0.705 1.563,1.563l-0,1.563" style="fill:none;fill-rule:nonzero;stroke:#8c004c;stroke-width:1px;"/></g></svg>
0 2
\ No newline at end of file