Skip to content

Commit

Permalink
Update text when copying a path in media
Browse files Browse the repository at this point in the history
  • Loading branch information
Usbac committed Feb 3, 2024
1 parent ee62554 commit f974b4c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/languages/en.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
1 change: 1 addition & 0 deletions app/languages/es.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion app/views/admin/partials/media_header.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand Down

0 comments on commit f974b4c

Please sign in to comment.