Add translation system (#85)

This commit is contained in:
Miguel Ribeiro
2024-01-23 22:46:26 +01:00
committed by GitHub
parent d287f303f0
commit d7366dcfb0
35 changed files with 965 additions and 317 deletions
+2 -2
View File
@@ -4,7 +4,7 @@
<div class="toast-content">
<i class="fas fa-solid fa-x toast-icon error"></i>
<div class="message">
<span class="text text-1">Error</span>
<span class="text text-1"><?= translate("error", $i18n) ?></span>
<span class="text text-2 errorMessage"></span>
</div>
</div>
@@ -16,7 +16,7 @@
<div class="toast-content">
<i class="fas fa-solid fa-check toast-icon success"></i>
<div class="message">
<span class="text text-1">Success</span>
<span class="text text-1"><?= translate("success", $i18n) ?></span>
<span class="text text-2 successMessage"></span>
</div>
</div>