From f974b4cffeb1a7e508e1f1c3ba7740852403a58c Mon Sep 17 00:00:00 2001 From: Alejandro Date: Sat, 3 Feb 2024 12:38:22 -0400 Subject: [PATCH] Update text when copying a path in media --- app/languages/en.php | 1 + app/languages/es.php | 1 + app/views/admin/partials/media_header.php | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/languages/en.php b/app/languages/en.php index 5bacb15..e322cd3 100644 --- a/app/languages/en.php +++ b/app/languages/en.php @@ -110,6 +110,7 @@ 'pages' => 'Pages', 'password' => 'Password', 'password_confirm' => 'Password confirm', + 'path_copied' => 'Path copied', 'php_version' => 'PHP Version', 'post' => 'Post', 'post_code' => 'Posts code', diff --git a/app/languages/es.php b/app/languages/es.php index e789b99..b54d7a0 100644 --- a/app/languages/es.php +++ b/app/languages/es.php @@ -110,6 +110,7 @@ 'pages' => 'Páginas', 'password' => 'Contraseña', 'password_confirm' => 'Confirmación de contraseña', + 'path_copied' => 'Ruta copiada', 'php_version' => 'Versión de PHP', 'post' => 'Post', 'post_code' => 'Código de posts', diff --git a/app/views/admin/partials/media_header.php b/app/views/admin/partials/media_header.php index 2ced546..e2bcc81 100644 --- a/app/views/admin/partials/media_header.php +++ b/app/views/admin/partials/media_header.php @@ -178,7 +178,7 @@ function copyPath(path) { let result = document.execCommand('copy'); document.body.removeChild(input); if (result) { - Snackbar.show(LANG.done); + Snackbar.show(LANG.path_copied); } }