diff --git a/app/lang/en/cachet.php b/app/lang/en/cachet.php index fb8abdb1..fbaa6c47 100644 --- a/app/lang/en/cachet.php +++ b/app/lang/en/cachet.php @@ -2,7 +2,7 @@ return [ // Components - 'component' => [ + 'components' => [ 'status' => [ 1 => 'Operational', 2 => 'Performance Issues', @@ -10,76 +10,38 @@ return [ 4 => 'Major Outage', ], ], + // Incidents - 'incident' => [ - 'status' => [ + 'incidents' => [ + 'none' => 'No incidents reported.', + 'past' => 'Past incidents', + 'previous_week' => 'Previous week', + 'next_week' => 'Next week', + 'none' => 'Nothing to report', + 'status' => [ 1 => 'Investigating', 2 => 'Identified', 3 => 'Watching', 4 => 'Fixed', ], - 'none' => 'Nothing to report', ], + // Service Status 'service' => [ 'good' => 'All systems are functional.', 'bad' => 'Some systems are experiencing issues.', ], + + 'api' => [ + 'regenerate' => 'Regenerate API Key', + 'revoke' => 'Revoke API Key', + ], + // Other 'powered_by' => ':app Status Page is powered by Cachet.', 'about_this_site' => 'About this site', - 'login_message' => 'Welcome Back!', - 'login' => 'Login', - 'logout' => 'Logout', - 'logged_in' => 'You\'re logged in.', - 'setup' => 'Setup Cachet', - 'no_incidents' => 'No incidents reported.', - 'past_incidents' => 'Past incidents', - 'previous_week' => 'Previous week', - 'next_week' => 'Next week', - // Dashboard - 'dashboard' => [ - 'dashboard' => 'Dashboard', - 'components' => 'Components', - 'component-add' => 'Add Component', - 'component-groups' => 'Component Groups', - 'component-groups-add' => 'Create Group', - 'incidents' => 'Incidents', - 'incident-add' => 'Add Incident', - 'incident-create-template' => 'Create Template', - 'metrics' => 'Metrics', - 'metrics-add' => 'Add Metric Point', - 'status_page' => 'Status Page', - 'settings' => 'Settings', - 'team' => 'Team Members', - 'team-add' => 'Add Team Member', - 'notifications' => 'Notifications', - 'toggle_navigation' => 'Toggle Navigation', - 'search' => 'Search...', - 'user' => 'User', - 'help' => 'Help', - 'logged_incidents' => '{0} There are no incidents, good work.|You have logged one incident.|You have reported :count incidents.', - 'settings_saved' => 'Settings saved.', - 'settings_not_saved' => 'Settings could not be saved.', - 'not_found' => 'Page Not Found', - 'not_found_title' => 'That page went missing!', - 'not_found_message' => 'Sorry, but the page you are looking for has not been found. Check the URL for errors and try again.', - 'not_found_link' => 'Return to homepage', - ], - // Forms - 'forms' => [ - 'email' => 'Email', - 'password' => 'Password', - // Setup Form - 'setup' => [ - 'service_details' => 'Service Details', - 'status_page_setup' => 'Status Page Setup', - 'site_name' => 'Site Name', - 'site_domain' => 'Site Domain', - 'show_support' => 'Show support for Cachet?', - 'admin_account' => 'Administrator Account', - 'admin_username' => 'Username', - 'finish_setup' => 'Complete Setup', - ], - ], + 'rss-feed' => 'RSS Feed', + 'atom-feed' => 'Atom Feed', + 'feed' => 'Status Feed', + ]; diff --git a/app/lang/en/dashboard.php b/app/lang/en/dashboard.php new file mode 100644 index 00000000..c1c31aba --- /dev/null +++ b/app/lang/en/dashboard.php @@ -0,0 +1,128 @@ + 'Dashboard', + + // Incidents + 'incidents' => [ + 'incidents' => 'Incidents', + 'logged' => '{0} There are no incidents, good work.|You have logged one incident.|You have reported :count incidents.', + 'incident-create-template' => 'Create Template', + 'add' => [ + 'title' => 'Add an incident', + 'success' => 'Incident added.', + 'failure' => 'Something went wrong with the incident.', + ], + 'edit' => [ + 'title' => 'Edit an incident', + 'success' => 'Incident updated.', + 'failure' => 'Something went wrong with the incident.', + ], + + // Incident templates + 'templates' => [ + 'add' => [ + 'title' => 'Create an incident template', + 'success' => 'Template created.', + 'failure' => 'Something went wrong with the incident template.', + ], + ], + ], + + // Components + 'components' => [ + 'components' => 'Component|Components', + 'component_statuses' => 'Component Statuses', + 'add' => [ + 'title' => 'Create a component', + 'message' => 'You should add a component.', + 'success' => 'Component created.', + 'failure' => 'Something went wrong with the component.', + ], + 'edit' => [ + 'title' => 'Edit a component', + 'success' => 'Component updated.', + 'failure' => 'Something went wrong with the component.', + ], + + // Component groups + 'groups' => [ + 'groups' => 'Component group|Component groups', + 'add' => [ + 'title' => 'Add a component group', + 'success' => 'Component group added.', + 'failure' => 'Something went wrong with the component group.', + ], + ], + ], + + // Metrics + 'metrics' => [ + 'metrics' => 'Metrics', + 'add' => [ + 'title' => 'Create a metric point', + 'success' => 'Metric point created.', + 'failure' => 'Something went wrong with the metric point.', + ], + ], + + // Team + 'team' => [ + 'team' => 'Team', + 'member' => 'Member', + 'profile' => 'Profile', + 'description' => 'Team Members will be able to add, modify & edit components and incidents.', + 'add' => [ + 'title' => 'Add a new team member', + 'success' => 'Team member added.', + 'failure' => 'Something went wrong with the component.', + ], + 'edit' => [ + 'title' => 'Update profile', + 'success' => 'Profile updated.', + 'failure' => 'Something went wrong when updating.', + ], + ], + + // Settings + 'settings' => [ + 'settings' => 'Settings', + 'app-setup' => [ + 'app-setup' => 'Application Setup', + ], + 'security' => [ + 'security' => 'Security', + ], + 'stylesheet' => [ + 'stylesheet' => 'Stylesheet', + ], + 'theme' => [ + 'theme' => 'Theme', + ], + 'edit' => [ + 'success' => 'Settings saved.', + 'failure' => 'Settings could not be saved.', + ], + ], + + // Login + 'login' => [ + 'login' => 'Login', + 'logged_in' => "You're logged in.", + 'welcome' => 'Welcome Back!', + ], + + // Sidebar footer + 'help' => 'Help', + 'status_page' => 'Status Page', + 'logout' => 'Logout', + + // Notifications + 'notifications' => [ + 'notifications' => 'Notifications', + 'awesome' => 'Awesome.', + 'whoops' => 'Whoops.', + ], + +]; diff --git a/app/lang/en/errors.php b/app/lang/en/errors.php new file mode 100644 index 00000000..38ab0bfe --- /dev/null +++ b/app/lang/en/errors.php @@ -0,0 +1,10 @@ + [ + 'code' => '404', + 'title' => 'That page went missing!', + 'message' => 'Sorry, but the page you are looking for has not been found. Check the URL for errors and try again.', + 'link' => 'Return to homepage', + ] +]; diff --git a/app/lang/en/forms.php b/app/lang/en/forms.php new file mode 100644 index 00000000..273af0d7 --- /dev/null +++ b/app/lang/en/forms.php @@ -0,0 +1,90 @@ + [ + 'email' => 'Email', + 'username' => 'Username', + 'password' => 'Password', + 'site_name' => 'Site Name', + 'site_domain' => 'Site Domain', + ], + + // Login form fields + 'login' => [ + 'email' => 'Email', + 'password' => 'Password', + ], + + // Incidents form fields + 'incidents' => [ + 'name' => 'Name', + 'status' => 'Status', + 'message' => 'Message', + 'message-help' => 'You may also use Markdown.', + + 'templates' => [ + 'name' => 'Name', + 'template' => 'Template', + ], + ], + + // Components form fields + 'components' => [ + 'name' => 'Name', + 'status' => 'Status', + 'group' => 'Group', + 'description' => 'Description', + 'link' => 'Link', + 'tags' => 'Tags', + 'tags-help' => 'Comma separated.', + + 'groups' => [ + 'name' => 'Name', + ], + ], + + // Settings + 'settings' => [ + /// Application setup + 'app-setup' => [ + 'site-name' => 'Site Name', + 'site-url' => 'Site URL', + 'about-this-page' => 'About this page', + 'days-of-incidents' => 'How many days of incidents to show?', + 'banner' => 'Banner Image', + 'banner-help' => "It's recommended that you upload files no bigger than 930px wide .", + ], + 'security' => [ + 'allowed-domains' => 'Allowed domains', + 'allowed-domains-help' => 'Comma separated. The domain set above is automatically allowed by default.', + ], + 'stylesheet' => [ + 'custom-css' => 'Custom Stylesheet', + ], + 'theme' => [ + 'background-color' => 'Background Color', + 'text-color' => 'Text Color', + ], + ], + + 'user' => [ + 'username' => 'Username', + 'email' => 'Email', + 'password' => 'Password', + 'api-key' => 'API Key', + 'api-key-help' => 'Regenerating your API key will revoke all existing applications.', + ], + + // Buttons + 'add' => 'Add', + 'save' => 'Save', + 'update' => 'Update', + 'create' => 'Create', + 'edit' => 'Edit', + 'delete' => 'Delete', + 'submit' => 'Submit', + 'cancel' => 'Cancel', + 'remove' => 'Remove' +]; diff --git a/app/lang/en/setup.php b/app/lang/en/setup.php new file mode 100644 index 00000000..30fb6071 --- /dev/null +++ b/app/lang/en/setup.php @@ -0,0 +1,11 @@ + 'Setup', + 'title' => 'Setup Cachet', + 'service_details' => 'Service Details', + 'status_page_setup' => 'Status Page Setup', + 'show_support' => 'Show support for Cachet?', + 'admin_account' => 'Administrator Account', + 'complete_setup' => 'Complete Setup' +]; diff --git a/app/lang/es-ES/cachet.php b/app/lang/es-ES/cachet.php deleted file mode 100755 index 0643b134..00000000 --- a/app/lang/es-ES/cachet.php +++ /dev/null @@ -1,66 +0,0 @@ - [ - 'status' => [ - 1 => 'Operacional', - 2 => 'Problemas de rendimiento', - 3 => 'Interrupción parcial', - 4 => 'Interrupción mayor', - ], - ], - // Incidents - 'incident' => [ - 'status' => [ - 1 => 'Investigando', - 2 => 'Problemas de rendimiento', - 3 => 'Interrupción parcial', - 4 => 'Interrupción mayor', - ], - ], - // Service Status - 'service' => [ - 'good' => 'Todos los sistemas funcionando.', - 'bad' => 'Algunos sistemas están experimentando problemas.', - ], - // Other - 'powered_by' => ':app Está página ha sido creada por Cachet.', - 'login' => 'Entrar', - 'logout' => 'Salir', - 'logged_in' => 'Estás conectado.', - 'setup' => 'Configurar Cachet', - 'no_incidents' => 'Sin incidentes reportados.', - 'dashboard' => [ - 'dashboard' => 'Panel de control', - 'components' => 'Componentes', - 'component-add' => 'Agregar componente', - 'incidents' => 'Incidencias', - 'incident-add' => 'Agregar incidencia', - 'incident-create-template' => 'Crear plantilla', - 'metrics' => 'Métricas', - 'metrics-add' => 'Añadir punto de métrica', - 'status_page' => 'Página de estado del sistema', - 'settings' => 'Ajustes', - 'notifications' => 'Notificaciones', - 'toggle_navigation' => 'Alternar Navegación', - 'search' => 'Buscar', - 'user' => 'Usuario', - ], - // Forms - 'forms' => [ - 'email' => 'Correo electrónico', - 'password' => 'Contraseña', - // Setup Form - 'setup' => [ - 'service_details' => 'Detalles del servicio', - 'status_page_setup' => 'Configuración página de estado del sistema', - 'site_name' => 'Nombre del sitio', - 'site_domain' => 'Dominio del sitio', - 'show_support' => 'Mostrar apoyo por Cachet', - 'admin_account' => 'Cuenta de administrador', - 'admin_username' => 'Usuario de administrador', - 'finish_setup' => 'Terminar configuración', - ], - ], -]; diff --git a/app/lang/es-ES/pagination.php b/app/lang/es-ES/pagination.php deleted file mode 100644 index 325916dc..00000000 --- a/app/lang/es-ES/pagination.php +++ /dev/null @@ -1,19 +0,0 @@ - '« Anterior', - 'next' => 'Siguiente »', - -]; diff --git a/app/lang/es-ES/reminders.php b/app/lang/es-ES/reminders.php deleted file mode 100644 index e586361a..00000000 --- a/app/lang/es-ES/reminders.php +++ /dev/null @@ -1,22 +0,0 @@ - 'Las contraseñas deben tener como minimo 6 cracteres y coincidir con la confirmación.', - 'user' => 'No podemos encontrar ningún usuario con ese correo electrónico', - 'token' => 'El token de restablecimiento de contraseña no es válido.', - 'sent' => 'Recordatorio de contraseña enviado!', - 'reset' => 'La contraseña ha sido reestablecida!', - -]; diff --git a/app/lang/es-ES/validation.php b/app/lang/es-ES/validation.php deleted file mode 100644 index 49bc1a0c..00000000 --- a/app/lang/es-ES/validation.php +++ /dev/null @@ -1,106 +0,0 @@ - "El :attribute debe ser aceptado.", - "active_url" => "El :attribute no es un enlace válido.", - "after" => "El :attribute debe ser una fecha después de :date.", - "alpha" => "El :attribute sólo puede contener letras.", - "alpha_dash" => "El :attribute sólo puede contener letras, números y guiones.", - "alpha_num" => "El :attribute sólo puede contener letras y números.", - "array" => "El :attribute debe ser una matriz.", - "before" => "El :attribute debe ser una fecha antes de :date.", - "between" => [ - "numeric" => "El :attribute debe ser entre :min y :max.", - "file" => "El :attribute debe ser entre :min y :max kilobytes.", - "string" => "El :attribute debe ser entre :min y :max caracteres.", - "array" => "El :attribute debe tener entre :min y :max objetos.", - ], - "boolean" => "El campo del :attribute debe ser verdadero o falso.", - "confirmed" => "La confirmación del :attribute no coincide.", - "date" => "El :attribute no es una fecha válida.", - "date_format" => "El :attribute no cumple el formato :format.", - "different" => "El :attribute and :oElr must be different.", - "digits" => "El :attribute debe tener :digits digitos.", - "digits_between" => "El :attribute must be between :min and :max digits.", - "email" => "El :attribute debe ser una dirección de email válida.", - "exists" => "El :attribute seleccionado es inválido.", - "image" => "El :attribute debe ser una imagen.", - "in" => "El :attribute seleccionado es inválido.", - "integer" => "El :attribute debe ser un número entero.", - "ip" => "El :attribute debe ser una dirección IP válida.", - "max" => [ - "numeric" => "El :attribute no puede tener más de :max.", - "file" => "El :attribute no puede tener más de :max kilobytes.", - "string" => "El :attribute no puede tener más de :max caracteres.", - "array" => "El :attribute no puede tener más de :max objetos.", - ], - "mimes" => "El :attribute debe ser un archivo de tipo: :values.", - "min" => [ - "numeric" => "El :attribute debe tener al menos :min.", - "file" => "El :attribute debe tener al menos :min kilobytes.", - "string" => "El :attribute debe tener al menos :min characters.", - "array" => "El :attribute debe tener al menos :min items.", - ], - "not_in" => "El :attribute seleccionado es inválido.", - "numeric" => "El :attribute sebe ser un número.", - "regex" => "El formato del :attribute es inválido.", - "required" => "El campo del :attribute es requerido.", - "required_if" => "El campo del :attribute se requiere cuando :oElr es :value.", - "required_with" => "El campo del :attribute se requiere cuando :values es presente.", - "required_with_all" => "El campo del :attribute se requiere cuando :values es presente.", - "required_without" => "El campo del :attribute se requiere cuando :values no es presente.", - "required_without_all" => "El campo del :attribute se requiere cuando ningúna :values es presente.", - "same" => "Los :attribute y :oElr deben coincidir.", - "size" => [ - "numeric" => "El :attribute debe ser :size.", - "file" => "El :attribute debe ser :size kilobytes.", - "string" => "El :attribute debe ser :size characters.", - "array" => "El :attribute tebe contener :size objetos.", - ], - "unique" => "El :attribute ya ha sido usado.", - "url" => "El formato :attribute es inválido.", - "timezone" => "El :attribute debe ser una zona válida.", - - /* - |-------------------------------------------------------------------------- - | Custom Validation Language Lines - |-------------------------------------------------------------------------- - | - | Here you may specify custom validation messages for attributes using El - | convention "attribute.rule" to name El lines. This makes it quick to - | specify a specific custom language line for a given attribute rule. - | - */ - - 'custom' => [ - 'attribute-name' => [ - 'rule-name' => 'custom-message', - ], - ], - - /* - |-------------------------------------------------------------------------- - | Custom Validation Attributes - |-------------------------------------------------------------------------- - | - | El following language lines are used to swap attribute place-holders - | with something more reader friendly such as E-Mail Address instead - | of "email". This simply helps us make messages a little cleaner. - | - */ - - 'attributes' => [], - -]; diff --git a/app/lang/fr/cachet.php b/app/lang/fr/cachet.php new file mode 100644 index 00000000..dba831c8 --- /dev/null +++ b/app/lang/fr/cachet.php @@ -0,0 +1,47 @@ + [ + 'status' => [ + 1 => 'Opérationel', + 2 => 'Problèmes de performances', + 3 => 'Panne partielle', + 4 => 'Panne majeure', + ], + ], + + // Incidents + 'incidents' => [ + 'none' => 'Aucun incident reporté.', + 'past' => 'Incidents précédents', + 'previous_week' => 'Semaine précédente', + 'next_week' => 'Semaine suivante', + 'none' => 'Rien à reporter', + 'status' => [ + 1 => 'Enquête en cours', + 2 => 'Identifié', + 3 => 'Analyse en cours', + 4 => 'Corrigé', + ], + ], + + // Service Status + 'service' => [ + 'good' => 'Tous les systèmes sont fonctionnels.', + 'bad' => 'Certains systèmes rencontrent des problèmes.', + ], + + 'api' => [ + 'regenerate' => 'Regénérer une clé API', + 'revoke' => 'Révoquer cette clé API', + ], + + // Other + 'powered_by' => ':app Status Page est propulsé par Cachet.', + 'about_this_site' => 'À propos de ce site', + 'rss-feed' => 'Flux RSS', + 'atom-feed' => 'Flux Atom', + 'feed' => 'Flux des statuts', + +]; diff --git a/app/lang/fr/dashboard.php b/app/lang/fr/dashboard.php new file mode 100644 index 00000000..74064660 --- /dev/null +++ b/app/lang/fr/dashboard.php @@ -0,0 +1,128 @@ + 'Tableau de bord', + + // Incidents + 'incidents' => [ + 'incidents' => 'Incidents', + 'logged' => '{0} Il n\'y a aucun incident, bien joué !|Vous avez reporté un incident.|Vous avez reporté :count incidents.', + 'incident-create-template' => 'Créer un modèle', + 'add' => [ + 'title' => 'Ajouter un incident', + 'success' => 'Incident ajouté.', + 'failure' => 'Il s\'est passé quelque chose avec cet incident.', + ], + 'edit' => [ + 'title' => 'Éditer un incident', + 'success' => 'Incident mis-à-jour.', + 'failure' => 'Il s\'est passé quelque chose avec cet incident.', + ], + + // Incident templates + 'templates' => [ + 'add' => [ + 'title' => 'Créer un modèle d\'incident', + 'success' => 'Modèle créé.', + 'failure' => 'Il s\'est passé quelque chose avec ce modèle d\'incident.', + ], + ], + ], + + // Components + 'components' => [ + 'components' => 'Composant|Composants', + 'component_statuses' => 'Statut des composants', + 'add' => [ + 'title' => 'Créer un composant', + 'message' => 'Commencez par ajouter un composant.', + 'success' => 'Composant créé.', + 'failure' => 'Il s\'est passé quelque chose avec ce composant.', + ], + 'edit' => [ + 'title' => 'Éditer un composant', + 'success' => 'Composant mis-à-jour.', + 'failure' => 'Il s\'est passé quelque chose avec ce composant.', + ], + + // Component groups + 'groups' => [ + 'groups' => 'Groupe de composants|Groupes de composants', + 'add' => [ + 'title' => 'Ajouter un group de composants', + 'success' => 'Groupe de composants ajouté.', + 'failure' => 'Il s\'est passé quelque chose avec ce composantgroupe de composants.', + ], + ], + ], + + // Metrics + 'metrics' => [ + 'metrics' => 'Point de mesure', + 'add' => [ + 'title' => 'Créer un point de mesure', + 'success' => 'Point de mesure créé.', + 'failure' => 'Il s\'est passé quelque chose avec ce point de mesure.', + ], + ], + + // Team + 'team' => [ + 'team' => 'Équipe', + 'member' => 'Membre', + 'profile' => 'Profil', + 'description' => 'Les membres de l\'équipe pourrons ajouter, modifier & éditer les composants et incidents.', + 'add' => [ + 'title' => 'Ajouter un membre à l\'équipe', + 'success' => 'Membre ajouté.', + 'failure' => 'Il s\'est passé quelque chose avec ce membre.', + ], + 'edit' => [ + 'title' => 'Mettre à jour le profil', + 'success' => 'Profil mis-à-jour.', + 'failure' => 'Il s\'est passé quelque chose en mettant à jour le profil.', + ], + ], + + // Settings + 'settings' => [ + 'settings' => 'Réglages', + 'app-setup' => [ + 'app-setup' => 'Configuration', + ], + 'security' => [ + 'security' => 'Sécurité', + ], + 'stylesheet' => [ + 'stylesheet' => 'Feuille de style', + ], + 'theme' => [ + 'theme' => 'Thème', + ], + 'edit' => [ + 'success' => 'Réglages sauvegardés.', + 'failure' => 'Les réglages n\'ont pas pu être sauvegardés.', + ], + ], + + // Login + 'login' => [ + 'login' => 'Connexion', + 'logged_in' => "Vous êtes connecté.", + 'welcome' => 'Re-bonjour !', + ], + + // Sidebar footer + 'help' => 'Aide', + 'status_page' => 'Statut des services', + 'logout' => 'Déconnexion', + + // Notifications + 'notifications' => [ + 'notifications' => 'Notifications', + 'awesome' => 'Cool.', + 'whoops' => 'Oups.', + ], + +]; diff --git a/app/lang/fr/errors.php b/app/lang/fr/errors.php new file mode 100644 index 00000000..dbe86279 --- /dev/null +++ b/app/lang/fr/errors.php @@ -0,0 +1,10 @@ + [ + 'code' => '404', + 'title' => 'Cette page est manquante !', + 'message' => 'Désolé, mais la page que vous recherchez est introuvable. Vérifier l\'URL et essayez à nouveau.', + 'link' => 'Retour à l\'accueil', + ] +]; diff --git a/app/lang/fr/forms.php b/app/lang/fr/forms.php new file mode 100644 index 00000000..9a5d27be --- /dev/null +++ b/app/lang/fr/forms.php @@ -0,0 +1,90 @@ + [ + 'email' => 'Adresse email', + 'username' => 'Identifiant', + 'password' => 'Mot de passe', + 'site_name' => 'Nom du site', + 'site_domain' => 'Domaine du site', + ], + + // Login form fields + 'login' => [ + 'email' => 'Adresse email', + 'password' => 'Mot de passe', + ], + + // Incidents form fields + 'incidents' => [ + 'name' => 'Nom', + 'status' => 'Statut', + 'message' => 'Message', + 'message-help' => 'Vous pouvez aussi utiliser du Markdown.', + + 'templates' => [ + 'name' => 'Nom', + 'template' => 'Modèle', + ], + ], + + // Components form fields + 'components' => [ + 'name' => 'Nom', + 'status' => 'Statut', + 'group' => 'Groupe', + 'description' => 'Description', + 'link' => 'Lien', + 'tags' => 'Tags', + 'tags-help' => 'Séparé par une virgule.', + + 'groups' => [ + 'name' => 'Nom', + ], + ], + + // Settings + 'settings' => [ + /// Application setup + 'app-setup' => [ + 'site-name' => 'Nom du site', + 'site-url' => 'URL du site', + 'about-this-page' => 'À propos de cette page', + 'days-of-incidents' => 'Nombre de jours à afficher ?', + 'banner' => 'Bannière', + 'banner-help' => "Il est recommandé de télécharger des fichiers de moins de 930 pixels de large.", + ], + 'security' => [ + 'allowed-domains' => 'Domaines autorisés. ', + 'allowed-domains-help' => 'Séparés par une virgule. Les domaines enregistrés ci-dessus seront automatiquement autorisés par défaut.', + ], + 'stylesheet' => [ + 'custom-css' => 'Feuille de style personnalisée', + ], + 'theme' => [ + 'background-color' => 'Couleur d\'arrière plan', + 'text-color' => 'Couleur du texte', + ], + ], + + 'user' => [ + 'username' => 'Identifiant', + 'email' => 'Adresse email', + 'password' => 'Mot de passe', + 'api-key' => 'Clé API', + 'api-key-help' => 'Regénérer votre clé API révoquera toutes les applications existantes.', + ], + + // Buttons + 'add' => 'Ajouter', + 'save' => 'Sauvegarder', + 'update' => 'Mettre à jour', + 'create' => 'Créer', + 'edit' => 'Éditer', + 'delete' => 'Effacer', + 'submit' => 'Envoyer', + 'cancel' => 'Annuler', + 'remove' => 'Supprimer' +]; diff --git a/app/lang/pt-BR/pagination.php b/app/lang/fr/pagination.php similarity index 85% rename from app/lang/pt-BR/pagination.php rename to app/lang/fr/pagination.php index 613b015a..9f07a5f9 100644 --- a/app/lang/pt-BR/pagination.php +++ b/app/lang/fr/pagination.php @@ -13,7 +13,7 @@ return [ | */ - 'previous' => '« Anterior', - 'next' => 'Próxima »', + 'previous' => '« Précédent', + 'next' => 'Suivant »', ]; diff --git a/app/lang/pt-BR/reminders.php b/app/lang/fr/reminders.php similarity index 54% rename from app/lang/pt-BR/reminders.php rename to app/lang/fr/reminders.php index 11efd431..0f9ea9e5 100644 --- a/app/lang/pt-BR/reminders.php +++ b/app/lang/fr/reminders.php @@ -13,10 +13,10 @@ return [ | */ - 'password' => 'A senha deverá conter pelo menos seis carateres e ser igual à confirmação.', - 'user' => 'Não conseguimos encontrar nenhum usuário com o endereço de email indicado.', - 'token' => 'Este código de recuperação de senha é inválido.', - 'sent' => 'O lembrete da senha foi enviado!', - 'reset' => 'A senha foi redefinida!', + 'password' => 'Les mots de passe doivent contenir 6 caractères minimum et être identique à la confirmation.', + 'user' => 'Nous ne trouvons aucun utilisateur avec cette adresse email.', + 'token' => 'Ce jeton de réinitialisation de mot de passe est invalide.', + 'sent' => 'Rappel de mot de passe envoyé !', + 'reset' => 'Votre mot de passe à été réinitialisé !', ]; diff --git a/app/lang/fr/setup.php b/app/lang/fr/setup.php new file mode 100644 index 00000000..0e555c6b --- /dev/null +++ b/app/lang/fr/setup.php @@ -0,0 +1,11 @@ + 'Installation', + 'title' => 'Installer Cachet', + 'service_details' => 'Details du service', + 'status_page_setup' => 'Installation de la page de statut', + 'show_support' => 'Montrer votre support pour Cachet ?', + 'admin_account' => 'Compte administrateur', + 'complete_setup' => 'Terminer l\'installation' +]; diff --git a/app/lang/fr/validation.php b/app/lang/fr/validation.php new file mode 100644 index 00000000..7ff1af1d --- /dev/null +++ b/app/lang/fr/validation.php @@ -0,0 +1,104 @@ + "Le champ :attribute doit être accepté.", + "active_url" => "Le champ :attribute n'est pas une URL valide.", + "after" => "Le champ :attribute doit être une date postérieure à :date.", + "alpha" => "Le champ :attribute ne peut contenir que des lettres.", + "alpha_dash" => "Le champ :attribute ne peut contenir que des lettres, chiffres et tirets.", + "alpha_num" => "Le champ :attribute ne peut contenir que des lettres ou des chiffres.", + "array" => "Le champ :attribute doit être un tableau.", + "before" => "Le champ :attribute doit être une date antérieure à :date.", + "between" => [ + "numeric" => "Le champ :attribute doit être entre :min et :max.", + "file" => "Le champ :attribute doit être entre :min et :max kilobytes.", + "string" => "Le champ :attribute doit contenir entre :min et :max caractères.", + "array" => "Le champ :attribute doit avoir entre :min et :max objets.", + ], + "confirmed" => "Le champ :attribute confirmation ne correspond pas.", + "date" => "Le champ :attribute n'est pas une date valide.", + "date_format" => "Le champ :attribute ne correspond pas au format :format.", + "different" => "Le champ :attribute et :other doivent être différents.", + "digits" => "Le champ :attribute doit être composé de :digits chiffres.", + "digits_between" => "Le champ :attribute doit être composé de :min jusqu'à :max chiffres.", + "email" => "Le champ :attribute doit être une adresse email valide.", + "exists" => "Le champ selected :attribute est invalide.", + "image" => "Le champ :attribute doit être une image.", + "in" => "Le champ selected :attribute est invalide.", + "integer" => "Le champ :attribute doit être un entier.", + "ip" => "Le champ :attribute doit être une adresse IP valide.", + "max" => [ + "numeric" => "Le champ :attribute ne doit pas être supérieure à :max.", + "file" => "Le champ :attribute ne doit pas être supérieure à :max kilobytes.", + "string" => "Le champ :attribute ne doit pas être supérieure à :max caractères.", + "array" => "Le champ :attribute ne doit pas avoir plus de :max objets.", + ], + "mimes" => "Le champ :attribute doit être un fichier de type : :values.", + "min" => [ + "numeric" => "Le champ :attribute doit être supérieur à :min.", + "file" => "Le champ :attribute doit être supérieur à :min kilobytes.", + "string" => "Le champ :attribute doit être supérieur à :min caractères.", + "array" => "Le champ :attribute doit avoir au moins :min objets.", + ], + "not_in" => "Le champ sélectionné :attribute est invalide.", + "numeric" => "Le champ :attribute doit être un nombre.", + "regex" => "Le format du champ :attribute est invalide.", + "required" => "Le champ :attribute est obligatoire.", + "required_if" => "Le champ :attribute est obligatoire quand :other est :value.", + "required_with" => "Le champ :attribute est obligatoire quand :values est présent.", + "required_with_all" => "Le champ :attribute est obligatoire quand :values est présent.", + "required_without" => "Le champ :attribute est obligatoire quand :values n'est pas présent.", + "required_without_all" => "Le champ :attribute est obligatoire quand aucun des champs :values n'est présent.", + "same" => "Le champ :attribute et :other doivent être identiques.", + "size" => [ + "numeric" => "La taille du champ :attribute doit être de :size.", + "file" => "Le poids du champ :attribute doit être de :size kilobytes.", + "string" => "Le nombre de caractères du champ :attribute doit être de :size caractères.", + "array" => "Le champ :attribute doit contenir :size objets.", + ], + "unique" => "Le champ :attribute est déjà utilisé.", + "url" => "Le format du champ :attribute est invalide.", + + /* + |-------------------------------------------------------------------------- + | Custom Validation Language Lines + |-------------------------------------------------------------------------- + | + | Here you may specify custom validation messages for attributes using the + | convention "attribute.rule" to name the lines. This makes it quick to + | specify a specific custom language line for a given attribute rule. + | + */ + + 'custom' => [ + 'attribute-name' => [ + 'rule-name' => 'custom-message', + ], + ], + + /* + |-------------------------------------------------------------------------- + | Custom Validation Attributes + |-------------------------------------------------------------------------- + | + | The following language lines are used to swap attribute place-holders + | with something more reader friendly such as E-Mail Address instead + | of "email". This simply helps us make messages a little cleaner. + | + */ + + 'attributes' => [ ], + +]; diff --git a/app/lang/it/cachet.php b/app/lang/it/cachet.php deleted file mode 100755 index 02629ed1..00000000 --- a/app/lang/it/cachet.php +++ /dev/null @@ -1,49 +0,0 @@ - [ - 'status' => [ - 1 => 'Operativo', - 2 => 'Problemi relativi alle Prestazioni', - 3 => 'Interruzione Parziale', - 4 => 'Interruzione Principale', - ], - ], - // Incidents - 'incident' => [ - 'status' => [ - 1 => 'Indagando', - 2 => 'Problemi relativi alle Prestazioni', - 3 => 'Interruzione Parziale', - 4 => 'Interruzione Principale', - ], - ], - // Service Status - 'service' => [ - 'good' => 'Tutti i sistemi sono funzionanti.', - 'bad' => 'Alcuni sistemi stanno riscontrando dei problemi.', - ], - // Other - 'powered_by' => ':app Pagina di Stato creata utilizzando Cachet.', - 'logout' => 'Esci', - 'logged_in' => 'Sei connesso.', - 'setup' => 'Installa Cachet', - 'no_incidents' => 'Non sono stati segnalati incidenti.', - 'dashboard' => [ - 'dashboard' => 'Dashboard', - 'components' => 'Componenti', - 'component-add' => 'Aggiungi Componente', - 'incidents' => 'Incidenti', - 'incident-add' => 'Aggiungi Incidente', - 'incident-create-template' => 'Crea Modello', - 'metrics' => 'Metriche', - 'metrics-add' => 'Aggiungi Punto di Metrica', - 'status_page' => 'Pagina di Stato', - 'settings' => 'Impostazioni', - 'notifications' => 'Notifiche', - 'toggle_navigation' => 'Mostra/Nascondi Navigazione', - 'search' => 'Cerca...', - 'user' => 'Utente', - ], -]; diff --git a/app/lang/pl/cachet.php b/app/lang/pl/cachet.php deleted file mode 100755 index 1c489305..00000000 --- a/app/lang/pl/cachet.php +++ /dev/null @@ -1,49 +0,0 @@ - [ - 'status' => [ - 1 => 'Sprawny', - 2 => 'Problemy z wydajnością', - 3 => 'Częściowa awaria', - 4 => 'Poważna awaria', - ], - ], - // Incidents - 'incident' => [ - 'status' => [ - 1 => 'Badanie', - 2 => 'Problemy z wydajnością', - 3 => 'Częściowa awaria', - 4 => 'Poważna awaria', - ], - ], - // Service Status - 'service' => [ - 'good' => 'Wszystkie systemy sprawne.', - 'bad' => 'Wykryto problemy w części systemów.', - ], - // Other - 'powered_by' => ':app monitor działa na silniku Cachet.', - 'logout' => 'Wyloguj', - 'logged_in' => 'Jesteś zalogowany.', - 'setup' => 'Skonfiguruj Cachet', - 'no_incidents' => 'Brak zgłoszonych problemów.', - 'dashboard' => [ - 'dashboard' => 'Pulpit', - 'components' => 'Komponenty', - 'component-add' => 'Dodaj komponent', - 'incidents' => 'Problemy', - 'incident-add' => 'Zgłoś problem', - 'incident-create-template' => 'Stwórz szablon', - 'metrics' => 'Metryki', - 'metrics-add' => 'Dodaj metrykę', - 'status_page' => 'Strona statusowa', - 'settings' => 'Ustawienia', - 'notifications' => 'Powiadomienia', - 'toggle_navigation' => 'Schowaj/pokaż nawigację', - 'search' => 'Szukaj...', - 'user' => 'Użytkownik', - ], -]; diff --git a/app/lang/pt-BR/cachet.php b/app/lang/pt-BR/cachet.php deleted file mode 100644 index 68adf6a3..00000000 --- a/app/lang/pt-BR/cachet.php +++ /dev/null @@ -1,69 +0,0 @@ - [ - 'status' => [ - 1 => 'Operacional', - 2 => 'Problemas de Perfomance', - 3 => 'Indisponibilidade Parcial', - 4 => 'Falha Grave', - ], - ], - // Incidents - 'incident' => [ - 'status' => [ - 1 => 'Investigando', - 2 => 'Identificado', - 3 => 'Monitorando', - 4 => 'Corrigido', - ], - 'none' => 'Nada a reportar', - ], - // Service Status - 'service' => [ - 'good' => 'Todos os sistemas estão funcionais.', - 'bad' => 'Alguns sistemas estão passando por problemas.', - ], - // Other - 'powered_by' => ':app Página de status rodando com o Cachet.', - 'login_message' => 'Bem vindo novamente!', - 'login' => 'Entrar', - 'logout' => 'Sair', - 'logged_in' => 'Você está logado.', - 'setup' => 'Instalação do Cachet', - 'no_incidents' => 'Nenhum incidente reportado.', - 'dashboard' => [ - 'dashboard' => 'Painel de Controle', - 'components' => 'Componentes', - 'component-add' => 'Adicionar Componente', - 'incidents' => 'Incidente', - 'incident-add' => 'Adicionar Incidente', - 'incident-create-template' => 'Criar Modelo', - 'metrics' => 'Métricas', - 'metrics-add' => 'Adicionar Ponto de métrica', - 'status_page' => 'Página de Status', - 'settings' => 'Configurações', - 'notifications' => 'Notificações', - 'toggle_navigation' => 'Alternar Navegação', - 'search' => 'Buscar...', - 'user' => 'Usuário', - 'help' => 'Ajuda', - ], - // Forms - 'forms' => [ - 'email' => 'Email', - 'password' => 'Senha', - // Setup Form - 'setup' => [ - 'service_details' => 'Detalhes do Serviço', - 'status_page_setup' => 'Instalação da Página de Status', - 'site_name' => 'Nome do Site', - 'site_domain' => 'Domínio do Site', - 'show_support' => 'Mostrar apoio para o Cachet?', - 'admin_account' => 'Conta do Administrador', - 'admin_username' => 'Nome do Usuário', - 'finish_setup' => 'Completar Instalação', - ], - ], -]; diff --git a/app/lang/pt-BR/validation.php b/app/lang/pt-BR/validation.php deleted file mode 100644 index 5fc4bef2..00000000 --- a/app/lang/pt-BR/validation.php +++ /dev/null @@ -1,106 +0,0 @@ - "O campo :attribute deve ser aceito.", - "active_url" => "O campo :attribute não contém uma URL válida.", - "after" => "O campo :attribute deverá conter uma data posterior a :date.", - "alpha" => "O campo :attribute deverá conter apenas letras.", - "alpha_dash" => "O campo :attribute deverá conter apenas letras, números e traços.", - "alpha_num" => "O campo :attribute deverá conter apenas letras e números .", - "array" => "O campo :attribute precisa ser um conjunto.", - "before" => "O campo :attribute deverá conter uma data anterior a :date.", - "between" => [ - "numeric" => "O campo :attribute deverá ter um valor entre :min e :max.", - "file" => "O campo :attribute deverá ter um tamanho entre :min e :max kilobytes.", - "string" => "O campo :attribute deverá conter entre :min e :max caracteres.", - "array" => "O campo :attribute precisar ter entre :min e :max itens.", - ], - "boolean" => "O campo :attribute deverá ter o valor verdadeiro ou falso.", - "confirmed" => "A confirmação para o campo :attribute não coincide.", - "date" => "O campo :attribute não contém uma data válida.", - "date_format" => "A data indicada para o campo :attribute não respeita o formato :format.", - "different" => "Os campos :attribute e :other deverão conter valores diferentes.", - "digits" => "O campo :attribute deverá conter :digits caracteres.", - "digits_between" => "O campo :attribute deverá conter entre :min e :max dígitos.", - "email" => "O campo :attribute não contém um endereço de email válido.", - "exists" => "O valor selecionado para o campo :attribute é inválido.", - "image" => "O campo :attribute deverá conter uma imagem.", - "in" => "O campo :attribute não contém um valor válido.", - "integer" => "O campo :attribute deverá conter um número inteiro.", - "ip" => "O campo :attribute deverá conter um IP válido.", - "max" => [ - "numeric" => "O campo :attribute deverá conter um valor inferior a :max.", - "file" => "O campo :attribute deverá ter um tamanho inferior a :max kilobytes.", - "string" => "O campo :attribute deverá conter menos de :max caracteres.", - "array" => "O campo :attribute deve ter no máximo :max itens.", - ], - "mimes" => "O campo :attribute deverá conter um arquivo do tipo: :values.", - "min" => [ - "numeric" => "O campo :attribute deverá ter um valor superior ou igual a :min.", - "file" => "O campo :attribute deverá ter no mínimo :min kilobytes.", - "string" => "O campo :attribute deverá conter no mínimo :min caracteres.", - "array" => "O campo :attribute deve ter no mínimo :min itens.", - ], - "not_in" => "O campo :attribute contém um valor inválido.", - "numeric" => "O campo :attribute deverá conter um valor numérico.", - "regex" => "O formato do valor para o campo :attribute é inválido.", - "required" => "É obrigatória a indicação de um valor para o campo :attribute.", - "required_if" => "É obrigatória a indicação de um valor para o campo :attribute quando o valor do campo :other é igual a :value.", - "required_with" => "É obrigatória a indicação de um valor para o campo :attribute quando :values está presente.", - "required_with_all" => "É obrigatória a indicação de um valor para o campo :attribute quando um dos :values está presente.", - "required_without" => "É obrigatória a indicação de um valor para o campo :attribute quanto :values não está presente.", - "required_without_all" => "É obrigatória a indicação de um valor para o campo :attribute quando nenhum dos :values está presente.", - "same" => "Os campos :attribute e :other deverão conter valores iguais.", - "size" => [ - "numeric" => "O campo :attribute deverá conter o valor :size.", - "file" => "O campo :attribute deverá ter o tamanho de :size kilobytes.", - "string" => "O campo :attribute deverá conter :size caracteres.", - "array" => "O campo :attribute deve ter :size itens.", - ], - "timezone" => "O campo :attribute deverá ter um fuso horário válido.", - "unique" => "O valor indicado para o campo :attribute já se encontra registrado.", - "url" => "O formato do URL indicado para o campo :attribute é inválido.", - - /* - |-------------------------------------------------------------------------- - | Custom Validation Language Lines - |-------------------------------------------------------------------------- - | - | Here you may specify custom validation messages for attributes using the - | convention "attribute.rule" to name the lines. This makes it quick to - | specify a specific custom language line for a given attribute rule. - | - */ - - 'custom' => [ - 'attribute-name' => [ - 'rule-name' => 'custom-message', - ], - ], - - /* - |-------------------------------------------------------------------------- - | Custom Validation Attributes - |-------------------------------------------------------------------------- - | - | The following language lines are used to swap attribute place-holders - | with something more reader friendly such as E-Mail Address instead - | of "email". This simply helps us make messages a little cleaner. - | - */ - - 'attributes' => [], - -]; diff --git a/app/lang/sv-SE/cachet.php b/app/lang/sv-SE/cachet.php deleted file mode 100755 index 741535ee..00000000 --- a/app/lang/sv-SE/cachet.php +++ /dev/null @@ -1,49 +0,0 @@ - [ - 'status' => [ - 1 => 'Fungerar', - 2 => 'Prestandaproblem', - 3 => 'Delvisa avbrott', - 4 => 'Större avbrott', - ], - ], - // Incidents - 'incident' => [ - 'status' => [ - 1 => 'Undersöker', - 2 => 'Prestandaproblem', - 3 => 'Delvisa avbrott', - 4 => 'Större avbrott', - ], - ], - // Service Status - 'service' => [ - 'good' => 'Alla system fungerar.', - 'bad' => 'Vissa system har problem.', - ], - // Other - 'powered_by' => ':app Statussida körs via Cachet.', - 'logout' => 'Logga ut', - 'logged_in' => 'Du är inloggad.', - 'setup' => 'Ställ in Cachet', - 'no_incidents' => 'Inga händelser har rapporterats.', - 'dashboard' => [ - 'dashboard' => 'Översiktspanel', - 'components' => 'Komponenter', - 'component-add' => 'Lägg till komponent', - 'incidents' => 'Händelser', - 'incident-add' => 'Lägg till händelse', - 'incident-create-template' => 'Skapa mall', - 'metrics' => 'Mått', - 'metrics-add' => 'Lägg till mätpunkt', - 'status_page' => 'Statussida', - 'settings' => 'Inställningar', - 'notifications' => 'Aviseringar', - 'toggle_navigation' => 'Växla navigering', - 'search' => 'Sök...', - 'user' => 'Konto', - ], -]; diff --git a/app/views/auth/login.blade.php b/app/views/auth/login.blade.php index bd7e3eb3..e1e4fdbb 100644 --- a/app/views/auth/login.blade.php +++ b/app/views/auth/login.blade.php @@ -8,27 +8,27 @@ {{ Form::open() }}
{{ Form::close() }} diff --git a/app/views/dashboard/components/add.blade.php b/app/views/dashboard/components/add.blade.php index 622add57..f7e2a22f 100644 --- a/app/views/dashboard/components/add.blade.php +++ b/app/views/dashboard/components/add.blade.php @@ -6,9 +6,9 @@ - {{ trans('cachet.dashboard.components') }} + {{ trans_choice('dashboard.components.components', 2) }} - > Create a component + > {{ trans('dashboard.components.add.title') }}{{ trans_choice('cachet.dashboard.logged_incidents', $incidents->count(), ['count' => $incidents->count()]) }}
+{{ trans_choice('dashboard.incidents.logged', $incidents->count(), ['count' => $incidents->count()]) }}
Eventually this page will show all of the graphs that make up your metrics.