diff --git a/app/Models/Metric.php b/app/Models/Metric.php index 6f7e5de8..ba5bac72 100644 --- a/app/Models/Metric.php +++ b/app/Models/Metric.php @@ -96,7 +96,7 @@ class Metric extends Model $queryType = "sum(metric_points.value)"; } - $query = DB::select("select {$queryType} as aggregate FROM metrics JOIN metric_points ON metric_points.metric_id = metrics.id WHERE to_char(metric_points.created_at, 'YYYYMMDDHH') = :timestamp AND to_char(metric_points.created_at, 'H') = to_char(now() - interval '{$hour} hour', 'H') GROUP BY to_char(metric_points.created_at, 'H')", [ + $query = DB::select("select {$queryType} as aggregate FROM metrics JOIN metric_points ON metric_points.metric_id = metrics.id WHERE metric_points.metric_id = {$this->id} AND to_char(metric_points.created_at, 'YYYYMMDDHH24') = :timestamp AND to_char(metric_points.created_at, 'H') = to_char(now() - interval '{$hour} hour', 'H') GROUP BY to_char(metric_points.created_at, 'H')", [ 'timestamp' => $dateTime->format('YmdH'), ]); diff --git a/composer.lock b/composer.lock index b71e0922..9f770a2e 100644 --- a/composer.lock +++ b/composer.lock @@ -219,16 +219,16 @@ }, { "name": "doctrine/annotations", - "version": "v1.2.3", + "version": "v1.2.4", "source": { "type": "git", "url": "https://github.com/doctrine/annotations.git", - "reference": "eeda578cbe24a170331a1cfdf78be723412df7a4" + "reference": "b5202eb9e83f8db52e0e58867e0a46e63be8332e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/annotations/zipball/eeda578cbe24a170331a1cfdf78be723412df7a4", - "reference": "eeda578cbe24a170331a1cfdf78be723412df7a4", + "url": "https://api.github.com/repos/doctrine/annotations/zipball/b5202eb9e83f8db52e0e58867e0a46e63be8332e", + "reference": "b5202eb9e83f8db52e0e58867e0a46e63be8332e", "shasum": "" }, "require": { @@ -283,20 +283,20 @@ "docblock", "parser" ], - "time": "2014-12-20 20:49:38" + "time": "2014-12-23 22:40:37" }, { "name": "doctrine/cache", - "version": "v1.4.0", + "version": "v1.4.1", "source": { "type": "git", "url": "https://github.com/doctrine/cache.git", - "reference": "2346085d2b027b233ae1d5de59b07440b9f288c8" + "reference": "c9eadeb743ac6199f7eec423cb9426bc518b7b03" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/cache/zipball/2346085d2b027b233ae1d5de59b07440b9f288c8", - "reference": "2346085d2b027b233ae1d5de59b07440b9f288c8", + "url": "https://api.github.com/repos/doctrine/cache/zipball/c9eadeb743ac6199f7eec423cb9426bc518b7b03", + "reference": "c9eadeb743ac6199f7eec423cb9426bc518b7b03", "shasum": "" }, "require": { @@ -307,13 +307,13 @@ }, "require-dev": { "phpunit/phpunit": ">=3.7", - "predis/predis": "~0.8", + "predis/predis": "~1.0", "satooshi/php-coveralls": "~0.6" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.4.x-dev" + "dev-master": "1.5.x-dev" } }, "autoload": { @@ -353,25 +353,28 @@ "cache", "caching" ], - "time": "2015-01-15 20:38:55" + "time": "2015-04-15 00:11:59" }, { "name": "doctrine/collections", - "version": "v1.2", + "version": "v1.3.0", "source": { "type": "git", "url": "https://github.com/doctrine/collections.git", - "reference": "b99c5c46c87126201899afe88ec490a25eedd6a2" + "reference": "6c1e4eef75f310ea1b3e30945e9f06e652128b8a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/collections/zipball/b99c5c46c87126201899afe88ec490a25eedd6a2", - "reference": "b99c5c46c87126201899afe88ec490a25eedd6a2", + "url": "https://api.github.com/repos/doctrine/collections/zipball/6c1e4eef75f310ea1b3e30945e9f06e652128b8a", + "reference": "6c1e4eef75f310ea1b3e30945e9f06e652128b8a", "shasum": "" }, "require": { "php": ">=5.3.2" }, + "require-dev": { + "phpunit/phpunit": "~4.0" + }, "type": "library", "extra": { "branch-alias": { @@ -388,17 +391,6 @@ "MIT" ], "authors": [ - { - "name": "Jonathan Wage", - "email": "jonwage@gmail.com", - "homepage": "http://www.jwage.com/", - "role": "Creator" - }, - { - "name": "Guilherme Blanco", - "email": "guilhermeblanco@gmail.com", - "homepage": "http://www.instaclick.com" - }, { "name": "Roman Borschel", "email": "roman@code-factory.org" @@ -407,11 +399,17 @@ "name": "Benjamin Eberlei", "email": "kontakt@beberlei.de" }, + { + "name": "Guilherme Blanco", + "email": "guilhermeblanco@gmail.com" + }, + { + "name": "Jonathan Wage", + "email": "jonwage@gmail.com" + }, { "name": "Johannes Schmitt", - "email": "schmittjoh@gmail.com", - "homepage": "https://github.com/schmittjoh", - "role": "Developer of wrapped JMSSerializerBundle" + "email": "schmittjoh@gmail.com" } ], "description": "Collections Abstraction library", @@ -421,7 +419,7 @@ "collections", "iterator" ], - "time": "2014-02-03 23:07:43" + "time": "2015-04-14 22:21:58" }, { "name": "doctrine/common", @@ -741,16 +739,16 @@ }, { "name": "filp/whoops", - "version": "1.1.4", + "version": "1.1.5", "source": { "type": "git", "url": "https://github.com/filp/whoops.git", - "reference": "dcce91553e2e056857f1ea844949e9a8a71b613d" + "reference": "c982fe62c44798c433229cb0425c61b487cc1883" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filp/whoops/zipball/dcce91553e2e056857f1ea844949e9a8a71b613d", - "reference": "dcce91553e2e056857f1ea844949e9a8a71b613d", + "url": "https://api.github.com/repos/filp/whoops/zipball/c982fe62c44798c433229cb0425c61b487cc1883", + "reference": "c982fe62c44798c433229cb0425c61b487cc1883", "shasum": "" }, "require": { @@ -795,7 +793,7 @@ "whoops", "zf2" ], - "time": "2015-02-17 15:50:31" + "time": "2015-03-30 15:26:59" }, { "name": "graham-campbell/binput", @@ -1536,16 +1534,16 @@ }, { "name": "laravel/framework", - "version": "v5.0.26", + "version": "v5.0.27", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "8e53c33e144f94032cc6ecbfee0be2a96ed63be0" + "reference": "4d6330118a295086ce9ff8eed2200d5b67f17688" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/8e53c33e144f94032cc6ecbfee0be2a96ed63be0", - "reference": "8e53c33e144f94032cc6ecbfee0be2a96ed63be0", + "url": "https://api.github.com/repos/laravel/framework/zipball/4d6330118a295086ce9ff8eed2200d5b67f17688", + "reference": "4d6330118a295086ce9ff8eed2200d5b67f17688", "shasum": "" }, "require": { @@ -1658,7 +1656,7 @@ "framework", "laravel" ], - "time": "2015-04-03 02:58:05" + "time": "2015-04-04 01:34:57" }, { "name": "league/commonmark", @@ -3521,16 +3519,16 @@ }, { "name": "phpunit/php-code-coverage", - "version": "2.0.15", + "version": "2.0.16", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "34cc484af1ca149188d0d9e91412191e398e0b67" + "reference": "934fd03eb6840508231a7f73eb8940cf32c3b66c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/34cc484af1ca149188d0d9e91412191e398e0b67", - "reference": "34cc484af1ca149188d0d9e91412191e398e0b67", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/934fd03eb6840508231a7f73eb8940cf32c3b66c", + "reference": "934fd03eb6840508231a7f73eb8940cf32c3b66c", "shasum": "" }, "require": { @@ -3579,7 +3577,7 @@ "testing", "xunit" ], - "time": "2015-01-24 10:06:35" + "time": "2015-04-11 04:35:00" }, { "name": "phpunit/php-file-iterator", @@ -3718,16 +3716,16 @@ }, { "name": "phpunit/php-token-stream", - "version": "1.4.0", + "version": "1.4.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-token-stream.git", - "reference": "db32c18eba00b121c145575fcbcd4d4d24e6db74" + "reference": "eab81d02569310739373308137284e0158424330" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/db32c18eba00b121c145575fcbcd4d4d24e6db74", - "reference": "db32c18eba00b121c145575fcbcd4d4d24e6db74", + "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/eab81d02569310739373308137284e0158424330", + "reference": "eab81d02569310739373308137284e0158424330", "shasum": "" }, "require": { @@ -3763,20 +3761,20 @@ "keywords": [ "tokenizer" ], - "time": "2015-01-17 09:51:32" + "time": "2015-04-08 04:46:07" }, { "name": "phpunit/phpunit", - "version": "4.6.1", + "version": "4.6.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "08b2aacdd8433abbba468f995d6d64b76a7a62ec" + "reference": "163232991e652e6efed2f8470326fffa61e848e2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/08b2aacdd8433abbba468f995d6d64b76a7a62ec", - "reference": "08b2aacdd8433abbba468f995d6d64b76a7a62ec", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/163232991e652e6efed2f8470326fffa61e848e2", + "reference": "163232991e652e6efed2f8470326fffa61e848e2", "shasum": "" }, "require": { @@ -3815,9 +3813,6 @@ "autoload": { "classmap": [ "src/" - ], - "files": [ - "src/Framework/Assert/Functions.php" ] }, "notification-url": "https://packagist.org/downloads/", @@ -3838,7 +3833,7 @@ "testing", "xunit" ], - "time": "2015-04-03 13:46:59" + "time": "2015-04-11 05:23:21" }, { "name": "phpunit/phpunit-mock-objects", diff --git a/config/langs.php b/config/langs.php old mode 100644 new mode 100755 index 155ae27e..30915971 --- a/config/langs.php +++ b/config/langs.php @@ -2,10 +2,14 @@ return [ // Enabled langs - 'en-UD' => 'CrowdIn - InContext Localization', - 'de' => 'Deutsch', - 'en' => 'English', - 'es' => 'Español', - 'fr' => 'Français', - 'pt-BR' => 'Portuguese, Brazilian', + 'en-UD' => 'CrowdIn - InContext Localization', + 'de' => 'Deutsch', + 'en' => 'English', + 'pl' => 'Polski', + 'es' => 'Español', + 'fr' => 'Français', + 'nl' => 'Nederlands', + 'pt-BR' => 'Portuguese, Brazilian', + 'zh-Hant' => 'Chinese (Traditional)', + 'zh-Hans' => 'Chinese (Simplified)', ]; diff --git a/resources/lang/de/cachet.php b/resources/lang/de/cachet.php old mode 100644 new mode 100755 diff --git a/resources/lang/de/dashboard.php b/resources/lang/de/dashboard.php old mode 100644 new mode 100755 diff --git a/resources/lang/de/errors.php b/resources/lang/de/errors.php old mode 100644 new mode 100755 diff --git a/resources/lang/de/forms.php b/resources/lang/de/forms.php old mode 100644 new mode 100755 index 27fd8fa7..c5d89fcb --- a/resources/lang/de/forms.php +++ b/resources/lang/de/forms.php @@ -71,18 +71,17 @@ return [ 'settings' => [ /// Application setup 'app-setup' => [ - 'site-name' => 'Name der Seite', - 'site-url' => 'URL der Seite', - 'site-timezone' => 'Wählen Sie Ihre Zeitzone', - 'site-locale' => 'Wählen Sie Ihre Sprache', - 'date-format' => 'Datumsformat', - 'display-graphs' => 'Display graphs on status page?', - 'about-this-page' => 'Über diese Seite', - 'days-of-incidents' => 'Wie viele (vergangene) Tage sollen angezeigt werden?', - 'banner' => 'Banner-Bild', - 'banner-help' => "Wählen Sie möglichst ein Bild mit 930 px Breite.", - 'analytics_google' => "Google Analytics Code", - 'analytics_gosquared' => "GoSquared Analytics Code", + 'site-name' => 'Name der Seite', + 'site-url' => 'URL der Seite', + 'site-timezone' => 'Wählen Sie Ihre Zeitzone', + 'site-locale' => 'Wählen Sie Ihre Sprache', + 'date-format' => 'Datumsformat', + 'display-graphs' => 'Display graphs on status page?', + 'about-this-page' => 'Über diese Seite', + 'days-of-incidents' => 'Wie viele (vergangene) Tage sollen angezeigt werden?', + 'banner' => 'Banner-Bild', + 'banner-help' => 'Wählen Sie möglichst ein Bild mit 930 px Breite.', + 'google-analytics' => 'Google Analytics Code', ], 'security' => [ 'allowed-domains' => 'Erlaubte Domains', diff --git a/resources/lang/de/pagination.php b/resources/lang/de/pagination.php old mode 100644 new mode 100755 diff --git a/resources/lang/de/reminders.php b/resources/lang/de/reminders.php old mode 100644 new mode 100755 diff --git a/resources/lang/de/setup.php b/resources/lang/de/setup.php old mode 100644 new mode 100755 index e81b97ef..88301da6 --- a/resources/lang/de/setup.php +++ b/resources/lang/de/setup.php @@ -5,7 +5,7 @@ return [ 'title' => 'Setup Cachet', 'service_details' => 'Service Details', 'status_page_setup' => 'Setup der Status-Seite', - 'show_support' => 'Möchten Sie Cachet unterstützen?', + 'show_support' => 'Möchten Sie Cachet unterstützen? Dies zeigt einen kleinen Text und Link im Footer an.', 'admin_account' => 'Administrator-Account', 'complete_setup' => 'Setup abschließen', 'completed' => 'Cachet wurde erfolgreich eingerichtet!', diff --git a/resources/lang/de/validation.php b/resources/lang/de/validation.php old mode 100644 new mode 100755 index 8c839cf0..e1fe2293 --- a/resources/lang/de/validation.php +++ b/resources/lang/de/validation.php @@ -13,65 +13,65 @@ return [ | */ - "accepted" => ":attribute muss akzeptiert werden.", - "active_url" => ":attribute ist keine valide URL.", - "after" => ":attribute muss nach :date liegen.", - "alpha" => ":attribute darf nur Buchstaben enthalten.", - "alpha_dash" => ":attribute darf nur Nummern, Buchstaben und Slashes enthalten.", - "alpha_num" => ":attribute darf nur Nummern und Buchstaben enthalten.", - "array" => ":attribute muss ein Array sein.", - "before" => ":attribute muss vor :date liegen.", - "between" => [ - "numeric" => ":attribute muss zwichen :min und :max liegen.", - "file" => ":attribute muss zwischen :min und :max kilobyte liegen.", - "string" => ":attribute muss zwischen :min und :max Zeichen lang sein.", - "array" => ":attribute muss zwischen :min und :max Werte enthalten.", + 'accepted' => ':attribute muss akzeptiert werden.', + 'active_url' => ':attribute ist keine valide URL.', + 'after' => ':attribute muss nach :date liegen.', + 'alpha' => ':attribute darf nur Buchstaben enthalten.', + 'alpha_dash' => ':attribute darf nur Nummern, Buchstaben und Slashes enthalten.', + 'alpha_num' => ':attribute darf nur Nummern und Buchstaben enthalten.', + 'array' => ':attribute muss ein Array sein.', + 'before' => ':attribute muss vor :date liegen.', + 'between' => [ + 'numeric' => ':attribute muss zwichen :min und :max liegen.', + 'file' => ':attribute muss zwischen :min und :max kilobyte liegen.', + 'string' => ':attribute muss zwischen :min und :max Zeichen lang sein.', + 'array' => ':attribute muss zwischen :min und :max Werte enthalten.', ], - "boolean" => ":attribute Feld muss 'true' oder 'false' sein.", - "confirmed" => "Die Bestätigung/Wiederholung von :attribute stimmt nicht überein.", - "date" => ":attribute ist kein valides Datum.", - "date_format" => ":attribute passt nicht zu folgendem Format :format.", - "different" => ":attribute und :other müssen sich unterscheiden.", - "digits" => ":attribute muss :digits Zeichen lang sein.", - "digits_between" => ":attribute muss zwischen :min und :max Zeichen lang sein.", - "email" => ":attribute muss eine valide E-Mail-Adresse sein.", - "exists" => "Das gewählte :attribute ist nicht korrekt.", - "image" => ":attribute muss ein Bild sein.", - "in" => "Das ausgewählte :attribute ist nicht korrekt.", - "integer" => ":attribute muss eine Zahl sein.", - "ip" => ":attribute muss eine valide IP sein.", # IPv4? - "max" => [ - "numeric" => ":attribute darf nicht größer als :max sein.", - "file" => ":attribute darf nicht größer als :max kilobyte sein.", - "string" => ":attribute darf nicht mehr als :max Zeichen lang sein.", - "array" => ":attribute darf nicht mehr als :max Werte enthalten.", + 'boolean' => ":attribute Feld muss 'true' oder 'false' sein.", + 'confirmed' => 'Die Bestätigung/Wiederholung von :attribute stimmt nicht überein.', + 'date' => ':attribute ist kein valides Datum.', + 'date_format' => ':attribute passt nicht zu folgendem Format :format.', + 'different' => ':attribute und :other müssen sich unterscheiden.', + 'digits' => ':attribute muss :digits Zeichen lang sein.', + 'digits_between' => ':attribute muss zwischen :min und :max Zeichen lang sein.', + 'email' => ':attribute muss eine valide E-Mail-Adresse sein.', + 'exists' => 'Das gewählte :attribute ist nicht korrekt.', + 'image' => ':attribute muss ein Bild sein.', + 'in' => 'Das ausgewählte :attribute ist nicht korrekt.', + 'integer' => ':attribute muss eine Zahl sein.', + 'ip' => ':attribute muss eine valide IP sein.', # IPv4? + 'max' => [ + 'numeric' => ':attribute darf nicht größer als :max sein.', + 'file' => ':attribute darf nicht größer als :max kilobyte sein.', + 'string' => ':attribute darf nicht mehr als :max Zeichen lang sein.', + 'array' => ':attribute darf nicht mehr als :max Werte enthalten.', ], - "mimes" => ":attribute muss eine Datei vom Typ :values sein.", - "min" => [ - "numeric" => ":attribute muss mindestens :min sein.", - "file" => ":attribute muss mindestens :min kilobyte groß sein.", - "string" => ":attribute muss mindestens :min Zeichen lang sein.", - "array" => ":attribute muss mindestens :min Werte enthalten.", + 'mimes' => ':attribute muss eine Datei vom Typ :values sein.', + 'min' => [ + 'numeric' => ':attribute muss mindestens :min sein.', + 'file' => ':attribute muss mindestens :min kilobyte groß sein.', + 'string' => ':attribute muss mindestens :min Zeichen lang sein.', + 'array' => ':attribute muss mindestens :min Werte enthalten.', ], - "not_in" => "Das ausgewählte :attribute ist nicht korrekt.", - "numeric" => ":attribute muss eine Nummer sein.", - "regex" => "Das Format von :attribute ist nicht korrekt.", - "required" => ":attribute wird benötigt.", - "required_if" => ":attribute wird benötigt wenn :other den Wert :value hat.", - "required_with" => ":attribute ist erforderlich wenn :values vorhanden ist.", - "required_with_all" => ":attribute ist erforderlich wenn :values vorhanden ist.", - "required_without" => ":attribute ist erforderlich wenn :values nicht vorhanden ist.", - "required_without_all" => ":attribute ist erforderlich wenn keines der Werte :values vorhanden sind.", - "same" => ":attribute und :other müssen übereinstimmen.", - "size" => [ - "numeric" => ":attribute muss :size sein.", - "file" => ":attribute muss :size kilobyte groß sein.", - "string" => ":attribute muss :size Zeichen lang sein.", - "array" => ":attribute muss :size Werte enthalten.", + 'not_in' => 'Das ausgewählte :attribute ist nicht korrekt.', + 'numeric' => ':attribute muss eine Nummer sein.', + 'regex' => 'Das Format von :attribute ist nicht korrekt.', + 'required' => ':attribute wird benötigt.', + 'required_if' => ':attribute wird benötigt wenn :other den Wert :value hat.', + 'required_with' => ':attribute ist erforderlich wenn :values vorhanden ist.', + 'required_with_all' => ':attribute ist erforderlich wenn :values vorhanden ist.', + 'required_without' => ':attribute ist erforderlich wenn :values nicht vorhanden ist.', + 'required_without_all' => ':attribute ist erforderlich wenn keines der Werte :values vorhanden sind.', + 'same' => ':attribute und :other müssen übereinstimmen.', + 'size' => [ + 'numeric' => ':attribute muss :size sein.', + 'file' => ':attribute muss :size kilobyte groß sein.', + 'string' => ':attribute muss :size Zeichen lang sein.', + 'array' => ':attribute muss :size Werte enthalten.', ], - "unique" => ":attribute wurde beirets gewählt.", - "url" => "Das Format von :attribute ist nicht korrekt.", - "timezone" => ":attribute muss eine valide Zeitzone sein.", + 'unique' => ':attribute wurde beirets gewählt.', + 'url' => 'Das Format von :attribute ist nicht korrekt.', + 'timezone' => ':attribute muss eine valide Zeitzone sein.', /* |-------------------------------------------------------------------------- diff --git a/resources/lang/en-UD/forms.php b/resources/lang/en-UD/forms.php index 7d602209..8e74637b 100755 --- a/resources/lang/en-UD/forms.php +++ b/resources/lang/en-UD/forms.php @@ -81,7 +81,7 @@ return [ 'days-of-incidents' => 'crwdns403:0crwdne403:0', 'banner' => 'crwdns404:0crwdne404:0', 'banner-help' => 'crwdns405:0crwdne405:0', - 'analytics_google' => 'crwdns406:0crwdne406:0', + 'google-analytics' => 'crwdns406:0crwdne406:0', ], 'security' => [ 'allowed-domains' => 'crwdns407:0crwdne407:0', diff --git a/resources/lang/en-UD/validation.php b/resources/lang/en-UD/validation.php index ed198078..685a82a7 100755 --- a/resources/lang/en-UD/validation.php +++ b/resources/lang/en-UD/validation.php @@ -13,65 +13,65 @@ return [ | */ - "accepted" => "crwdns96:0crwdne96:0", - "active_url" => "crwdns97:0crwdne97:0", - "after" => "crwdns98:0crwdne98:0", - "alpha" => "crwdns99:0crwdne99:0", - "alpha_dash" => "crwdns100:0crwdne100:0", - "alpha_num" => "crwdns101:0crwdne101:0", - "array" => "crwdns102:0crwdne102:0", - "before" => "crwdns103:0crwdne103:0", - "between" => [ - "numeric" => "crwdns104:0crwdne104:0", - "file" => "crwdns418:0crwdne418:0", - "string" => "crwdns419:0crwdne419:0", - "array" => "crwdns420:0crwdne420:0", + 'accepted' => 'crwdns96:0crwdne96:0', + 'active_url' => 'crwdns97:0crwdne97:0', + 'after' => 'crwdns98:0crwdne98:0', + 'alpha' => 'crwdns99:0crwdne99:0', + 'alpha_dash' => 'crwdns100:0crwdne100:0', + 'alpha_num' => 'crwdns101:0crwdne101:0', + 'array' => 'crwdns102:0crwdne102:0', + 'before' => 'crwdns103:0crwdne103:0', + 'between' => [ + 'numeric' => 'crwdns104:0crwdne104:0', + 'file' => 'crwdns418:0crwdne418:0', + 'string' => 'crwdns419:0crwdne419:0', + 'array' => 'crwdns420:0crwdne420:0', ], - "boolean" => "crwdns108:0crwdne108:0", - "confirmed" => "crwdns109:0crwdne109:0", - "date" => "crwdns110:0crwdne110:0", - "date_format" => "crwdns111:0crwdne111:0", - "different" => "crwdns112:0crwdne112:0", - "digits" => "crwdns113:0crwdne113:0", - "digits_between" => "crwdns114:0crwdne114:0", - "email" => "crwdns115:0crwdne115:0", - "exists" => "crwdns116:0crwdne116:0", - "image" => "crwdns117:0crwdne117:0", - "in" => "crwdns118:0crwdne118:0", - "integer" => "crwdns119:0crwdne119:0", - "ip" => "crwdns120:0crwdne120:0", - "max" => [ - "numeric" => "crwdns121:0crwdne121:0", - "file" => "crwdns421:0crwdne421:0", - "string" => "crwdns422:0crwdne422:0", - "array" => "crwdns423:0crwdne423:0", + 'boolean' => 'crwdns108:0crwdne108:0', + 'confirmed' => 'crwdns109:0crwdne109:0', + 'date' => 'crwdns110:0crwdne110:0', + 'date_format' => 'crwdns111:0crwdne111:0', + 'different' => 'crwdns112:0crwdne112:0', + 'digits' => 'crwdns113:0crwdne113:0', + 'digits_between' => 'crwdns114:0crwdne114:0', + 'email' => 'crwdns115:0crwdne115:0', + 'exists' => 'crwdns116:0crwdne116:0', + 'image' => 'crwdns117:0crwdne117:0', + 'in' => 'crwdns118:0crwdne118:0', + 'integer' => 'crwdns119:0crwdne119:0', + 'ip' => 'crwdns120:0crwdne120:0', + 'max' => [ + 'numeric' => 'crwdns121:0crwdne121:0', + 'file' => 'crwdns421:0crwdne421:0', + 'string' => 'crwdns422:0crwdne422:0', + 'array' => 'crwdns423:0crwdne423:0', ], - "mimes" => "crwdns125:0crwdne125:0", - "min" => [ - "numeric" => "crwdns126:0crwdne126:0", - "file" => "crwdns424:0crwdne424:0", - "string" => "crwdns425:0crwdne425:0", - "array" => "crwdns426:0crwdne426:0", + 'mimes' => 'crwdns125:0crwdne125:0', + 'min' => [ + 'numeric' => 'crwdns126:0crwdne126:0', + 'file' => 'crwdns424:0crwdne424:0', + 'string' => 'crwdns425:0crwdne425:0', + 'array' => 'crwdns426:0crwdne426:0', ], - "not_in" => "crwdns130:0crwdne130:0", - "numeric" => "crwdns131:0crwdne131:0", - "regex" => "crwdns132:0crwdne132:0", - "required" => "crwdns133:0crwdne133:0", - "required_if" => "crwdns134:0crwdne134:0", - "required_with" => "crwdns135:0crwdne135:0", - "required_with_all" => "crwdns136:0crwdne136:0", - "required_without" => "crwdns137:0crwdne137:0", - "required_without_all" => "crwdns138:0crwdne138:0", - "same" => "crwdns139:0crwdne139:0", - "size" => [ - "numeric" => "crwdns140:0crwdne140:0", - "file" => "crwdns427:0crwdne427:0", - "string" => "crwdns428:0crwdne428:0", - "array" => "crwdns429:0crwdne429:0", + 'not_in' => 'crwdns130:0crwdne130:0', + 'numeric' => 'crwdns131:0crwdne131:0', + 'regex' => 'crwdns132:0crwdne132:0', + 'required' => 'crwdns133:0crwdne133:0', + 'required_if' => 'crwdns134:0crwdne134:0', + 'required_with' => 'crwdns135:0crwdne135:0', + 'required_with_all' => 'crwdns136:0crwdne136:0', + 'required_without' => 'crwdns137:0crwdne137:0', + 'required_without_all' => 'crwdns138:0crwdne138:0', + 'same' => 'crwdns139:0crwdne139:0', + 'size' => [ + 'numeric' => 'crwdns140:0crwdne140:0', + 'file' => 'crwdns427:0crwdne427:0', + 'string' => 'crwdns428:0crwdne428:0', + 'array' => 'crwdns429:0crwdne429:0', ], - "unique" => "crwdns144:0crwdne144:0", - "url" => "crwdns145:0crwdne145:0", - "timezone" => "crwdns146:0crwdne146:0", + 'unique' => 'crwdns144:0crwdne144:0', + 'url' => 'crwdns145:0crwdne145:0', + 'timezone' => 'crwdns146:0crwdne146:0', /* |-------------------------------------------------------------------------- diff --git a/resources/lang/en/cachet.php b/resources/lang/en/cachet.php old mode 100644 new mode 100755 diff --git a/resources/lang/en/dashboard.php b/resources/lang/en/dashboard.php old mode 100644 new mode 100755 index 4efae980..e184a326 --- a/resources/lang/en/dashboard.php +++ b/resources/lang/en/dashboard.php @@ -179,7 +179,7 @@ return [ 'customize' => 'Customize', 'team' => 'Add users', 'api' => 'Generate API token', - 'two-factor' => 'Two Factor Authetication', + 'two-factor' => 'Two Factor Authentication', ], ], diff --git a/resources/lang/en/errors.php b/resources/lang/en/errors.php old mode 100644 new mode 100755 diff --git a/resources/lang/en/forms.php b/resources/lang/en/forms.php old mode 100644 new mode 100755 index 0a2a216b..3129b84b --- a/resources/lang/en/forms.php +++ b/resources/lang/en/forms.php @@ -74,18 +74,17 @@ return [ 'settings' => [ /// Application setup 'app-setup' => [ - 'site-name' => 'Site Name', - 'site-url' => 'Site URL', - 'site-timezone' => 'Site Timezone', - 'site-locale' => 'Site Language', - 'date-format' => 'Date Format', - 'display-graphs' => 'Display graphs on status page?', - '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 .", - 'analytics_google' => "Google Analytics Code", - 'analytics_gosquared' => "GoSquared Analytics Code", + 'site-name' => 'Site Name', + 'site-url' => 'Site URL', + 'site-timezone' => 'Site Timezone', + 'site-locale' => 'Site Language', + 'date-format' => 'Date Format', + 'display-graphs' => 'Display graphs on status page?', + '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 .", + 'google-analytics' => 'Google Analytics code', ], 'security' => [ 'allowed-domains' => 'Allowed domains', diff --git a/resources/lang/en/pagination.php b/resources/lang/en/pagination.php old mode 100644 new mode 100755 diff --git a/resources/lang/en/reminders.php b/resources/lang/en/reminders.php old mode 100644 new mode 100755 diff --git a/resources/lang/en/setup.php b/resources/lang/en/setup.php old mode 100644 new mode 100755 index 5f0b1bcc..6a317615 --- a/resources/lang/en/setup.php +++ b/resources/lang/en/setup.php @@ -5,7 +5,7 @@ return [ 'title' => 'Setup Cachet', 'service_details' => 'Service Details', 'status_page_setup' => 'Status Page Setup', - 'show_support' => 'Show support for Cachet?', + 'show_support' => 'Show support for Cachet? Places a link in the footer linking to Cachet.', 'admin_account' => 'Administrator Account', 'complete_setup' => 'Complete Setup', 'completed' => 'Cachet has been configured successfully!', diff --git a/resources/lang/en/validation.php b/resources/lang/en/validation.php old mode 100644 new mode 100755 index 05a8b50a..c9b21ca0 --- a/resources/lang/en/validation.php +++ b/resources/lang/en/validation.php @@ -13,65 +13,65 @@ return [ | */ - "accepted" => "The :attribute must be accepted.", - "active_url" => "The :attribute is not a valid URL.", - "after" => "The :attribute must be a date after :date.", - "alpha" => "The :attribute may only contain letters.", - "alpha_dash" => "The :attribute may only contain letters, numbers, and dashes.", - "alpha_num" => "The :attribute may only contain letters and numbers.", - "array" => "The :attribute must be an array.", - "before" => "The :attribute must be a date before :date.", - "between" => [ - "numeric" => "The :attribute must be between :min and :max.", - "file" => "The :attribute must be between :min and :max kilobytes.", - "string" => "The :attribute must be between :min and :max characters.", - "array" => "The :attribute must have between :min and :max items.", + 'accepted' => 'The :attribute must be accepted.', + 'active_url' => 'The :attribute is not a valid URL.', + 'after' => 'The :attribute must be a date after :date.', + 'alpha' => 'The :attribute may only contain letters.', + 'alpha_dash' => 'The :attribute may only contain letters, numbers, and dashes.', + 'alpha_num' => 'The :attribute may only contain letters and numbers.', + 'array' => 'The :attribute must be an array.', + 'before' => 'The :attribute must be a date before :date.', + 'between' => [ + 'numeric' => 'The :attribute must be between :min and :max.', + 'file' => 'The :attribute must be between :min and :max kilobytes.', + 'string' => 'The :attribute must be between :min and :max characters.', + 'array' => 'The :attribute must have between :min and :max items.', ], - "boolean" => "The :attribute field must be true or false.", - "confirmed" => "The :attribute confirmation does not match.", - "date" => "The :attribute is not a valid date.", - "date_format" => "The :attribute does not match the format :format.", - "different" => "The :attribute and :other must be different.", - "digits" => "The :attribute must be :digits digits.", - "digits_between" => "The :attribute must be between :min and :max digits.", - "email" => "The :attribute must be a valid email address.", - "exists" => "The selected :attribute is invalid.", - "image" => "The :attribute must be an image.", - "in" => "The selected :attribute is invalid.", - "integer" => "The :attribute must be an integer.", - "ip" => "The :attribute must be a valid IP address.", - "max" => [ - "numeric" => "The :attribute may not be greater than :max.", - "file" => "The :attribute may not be greater than :max kilobytes.", - "string" => "The :attribute may not be greater than :max characters.", - "array" => "The :attribute may not have more than :max items.", + 'boolean' => 'The :attribute field must be true or false.', + 'confirmed' => 'The :attribute confirmation does not match.', + 'date' => 'The :attribute is not a valid date.', + 'date_format' => 'The :attribute does not match the format :format.', + 'different' => 'The :attribute and :other must be different.', + 'digits' => 'The :attribute must be :digits digits.', + 'digits_between' => 'The :attribute must be between :min and :max digits.', + 'email' => 'The :attribute must be a valid email address.', + 'exists' => 'The selected :attribute is invalid.', + 'image' => 'The :attribute must be an image.', + 'in' => 'The selected :attribute is invalid.', + 'integer' => 'The :attribute must be an integer.', + 'ip' => 'The :attribute must be a valid IP address.', + 'max' => [ + 'numeric' => 'The :attribute may not be greater than :max.', + 'file' => 'The :attribute may not be greater than :max kilobytes.', + 'string' => 'The :attribute may not be greater than :max characters.', + 'array' => 'The :attribute may not have more than :max items.', ], - "mimes" => "The :attribute must be a file of type: :values.", - "min" => [ - "numeric" => "The :attribute must be at least :min.", - "file" => "The :attribute must be at least :min kilobytes.", - "string" => "The :attribute must be at least :min characters.", - "array" => "The :attribute must have at least :min items.", + 'mimes' => 'The :attribute must be a file of type: :values.', + 'min' => [ + 'numeric' => 'The :attribute must be at least :min.', + 'file' => 'The :attribute must be at least :min kilobytes.', + 'string' => 'The :attribute must be at least :min characters.', + 'array' => 'The :attribute must have at least :min items.', ], - "not_in" => "The selected :attribute is invalid.", - "numeric" => "The :attribute must be a number.", - "regex" => "The :attribute format is invalid.", - "required" => "The :attribute field is required.", - "required_if" => "The :attribute field is required when :other is :value.", - "required_with" => "The :attribute field is required when :values is present.", - "required_with_all" => "The :attribute field is required when :values is present.", - "required_without" => "The :attribute field is required when :values is not present.", - "required_without_all" => "The :attribute field is required when none of :values are present.", - "same" => "The :attribute and :other must match.", - "size" => [ - "numeric" => "The :attribute must be :size.", - "file" => "The :attribute must be :size kilobytes.", - "string" => "The :attribute must be :size characters.", - "array" => "The :attribute must contain :size items.", + 'not_in' => 'The selected :attribute is invalid.', + 'numeric' => 'The :attribute must be a number.', + 'regex' => 'The :attribute format is invalid.', + 'required' => 'The :attribute field is required.', + 'required_if' => 'The :attribute field is required when :other is :value.', + 'required_with' => 'The :attribute field is required when :values is present.', + 'required_with_all' => 'The :attribute field is required when :values is present.', + 'required_without' => 'The :attribute field is required when :values is not present.', + 'required_without_all' => 'The :attribute field is required when none of :values are present.', + 'same' => 'The :attribute and :other must match.', + 'size' => [ + 'numeric' => 'The :attribute must be :size.', + 'file' => 'The :attribute must be :size kilobytes.', + 'string' => 'The :attribute must be :size characters.', + 'array' => 'The :attribute must contain :size items.', ], - "unique" => "The :attribute has already been taken.", - "url" => "The :attribute format is invalid.", - "timezone" => "The :attribute must be a valid zone.", + 'unique' => 'The :attribute has already been taken.', + 'url' => 'The :attribute format is invalid.', + 'timezone' => 'The :attribute must be a valid zone.', /* |-------------------------------------------------------------------------- diff --git a/resources/lang/es/cachet.php b/resources/lang/es/cachet.php old mode 100644 new mode 100755 diff --git a/resources/lang/es/dashboard.php b/resources/lang/es/dashboard.php old mode 100644 new mode 100755 diff --git a/resources/lang/es/errors.php b/resources/lang/es/errors.php old mode 100644 new mode 100755 diff --git a/resources/lang/es/forms.php b/resources/lang/es/forms.php old mode 100644 new mode 100755 index a8ac51a4..7868e2f8 --- a/resources/lang/es/forms.php +++ b/resources/lang/es/forms.php @@ -72,18 +72,17 @@ return [ 'settings' => [ /// Application setup 'app-setup' => [ - 'site-name' => 'Nombre del sitio', - 'site-url' => 'URL del sitio', - 'site-timezone' => 'Zona horaria del sitio', - 'site-locale' => 'Idioma del sitio', - 'date-format' => 'Formato de la fecha', - 'display-graphs' => '¿Visualizar gráficas en la página de estado?', - 'about-this-page' => 'Sobre esta página', - 'days-of-incidents' => '¿Cuántos días de incidentes mostrar?', - 'banner' => 'Imagen de inicio', - 'banner-help' => "Se recomienda subir una imagen no más grande de 930px de ancho .", - 'analytics_google' => "Google Analytics Code", - 'analytics_gosquared' => "GoSquared Analytics Code", + 'site-name' => 'Nombre del sitio', + 'site-url' => 'URL del sitio', + 'site-timezone' => 'Zona horaria del sitio', + 'site-locale' => 'Idioma del sitio', + 'date-format' => 'Formato de la fecha', + 'display-graphs' => '¿Visualizar gráficas en la página de estado?', + 'about-this-page' => 'Sobre esta página', + 'days-of-incidents' => '¿Cuántos días de incidentes mostrar?', + 'banner' => 'Imagen de inicio', + 'banner-help' => 'Se recomienda subir una imagen no más grande de 930px de ancho .', + 'google-analytics' => 'Código de Google Analytics', ], 'security' => [ 'allowed-domains' => 'Dominios permitidos', diff --git a/resources/lang/es/pagination.php b/resources/lang/es/pagination.php old mode 100644 new mode 100755 diff --git a/resources/lang/es/reminders.php b/resources/lang/es/reminders.php old mode 100644 new mode 100755 diff --git a/resources/lang/es/setup.php b/resources/lang/es/setup.php old mode 100644 new mode 100755 index 196138c6..2034cf2e --- a/resources/lang/es/setup.php +++ b/resources/lang/es/setup.php @@ -5,7 +5,7 @@ return [ 'title' => 'Configurar Cachet', 'service_details' => 'Detalles del servicio', 'status_page_setup' => 'Configuración de la página de estado', - 'show_support' => '¿Mostrar tu apoyo a Cachet?', + 'show_support' => '¿Mostrar tu apoyo a Cachet? Colocara un enlace en el footer vinculando a Cachet.', 'admin_account' => 'Cuenta de administrador', 'complete_setup' => 'Completar configuración', 'completed' => '¡Cachet se ha configurado correctamente!', diff --git a/resources/lang/es/validation.php b/resources/lang/es/validation.php old mode 100644 new mode 100755 index 8c788bc3..e5074e24 --- a/resources/lang/es/validation.php +++ b/resources/lang/es/validation.php @@ -13,65 +13,65 @@ return [ | */ - "accepted" => "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 tener entre :min y :max caracteres.", - "array" => "El :attribute debe tener entre :min y :max objetos.", + 'accepted' => '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 tener 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" => ":attribute y :other deben ser diferentes.", - "digits" => "El :attribute debe tener :digits dígitos.", - "digits_between" => "El :attribute debe tener entre: min y :max dígitos.", - "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.", + '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' => ':attribute y :other deben ser diferentes.', + 'digits' => 'El :attribute debe tener :digits dígitos.', + 'digits_between' => 'El :attribute debe tener entre: min y :max dígitos.', + '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 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 objetos.', ], - "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 :other 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 ninguno de los :values son presentes.", - "same" => "Los :attribute y :other deben coincidir.", - "size" => [ - "numeric" => "El :attribute debe ser :size.", - "file" => "El :attribute debe ser :size kilobytes.", - "string" => "El :attribute debe tener :size caracteres.", - "array" => "El :attribute debe contener :size objetos.", + '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 :other 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 ninguno de los :values son presentes.', + 'same' => 'Los :attribute y :other deben coincidir.', + 'size' => [ + 'numeric' => 'El :attribute debe ser :size.', + 'file' => 'El :attribute debe ser :size kilobytes.', + 'string' => 'El :attribute debe tener :size caracteres.', + 'array' => 'El :attribute debe 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.", + 'unique' => 'El :attribute ya ha sido usado.', + 'url' => 'El formato :attribute es inválido.', + 'timezone' => 'El :attribute debe ser una zona válida.', /* |-------------------------------------------------------------------------- diff --git a/resources/lang/fr/cachet.php b/resources/lang/fr/cachet.php old mode 100644 new mode 100755 diff --git a/resources/lang/fr/dashboard.php b/resources/lang/fr/dashboard.php old mode 100644 new mode 100755 index bddc46ea..7d122b77 --- a/resources/lang/fr/dashboard.php +++ b/resources/lang/fr/dashboard.php @@ -147,7 +147,7 @@ return [ // Login 'login' => [ 'login' => 'Connexion', - 'logged_in' => "Vous êtes connecté.", + 'logged_in' => 'Vous êtes connecté.', 'welcome' => 'Re-bonjour !', 'two-factor' => 'Entrez votre jeton d\'identification.', ], diff --git a/resources/lang/fr/errors.php b/resources/lang/fr/errors.php old mode 100644 new mode 100755 diff --git a/resources/lang/fr/forms.php b/resources/lang/fr/forms.php old mode 100644 new mode 100755 index 0801f9e6..5fff6698 --- a/resources/lang/fr/forms.php +++ b/resources/lang/fr/forms.php @@ -71,18 +71,17 @@ return [ 'settings' => [ /// Application setup 'app-setup' => [ - 'site-name' => 'Nom du site', - 'site-url' => 'URL du site', - 'site-timezone' => 'Fuseau horaire du site', - 'site-locale' => 'Langue du site', - 'date-format' => 'Format de date', - 'display-graphs' => 'Display graphs on status page?', - '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.", - 'analytics_google' => "Google Analytics Code", - 'analytics_gosquared' => "GoSquared Analytics Code", + 'site-name' => 'Nom du site', + 'site-url' => 'URL du site', + 'site-timezone' => 'Fuseau horaire du site', + 'site-locale' => 'Langue du site', + 'date-format' => 'Format de date', + 'display-graphs' => 'Display graphs on status page?', + '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.', + 'google-analytics' => 'Google Analytics code', ], 'security' => [ 'allowed-domains' => 'Domaines autorisés. ', diff --git a/resources/lang/fr/pagination.php b/resources/lang/fr/pagination.php old mode 100644 new mode 100755 diff --git a/resources/lang/fr/reminders.php b/resources/lang/fr/reminders.php old mode 100644 new mode 100755 diff --git a/resources/lang/fr/setup.php b/resources/lang/fr/setup.php old mode 100644 new mode 100755 index 06042940..3fb5cbbf --- a/resources/lang/fr/setup.php +++ b/resources/lang/fr/setup.php @@ -5,7 +5,7 @@ return [ 'title' => 'Installer Cachet', 'service_details' => 'Details du service', 'status_page_setup' => 'Installation de la page de statut', - 'show_support' => 'Montrer votre soutien envers Cachet ?', + 'show_support' => 'Montrer votre soutien envers Cachet ? Affiche un lien vers Cachet en bas de page.', 'admin_account' => 'Compte administrateur', 'complete_setup' => 'Terminer l\'installation', 'completed' => 'Cachet a été configuré avec succès !', diff --git a/resources/lang/fr/validation.php b/resources/lang/fr/validation.php old mode 100644 new mode 100755 index 7ff1af1d..a67e12b4 --- a/resources/lang/fr/validation.php +++ b/resources/lang/fr/validation.php @@ -13,63 +13,63 @@ return [ | */ - "accepted" => "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.", + 'accepted' => '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.", + '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.", + '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.", + '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.", + 'unique' => 'Le champ :attribute est déjà utilisé.', + 'url' => 'Le format du champ :attribute est invalide.', /* |-------------------------------------------------------------------------- @@ -99,6 +99,6 @@ return [ | */ - 'attributes' => [ ], + 'attributes' => [], ]; diff --git a/resources/lang/nl/cachet.php b/resources/lang/nl/cachet.php new file mode 100755 index 00000000..a8250b56 --- /dev/null +++ b/resources/lang/nl/cachet.php @@ -0,0 +1,59 @@ + [ + 'status' => [ + 1 => 'Online', + 2 => 'Verminderde prestaties', + 3 => 'Gedeeltelijke storing', + 4 => 'Grote storing', + ], + ], + + // Incidents + 'incidents' => [ + 'none' => 'Geen incidenten gemeld.', + 'past' => 'Eerdere incidenten', + 'previous_week' => 'Vorige week', + 'next_week' => 'Volgende week', + 'none' => 'Niets te melden.', + 'scheduled' => 'Gepland onderhoud', + 'scheduled_at' => ', gepland :timestamp', + 'status' => [ + 0 => 'Gepland', // TODO: Hopefully remove this. + 1 => 'Onderzoeken', + 2 => 'Geïdentificeerd', + 3 => 'Bekijken', + 4 => 'Opgelost', + ], + ], + + // Service Status + 'service' => [ + 'good' => 'Alle systemen zijn online', + 'bad' => 'Sommige systemen hebben problemen', + ], + + 'api' => [ + 'regenerate' => 'API-sleutel hergenereren', + 'revoke' => 'API-sleutel intrekken', + ], + + // Metrics + 'metrics' => [ + 'filter' => [ + 'hourly' => 'Elk uur', + 'daily' => 'Dagelijks', + 'monthly' => 'Maandelijks', + ], + ], + + // Other + 'powered_by' => 'De statuspagina van :app is mogelijk gemaakt door Cachet.', + 'about_this_site' => 'Over deze site', + 'rss-feed' => 'RSS-feed', + 'atom-feed' => 'Atom-feed', + 'feed' => 'Statusfeed', + +]; diff --git a/resources/lang/nl/dashboard.php b/resources/lang/nl/dashboard.php new file mode 100755 index 00000000..18cde771 --- /dev/null +++ b/resources/lang/nl/dashboard.php @@ -0,0 +1,186 @@ + 'Dashboard', + + // Incidents + 'incidents' => [ + 'title' => 'Incidenten & planning', + 'incidents' => 'Incidenten', + 'logged' => '{0} Er zijn geen incidenten, goed werk.|Je hebt één incident gemeld.|Je hebt :count incidenten gemeld.', + 'incident-create-template' => 'Sjabloon aanmaken', + 'incident-templates' => 'Incidentsjablonen', + 'add' => [ + 'title' => 'Incident toevoegen', + 'success' => 'Incident toegevoegd.', + 'failure' => 'Er ging iets mis met het incident.', + ], + 'edit' => [ + 'title' => 'Incident bewerken', + 'success' => 'Incident bijwerken.', + 'failure' => 'Er ging iets mis met het incident.', + ], + + // Incident templates + 'templates' => [ + 'title' => 'Incidentsjablonen', + 'add' => [ + 'title' => 'Incidentsjabloon aanmaken', + 'success' => 'Sjabloon aangemaakt.', + 'failure' => 'Er ging iets mis met het incidentsjabloon.', + ], + 'edit' => [ + 'title' => 'Sjabloon bewerken', + 'success' => 'Sjabloon is bijgewerkt!', + 'failure' => 'Er ging iets mis bij het bijwerken van het incidentsjabloon.', + ], + ], + ], + + // Incident Maintenance + 'schedule' => [ + 'schedule' => 'Gepland onderhoud', + 'scheduled_at' => 'Gepland op :timestamp', + 'add' => [ + 'title' => 'Gepland onderhoud toevoegen', + 'success' => 'Planning toegevoegd.', + 'failure' => 'Er ging iets mis bij het toevoegen van de planning.', + ], + 'edit' => [ + 'title' => 'Gepland onderhoud bewerken', + 'success' => 'Planning is bijgewerkt!', + 'failure' => 'Er ging iets mis bij het bewerken van de planning.', + ], + 'delete' => [ + 'success' => 'De planning is verwijderd en zal niet worden getoond op je statuspagina.', + 'failure' => 'De planning kon niet worden verwijderd. Probeer het nogmaals.', + ], + ], + + // Components + 'components' => [ + 'components' => 'Componenten', + 'component_statuses' => 'Componentstatussen', + 'listed_group' => 'Gegroepeerd onder :name', + 'add' => [ + 'title' => 'Component toevoegen', + 'message' => 'Je moet een component toevoegen.', + 'success' => 'Component aangemaakt.', + 'failure' => 'Er ging iets mis met de component.', + ], + 'edit' => [ + 'title' => 'Component bewerken', + 'success' => 'Component bijgewerkt.', + 'failure' => 'Er ging iets mis met de component.', + ], + + // Component groups + 'groups' => [ + 'groups' => 'Componentgroep|Componentgroepen', + 'add' => [ + 'title' => 'Componentgroep toevoegen', + 'success' => 'Componentgroep toegevoegd.', + 'failure' => 'Er ging iets mis met de componentgroep.', + ], + 'edit' => [ + 'title' => 'Componentgroep bewerken', + 'success' => 'Componentgroep bijgewerkt.', + 'failure' => 'Er ging iets mis met de componentgroep.', + ], + ], + ], + + // Metrics + 'metrics' => [ + 'metrics' => 'Metingen', + 'add' => [ + 'title' => 'Meting aanmaken', + 'success' => 'Meting aangemaakt.', + 'failure' => 'Er ging iets mis met de meting.', + ], + 'edit' => [ + 'title' => 'Meting bewerken', + 'success' => 'Meting bijgewerkt.', + 'failure' => 'Er ging iets mis met de meting.', + ], + ], + + // Team + 'team' => [ + 'team' => 'Team', + 'member' => 'Lid', + 'profile' => 'Profiel', + 'description' => 'Teamleden hebben de mogelijkheid om componenten en incidenten toe te voegen, aan te passen en te bewerken.', + 'add' => [ + 'title' => 'Nieuw teamlid toevoegen', + 'success' => 'Teamlid toegevoegd.', + 'failure' => 'Er ging iets mis met de component.', + ], + 'edit' => [ + 'title' => 'Profiel bijwerken', + 'success' => 'Profiel bijgewerkt.', + 'failure' => 'Er ging iets mis met het bijwerken.', + ], + ], + + // Settings + 'settings' => [ + 'settings' => 'Instellingen', + 'app-setup' => [ + 'app-setup' => 'Installatie applicatie', + 'images-only' => 'Alleen afbeeldingen mogen worden geüpload.', + 'too-big' => 'Het bestand dat je hebt geüpload is te groot. Upload een afbeelding kleinder dan :size', + ], + 'security' => [ + 'security' => 'Beveiliging', + 'two-factor' => 'Gebruikers zonder authenticatie in twee stappen', + ], + 'stylesheet' => [ + 'stylesheet' => 'Stylesheet', + ], + 'theme' => [ + 'theme' => 'Thema', + ], + 'edit' => [ + 'success' => 'Instellingen opgeslagen.', + 'failure' => 'Instellingen konden niet worden opgeslagen.', + ], + ], + + // Login + 'login' => [ + 'login' => 'Inloggen', + 'logged_in' => 'Je bent ingelogd.', + 'welcome' => 'Welkom terug!', + 'two-factor' => 'Vul je token in.', + ], + + // Sidebar footer + 'help' => 'Help', + 'status_page' => 'Statuspagina', + 'logout' => 'Uitloggen', + + // Notifications + 'notifications' => [ + 'notifications' => 'Meldingen', + 'awesome' => 'Geweldig.', + 'whoops' => 'Oeps.', + ], + + // Welcome modal + 'welcome' => [ + 'welcome' => 'Welkom bij Cachet', + 'message' => 'Je statuspagina is bijna klaar! Je wilt misschien deze extra instellingen configureren', + 'close' => 'Ga direct naar mijn dashboard', + 'steps' => [ + 'component' => 'Componenten aanmaken', + 'incident' => 'Incidenten aanmaken', + 'customize' => 'Aanpassen', + 'team' => 'Gebruikers toevoegen', + 'api' => 'API-token genereren', + 'two-factor' => 'Authenticatie in twee stappen', + ], + ], + +]; diff --git a/resources/lang/nl/errors.php b/resources/lang/nl/errors.php new file mode 100755 index 00000000..ce4b52e5 --- /dev/null +++ b/resources/lang/nl/errors.php @@ -0,0 +1,16 @@ + [ + 'code' => '404', + 'title' => 'Die pagina is vermist geraakt!', + 'message' => 'Sorry, maar de pagina die je zoekt is niet gevonden. Controleer de URL op fouten en probeer het nogmaals.', + 'link' => 'Terug naar homepagina', + ], + 'unauthorized' => [ + 'code' => '401', + 'title' => 'Ongeautoriseerd', + 'message' => 'Sorry, maar je moet beheerdersrechten hebben om deze pagina te bekijken.', + 'link' => 'Terug naar homepagina', + ], +]; diff --git a/resources/lang/nl/forms.php b/resources/lang/nl/forms.php new file mode 100755 index 00000000..25d41490 --- /dev/null +++ b/resources/lang/nl/forms.php @@ -0,0 +1,126 @@ + [ + 'email' => 'E-mailadres', + 'username' => 'Gebruikersnaam', + 'password' => 'Wachtwoord', + 'site_name' => 'Nama site', + 'site_domain' => 'Domein site', + 'site_timezone' => 'Selecteer je tijdzone', + 'site_locale' => 'Selecteer je taal', + 'enable_google2fa' => 'Google\'\s authenticatie in twee stappen inschakelen', + ], + + // Login form fields + 'login' => [ + 'email' => 'E-mailadres', + 'password' => 'Wachtwoord', + '2fauth' => 'Authenticatiecode', + 'invalid' => 'Ongeldig e-mailadres of wachtwoord', + 'invalid-token' => 'Ongeldige token', + ], + + // Incidents form fields + 'incidents' => [ + 'name' => 'Naam', + 'status' => 'Status', + 'component' => 'Component', + 'message' => 'Bericht', + 'message-help' => 'Je mag ook Markdown gebruiken.', + 'scheduled_at' => 'Voor wanneer is het onderhoud gepland?', + + 'templates' => [ + 'name' => 'Naam', + 'template' => 'Sjabloon', + ], + ], + + // Components form fields + 'components' => [ + 'name' => 'Naam', + 'status' => 'Status', + 'group' => 'Groep', + 'description' => 'Beschrijving', + 'link' => 'Link', + 'tags' => 'Tags', + 'tags-help' => 'Komma gescheiden.', + + 'groups' => [ + 'name' => 'Naam', + ], + ], + + // Metric form fields + 'metrics' => [ + 'name' => 'Naam', + 'suffix' => 'Achtervoegsel', + 'description' => 'Beschrijving', + 'description-help' => 'Je mag ook Markdown gebruiken.', + 'display-chart' => 'Grafiek tonen op statuspagina?', + 'default-value' => 'Standaardwaarde', + 'calc_type' => 'Berekening van metingen', + 'type_sum' => 'Som', + 'type_avg' => 'Gemiddelde', + + 'points' => [ + 'value' => 'Waarde', + ], + ], + + // Settings + 'settings' => [ + /// Application setup + 'app-setup' => [ + 'site-name' => 'Naam site', + 'site-url' => 'URL site', + 'site-timezone' => 'Tijdzone site', + 'site-locale' => 'Taal site', + 'date-format' => 'Datumformaat', + 'display-graphs' => 'Grafieken tonen op statuspagina?', + 'about-this-page' => 'Over deze pagina', + 'days-of-incidents' => 'Hoeveel dagen van incidenten tonen?', + 'banner' => 'Bannerafbeelding', + 'banner-help' => 'Het wordt aangeraden om geen bestanden groter dan 930px breed te uploaden.', + 'google-analytics' => 'Google Analytics-code', + ], + 'security' => [ + 'allowed-domains' => 'Toegestane domeinen', + 'allowed-domains-help' => 'Komma gescheiden. Het domein dat hierboven is ingesteld wordt standaard automatisch toegestaan.', + ], + 'stylesheet' => [ + 'custom-css' => 'Aangepaste stylesheet', + ], + 'theme' => [ + 'background-color' => 'Achtergrondkleur', + 'text-color' => 'Tekstkleur', + ], + ], + + 'user' => [ + 'username' => 'Gebruikersnaam', + 'email' => 'E-mailadres', + 'password' => 'Wachtwoord', + 'api-token' => 'API-token', + 'api-token-help' => 'Het opnieuw genereren van je API-token zorgt ervoor dat bestaande applicaties geen toegang meer hebben tot Cachet.', + '2fa' => [ + 'help' => 'Het inschakelen van authenticatie in twee stappen verbetert de beveiliging van je account. Je zult Google Authenticator of een soortgelijke app op je mobiele apparaat moeten downloaden. Wanneer je inlogt, zal je worden gevraagd om een token op te geven die gegenereerd is door de app.', + ], + ], + + // Buttons + 'add' => 'Toevoegen', + 'save' => 'Opslaan', + 'update' => 'Bijwerken', + 'create' => 'Aanmaken', + 'edit' => 'Bewerken', + 'delete' => 'Verwijderen', + 'submit' => 'Versturen', + 'cancel' => 'Annuleren', + 'remove' => 'Verwijderen', + + // Other + 'optional' => '* Optioneel', +]; diff --git a/resources/lang/nl/pagination.php b/resources/lang/nl/pagination.php new file mode 100755 index 00000000..9a2a9677 --- /dev/null +++ b/resources/lang/nl/pagination.php @@ -0,0 +1,19 @@ + '« Vorige', + 'next' => 'Volgende »', + +]; diff --git a/resources/lang/nl/reminders.php b/resources/lang/nl/reminders.php new file mode 100755 index 00000000..03d4b04d --- /dev/null +++ b/resources/lang/nl/reminders.php @@ -0,0 +1,22 @@ + 'Wachtwoord moeten minimaal 6 tekens bevatten en overeenkomen met de bevestiging.', + 'user' => 'We kunnen geen gebruiker vinden met dat e-mailadres.', + 'token' => 'Dit wachtwoord-herstel-token is ongeldig.', + 'sent' => 'Wachtwoordherinnering verstuurd!', + 'reset' => 'Wachtwoord is hersteld!', + +]; diff --git a/resources/lang/nl/setup.php b/resources/lang/nl/setup.php new file mode 100755 index 00000000..70f27257 --- /dev/null +++ b/resources/lang/nl/setup.php @@ -0,0 +1,14 @@ + 'Installatie', + 'title' => 'Installatie Cachet', + 'service_details' => 'Servicedetails', + 'status_page_setup' => 'Installatie statuspagina', + 'show_support' => 'Steun voor Cachet tonen? Plaatst een link in de footer naar Cachet.', + 'admin_account' => 'Beheerdersaccount', + 'complete_setup' => 'Installatie voltooien', + 'completed' => 'Cachet is met succes geconfigureerd!', + 'finish_setup' => 'Ga naar dashboard', + 'allow_tracking' => 'Anoniem gebruik tracken toestaan?', +]; diff --git a/resources/lang/nl/validation.php b/resources/lang/nl/validation.php new file mode 100755 index 00000000..0a2c3875 --- /dev/null +++ b/resources/lang/nl/validation.php @@ -0,0 +1,106 @@ + 'The :attribute must be accepted.', + 'active_url' => 'The :attribute is not a valid URL.', + 'after' => 'The :attribute must be a date after :date.', + 'alpha' => 'The :attribute may only contain letters.', + 'alpha_dash' => 'The :attribute may only contain letters, numbers, and dashes.', + 'alpha_num' => 'The :attribute may only contain letters and numbers.', + 'array' => 'The :attribute must be an array.', + 'before' => 'The :attribute must be a date before :date.', + 'between' => [ + 'numeric' => 'The :attribute must be between :min and :max.', + 'file' => 'The :attribute must be between :min and :max kilobytes.', + 'string' => 'The :attribute must be between :min and :max characters.', + 'array' => 'The :attribute must have between :min and :max items.', + ], + 'boolean' => 'Het :attribute-veld moet true of false zijn.', + 'confirmed' => 'The :attribute confirmation does not match.', + 'date' => 'The :attribute is not a valid date.', + 'date_format' => 'The :attribute does not match the format :format.', + 'different' => 'The :attribute and :other must be different.', + 'digits' => 'The :attribute must be :digits digits.', + 'digits_between' => 'The :attribute must be between :min and :max digits.', + 'email' => 'The :attribute must be a valid email address.', + 'exists' => 'The selected :attribute is invalid.', + 'image' => 'The :attribute must be an image.', + 'in' => 'The selected :attribute is invalid.', + 'integer' => 'The :attribute must be an integer.', + 'ip' => 'The :attribute must be a valid IP address.', + 'max' => [ + 'numeric' => 'The :attribute may not be greater than :max.', + 'file' => 'The :attribute may not be greater than :max kilobytes.', + 'string' => 'The :attribute may not be greater than :max characters.', + 'array' => 'The :attribute may not have more than :max items.', + ], + 'mimes' => 'The :attribute must be a file of type: :values.', + 'min' => [ + 'numeric' => 'The :attribute must be at least :min.', + 'file' => 'The :attribute must be at least :min kilobytes.', + 'string' => 'The :attribute must be at least :min characters.', + 'array' => 'The :attribute must have at least :min items.', + ], + 'not_in' => 'The selected :attribute is invalid.', + 'numeric' => 'The :attribute must be a number.', + 'regex' => 'The :attribute format is invalid.', + 'required' => 'The :attribute field is required.', + 'required_if' => 'The :attribute field is required when :other is :value.', + 'required_with' => 'The :attribute field is required when :values is present.', + 'required_with_all' => 'The :attribute field is required when :values is present.', + 'required_without' => 'The :attribute field is required when :values is not present.', + 'required_without_all' => 'The :attribute field is required when none of :values are present.', + 'same' => 'The :attribute and :other must match.', + 'size' => [ + 'numeric' => 'The :attribute must be :size.', + 'file' => 'The :attribute must be :size kilobytes.', + 'string' => 'The :attribute must be :size characters.', + 'array' => 'The :attribute must contain :size items.', + ], + 'unique' => 'The :attribute has already been taken.', + 'url' => 'Het :attribute-formaat is ongeldig.', + 'timezone' => 'The :attribute must be a valid zone.', + + /* + |-------------------------------------------------------------------------- + | 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/resources/lang/pl/cachet.php b/resources/lang/pl/cachet.php new file mode 100755 index 00000000..b839ea3e --- /dev/null +++ b/resources/lang/pl/cachet.php @@ -0,0 +1,59 @@ + [ + 'status' => [ + 1 => 'Działa', + 2 => 'Problemy wydajnościowe', + 3 => 'Częściowa niedostępność', + 4 => 'Poważna awaria', + ], + ], + + // Incidents + 'incidents' => [ + 'none' => 'Brak incydentów.', + 'past' => 'Poprzednie incydenty', + 'previous_week' => 'Poprzedni tydzień', + 'next_week' => 'Następny tydzień', + 'none' => 'Brak incydentów', + 'scheduled' => 'Zapowiedziane prace', + 'scheduled_at' => ', scheduled :timestamp', + 'status' => [ + 0 => 'Planowy', // TODO: Hopefully remove this. + 1 => 'Szukanie', + 2 => 'Zidentyfikowany', + 3 => 'Obserwacja', + 4 => 'Naprawiony', + ], + ], + + // Service Status + 'service' => [ + 'good' => 'Wszystkie systemy sprawne.', + 'bad' => 'Część systemów ma problemy.', + ], + + 'api' => [ + 'regenerate' => 'Przegeneruj klucz API', + 'revoke' => 'Odwołaj klucz API', + ], + + // Metrics + 'metrics' => [ + 'filter' => [ + 'hourly' => 'Godzinowo', + 'daily' => 'Dziennie', + 'monthly' => 'Miesięcznie', + ], + ], + + // Other + 'powered_by' => ':app Status Page is powered by Cachet.', + 'about_this_site' => 'O tej stronie', + 'rss-feed' => 'RSS Feed', + 'atom-feed' => 'Atom Feed', + 'feed' => 'Status Feed', + +]; diff --git a/resources/lang/pl/dashboard.php b/resources/lang/pl/dashboard.php new file mode 100755 index 00000000..1ecd7073 --- /dev/null +++ b/resources/lang/pl/dashboard.php @@ -0,0 +1,186 @@ + 'Panel sterowania', + + // Incidents + 'incidents' => [ + 'title' => 'Incydenty i kalendarz', + 'incidents' => 'Incydenty', + 'logged' => '{0} Brak incydentów, gratulacje.| Zapisałeś jeden incydent.|Zapisałeś :count incydentów.', + 'incident-create-template' => 'Utwórz szablon', + 'incident-templates' => 'Szablony incydentów', + 'add' => [ + 'title' => 'Dodaj incydent', + 'success' => 'Incydent dodany.', + 'failure' => 'Coś poszło nie tak z incydentem.', + ], + 'edit' => [ + 'title' => 'Aktualizuj incydent', + 'success' => 'Incydent zaktualizowany.', + 'failure' => 'Coś poszło nie tak z incydentem.', + ], + + // Incident templates + 'templates' => [ + 'title' => 'Szablony incydentów', + 'add' => [ + 'title' => 'Stwórz szablon incydentu.', + 'success' => 'Szablon utworzony.', + 'failure' => 'Coś poszło nie tak z szablonem incydentu.', + ], + 'edit' => [ + 'title' => 'Edytuj szablon', + 'success' => 'Szablon został zaktualizowany!', + 'failure' => 'Coś poszło nie tak przy aktualizacji szablonu.', + ], + ], + ], + + // Incident Maintenance + 'schedule' => [ + 'schedule' => 'Zaplanowana przerwa', + 'scheduled_at' => 'Zaplanowana data :timestamp', + 'add' => [ + 'title' => 'Dodaj planową przerwę', + 'success' => 'Zaplanowana przerwa dodana.', + 'failure' => 'Coś poszło nie tak przy dodawaniu przerwy.', + ], + 'edit' => [ + 'title' => 'Aktualizuj zaplanowaną przerwę', + 'success' => 'Przerwa zaktualizowana!', + 'failure' => 'Coś poszło nie tak przy aktualizacji przerwy.', + ], + 'delete' => [ + 'success' => 'Przerwa została skasowana i nie będzie pokazywana na stronie statusowej.', + 'failure' => 'Nie można było skasować przerwy. Spróbuj ponownie.', + ], + ], + + // Components + 'components' => [ + 'components' => 'Komponenty', + 'component_statuses' => 'Statusy komponentów', + 'listed_group' => 'Zgrupowane pod :name', + 'add' => [ + 'title' => 'Dodaj komponent', + 'message' => 'Powinieneś doddać komponent.', + 'success' => 'Komponent utworzony.', + 'failure' => 'Coś poszło nie tak przy tworzeniu komponentu.', + ], + 'edit' => [ + 'title' => 'Edytuj komponent', + 'success' => 'Komponent zaktualizowany.', + 'failure' => 'Coś poszło nie tak przy aktualizacji komponent.', + ], + + // Component groups + 'groups' => [ + 'groups' => 'Grupa komponenów|Grupy komponentów', + 'add' => [ + 'title' => 'Dodaj grupę komponentów', + 'success' => 'Grupa komponentów utworzona.', + 'failure' => 'Coś poszło nie tak przy tworzeniu grupy.', + ], + 'edit' => [ + 'title' => 'Edytuj grupę komponentów', + 'success' => 'Grupa komponentów zaktualizaowana.', + 'failure' => 'Coś poszło nie tak przy aktualizacji grupy.', + ], + ], + ], + + // Metrics + 'metrics' => [ + 'metrics' => 'Metryki', + 'add' => [ + 'title' => 'Utwórz metrykę', + 'success' => 'Metryka utworzona.', + 'failure' => 'Coś poszło nie tak z tworzeniem metryki.', + ], + 'edit' => [ + 'title' => 'Edytuj metrykę', + 'success' => 'Metryka zaktualizowana.', + 'failure' => 'Coś poszło nie tak przy aktualizacji metryki.', + ], + ], + + // Team + 'team' => [ + 'team' => 'Zespół', + 'member' => 'Członek', + 'profile' => 'Profil', + 'description' => 'Członkowie zespołu będą mogli dodawać i modyfikować komponenty i incydenty.', + 'add' => [ + 'title' => 'Dodaj nowego członka zespołu', + 'success' => 'Dodano członka zespołu.', + 'failure' => 'Coś poszło nie tak z dodawaniem do zespołu.', + ], + 'edit' => [ + 'title' => 'Aktualizuj profil', + 'success' => 'Profil zaktualizowany.', + 'failure' => 'Coś poszło nie tak przy aktualizacji.', + ], + ], + + // Settings + 'settings' => [ + 'settings' => 'Ustawienia', + 'app-setup' => [ + 'app-setup' => 'Ustawienia aplikacji', + 'images-only' => 'Można wgrywać tylko pliki graficzne.', + 'too-big' => 'Wgrany plik jest zbyt duży. Wgraj plik mnijeszy niż :size', + ], + 'security' => [ + 'security' => 'Bezpieczeństwo', + 'two-factor' => 'Użytkownicy bez autentykacji dwuetapowej', + ], + 'stylesheet' => [ + 'stylesheet' => 'Stylesheet', + ], + 'theme' => [ + 'theme' => 'Skórka', + ], + 'edit' => [ + 'success' => 'Ustawienia zapisane.', + 'failure' => 'Ustawienia nie mogły być zapisane.', + ], + ], + + // Login + 'login' => [ + 'login' => 'Zaloguj', + 'logged_in' => 'Jesteś zalogowany.', + 'welcome' => 'Witam ponownie!', + 'two-factor' => 'Wpisz swój kod.', + ], + + // Sidebar footer + 'help' => 'Pomoc', + 'status_page' => 'Strona statusu', + 'logout' => 'Wyloguj', + + // Notifications + 'notifications' => [ + 'notifications' => 'Powiadomienia', + 'awesome' => 'Super.', + 'whoops' => 'Ojej.', + ], + + // Welcome modal + 'welcome' => [ + 'welcome' => 'Witamy w Cachet', + 'message' => 'Twoja strona statusowa jest już prawie gotowa! Możesz skonfigurować dodatkowe ustawienia', + 'close' => 'Przejdź do mojego panelu', + 'steps' => [ + 'component' => 'Utwórz komponenty', + 'incident' => 'Utwórz incydenty', + 'customize' => 'Personalizacja', + 'team' => 'Dodaj użytkowników', + 'api' => 'Wygeneruj token API', + 'two-factor' => 'Autentykacja dwuetapowa', + ], + ], + +]; diff --git a/resources/lang/pl/errors.php b/resources/lang/pl/errors.php new file mode 100755 index 00000000..24eddf01 --- /dev/null +++ b/resources/lang/pl/errors.php @@ -0,0 +1,16 @@ + [ + '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', + ], + 'unauthorized' => [ + 'code' => '401', + 'title' => 'Unauthorized', + 'message' => 'Sorry, you need admin privileges to see this page.', + 'link' => 'Return to homepage', + ], +]; diff --git a/resources/lang/pl/forms.php b/resources/lang/pl/forms.php new file mode 100755 index 00000000..c5017fcc --- /dev/null +++ b/resources/lang/pl/forms.php @@ -0,0 +1,126 @@ + [ + 'email' => 'Email', + 'username' => 'Użytkownik', + 'password' => 'Hasło', + 'site_name' => 'Nazwa strony', + 'site_domain' => 'Domena strony', + 'site_timezone' => 'Wybierz swoją strefę czasową', + 'site_locale' => 'Wybierz swól język', + 'enable_google2fa' => 'Włącz dwuetapową autentykację Google', + ], + + // Login form fields + 'login' => [ + 'email' => 'Email', + 'password' => 'Hasło', + '2fauth' => 'Kod autentykacji', + 'invalid' => 'Nieprawidłowy email lub hasło', + 'invalid-token' => 'Nieprawidłowy kod', + ], + + // Incidents form fields + 'incidents' => [ + 'name' => 'Nazwa', + 'status' => 'Status', + 'component' => 'Komponent', + 'message' => 'Wiadomość', + 'message-help' => 'Możesz skorzystać z Markdown.', + 'scheduled_at' => 'Na kiedy zaplanować przerwę?', + + 'templates' => [ + 'name' => 'Nazwa', + 'template' => 'Szablon', + ], + ], + + // Components form fields + 'components' => [ + 'name' => 'Nazwa', + 'status' => 'Status', + 'group' => 'Grupa', + 'description' => 'Opis', + 'link' => 'Link', + 'tags' => 'Tagi', + 'tags-help' => 'Rozdzielone przecinkiem.', + + 'groups' => [ + 'name' => 'Nazwa', + ], + ], + + // Metric form fields + 'metrics' => [ + 'name' => 'Nazwa', + 'suffix' => 'Jednostka', + 'description' => 'Opis', + 'description-help' => 'Możesz skorzystać z Markdown.', + 'display-chart' => 'Wyświetlać wykres na panelu głównym?', + 'default-value' => 'Domyślna wartość', + 'calc_type' => 'Sposób kalkulacji metryki', + 'type_sum' => 'Suma', + 'type_avg' => 'Średnia', + + 'points' => [ + 'value' => 'Wartość', + ], + ], + + // Settings + 'settings' => [ + /// Application setup + 'app-setup' => [ + 'site-name' => 'Nazwa strony', + 'site-url' => 'Adres URL strony', + 'site-timezone' => 'Strefa czasowa', + 'site-locale' => 'Język', + 'date-format' => 'Format daty', + 'display-graphs' => 'Wyświetlać wykresy na panelu głównym?', + 'about-this-page' => 'O tej stronie', + 'days-of-incidents' => 'Ile dni incydentów pokazywać?', + 'banner' => 'Obrazek z logo', + 'banner-help' => 'Zaleca się wrzuać pliki nie szersze niż 930px.', + 'google-analytics' => 'Kod Google Analytics', + ], + 'security' => [ + 'allowed-domains' => 'Dozwolone domenyw', + 'allowed-domains-help' => 'Oddzielone przecinkiem. Domena ustawiona powyżej jest dozwolona domyślnie.', + ], + 'stylesheet' => [ + 'custom-css' => 'Własny Stylesheet', + ], + 'theme' => [ + 'background-color' => 'Kolor tła', + 'text-color' => 'Kolor tekstu', + ], + ], + + 'user' => [ + 'username' => 'Nazwa użytkownika', + 'email' => 'Email', + 'password' => 'Hasło', + 'api-token' => 'Klucz API', + 'api-token-help' => 'Zregenerowanie twojego klucza API uniemożliwi dostęp istniejących aplikacji do Cachet.', + '2fa' => [ + 'help' => 'Aktywacja dwuetapowej autentykacji zwiększą bezpieczeństwo twojego konta. Musisz ściągnąć Google Authenticator lub podobną aplikację na swój telefon. Przy logowaniu będziesz proszony o podanie kodu wygenerowanego przez tą aplikację.', + ], + ], + + // Buttons + 'add' => 'Dodaj', + 'save' => 'Zapisz', + 'update' => 'Aktualizuj', + 'create' => 'Swtórz', + 'edit' => 'Edytuj', + 'delete' => 'Skasuj', + 'submit' => 'Wyślij', + 'cancel' => 'Anuluj', + 'remove' => 'Usuń', + + // Other + 'optional' => '* Opcjonalny', +]; diff --git a/resources/lang/pl/pagination.php b/resources/lang/pl/pagination.php new file mode 100755 index 00000000..56469419 --- /dev/null +++ b/resources/lang/pl/pagination.php @@ -0,0 +1,19 @@ + '« Poprzednia', + 'next' => 'Następna »', + +]; diff --git a/resources/lang/pl/reminders.php b/resources/lang/pl/reminders.php new file mode 100755 index 00000000..f1304820 --- /dev/null +++ b/resources/lang/pl/reminders.php @@ -0,0 +1,22 @@ + 'Hasła muszą mieć przynajmniej 6 znaków i być pasować do potwierdzenia.', + 'user' => 'Nie możemy znaleźć użytkownia o tym adresie email.', + 'token' => 'Token resetu hasła jest nieprawidłowyw.', + 'sent' => 'Wysłano przypomnienie hasła!', + 'reset' => 'Hasło zostało zresetowane!', + +]; diff --git a/resources/lang/pl/setup.php b/resources/lang/pl/setup.php new file mode 100755 index 00000000..f183c6e6 --- /dev/null +++ b/resources/lang/pl/setup.php @@ -0,0 +1,14 @@ + 'Konfiguracja', + 'title' => 'Skonfiguruj Cachet', + 'service_details' => 'Szczegóły serwisu', + 'status_page_setup' => 'Konfiguracja strony statusowej', + 'show_support' => 'Okaż wsparcie dla Cachet? Umieść link w stopce wskazujący na Cachet.', + 'admin_account' => 'Konto administratora', + 'complete_setup' => 'Konfiguracja zakończona', + 'completed' => 'Cachet został skonfigurowany pomyślnie!', + 'finish_setup' => 'Przejdź do panelu', + 'allow_tracking' => 'Zezwolić na anonimowe śledzenie wykorzystania?', +]; diff --git a/resources/lang/pl/validation.php b/resources/lang/pl/validation.php new file mode 100755 index 00000000..c9b21ca0 --- /dev/null +++ b/resources/lang/pl/validation.php @@ -0,0 +1,106 @@ + 'The :attribute must be accepted.', + 'active_url' => 'The :attribute is not a valid URL.', + 'after' => 'The :attribute must be a date after :date.', + 'alpha' => 'The :attribute may only contain letters.', + 'alpha_dash' => 'The :attribute may only contain letters, numbers, and dashes.', + 'alpha_num' => 'The :attribute may only contain letters and numbers.', + 'array' => 'The :attribute must be an array.', + 'before' => 'The :attribute must be a date before :date.', + 'between' => [ + 'numeric' => 'The :attribute must be between :min and :max.', + 'file' => 'The :attribute must be between :min and :max kilobytes.', + 'string' => 'The :attribute must be between :min and :max characters.', + 'array' => 'The :attribute must have between :min and :max items.', + ], + 'boolean' => 'The :attribute field must be true or false.', + 'confirmed' => 'The :attribute confirmation does not match.', + 'date' => 'The :attribute is not a valid date.', + 'date_format' => 'The :attribute does not match the format :format.', + 'different' => 'The :attribute and :other must be different.', + 'digits' => 'The :attribute must be :digits digits.', + 'digits_between' => 'The :attribute must be between :min and :max digits.', + 'email' => 'The :attribute must be a valid email address.', + 'exists' => 'The selected :attribute is invalid.', + 'image' => 'The :attribute must be an image.', + 'in' => 'The selected :attribute is invalid.', + 'integer' => 'The :attribute must be an integer.', + 'ip' => 'The :attribute must be a valid IP address.', + 'max' => [ + 'numeric' => 'The :attribute may not be greater than :max.', + 'file' => 'The :attribute may not be greater than :max kilobytes.', + 'string' => 'The :attribute may not be greater than :max characters.', + 'array' => 'The :attribute may not have more than :max items.', + ], + 'mimes' => 'The :attribute must be a file of type: :values.', + 'min' => [ + 'numeric' => 'The :attribute must be at least :min.', + 'file' => 'The :attribute must be at least :min kilobytes.', + 'string' => 'The :attribute must be at least :min characters.', + 'array' => 'The :attribute must have at least :min items.', + ], + 'not_in' => 'The selected :attribute is invalid.', + 'numeric' => 'The :attribute must be a number.', + 'regex' => 'The :attribute format is invalid.', + 'required' => 'The :attribute field is required.', + 'required_if' => 'The :attribute field is required when :other is :value.', + 'required_with' => 'The :attribute field is required when :values is present.', + 'required_with_all' => 'The :attribute field is required when :values is present.', + 'required_without' => 'The :attribute field is required when :values is not present.', + 'required_without_all' => 'The :attribute field is required when none of :values are present.', + 'same' => 'The :attribute and :other must match.', + 'size' => [ + 'numeric' => 'The :attribute must be :size.', + 'file' => 'The :attribute must be :size kilobytes.', + 'string' => 'The :attribute must be :size characters.', + 'array' => 'The :attribute must contain :size items.', + ], + 'unique' => 'The :attribute has already been taken.', + 'url' => 'The :attribute format is invalid.', + 'timezone' => 'The :attribute must be a valid zone.', + + /* + |-------------------------------------------------------------------------- + | 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/resources/lang/pt-BR/forms.php b/resources/lang/pt-BR/forms.php index 75861744..7920b28b 100755 --- a/resources/lang/pt-BR/forms.php +++ b/resources/lang/pt-BR/forms.php @@ -74,18 +74,17 @@ return [ 'settings' => [ /// Application setup 'app-setup' => [ - 'site-name' => 'Nome do site', - 'site-url' => 'URL do site', - 'site-timezone' => 'Fuso horário do site', - 'site-locale' => 'Idioma do site', - 'date-format' => 'Formato da Data', - 'display-graphs' => '', - 'about-this-page' => 'Sobre esta página', - 'days-of-incidents' => 'Quantos dias de incidentes para mostrar?', - 'banner' => 'Imagem do banner', - 'banner-help' => "É recomendável que você faça upload de arquivos menores que 930px .", - 'analytics_google' => "Google Analytics Code", - 'analytics_gosquared' => "GoSquared Analytics Code", + 'site-name' => 'Nome do site', + 'site-url' => 'URL do site', + 'site-timezone' => 'Fuso horário do site', + 'site-locale' => 'Idioma do site', + 'date-format' => 'Formato da Data', + 'display-graphs' => '', + 'about-this-page' => 'Sobre esta página', + 'days-of-incidents' => 'Quantos dias de incidentes para mostrar?', + 'banner' => 'Imagem do banner', + 'banner-help' => 'É recomendável que você faça upload de arquivos menores que 930px .', + 'google-analytics' => 'Código do Google Analytics', ], 'security' => [ 'allowed-domains' => 'Domínios permitidos', diff --git a/resources/lang/pt-BR/setup.php b/resources/lang/pt-BR/setup.php index e4b1a2b0..f976709e 100755 --- a/resources/lang/pt-BR/setup.php +++ b/resources/lang/pt-BR/setup.php @@ -5,7 +5,7 @@ return [ 'title' => 'Configurar o Cachet', 'service_details' => 'Detalhes do serviço', 'status_page_setup' => 'Configuração da página de status', - 'show_support' => 'Mostrar apoio ao Cachet?', + 'show_support' => 'Mostrar apoio ao Cachet? Coloca um link no rodapé direcionando para Cachet.', 'admin_account' => 'Conta de administrador', 'complete_setup' => 'Configuração completa', 'completed' => 'Cachet foi configurado com sucesso!', diff --git a/resources/lang/pt-BR/validation.php b/resources/lang/pt-BR/validation.php index 61ad493c..4b2102bc 100755 --- a/resources/lang/pt-BR/validation.php +++ b/resources/lang/pt-BR/validation.php @@ -13,65 +13,65 @@ return [ | */ - "accepted" => "O campo :attribute deve ser aceito.", - "active_url" => "O campo :attribute não é 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 só pode conter letras, números, e hifens.", - "alpha_num" => "O campo :attribute só pode conter letras e números.", - "array" => "O campo :attribute deve ser um vetor.", - "before" => "O campo :attribute deverá conter uma data anterior a :date.", - "between" => [ - "numeric" => "O campo :attribute deverá ter um valor entre :min - :max.", - "file" => "O campo :attribute deverá ter um tamanho entre :min - :max kilobytes.", - "string" => "O campo :attribute deverá conter entre :min - :max caracteres.", - "array" => "O campo :attribute deve ter entre :min e :max itens.", + 'accepted' => 'O campo :attribute deve ser aceito.', + 'active_url' => 'O campo :attribute não é 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 só pode conter letras, números, e hifens.', + 'alpha_num' => 'O campo :attribute só pode conter letras e números.', + 'array' => 'O campo :attribute deve ser um vetor.', + 'before' => 'O campo :attribute deverá conter uma data anterior a :date.', + 'between' => [ + 'numeric' => 'O campo :attribute deverá ter um valor entre :min - :max.', + 'file' => 'O campo :attribute deverá ter um tamanho entre :min - :max kilobytes.', + 'string' => 'O campo :attribute deverá conter entre :min - :max caracteres.', + 'array' => 'O campo :attribute deve ter entre :min e :max itens.', ], - "boolean" => "O campo :attribute deve ser verdadeiro ou falso.", - "confirmed" => "A confirmação para o campo :attribute não coincide.", - "date" => "O :attribute não é uma data válida.", - "date_format" => "O :attribute não corresponde ao formato :format.", - "different" => "O :attribute e :other devem ser diferentes.", - "digits" => "O campo :attribute deverá conter :digits dígitos.", - "digits_between" => "O :attribute deve ter entre :min e :max dígitos.", - "email" => "A: attribute deve ser um endereço de email válido.", - "exists" => "O :attribute selecionado é inválido.", - "image" => "O :attribute deve ser uma imagem.", - "in" => "O :attribute selecionado é inválido.", - "integer" => "O :attribute deve ser um número inteiro.", - "ip" => "O :attribute deve ser um endereço de IP válido.", - "max" => [ - "numeric" => "O :attribute não pode ser maior do que :max.", - "file" => "O campo :attribute não deverá ter um tamanho superior a :max kilobytes.", - "string" => "O :attribute não pode ser maior do que :max caracteres.", - "array" => "A: atributo não pode ter mais de que :max itens.", + 'boolean' => 'O campo :attribute deve ser verdadeiro ou falso.', + 'confirmed' => 'A confirmação para o campo :attribute não coincide.', + 'date' => 'O :attribute não é uma data válida.', + 'date_format' => 'O :attribute não corresponde ao formato :format.', + 'different' => 'O :attribute e :other devem ser diferentes.', + 'digits' => 'O campo :attribute deverá conter :digits dígitos.', + 'digits_between' => 'O :attribute deve ter entre :min e :max dígitos.', + 'email' => 'A: attribute deve ser um endereço de email válido.', + 'exists' => 'O :attribute selecionado é inválido.', + 'image' => 'O :attribute deve ser uma imagem.', + 'in' => 'O :attribute selecionado é inválido.', + 'integer' => 'O :attribute deve ser um número inteiro.', + 'ip' => 'O :attribute deve ser um endereço de IP válido.', + 'max' => [ + 'numeric' => 'O :attribute não pode ser maior do que :max.', + 'file' => 'O campo :attribute não deverá ter um tamanho superior a :max kilobytes.', + 'string' => 'O :attribute não pode ser maior do que :max caracteres.', + 'array' => 'A: atributo não pode ter mais de que :max itens.', ], - "mimes" => "O :attribute deve ser um arquivo do tipo: :values.", - "min" => [ - "numeric" => "O :attribute deve ter pelo menos :min.", - "file" => "O :attribute deve ter pelo menos :min kilobytes.", - "string" => "O :attribute deve ter pelo menos :min caracteres.", - "array" => "O :attribute deve ter pelo menos :min itens.", + 'mimes' => 'O :attribute deve ser um arquivo do tipo: :values.', + 'min' => [ + 'numeric' => 'O :attribute deve ter pelo menos :min.', + 'file' => 'O :attribute deve ter pelo menos :min kilobytes.', + 'string' => 'O :attribute deve ter pelo menos :min caracteres.', + 'array' => 'O :attribute deve ter pelo menos :min itens.', ], - "not_in" => "O :attribute selecionado é inválido.", - "numeric" => "O :attribute deve ser um número.", - "regex" => "O formato de :attribute é inválido.", - "required" => "O campo de :attribute é obrigatório.", - "required_if" => "O campo de :attribute é obrigatório quando :other é :value.", - "required_with" => "O campo :attribute é obrigatório quando :values está presente.", - "required_with_all" => "O campo :attribute é obrigatório quando :values está presente.", - "required_without" => "O campo de :attribute é obrigatório quando :values não está presente.", - "required_without_all" => "O campo de :attribute é obrigatório quando qualquer um dos :values estão presentes.", - "same" => "O :attribute e :other devem corresponder.", - "size" => [ - "numeric" => "O :attribute deve ser :size.", - "file" => "O :attribute deve ter :size kilobytes.", - "string" => "O :attribute deve ter :size caracteres.", - "array" => "O :attribute deve ter :size itens.", + 'not_in' => 'O :attribute selecionado é inválido.', + 'numeric' => 'O :attribute deve ser um número.', + 'regex' => 'O formato de :attribute é inválido.', + 'required' => 'O campo de :attribute é obrigatório.', + 'required_if' => 'O campo de :attribute é obrigatório quando :other é :value.', + 'required_with' => 'O campo :attribute é obrigatório quando :values está presente.', + 'required_with_all' => 'O campo :attribute é obrigatório quando :values está presente.', + 'required_without' => 'O campo de :attribute é obrigatório quando :values não está presente.', + 'required_without_all' => 'O campo de :attribute é obrigatório quando qualquer um dos :values estão presentes.', + 'same' => 'O :attribute e :other devem corresponder.', + 'size' => [ + 'numeric' => 'O :attribute deve ser :size.', + 'file' => 'O :attribute deve ter :size kilobytes.', + 'string' => 'O :attribute deve ter :size caracteres.', + 'array' => 'O :attribute deve ter :size itens.', ], - "unique" => "O :attribute já existe.", - "url" => "O formato de :attribute é inválido.", - "timezone" => "O :attribute deve ser uma zona válida.", + 'unique' => 'O :attribute já existe.', + 'url' => 'O formato de :attribute é inválido.', + 'timezone' => 'O :attribute deve ser uma zona válida.', /* |-------------------------------------------------------------------------- diff --git a/resources/lang/zh-Hans/cachet.php b/resources/lang/zh-Hans/cachet.php new file mode 100755 index 00000000..43eee11e --- /dev/null +++ b/resources/lang/zh-Hans/cachet.php @@ -0,0 +1,59 @@ + [ + 'status' => [ + 1 => '正常运行', + 2 => '性能问题', + 3 => '部分停止运作', + 4 => '停止运作', + ], + ], + + // Incidents + 'incidents' => [ + 'none' => '沒有任何事件。', + 'past' => '以前的事件', + 'previous_week' => '上星期', + 'next_week' => '下星期', + 'none' => '沒有任何报告', + 'scheduled' => '排程维护', + 'scheduled_at' => ',於:timestamp', + 'status' => [ + 0 => '排程中的维护', // TODO: Hopefully remove this. + 1 => '调查中', + 2 => '已辨明', + 3 => '警戒中', + 4 => '已修复', + ], + ], + + // Service Status + 'service' => [ + 'good' => '全部系统运作正常。', + 'bad' => '部分系统出现异常。', + ], + + 'api' => [ + 'regenerate' => '重新生成 API 密钥', + 'revoke' => '撤销 API 密钥', + ], + + // Metrics + 'metrics' => [ + 'filter' => [ + 'hourly' => '每小时', + 'daily' => '每天', + 'monthly' => '每月', + ], + ], + + // Other + 'powered_by' => ':app 状态页是由 Cachet 提供。', + 'about_this_site' => '关于本站', + 'rss-feed' => 'RSS 订阅', + 'atom-feed' => 'Atom 订阅', + 'feed' => 'Status 订阅', + +]; diff --git a/resources/lang/zh-Hans/dashboard.php b/resources/lang/zh-Hans/dashboard.php new file mode 100755 index 00000000..cb3497e2 --- /dev/null +++ b/resources/lang/zh-Hans/dashboard.php @@ -0,0 +1,186 @@ + '仪表板', + + // Incidents + 'incidents' => [ + 'title' => '事件与排程', + 'incidents' => '事件', + 'logged' => '{0} 做得好,没有任何事件。|你记录了一个事件。|你回报了 :count 个事件。', + 'incident-create-template' => '新增模板', + 'incident-templates' => '事件模板', + 'add' => [ + 'title' => '新增事件', + 'success' => '事件新增成功。', + 'failure' => '新增事件时遇到一些问题。', + ], + 'edit' => [ + 'title' => '修改事件', + 'success' => '事件更新成功。', + 'failure' => '更新事件时遇到一些问题。', + ], + + // Incident templates + 'templates' => [ + 'title' => '事件模板', + 'add' => [ + 'title' => '新增事件模板', + 'success' => '事件模板新增成功。', + 'failure' => '新增事件模板时遇到一些问题。', + ], + 'edit' => [ + 'title' => '修改事件模板', + 'success' => '事件模板更新成功!', + 'failure' => '更新事件模板时遇到一些问题。', + ], + ], + ], + + // Incident Maintenance + 'schedule' => [ + 'schedule' => '排程维护', + 'scheduled_at' => '排程于 :timestamp', + 'add' => [ + 'title' => '新增排程维护', + 'success' => '排程维护新增成功。', + 'failure' => '新增排程维护时遇到一些问题。', + ], + 'edit' => [ + 'title' => '修改排程维护', + 'success' => '排程维护修改成功!', + 'failure' => '修改排程维护时遇到一些问题。', + ], + 'delete' => [ + 'success' => '成功删除了排程维护!該排程维护將不會出現在状态页上。', + 'failure' => '无法刪除該排程维护。请稍后再试。', + ], + ], + + // Components + 'components' => [ + 'components' => '组件', + 'component_statuses' => '组件状态', + 'listed_group' => '屬于:name组', + 'add' => [ + 'title' => '新增组件', + 'message' => '你应该先新增一个组件。', + 'success' => '组件新增成功。', + 'failure' => '新增组件时遇到一些问题。', + ], + 'edit' => [ + 'title' => '修改组件', + 'success' => '组件修改成功。', + 'failure' => '修改组件时遇到一些问题。', + ], + + // Component groups + 'groups' => [ + 'groups' => '组件组|组件组', + 'add' => [ + 'title' => '新增组件组', + 'success' => '组件组新增成功。', + 'failure' => '新增组件组时遇到一些问题。', + ], + 'edit' => [ + 'title' => '修改组件组', + 'success' => '组件组修改成功。', + 'failure' => '修改组件组时遇到一些问题。', + ], + ], + ], + + // Metrics + 'metrics' => [ + 'metrics' => '指标', + 'add' => [ + 'title' => '新增指标', + 'success' => '指标新增成功。', + 'failure' => '新增指标时遇到一些问题。', + ], + 'edit' => [ + 'title' => '修改指标', + 'success' => '指标修改成功。', + 'failure' => '修改指标时遇到一些问题。', + ], + ], + + // Team + 'team' => [ + 'team' => '团队', + 'member' => '成员', + 'profile' => '个人档案', + 'description' => '团队成员可以新增、修改、或更新组件和事件。', + 'add' => [ + 'title' => '新增团队成员', + 'success' => '成功新增团队成员。', + 'failure' => '新增团队成员时遇到一些问题。', + ], + 'edit' => [ + 'title' => '修改个人档案', + 'success' => '成功修改个人档案。', + 'failure' => '更新时遇到一些问题。', + ], + ], + + // Settings + 'settings' => [ + 'settings' => '设置', + 'app-setup' => [ + 'app-setup' => '应用程序设置', + 'images-only' => '你只能上载图片。', + 'too-big' => '档案大小过大。请尝试上载一张大小小于 :size 的图片。', + ], + 'security' => [ + 'security' => '安全', + 'two-factor' => '下列用户没有使用双重认证', + ], + 'stylesheet' => [ + 'stylesheet' => '样式表', + ], + 'theme' => [ + 'theme' => '主题', + ], + 'edit' => [ + 'success' => '设置已储存。', + 'failure' => '设置储存失败。', + ], + ], + + // Login + 'login' => [ + 'login' => '登录', + 'logged_in' => '你已经登录。', + 'welcome' => '欢迎回来!', + 'two-factor' => '请输入令牌。', + ], + + // Sidebar footer + 'help' => '帮助', + 'status_page' => '状态页', + 'logout' => '退出', + + // Notifications + 'notifications' => [ + 'notifications' => '通知', + 'awesome' => '太好了。', + 'whoops' => '哎呀。', + ], + + // Welcome modal + 'welcome' => [ + 'welcome' => '欢迎来到 Cachet', + 'message' => '你的状态页快准备好了!不过你也许想先调整一下下列设置。', + 'close' => '直接前往仪表板', + 'steps' => [ + 'component' => '新增组件', + 'incident' => '新增事件', + 'customize' => '定制化', + 'team' => '新增用戶', + 'api' => '生成 API 密钥', + 'two-factor' => '两步验证', + ], + ], + +]; diff --git a/resources/lang/zh-Hans/errors.php b/resources/lang/zh-Hans/errors.php new file mode 100755 index 00000000..81326c8e --- /dev/null +++ b/resources/lang/zh-Hans/errors.php @@ -0,0 +1,16 @@ + [ + 'code' => '404', + 'title' => '找不到页面', + 'message' => '抱歉,你所请求的页面并不存在。请检查你的 URL 是否正确并再试一次。', + 'link' => '回到主页', + ], + 'unauthorized' => [ + 'code' => '401', + 'title' => '未经授权', + 'message' => '抱歉,你需要管理员权限方可浏览本页面。', + 'link' => '回到主页', + ], +]; diff --git a/resources/lang/zh-Hans/forms.php b/resources/lang/zh-Hans/forms.php new file mode 100755 index 00000000..e2bc88d6 --- /dev/null +++ b/resources/lang/zh-Hans/forms.php @@ -0,0 +1,126 @@ + [ + 'email' => '电邮地址', + 'username' => '用戶名', + 'password' => '密码', + 'site_name' => '网站名称', + 'site_domain' => '网站域名', + 'site_timezone' => '选择你的时區', + 'site_locale' => '选择你的语言', + 'enable_google2fa' => '启用 Google 两步验证', + ], + + // Login form fields + 'login' => [ + 'email' => '电邮地址', + 'password' => '密码', + '2fauth' => '令牌', + 'invalid' => '错误的电邮地址或密码', + 'invalid-token' => '错误的令牌', + ], + + // Incidents form fields + 'incidents' => [ + 'name' => '名称', + 'status' => '状态', + 'component' => '组件', + 'message' => '信息', + 'message-help' => '你可以使用 Markdown 。', + 'scheduled_at' => '排期在什么时候進行维护?', + + 'templates' => [ + 'name' => '名称', + 'template' => '模板', + ], + ], + + // Components form fields + 'components' => [ + 'name' => '名称', + 'status' => '状态', + 'group' => '组別', + 'description' => '描述', + 'link' => '连结', + 'tags' => '标签', + 'tags-help' => '请以半角逗号分隔。', + + 'groups' => [ + 'name' => '名称', + ], + ], + + // Metric form fields + 'metrics' => [ + 'name' => '名称', + 'suffix' => '後綴', + 'description' => '描述', + 'description-help' => '你可以使用 Markdown 。', + 'display-chart' => '在状态页上显示图表?', + 'default-value' => '默认值', + 'calc_type' => '指标的计算方法', + 'type_sum' => '总和', + 'type_avg' => '平均', + + 'points' => [ + 'value' => '值', + ], + ], + + // Settings + 'settings' => [ + /// Application setup + 'app-setup' => [ + 'site-name' => '网站名称', + 'site-url' => '网站 URL', + 'site-timezone' => '网站时區', + 'site-locale' => '网站语言', + 'date-format' => '日期格式', + 'display-graphs' => '在状态页上显示图片?', + 'about-this-page' => '关于本站', + 'days-of-incidents' => '显示多少天前的事件?', + 'banner' => '图片横幅', + 'banner-help' => '横幅宽度建议少于 930px 。', + 'google-analytics' => 'Google Analytics 代码', + ], + 'security' => [ + 'allowed-domains' => '容许访问的域名', + 'allowed-domains-help' => '请以半角逗号分隔。以上域名将会自动允许访问。', + ], + 'stylesheet' => [ + 'custom-css' => '自定义样式表', + ], + 'theme' => [ + 'background-color' => '背景颜色', + 'text-color' => '文字颜色', + ], + ], + + 'user' => [ + 'username' => '用户名', + 'email' => '电邮地址', + 'password' => '密码', + 'api-token' => 'API 密钥', + 'api-token-help' => '重新生成 API 密钥将会导致现存的应用程式无法访问 Cachet 。', + '2fa' => [ + 'help' => '启用两步认证会使你的帐户更安全。您需要下载Google Authenticator 或类似的应用程式到您的设备上。启用后,你需要提供由该应用程序生成的令牌方可登录。', + ], + ], + + // Buttons + 'add' => '增加', + 'save' => '储存', + 'update' => '更新', + 'create' => '新增', + 'edit' => '修改', + 'delete' => '删除', + 'submit' => '提交', + 'cancel' => '取消', + 'remove' => '删除', + + // Other + 'optional' => '* 可选项目', +]; diff --git a/resources/lang/zh-Hans/pagination.php b/resources/lang/zh-Hans/pagination.php new file mode 100755 index 00000000..74a172f9 --- /dev/null +++ b/resources/lang/zh-Hans/pagination.php @@ -0,0 +1,19 @@ + '« 前一页', + 'next' => '后一页 »', + +]; diff --git a/resources/lang/zh-Hans/reminders.php b/resources/lang/zh-Hans/reminders.php new file mode 100755 index 00000000..f5f3bd94 --- /dev/null +++ b/resources/lang/zh-Hans/reminders.php @@ -0,0 +1,22 @@ + '密码必须至少有六个字符,而两次输入的密码也必须匹配。', + 'user' => '无法找到拥有该电邮地址的用戶。', + 'token' => '无效的密码重置令牌。', + 'sent' => '已发送密码重置邮件。', + 'reset' => '成功重置密码。', + +]; diff --git a/resources/lang/zh-Hans/setup.php b/resources/lang/zh-Hans/setup.php new file mode 100755 index 00000000..c284b4f7 --- /dev/null +++ b/resources/lang/zh-Hans/setup.php @@ -0,0 +1,14 @@ + '安装', + 'title' => '安裝 Cachet', + 'service_details' => '服务详细信息', + 'status_page_setup' => '設置状态页面', + 'show_support' => '希望支持 Cachet 嗎? 在页面底部放置 Cachet 的连结。', + 'admin_account' => '管理员帳戶', + 'complete_setup' => '完成安裝', + 'completed' => '成功安裝 Cachet !', + 'finish_setup' => '前往仪表板', + 'allow_tracking' => '允许匿名统计?', +]; diff --git a/resources/lang/zh-Hans/validation.php b/resources/lang/zh-Hans/validation.php new file mode 100755 index 00000000..c9b21ca0 --- /dev/null +++ b/resources/lang/zh-Hans/validation.php @@ -0,0 +1,106 @@ + 'The :attribute must be accepted.', + 'active_url' => 'The :attribute is not a valid URL.', + 'after' => 'The :attribute must be a date after :date.', + 'alpha' => 'The :attribute may only contain letters.', + 'alpha_dash' => 'The :attribute may only contain letters, numbers, and dashes.', + 'alpha_num' => 'The :attribute may only contain letters and numbers.', + 'array' => 'The :attribute must be an array.', + 'before' => 'The :attribute must be a date before :date.', + 'between' => [ + 'numeric' => 'The :attribute must be between :min and :max.', + 'file' => 'The :attribute must be between :min and :max kilobytes.', + 'string' => 'The :attribute must be between :min and :max characters.', + 'array' => 'The :attribute must have between :min and :max items.', + ], + 'boolean' => 'The :attribute field must be true or false.', + 'confirmed' => 'The :attribute confirmation does not match.', + 'date' => 'The :attribute is not a valid date.', + 'date_format' => 'The :attribute does not match the format :format.', + 'different' => 'The :attribute and :other must be different.', + 'digits' => 'The :attribute must be :digits digits.', + 'digits_between' => 'The :attribute must be between :min and :max digits.', + 'email' => 'The :attribute must be a valid email address.', + 'exists' => 'The selected :attribute is invalid.', + 'image' => 'The :attribute must be an image.', + 'in' => 'The selected :attribute is invalid.', + 'integer' => 'The :attribute must be an integer.', + 'ip' => 'The :attribute must be a valid IP address.', + 'max' => [ + 'numeric' => 'The :attribute may not be greater than :max.', + 'file' => 'The :attribute may not be greater than :max kilobytes.', + 'string' => 'The :attribute may not be greater than :max characters.', + 'array' => 'The :attribute may not have more than :max items.', + ], + 'mimes' => 'The :attribute must be a file of type: :values.', + 'min' => [ + 'numeric' => 'The :attribute must be at least :min.', + 'file' => 'The :attribute must be at least :min kilobytes.', + 'string' => 'The :attribute must be at least :min characters.', + 'array' => 'The :attribute must have at least :min items.', + ], + 'not_in' => 'The selected :attribute is invalid.', + 'numeric' => 'The :attribute must be a number.', + 'regex' => 'The :attribute format is invalid.', + 'required' => 'The :attribute field is required.', + 'required_if' => 'The :attribute field is required when :other is :value.', + 'required_with' => 'The :attribute field is required when :values is present.', + 'required_with_all' => 'The :attribute field is required when :values is present.', + 'required_without' => 'The :attribute field is required when :values is not present.', + 'required_without_all' => 'The :attribute field is required when none of :values are present.', + 'same' => 'The :attribute and :other must match.', + 'size' => [ + 'numeric' => 'The :attribute must be :size.', + 'file' => 'The :attribute must be :size kilobytes.', + 'string' => 'The :attribute must be :size characters.', + 'array' => 'The :attribute must contain :size items.', + ], + 'unique' => 'The :attribute has already been taken.', + 'url' => 'The :attribute format is invalid.', + 'timezone' => 'The :attribute must be a valid zone.', + + /* + |-------------------------------------------------------------------------- + | 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/resources/lang/zh-Hant/cachet.php b/resources/lang/zh-Hant/cachet.php new file mode 100755 index 00000000..46849b4a --- /dev/null +++ b/resources/lang/zh-Hant/cachet.php @@ -0,0 +1,59 @@ + [ + 'status' => [ + 1 => '正常運行', + 2 => '效能問題', + 3 => '部分停止運作', + 4 => '停止運作', + ], + ], + + // Incidents + 'incidents' => [ + 'none' => '沒有任何事件。', + 'past' => '以前的事件', + 'previous_week' => '上星期', + 'next_week' => '下星期', + 'none' => '沒有任何報告', + 'scheduled' => '排程維護', + 'scheduled_at' => ',於:timestamp', + 'status' => [ + 0 => '排程中的維護', // TODO: Hopefully remove this. + 1 => '調查中', + 2 => '已辨明', + 3 => '警戒中', + 4 => '已修復', + ], + ], + + // Service Status + 'service' => [ + 'good' => '全部系統運作正常。', + 'bad' => '部分系統出現異常。', + ], + + 'api' => [ + 'regenerate' => '重新生成 API 密鑰', + 'revoke' => '撤銷 API 密鑰', + ], + + // Metrics + 'metrics' => [ + 'filter' => [ + 'hourly' => '每小時', + 'daily' => '每天', + 'monthly' => '每月', + ], + ], + + // Other + 'powered_by' => ':app 狀態頁是由 Cachet 提供。', + 'about_this_site' => '關於本站', + 'rss-feed' => 'RSS 訂閱', + 'atom-feed' => 'Atom 訂閱', + 'feed' => 'Status 訂閱', + +]; diff --git a/resources/lang/zh-Hant/dashboard.php b/resources/lang/zh-Hant/dashboard.php new file mode 100755 index 00000000..a6dbd342 --- /dev/null +++ b/resources/lang/zh-Hant/dashboard.php @@ -0,0 +1,186 @@ + '儀表板', + + // Incidents + 'incidents' => [ + 'title' => '事件與排程', + 'incidents' => '事件', + 'logged' => '{0} 做得好,沒有任何事件。|你記錄了一個事件。|你回報了 :count 個事件。', + 'incident-create-template' => '新增模板', + 'incident-templates' => '事件模板', + 'add' => [ + 'title' => '新增事件', + 'success' => '事件新增成功。', + 'failure' => '新增事件時遇到一些問題。', + ], + 'edit' => [ + 'title' => '修改事件', + 'success' => '事件更新成功。', + 'failure' => '更新事件時遇到一些問題。', + ], + + // Incident templates + 'templates' => [ + 'title' => '事件模板', + 'add' => [ + 'title' => '新增事件模板', + 'success' => '事件模板新增成功。', + 'failure' => '新增事件模板時遇到一些問題。', + ], + 'edit' => [ + 'title' => '修改事件模板', + 'success' => '事件模板更新成功!', + 'failure' => '更新事件模板時遇到一些問題。', + ], + ], + ], + + // Incident Maintenance + 'schedule' => [ + 'schedule' => '排程維護', + 'scheduled_at' => '排程於 :timestamp', + 'add' => [ + 'title' => '新增排程維護', + 'success' => '排程維護新增成功。', + 'failure' => '新增排程維護時遇到一些問題。', + ], + 'edit' => [ + 'title' => '修改排程維護', + 'success' => '排程維護修改成功!', + 'failure' => '修改排程維護時遇到一些問題。', + ], + 'delete' => [ + 'success' => '成功删除了排程維護!該排程維護將不會出現在狀態頁上。', + 'failure' => '無法刪除該排程維護。請稍後再試。', + ], + ], + + // Components + 'components' => [ + 'components' => '組件', + 'component_statuses' => '組件狀態', + 'listed_group' => '屬於:name組', + 'add' => [ + 'title' => '新增組件', + 'message' => '你應該先新增一個組件。', + 'success' => '組件新增成功。', + 'failure' => '新增組件時遇到一些問題。', + ], + 'edit' => [ + 'title' => '修改組件', + 'success' => '組件修改成功。', + 'failure' => '修改組件時遇到一些問題。', + ], + + // Component groups + 'groups' => [ + 'groups' => '組件組|組件組', + 'add' => [ + 'title' => '新增組件組', + 'success' => '組件組新增成功。', + 'failure' => '新增組件組時遇到一些問題。', + ], + 'edit' => [ + 'title' => '修改組件組', + 'success' => '組件組修改成功。', + 'failure' => '修改組件組時遇到一些問題。', + ], + ], + ], + + // Metrics + 'metrics' => [ + 'metrics' => '指標', + 'add' => [ + 'title' => '新增指標', + 'success' => '指標新增成功。', + 'failure' => '新增指標時遇到一些問題。', + ], + 'edit' => [ + 'title' => '修改指標', + 'success' => '指標修改成功。', + 'failure' => '修改指標時遇到一些問題。', + ], + ], + + // Team + 'team' => [ + 'team' => '團隊', + 'member' => '成員', + 'profile' => '個人檔案', + 'description' => '團隊成員可以新增、修改、或更新組件和事件。', + 'add' => [ + 'title' => '新增團隊成員', + 'success' => '成功新增團隊成員。', + 'failure' => '新增團隊成員時遇到一些問題。', + ], + 'edit' => [ + 'title' => '修改個人檔案', + 'success' => '成功修改個人檔案。', + 'failure' => '更新時遇到一些問題。', + ], + ], + + // Settings + 'settings' => [ + 'settings' => '設定', + 'app-setup' => [ + 'app-setup' => '應用程式設定', + 'images-only' => '你只能上載圖片。', + 'too-big' => '檔案大小過大。請嘗試上載一張大小小於 :size 的圖片。', + ], + 'security' => [ + 'security' => '安全', + 'two-factor' => '下列用戶未使用雙重認證', + ], + 'stylesheet' => [ + 'stylesheet' => '樣式表', + ], + 'theme' => [ + 'theme' => '主題', + ], + 'edit' => [ + 'success' => '設定已儲存。', + 'failure' => '設定儲存失敗。', + ], + ], + + // Login + 'login' => [ + 'login' => '登錄', + 'logged_in' => '你已經登錄。', + 'welcome' => '歡迎回來!', + 'two-factor' => '請輸入驗證碼。', + ], + + // Sidebar footer + 'help' => '幫助', + 'status_page' => '狀態頁', + 'logout' => '登出', + + // Notifications + 'notifications' => [ + 'notifications' => '通知', + 'awesome' => '太好了。', + 'whoops' => '唉呀。', + ], + + // Welcome modal + 'welcome' => [ + 'welcome' => '歡迎來到 Cachet', + 'message' => '你的狀態頁快準備好了!不過你也許先想調整一下以下設定。', + 'close' => '直接前往儀表板', + 'steps' => [ + 'component' => '新增組件', + 'incident' => '新增事件', + 'customize' => '定制化', + 'team' => '新增用戶', + 'api' => '生成 API 密鑰', + 'two-factor' => '兩步驗證', + ], + ], + +]; diff --git a/resources/lang/zh-Hant/errors.php b/resources/lang/zh-Hant/errors.php new file mode 100755 index 00000000..0dbb986f --- /dev/null +++ b/resources/lang/zh-Hant/errors.php @@ -0,0 +1,16 @@ + [ + 'code' => '404', + 'title' => '找不到頁面', + 'message' => '抱歉,你所請求的頁面並不存在。請檢查你的 URL 是否正確並再試一次。', + 'link' => '返回主頁', + ], + 'unauthorized' => [ + 'code' => '401', + 'title' => '未經授權', + 'message' => '抱歉,你需要管理員權限方可瀏覽本頁面。', + 'link' => '返回主頁', + ], +]; diff --git a/resources/lang/zh-Hant/forms.php b/resources/lang/zh-Hant/forms.php new file mode 100755 index 00000000..fe1e0712 --- /dev/null +++ b/resources/lang/zh-Hant/forms.php @@ -0,0 +1,126 @@ + [ + 'email' => '電郵地址', + 'username' => '用戶名', + 'password' => '密碼', + 'site_name' => '網站名稱', + 'site_domain' => '網站域名', + 'site_timezone' => '選擇你的時區', + 'site_locale' => '選擇你的語言', + 'enable_google2fa' => '啟用 Google 兩步驗證', + ], + + // Login form fields + 'login' => [ + 'email' => '電郵地址', + 'password' => '密碼', + '2fauth' => '驗證碼', + 'invalid' => '錯誤的電郵地址或密碼', + 'invalid-token' => '錯誤的驗證碼', + ], + + // Incidents form fields + 'incidents' => [ + 'name' => '名稱', + 'status' => '狀態', + 'component' => '組件', + 'message' => '信息', + 'message-help' => '你可以使用 Markdown 。', + 'scheduled_at' => '排期在什麼時候進行維護?', + + 'templates' => [ + 'name' => '名稱', + 'template' => '模板', + ], + ], + + // Components form fields + 'components' => [ + 'name' => '名稱', + 'status' => '狀態', + 'group' => '組別', + 'description' => '描述', + 'link' => '連結', + 'tags' => '標籤', + 'tags-help' => '請以半角逗號分隔。', + + 'groups' => [ + 'name' => '名稱', + ], + ], + + // Metric form fields + 'metrics' => [ + 'name' => '名稱', + 'suffix' => '後綴', + 'description' => '描述', + 'description-help' => '你可以使用 Markdown 。', + 'display-chart' => '在狀態頁上顯示圖表?', + 'default-value' => '默認值', + 'calc_type' => '指標的計算方法', + 'type_sum' => '總和', + 'type_avg' => '平均', + + 'points' => [ + 'value' => '值', + ], + ], + + // Settings + 'settings' => [ + /// Application setup + 'app-setup' => [ + 'site-name' => '網站名稱', + 'site-url' => '網站 URL', + 'site-timezone' => '網站時區', + 'site-locale' => '網站語言', + 'date-format' => '日期格式', + 'display-graphs' => '在狀態頁上顯示圖片?', + 'about-this-page' => '關於本站', + 'days-of-incidents' => '顯示多少天前的事件?', + 'banner' => '圖片橫幅', + 'banner-help' => '橫幅寬度建議少於 930px 。', + 'google-analytics' => 'Google Analytics 代碼', + ], + 'security' => [ + 'allowed-domains' => '容許訪問的域名', + 'allowed-domains-help' => '請以半角逗號分隔。以上域名將會自動允許訪問。', + ], + 'stylesheet' => [ + 'custom-css' => '自定義樣式表', + ], + 'theme' => [ + 'background-color' => '背景顏色', + 'text-color' => '文字顏色', + ], + ], + + 'user' => [ + 'username' => '用戶名', + 'email' => '電郵地址', + 'password' => '密碼', + 'api-token' => 'API 密鑰', + 'api-token-help' => '重新生成 API 密鑰將會導致現存的應用程序無法訪問 Cachet 。', + '2fa' => [ + 'help' => '啟用兩步認證會使得你的賬戶更加安全。您需要下載 Google Authenticator 或類似的應用程序到您的設備上。啓用後,你需要提供由該應用程序生成的驗證碼方可登錄。', + ], + ], + + // Buttons + 'add' => '增加', + 'save' => '儲存', + 'update' => '更新', + 'create' => '新增', + 'edit' => '修改', + 'delete' => '刪除', + 'submit' => '提交', + 'cancel' => '取消', + 'remove' => '刪除', + + // Other + 'optional' => '* 可選項目', +]; diff --git a/resources/lang/zh-Hant/pagination.php b/resources/lang/zh-Hant/pagination.php new file mode 100755 index 00000000..9527d5cb --- /dev/null +++ b/resources/lang/zh-Hant/pagination.php @@ -0,0 +1,19 @@ + '« 前一頁', + 'next' => '後一頁 »', + +]; diff --git a/resources/lang/zh-Hant/reminders.php b/resources/lang/zh-Hant/reminders.php new file mode 100755 index 00000000..b1abeeb8 --- /dev/null +++ b/resources/lang/zh-Hant/reminders.php @@ -0,0 +1,22 @@ + '密碼必須至少有六個字符,而兩次輸入的密碼也必須匹配。', + 'user' => '無法找到擁有該電郵地址的用戶。', + 'token' => '無效的密碼重置令牌。', + 'sent' => '已發送密碼重置郵件。', + 'reset' => '成功重置密碼。', + +]; diff --git a/resources/lang/zh-Hant/setup.php b/resources/lang/zh-Hant/setup.php new file mode 100755 index 00000000..1c17fd93 --- /dev/null +++ b/resources/lang/zh-Hant/setup.php @@ -0,0 +1,14 @@ + '安裝', + 'title' => '安裝 Cachet', + 'service_details' => '服務詳細信息', + 'status_page_setup' => '設置狀態頁面', + 'show_support' => '希望支持 Cachet 嗎? 在頁面底部放置 Cachet 的連結。', + 'admin_account' => '管理員帳戶', + 'complete_setup' => '完成安裝', + 'completed' => '成功安裝 Cachet !', + 'finish_setup' => '前往儀表板', + 'allow_tracking' => '允許匿名統計?', +]; diff --git a/resources/lang/zh-Hant/validation.php b/resources/lang/zh-Hant/validation.php new file mode 100755 index 00000000..c9b21ca0 --- /dev/null +++ b/resources/lang/zh-Hant/validation.php @@ -0,0 +1,106 @@ + 'The :attribute must be accepted.', + 'active_url' => 'The :attribute is not a valid URL.', + 'after' => 'The :attribute must be a date after :date.', + 'alpha' => 'The :attribute may only contain letters.', + 'alpha_dash' => 'The :attribute may only contain letters, numbers, and dashes.', + 'alpha_num' => 'The :attribute may only contain letters and numbers.', + 'array' => 'The :attribute must be an array.', + 'before' => 'The :attribute must be a date before :date.', + 'between' => [ + 'numeric' => 'The :attribute must be between :min and :max.', + 'file' => 'The :attribute must be between :min and :max kilobytes.', + 'string' => 'The :attribute must be between :min and :max characters.', + 'array' => 'The :attribute must have between :min and :max items.', + ], + 'boolean' => 'The :attribute field must be true or false.', + 'confirmed' => 'The :attribute confirmation does not match.', + 'date' => 'The :attribute is not a valid date.', + 'date_format' => 'The :attribute does not match the format :format.', + 'different' => 'The :attribute and :other must be different.', + 'digits' => 'The :attribute must be :digits digits.', + 'digits_between' => 'The :attribute must be between :min and :max digits.', + 'email' => 'The :attribute must be a valid email address.', + 'exists' => 'The selected :attribute is invalid.', + 'image' => 'The :attribute must be an image.', + 'in' => 'The selected :attribute is invalid.', + 'integer' => 'The :attribute must be an integer.', + 'ip' => 'The :attribute must be a valid IP address.', + 'max' => [ + 'numeric' => 'The :attribute may not be greater than :max.', + 'file' => 'The :attribute may not be greater than :max kilobytes.', + 'string' => 'The :attribute may not be greater than :max characters.', + 'array' => 'The :attribute may not have more than :max items.', + ], + 'mimes' => 'The :attribute must be a file of type: :values.', + 'min' => [ + 'numeric' => 'The :attribute must be at least :min.', + 'file' => 'The :attribute must be at least :min kilobytes.', + 'string' => 'The :attribute must be at least :min characters.', + 'array' => 'The :attribute must have at least :min items.', + ], + 'not_in' => 'The selected :attribute is invalid.', + 'numeric' => 'The :attribute must be a number.', + 'regex' => 'The :attribute format is invalid.', + 'required' => 'The :attribute field is required.', + 'required_if' => 'The :attribute field is required when :other is :value.', + 'required_with' => 'The :attribute field is required when :values is present.', + 'required_with_all' => 'The :attribute field is required when :values is present.', + 'required_without' => 'The :attribute field is required when :values is not present.', + 'required_without_all' => 'The :attribute field is required when none of :values are present.', + 'same' => 'The :attribute and :other must match.', + 'size' => [ + 'numeric' => 'The :attribute must be :size.', + 'file' => 'The :attribute must be :size kilobytes.', + 'string' => 'The :attribute must be :size characters.', + 'array' => 'The :attribute must contain :size items.', + ], + 'unique' => 'The :attribute has already been taken.', + 'url' => 'The :attribute format is invalid.', + 'timezone' => 'The :attribute must be a valid zone.', + + /* + |-------------------------------------------------------------------------- + | 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/resources/views/partials/metrics.blade.php b/resources/views/partials/metrics.blade.php index 644fc636..43f69881 100644 --- a/resources/views/partials/metrics.blade.php +++ b/resources/views/partials/metrics.blade.php @@ -2,7 +2,7 @@