Repository navigation
[#216] Split the common translations into topic files #217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
armanist
merged 2 commits into
quantum-php:master
from
armanist:issue/216-split-common-translations
Nov 16, 2026
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| <?php | ||
|
|
||
| return [ | ||
| 'account_settings' => 'Account Settings', | ||
| 'profile' => 'Profile', | ||
| ]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| <?php | ||
|
|
||
| return [ | ||
| 'send' => 'Send', | ||
| 'reset' => 'Reset', | ||
| 'cancel' => 'Cancel', | ||
| 'save' => 'Save', | ||
| 'delete' => 'Delete', | ||
| 'edit' => 'Edit', | ||
| 'yes' => 'Yes', | ||
| 'created_successfully' => 'Created successfully', | ||
| 'updated_successfully' => 'Updated successfully', | ||
| 'deleted_successfully' => 'Deleted successfully', | ||
| ]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| <?php | ||
|
|
||
| return [ | ||
| 'signin' => 'Sign In', | ||
| 'signup' => 'Sign Up', | ||
| 'signout' => 'Sign Out', | ||
| 'activate' => 'Activate', | ||
| 'activation_email_content' => 'Activate your account by clicking the button below', | ||
| 'account_activated' => 'Account is activated', | ||
| 'remember_me' => 'Remember Me', | ||
| 'forget_password' => 'Forgot password?', | ||
| 'reset_password_email_content' => 'Reset your password by clicking the button below', | ||
| 'check_email' => 'Check your email to reset your password', | ||
| 'check_email_signup' => 'Registration was successful, please check your email', | ||
| 'successfully_signed_up' => 'Successfully signed up', | ||
| 'verification_code' => 'Verification Code', | ||
| 'two_fa' => '2 Factor Authentication', | ||
| 'resend_otp' => 'Resend otp', | ||
| ]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| <?php | ||
|
|
||
| return [ | ||
| 'submit_comment' => 'Comment', | ||
| 'title' => 'Comments', | ||
| 'login_to_comment' => 'Login to comment', | ||
| 'leave_a_comment' => 'Leave a comment', | ||
| 'no_comments' => 'No comments', | ||
| 'added' => 'Comment added', | ||
| 'deleted' => 'Comment deleted', | ||
| ]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,112 +1,24 @@ | ||
| <?php | ||
|
|
||
| return [ | ||
|
|
||
| // ───── About framework ─────────────────────────────────── | ||
| 'description' => 'Very fast and extremely simple, next generation PHP MVC framework with modular structure.', | ||
| 'about_framework' => 'Quantum is a free, open-source PHP web framework under MIT license, specially designed to develop very fast web applications with modular structure. With Quantum it’s easy to start any kind of project immediately, whether it\'s regular websites or complex API based service, at the same time it allows to keep the code clean, organized through all the development process.', | ||
| 'version' => 'Version', | ||
| 'current_version' => 'Current version is: {%1}', | ||
| 'cli_commands' => 'Quantum CLI Commands', | ||
|
|
||
| // ───── Star on GitHub ───────────────────────────────────── | ||
| 'star' => [ | ||
| 'message' => 'Would you like to show some love by starring Quantum on GitHub?', | ||
| 'button' => 'Star on GitHub', | ||
| 'badge_alt' => 'GitHub stars', | ||
| ], | ||
|
|
||
| // ───── Navigation ───────────────────────────────────────── | ||
| 'home' => 'Home', | ||
| 'about' => 'About', | ||
| 'installation' => 'Installation', | ||
| 'learn_more' => 'Learn More', | ||
|
|
||
| // ───── Project creation / commands ─────────────────────── | ||
| 'create_project' => 'Create new project', | ||
| 'run_server' => 'Run the project', | ||
|
|
||
| // ───── Auth / User Management ───────────────────────────── | ||
| 'captcha' => 'Captcha', | ||
| 'signin' => 'Sign In', | ||
| 'signup' => 'Sign Up', | ||
| 'activate' => 'Activate', | ||
| 'activation_email_content' => 'Activate your account by clicking the button below', | ||
| 'activate_account' => 'Activate account', | ||
| 'account_activated' => 'Account is activated', | ||
| 'signout' => 'Sign Out', | ||
| 'remember_me' => 'Remember Me', | ||
| 'forget_password' => 'Forgot password?', | ||
| 'reset_password' => 'Reset password', | ||
| 'reset_password_email_content' => 'Reset your password by clicking the button below', | ||
| 'repeat_password' => 'Repeat password', | ||
| 'check_email_signup' => 'Registration was successful, please check your email', | ||
| 'check_email' => 'Check your email to reset your password', | ||
| 'successfully_signed_up' => 'Successfully signed up', | ||
|
|
||
| // ───── User fields ───────────────────────────────────────── | ||
| 'email' => 'Email', | ||
| 'token' => 'Token', | ||
| 'password' => 'Password', | ||
| 'verification_code' => 'Verification Code', | ||
| 'new_password' => 'New password', | ||
| 'firstname' => 'First name', | ||
| 'lastname' => 'Last name', | ||
|
|
||
| // ───── Buttons ──────────────────────────────────────────── | ||
| 'send' => 'Send', | ||
| 'reset' => 'Reset', | ||
| 'cancel' => 'Cancel', | ||
| 'save' => 'Save', | ||
| 'delete' => 'Delete', | ||
| 'edit' => 'Edit', | ||
| 'yes' => 'Yes', | ||
|
|
||
| // ───── Account settings ─────────────────────────────────── | ||
| 'account_settings' => 'Account Settings', | ||
| 'profile' => 'Profile', | ||
| 'current_password' => 'Current Password', | ||
| 'confirm_password' => 'Confirm Password', | ||
|
|
||
| // ───── Posts ────────────────────────────────────────────── | ||
| 'posts' => 'Posts', | ||
| 'my_posts' => 'My Posts', | ||
| 'new_post' => 'New Post', | ||
| 'title' => 'Title', | ||
| 'content' => 'Content', | ||
| 'image' => 'image', | ||
| 'post' => 'post', | ||
|
|
||
| 'created_successfully' => 'Created successfully', | ||
| 'updated_successfully' => 'Updated successfully', | ||
| 'deleted_successfully' => 'Deleted successfully', | ||
| 'update_post' => 'Update Post', | ||
| 'confirm_delete' => 'Are you sure you want to delete the {%1} ?', | ||
| 'post_not_found' => 'Post not found', | ||
| 'no_posts' => 'No posts found', | ||
| 'try_creating' => 'Try creating a new one', | ||
|
|
||
| // ───── Pagination ───────────────────────────────────────── | ||
| 'pagination' => [ | ||
| 'next' => 'Next »', | ||
| 'prev' => '« Prev', | ||
| ], | ||
|
|
||
| // ───── Comments ─────────────────────────────────────────── | ||
| 'comments' => [ | ||
| 'submit_comment' => 'Comment', | ||
| 'title' => 'Comments', | ||
| 'login_to_comment' => 'Login to comment', | ||
| 'leave_a_comment' => 'Leave a comment', | ||
| 'no_comments' => 'No comments', | ||
| ], | ||
|
|
||
| // ───── 2FA / OTP ────────────────────────────────────────── | ||
| 'otp' => 'One Time Password', | ||
| 'two_fa' => '2 Factor Authentication', | ||
| 'resend_otp' => 'Resend otp', | ||
|
|
||
| // ───── Languages ────────────────────────────────────────── | ||
| 'en' => 'English', | ||
| 'es' => 'Spanish', | ||
| ]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| <?php | ||
|
|
||
| return [ | ||
| 'en' => 'English', | ||
| 'es' => 'Spanish', | ||
| ]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| <?php | ||
|
|
||
| return [ | ||
| 'description' => 'Very fast and extremely simple, next generation PHP MVC framework with modular structure.', | ||
| 'about_framework' => 'Quantum is a free, open-source PHP web framework under MIT license, specially designed to develop very fast web applications with modular structure. With Quantum it’s easy to start any kind of project immediately, whether it\'s regular websites or complex API based service, at the same time it allows to keep the code clean, organized through all the development process.', | ||
| 'version' => 'Version', | ||
| 'current_version' => 'Current version is: {%1}', | ||
| 'cli_commands' => 'Quantum CLI Commands', | ||
| 'star' => [ | ||
| 'message' => 'Would you like to show some love by starring Quantum on GitHub?', | ||
| 'button' => 'Star on GitHub', | ||
| 'badge_alt' => 'GitHub stars', | ||
| ], | ||
| 'home' => 'Home', | ||
| 'about' => 'About', | ||
| 'installation' => 'Installation', | ||
| 'learn_more' => 'Learn More', | ||
| 'create_project' => 'Create new project', | ||
| 'run_server' => 'Run the project', | ||
| ]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| <?php | ||
|
|
||
| return [ | ||
| 'posts' => 'Posts', | ||
| 'my_posts' => 'My Posts', | ||
| 'new_post' => 'New Post', | ||
| 'update_post' => 'Update Post', | ||
| 'post' => 'post', | ||
| 'post_not_found' => 'Post not found', | ||
| 'no_posts' => 'No posts found', | ||
| 'try_creating' => 'Try creating a new one', | ||
| 'confirm_delete' => 'Are you sure you want to delete the {%1} ?', | ||
| ]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| <?php | ||
|
|
||
| return [ | ||
| 'account_settings' => 'Configuración de la cuenta', | ||
| 'profile' => 'Perfil', | ||
| ]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| <?php | ||
|
|
||
| return [ | ||
| 'send' => 'Enviar', | ||
| 'reset' => 'Restablecer', | ||
| 'cancel' => 'Cancelar', | ||
| 'save' => 'Guardar', | ||
| 'delete' => 'Eliminar', | ||
| 'edit' => 'Editar', | ||
| 'yes' => 'Sí', | ||
| 'created_successfully' => 'Creado exitosamente', | ||
| 'updated_successfully' => 'Actualizado exitosamente', | ||
| 'deleted_successfully' => 'Eliminado exitosamente', | ||
| ]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| <?php | ||
|
|
||
| return [ | ||
| 'signin' => 'Iniciar sesión', | ||
| 'signup' => 'Registrarse', | ||
| 'signout' => 'Cerrar sesión', | ||
| 'activate' => 'Activar', | ||
| 'activation_email_content' => 'Activa tu cuenta haciendo clic en el botón de abajo', | ||
| 'account_activated' => 'La cuenta ha sido activada', | ||
| 'remember_me' => 'Recuérdame', | ||
| 'forget_password' => '¿Olvidaste tu contraseña?', | ||
| 'reset_password_email_content' => 'Restablece tu contraseña haciendo clic en el botón de abajo', | ||
| 'check_email' => 'Revisa tu correo electrónico para restablecer tu contraseña', | ||
| 'check_email_signup' => 'Registro exitoso, por favor revisa tu correo electrónico', | ||
| 'successfully_signed_up' => 'Registrado con éxito', | ||
| 'verification_code' => 'Código de verificación', | ||
| 'two_fa' => 'Autenticación de dos factores', | ||
| 'resend_otp' => 'Reenviar OTP', | ||
| ]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| <?php | ||
|
|
||
| return [ | ||
| 'submit_comment' => 'Comentar', | ||
| 'title' => 'Comentarios', | ||
| 'login_to_comment' => 'Inicia sesión para comentar', | ||
| 'leave_a_comment' => 'Deja un comentario', | ||
| 'no_comments' => 'Sin comentarios', | ||
| 'added' => 'Comentario añadido', | ||
| 'deleted' => 'Comentario eliminado', | ||
| ]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,112 +1,24 @@ | ||
| <?php | ||
|
|
||
| return [ | ||
|
|
||
| // ───── About framework ─────────────────────────────────── | ||
| 'description' => 'Framework MVC en PHP de nueva generación, muy rápido y extremadamente simple, con una estructura modular.', | ||
| 'about_framework' => 'Quantum es un framework web PHP gratuito y de código abierto bajo la licencia MIT, diseñado especialmente para desarrollar aplicaciones web muy rápidas con una estructura modular. Con Quantum es fácil iniciar de inmediato cualquier tipo de proyecto, ya sean sitios web tradicionales o servicios complejos basados en API, y al mismo tiempo permite mantener el código limpio y organizado durante todo el proceso de desarrollo.', | ||
| 'version' => 'Versión', | ||
| 'current_version' => 'La versión actual es: {%1}', | ||
| 'cli_commands' => 'Comandos CLI de Quantum', | ||
|
|
||
| // ───── Star on GitHub ───────────────────────────────────── | ||
| 'star' => [ | ||
| 'message' => '¿Te gustaría mostrar tu apoyo dando una estrella a Quantum en GitHub?', | ||
| 'button' => 'Dar una estrella en GitHub', | ||
| 'badge_alt' => 'Estrellas en GitHub', | ||
| ], | ||
|
|
||
| // ───── Navigation ───────────────────────────────────────── | ||
| 'home' => 'Inicio', | ||
| 'about' => 'Acerca de', | ||
| 'installation' => 'Instalación', | ||
| 'learn_more' => 'Aprender más', | ||
|
|
||
| // ───── Project creation / commands ─────────────────────── | ||
| 'create_project' => 'Crear nuevo proyecto', | ||
| 'run_server' => 'Ejecutar el proyecto', | ||
|
|
||
| // ───── Auth / User Management ───────────────────────────── | ||
| 'captcha' => 'Captcha', | ||
| 'signin' => 'Iniciar sesión', | ||
| 'signup' => 'Registrarse', | ||
| 'activate' => 'Activar', | ||
| 'activation_email_content' => 'Activa tu cuenta haciendo clic en el botón de abajo', | ||
| 'activate_account' => 'Activar cuenta', | ||
| 'account_activated' => 'La cuenta ha sido activada', | ||
| 'signout' => 'Cerrar sesión', | ||
| 'remember_me' => 'Recuérdame', | ||
| 'forget_password' => '¿Olvidaste tu contraseña?', | ||
| 'reset_password' => 'Restablecer contraseña', | ||
| 'reset_password_email_content' => 'Restablece tu contraseña haciendo clic en el botón de abajo', | ||
| 'repeat_password' => 'Repetir contraseña', | ||
| 'check_email_signup' => 'Registro exitoso, por favor revisa tu correo electrónico', | ||
| 'check_email' => 'Revisa tu correo electrónico para restablecer tu contraseña', | ||
| 'successfully_signed_up' => 'Registrado con éxito', | ||
|
|
||
| // ───── User fields ───────────────────────────────────────── | ||
| 'email' => 'Correo electrónico', | ||
| 'token' => 'Token', | ||
| 'password' => 'Contraseña', | ||
| 'verification_code' => 'Código de verificación', | ||
| 'new_password' => 'Nueva contraseña', | ||
| 'firstname' => 'Nombre', | ||
| 'lastname' => 'Apellido', | ||
|
|
||
| // ───── Buttons ──────────────────────────────────────────── | ||
| 'send' => 'Enviar', | ||
| 'reset' => 'Restablecer', | ||
| 'cancel' => 'Cancelar', | ||
| 'save' => 'Guardar', | ||
| 'delete' => 'Eliminar', | ||
| 'edit' => 'Editar', | ||
| 'yes' => 'Sí', | ||
|
|
||
| // ───── Account settings ─────────────────────────────────── | ||
| 'account_settings' => 'Configuración de la cuenta', | ||
| 'profile' => 'Perfil', | ||
| 'current_password' => 'Contraseña actual', | ||
| 'confirm_password' => 'Confirmar contraseña', | ||
|
|
||
| // ───── Posts ────────────────────────────────────────────── | ||
| 'posts' => 'Publicaciones', | ||
| 'my_posts' => 'Mis publicaciones', | ||
| 'new_post' => 'Nueva publicación', | ||
| 'title' => 'Título', | ||
| 'content' => 'Contenido', | ||
| 'image' => 'Imagen', | ||
| 'post' => 'Publicación', | ||
|
|
||
| 'created_successfully' => 'Creado exitosamente', | ||
| 'updated_successfully' => 'Actualizado exitosamente', | ||
| 'deleted_successfully' => 'Eliminado exitosamente', | ||
| 'update_post' => 'Actualizar publicación', | ||
| 'confirm_delete' => '¿Estás seguro de que deseas eliminar el {%1} ?', | ||
| 'post_not_found' => 'Publicación no encontrada', | ||
| 'no_posts' => 'No se encontraron publicaciones', | ||
| 'try_creating' => 'Intenta crear una nueva', | ||
|
|
||
| // ───── Pagination ───────────────────────────────────────── | ||
| 'pagination' => [ | ||
| 'next' => 'Siguiente »', | ||
| 'prev' => '« Anterior', | ||
| ], | ||
|
|
||
| // ───── Comments ─────────────────────────────────────────── | ||
| 'comments' => [ | ||
| 'submit_comment' => 'Comentar', | ||
| 'title' => 'Comentarios', | ||
| 'login_to_comment' => 'Inicia sesión para comentar', | ||
| 'leave_a_comment' => 'Deja un comentario', | ||
| 'no_comments' => 'Sin comentarios', | ||
| ], | ||
|
|
||
| // ───── 2FA / OTP ────────────────────────────────────────── | ||
| 'otp' => 'Contraseña de un solo uso', | ||
| 'two_fa' => 'Autenticación de dos factores', | ||
| 'resend_otp' => 'Reenviar OTP', | ||
|
|
||
| // ───── Languages ────────────────────────────────────────── | ||
| 'en' => 'Inglés', | ||
| 'es' => 'Español', | ||
| ]; |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.