mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-01-17 13:38:20 +01:00
Fix L10n style and content @wfjsw
This commit is contained in:
parent
17c31f4f2f
commit
ba7f9881d6
@ -1,4 +1,6 @@
|
||||
<?php namespace CachetHQ\Cachet\Commands;
|
||||
<?php
|
||||
|
||||
namespace CachetHQ\Cachet\Commands;
|
||||
|
||||
abstract class Command
|
||||
{
|
||||
|
@ -1,4 +1,6 @@
|
||||
<?php namespace CachetHQ\Cachet\Events;
|
||||
<?php
|
||||
|
||||
namespace CachetHQ\Cachet\Events;
|
||||
|
||||
abstract class Event
|
||||
{
|
||||
|
@ -1,4 +1,6 @@
|
||||
<?php namespace CachetHQ\Cachet\Exceptions;
|
||||
<?php
|
||||
|
||||
namespace CachetHQ\Cachet\Exceptions;
|
||||
|
||||
use CachetHQ\Cachet\Repositories\InvalidModelValidationException;
|
||||
use Exception;
|
||||
|
@ -4,7 +4,6 @@ namespace CachetHQ\Cachet\Http\Controllers;
|
||||
|
||||
use CachetHQ\Cachet\Facades\Setting;
|
||||
use CachetHQ\Cachet\Models\Incident;
|
||||
use Illuminate\Support\Facades\Response;
|
||||
use Roumen\Feed\Facades\Feed;
|
||||
|
||||
class AtomController extends AbstractController
|
||||
|
@ -5,7 +5,6 @@ namespace CachetHQ\Cachet\Http\Controllers;
|
||||
use CachetHQ\Cachet\Facades\Setting;
|
||||
use CachetHQ\Cachet\Models\ComponentGroup;
|
||||
use CachetHQ\Cachet\Models\Incident;
|
||||
use Illuminate\Support\Facades\Response;
|
||||
use Roumen\Feed\Facades\Feed;
|
||||
|
||||
class RssController extends AbstractController
|
||||
|
@ -1,4 +1,6 @@
|
||||
<?php namespace CachetHQ\Cachet\Http\Requests;
|
||||
<?php
|
||||
|
||||
namespace CachetHQ\Cachet\Http\Requests;
|
||||
|
||||
use Illuminate\Foundation\Http\FormRequest;
|
||||
|
||||
|
@ -1,4 +1,6 @@
|
||||
<?php namespace CachetHQ\Cachet\Services;
|
||||
<?php
|
||||
|
||||
namespace CachetHQ\Cachet\Services;
|
||||
|
||||
use CachetHQ\Cachet\User;
|
||||
use Illuminate\Contracts\Auth\Registrar as RegistrarContract;
|
||||
|
@ -17,37 +17,37 @@ class ComponentTableSeeder extends Seeder
|
||||
|
||||
$defaultComponents = [
|
||||
[
|
||||
"name" => "API",
|
||||
"description" => "Used by third-parties to connect to us",
|
||||
"status" => 2,
|
||||
"user_id" => 1,
|
||||
"order" => 0,
|
||||
"group_id" => 0,
|
||||
"link" => "",
|
||||
'name' => 'API',
|
||||
'description' => 'Used by third-parties to connect to us',
|
||||
'status' => 2,
|
||||
'user_id' => 1,
|
||||
'order' => 0,
|
||||
'group_id' => 0,
|
||||
'link' => '',
|
||||
], [
|
||||
"name" => "Documentation",
|
||||
"description" => "Kindly powered by Readme.io",
|
||||
"status" => 1,
|
||||
"user_id" => 1,
|
||||
"order" => 0,
|
||||
"group_id" => 0,
|
||||
"link" => "https://docs.cachethq.io",
|
||||
'name' => 'Documentation',
|
||||
'description' => 'Kindly powered by Readme.io',
|
||||
'status' => 1,
|
||||
'user_id' => 1,
|
||||
'order' => 0,
|
||||
'group_id' => 0,
|
||||
'link' => 'https://docs.cachethq.io',
|
||||
], [
|
||||
"name" => "Website",
|
||||
"description" => "",
|
||||
"status" => 1,
|
||||
"user_id" => 1,
|
||||
"order" => 0,
|
||||
"group_id" => 0,
|
||||
"link" => "https://cachethq.io",
|
||||
'name' => 'Website',
|
||||
'description' => '',
|
||||
'status' => 1,
|
||||
'user_id' => 1,
|
||||
'order' => 0,
|
||||
'group_id' => 0,
|
||||
'link' => 'https://cachethq.io',
|
||||
], [
|
||||
"name" => "Blog",
|
||||
"description" => "The Cachet HQ blog.",
|
||||
"status" => 1,
|
||||
"user_id" => 1,
|
||||
"order" => 0,
|
||||
"group_id" => 0,
|
||||
"link" => "https://blog.cachethq.io",
|
||||
'name' => 'Blog',
|
||||
'description' => 'The Cachet HQ blog.',
|
||||
'status' => 1,
|
||||
'user_id' => 1,
|
||||
'order' => 0,
|
||||
'group_id' => 0,
|
||||
'link' => 'https://blog.cachethq.io',
|
||||
],
|
||||
];
|
||||
|
||||
|
@ -17,35 +17,35 @@ class IncidentTableSeeder extends Seeder
|
||||
|
||||
$defaultIncidents = [
|
||||
[
|
||||
"name" => "Awesome",
|
||||
"message" => "We totally nailed the fix.",
|
||||
"status" => 4,
|
||||
"component_id" => 0,
|
||||
"user_id" => 1,
|
||||
"scheduled_at" => null,
|
||||
'name' => 'Awesome',
|
||||
'message' => 'We totally nailed the fix.',
|
||||
'status' => 4,
|
||||
'component_id' => 0,
|
||||
'user_id' => 1,
|
||||
'scheduled_at' => null,
|
||||
],
|
||||
[
|
||||
"name" => "Monitoring the fix",
|
||||
"message" => "We're checking that our fix will first work.",
|
||||
"status" => 3,
|
||||
"component_id" => 0,
|
||||
"user_id" => 1,
|
||||
"scheduled_at" => null,
|
||||
'name' => 'Monitoring the fix',
|
||||
'message' => "We're checking that our fix will first work.",
|
||||
'status' => 3,
|
||||
'component_id' => 0,
|
||||
'user_id' => 1,
|
||||
'scheduled_at' => null,
|
||||
],
|
||||
[
|
||||
"name" => "Update",
|
||||
"message" => "We've found the problem, so we're looking at it.",
|
||||
"status" => 2,
|
||||
"component_id" => 0,
|
||||
"user_id" => 1,
|
||||
"scheduled_at" => null,
|
||||
'name' => 'Update',
|
||||
'message' => "We've found the problem, so we're looking at it.",
|
||||
'status' => 2,
|
||||
'component_id' => 0,
|
||||
'user_id' => 1,
|
||||
'scheduled_at' => null,
|
||||
],
|
||||
[
|
||||
"name" => "Test Incident",
|
||||
"message" => "Something went wrong, oh noes.",
|
||||
"component_id" => 0,
|
||||
"user_id" => 1,
|
||||
"scheduled_at" => null,
|
||||
'name' => 'Test Incident',
|
||||
'message' => 'Something went wrong, oh noes.',
|
||||
'component_id' => 0,
|
||||
'user_id' => 1,
|
||||
'scheduled_at' => null,
|
||||
],
|
||||
];
|
||||
|
||||
|
@ -17,36 +17,36 @@ class SettingsTableSeeder extends Seeder
|
||||
|
||||
$defaultSettings = [
|
||||
[
|
||||
"name" => "app_name",
|
||||
"value" => "Cachet Demo",
|
||||
'name' => 'app_name',
|
||||
'value' => 'Cachet Demo',
|
||||
],
|
||||
[
|
||||
"name" => "app_domain",
|
||||
"value" => "https://demo.cachethq.io",
|
||||
'name' => 'app_domain',
|
||||
'value' => 'https://demo.cachethq.io',
|
||||
],
|
||||
[
|
||||
"name" => "show_support",
|
||||
"value" => "1",
|
||||
'name' => 'show_support',
|
||||
'value' => '1',
|
||||
],
|
||||
[
|
||||
"name" => "app_locale",
|
||||
"value" => "en",
|
||||
'name' => 'app_locale',
|
||||
'value' => 'en',
|
||||
],
|
||||
[
|
||||
"name" => "app_timezone",
|
||||
"value" => "Europe/London",
|
||||
'name' => 'app_timezone',
|
||||
'value' => 'Europe/London',
|
||||
],
|
||||
[
|
||||
"name" => "app_track",
|
||||
"value" => "1",
|
||||
'name' => 'app_track',
|
||||
'value' => '1',
|
||||
],
|
||||
[
|
||||
"name" => "app_incident_days",
|
||||
"value" => "7",
|
||||
'name' => 'app_incident_days',
|
||||
'value' => '7',
|
||||
],
|
||||
[
|
||||
"name" => "app_analytics",
|
||||
"value" => "UA-58442674-3",
|
||||
'name' => 'app_analytics',
|
||||
'value' => 'UA-58442674-3',
|
||||
],
|
||||
];
|
||||
|
||||
|
@ -17,11 +17,11 @@ class UsersTableSeeder extends Seeder
|
||||
|
||||
$users = [
|
||||
[
|
||||
"username" => "test",
|
||||
"password" => "test123",
|
||||
"email" => "test@test.com",
|
||||
"level" => 1,
|
||||
"api_key" => "9yMHsdioQosnyVK4iCVR",
|
||||
'username' => 'test',
|
||||
'password' => 'test123',
|
||||
'email' => 'test@test.com',
|
||||
'level' => 1,
|
||||
'api_key' => '9yMHsdioQosnyVK4iCVR',
|
||||
],
|
||||
];
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Laravel - A PHP Framework For Web Artisans.
|
||||
*
|
||||
|
@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Laravel - A PHP Framework For Web Artisans.
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user