Fix L10n style and content @wfjsw

This commit is contained in:
James Brooks 2015-04-18 16:55:51 +01:00
parent 17c31f4f2f
commit ba7f9881d6
13 changed files with 89 additions and 79 deletions

View File

@ -1,4 +1,6 @@
<?php namespace CachetHQ\Cachet\Commands;
<?php
namespace CachetHQ\Cachet\Commands;
abstract class Command
{

View File

@ -1,4 +1,6 @@
<?php namespace CachetHQ\Cachet\Events;
<?php
namespace CachetHQ\Cachet\Events;
abstract class Event
{

View File

@ -1,4 +1,6 @@
<?php namespace CachetHQ\Cachet\Exceptions;
<?php
namespace CachetHQ\Cachet\Exceptions;
use CachetHQ\Cachet\Repositories\InvalidModelValidationException;
use Exception;

View File

@ -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

View File

@ -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

View File

@ -1,4 +1,6 @@
<?php namespace CachetHQ\Cachet\Http\Requests;
<?php
namespace CachetHQ\Cachet\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;

View File

@ -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;

View File

@ -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',
],
];

View File

@ -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,
],
];

View File

@ -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',
],
];

View File

@ -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',
],
];

View File

@ -1,4 +1,5 @@
<?php
/**
* Laravel - A PHP Framework For Web Artisans.
*

View File

@ -1,4 +1,5 @@
<?php
/**
* Laravel - A PHP Framework For Web Artisans.
*