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