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 abstract class Command
{ {

View File

@@ -1,4 +1,6 @@
<?php namespace CachetHQ\Cachet\Events; <?php
namespace CachetHQ\Cachet\Events;
abstract class Event 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 CachetHQ\Cachet\Repositories\InvalidModelValidationException;
use Exception; use Exception;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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