]> wagnertech.de Git - kivitendo-erp.git/blobdiff - templates/webpages/admin/user_migration_master.html
Automatisches Ersetzen von <translate>...</translate> durch $T8
[kivitendo-erp.git] / templates / webpages / admin / user_migration_master.html
index b9f5d4d5dbc9bcb30460da3ffe4741ecbf99f2cd..ef34e55e7fed074d2f2857db4b8ae92accf870b6 100644 (file)
@@ -1,3 +1,5 @@
+[%- USE T8 %]
+[%- USE LxERP %]
 [% USE HTML %]<body>
 
  <div class="listtop">[% title %]</div>
@@ -5,25 +7,18 @@
  <form method="post" action="admin.pl">
 
   <p>
-   <translate>The old file containing the user information is still
-    present (&quot;[% HTML.escape(memberfile) %]&quot;). Do you want to
-    migrate these users into the database? If not then you will not be
-    able to log in with any of the users present in the old file.
-   </translate>
+   [% LxERP.t8('The old file containing the user information is still present (&quot;#1&quot;). Do you want to migrate these users into the database? If not then you will not be able to log in with any of the users present in the old file.', memberfile) | html %]
   </p>
 
   <p>
-   <translate>If you chose to let Lx-Office do the migration then
-    Lx-Office will also remove the old member file after creating a
-    backup copy of it in the directory
-    &quot;[% HTML.escape(backupdir) %]&quot;.</translate>
+   [% LxERP.t8('If you chose to let Lx-Office do the migration then Lx-Office will also remove the old member file after creating a backup copy of it in the directory &quot;#1&quot;.', backupdir) | html %]
   </p>
 
   <input type="hidden" name="yes_nextsub" value="migrate_users">
   <input type="hidden" name="no_nextsub" value="list_users">
 
-  <input type="submit" class="submit" name="action" value="<translate>Yes</translate>">
-  <input type="submit" class="submit" name="action" value="<translate>No</translate>">
+  <input type="submit" class="submit" name="action" value="[% 'Yes' | $T8 %]">
+  <input type="submit" class="submit" name="action" value="[% 'No' | $T8 %]">
 
  </form>