diff --git a/composer.json b/composer.json index 81a8848..bc79c3a 100644 --- a/composer.json +++ b/composer.json @@ -18,6 +18,7 @@ "phpseclib/phpseclib": "^3.0", "scienta/doctrine-json-functions": "^5.1", "symfony/console": "^6.1", + "symfony/crowdin-translation-provider": "6.1.*", "symfony/dotenv": "^6.1", "symfony/flex": "^2.2", "symfony/framework-bundle": "^6.1", diff --git a/composer.lock b/composer.lock index 9242ffc..20e9e4f 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "b74ec37b2b8dc72254c6639fec6de490", + "content-hash": "bca13cd4e2aace1aad48250360c26b8d", "packages": [ { "name": "doctrine/annotations", @@ -174,16 +174,16 @@ }, { "name": "doctrine/collections", - "version": "1.7.2", + "version": "1.7.3", "source": { "type": "git", "url": "https://github.com/doctrine/collections.git", - "reference": "3fe77330f5591108bbf1315da7377a7e704ed8a0" + "reference": "09dde3eb237756190f2de738d3c97cff10a8407b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/collections/zipball/3fe77330f5591108bbf1315da7377a7e704ed8a0", - "reference": "3fe77330f5591108bbf1315da7377a7e704ed8a0", + "url": "https://api.github.com/repos/doctrine/collections/zipball/09dde3eb237756190f2de738d3c97cff10a8407b", + "reference": "09dde3eb237756190f2de738d3c97cff10a8407b", "shasum": "" }, "require": { @@ -238,9 +238,9 @@ ], "support": { "issues": "https://github.com/doctrine/collections/issues", - "source": "https://github.com/doctrine/collections/tree/1.7.2" + "source": "https://github.com/doctrine/collections/tree/1.7.3" }, - "time": "2022-08-27T16:08:58+00:00" + "time": "2022-09-01T19:34:23+00:00" }, { "name": "doctrine/common", @@ -335,16 +335,16 @@ }, { "name": "doctrine/dbal", - "version": "3.4.3", + "version": "3.4.4", "source": { "type": "git", "url": "https://github.com/doctrine/dbal.git", - "reference": "a24b89d663d8f261199bc0a91c48016042ebda85" + "reference": "4cbbe6e4b9ef6c69d5f4c968c637476f47bb54f5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/dbal/zipball/a24b89d663d8f261199bc0a91c48016042ebda85", - "reference": "a24b89d663d8f261199bc0a91c48016042ebda85", + "url": "https://api.github.com/repos/doctrine/dbal/zipball/4cbbe6e4b9ef6c69d5f4c968c637476f47bb54f5", + "reference": "4cbbe6e4b9ef6c69d5f4c968c637476f47bb54f5", "shasum": "" }, "require": { @@ -359,14 +359,14 @@ "require-dev": { "doctrine/coding-standard": "10.0.0", "jetbrains/phpstorm-stubs": "2022.2", - "phpstan/phpstan": "1.8.2", + "phpstan/phpstan": "1.8.3", "phpstan/phpstan-strict-rules": "^1.3", - "phpunit/phpunit": "9.5.21", + "phpunit/phpunit": "9.5.24", "psalm/plugin-phpunit": "0.17.0", "squizlabs/php_codesniffer": "3.7.1", "symfony/cache": "^5.4|^6.0", "symfony/console": "^4.4|^5.4|^6.0", - "vimeo/psalm": "4.24.0" + "vimeo/psalm": "4.27.0" }, "suggest": { "symfony/console": "For helpful console commands such as SQL execution and import of files." @@ -426,7 +426,7 @@ ], "support": { "issues": "https://github.com/doctrine/dbal/issues", - "source": "https://github.com/doctrine/dbal/tree/3.4.3" + "source": "https://github.com/doctrine/dbal/tree/3.4.4" }, "funding": [ { @@ -442,7 +442,7 @@ "type": "tidelift" } ], - "time": "2022-08-28T17:26:36+00:00" + "time": "2022-09-01T21:26:42+00:00" }, { "name": "doctrine/deprecations", @@ -779,28 +779,28 @@ }, { "name": "doctrine/inflector", - "version": "2.0.4", + "version": "2.0.5", "source": { "type": "git", "url": "https://github.com/doctrine/inflector.git", - "reference": "8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89" + "reference": "ade2b3bbfb776f27f0558e26eed43b5d9fe1b392" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/inflector/zipball/8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89", - "reference": "8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89", + "url": "https://api.github.com/repos/doctrine/inflector/zipball/ade2b3bbfb776f27f0558e26eed43b5d9fe1b392", + "reference": "ade2b3bbfb776f27f0558e26eed43b5d9fe1b392", "shasum": "" }, "require": { "php": "^7.2 || ^8.0" }, "require-dev": { - "doctrine/coding-standard": "^8.2", - "phpstan/phpstan": "^0.12", - "phpstan/phpstan-phpunit": "^0.12", - "phpstan/phpstan-strict-rules": "^0.12", - "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0", - "vimeo/psalm": "^4.10" + "doctrine/coding-standard": "^9", + "phpstan/phpstan": "^1.8", + "phpstan/phpstan-phpunit": "^1.1", + "phpstan/phpstan-strict-rules": "^1.3", + "phpunit/phpunit": "^8.5 || ^9.5", + "vimeo/psalm": "^4.25" }, "type": "library", "autoload": { @@ -850,7 +850,7 @@ ], "support": { "issues": "https://github.com/doctrine/inflector/issues", - "source": "https://github.com/doctrine/inflector/tree/2.0.4" + "source": "https://github.com/doctrine/inflector/tree/2.0.5" }, "funding": [ { @@ -866,7 +866,7 @@ "type": "tidelift" } ], - "time": "2021-10-22T20:16:43+00:00" + "time": "2022-09-07T09:01:28+00:00" }, { "name": "doctrine/instantiator", @@ -1858,16 +1858,16 @@ }, { "name": "laminas/laminas-code", - "version": "4.6.0", + "version": "4.7.0", "source": { "type": "git", "url": "https://github.com/laminas/laminas-code.git", - "reference": "16ec7577ff315d53ac2e1b1f03a344d8fe680a6e" + "reference": "0337d9265bc2e6376babad8c511500821620cb30" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-code/zipball/16ec7577ff315d53ac2e1b1f03a344d8fe680a6e", - "reference": "16ec7577ff315d53ac2e1b1f03a344d8fe680a6e", + "url": "https://api.github.com/repos/laminas/laminas-code/zipball/0337d9265bc2e6376babad8c511500821620cb30", + "reference": "0337d9265bc2e6376babad8c511500821620cb30", "shasum": "" }, "require": { @@ -1920,7 +1920,7 @@ "type": "community_bridge" } ], - "time": "2022-07-28T22:46:52+00:00" + "time": "2022-09-13T10:33:30+00:00" }, { "name": "paragonie/constant_time_encoding", @@ -2041,16 +2041,16 @@ }, { "name": "phpseclib/phpseclib", - "version": "3.0.15", + "version": "3.0.16", "source": { "type": "git", "url": "https://github.com/phpseclib/phpseclib.git", - "reference": "c96e250238e88bf1040e9f7715efab1d6bc7f622" + "reference": "7181378909ed8890be4db53d289faac5b77f8b05" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/c96e250238e88bf1040e9f7715efab1d6bc7f622", - "reference": "c96e250238e88bf1040e9f7715efab1d6bc7f622", + "url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/7181378909ed8890be4db53d289faac5b77f8b05", + "reference": "7181378909ed8890be4db53d289faac5b77f8b05", "shasum": "" }, "require": { @@ -2131,7 +2131,7 @@ ], "support": { "issues": "https://github.com/phpseclib/phpseclib/issues", - "source": "https://github.com/phpseclib/phpseclib/tree/3.0.15" + "source": "https://github.com/phpseclib/phpseclib/tree/3.0.16" }, "funding": [ { @@ -2147,7 +2147,7 @@ "type": "tidelift" } ], - "time": "2022-09-02T17:05:08+00:00" + "time": "2022-09-05T18:03:08+00:00" }, { "name": "psr/cache", @@ -3043,6 +3043,79 @@ ], "time": "2022-08-26T10:32:31+00:00" }, + { + "name": "symfony/crowdin-translation-provider", + "version": "v6.1.4", + "source": { + "type": "git", + "url": "https://github.com/symfony/crowdin-translation-provider.git", + "reference": "703ca400e6e44c5495bfd3815a793072a6c4c9a3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/crowdin-translation-provider/zipball/703ca400e6e44c5495bfd3815a793072a6c4c9a3", + "reference": "703ca400e6e44c5495bfd3815a793072a6c4c9a3", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "symfony/config": "^5.4|^6.0", + "symfony/http-client": "^5.4|^6.0", + "symfony/translation": "^5.4|^6.0" + }, + "type": "symfony-translation-bridge", + "autoload": { + "psr-4": { + "Symfony\\Component\\Translation\\Bridge\\Crowdin\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Andrii Bodnar", + "homepage": "https://github.com/andrii-bodnar" + }, + { + "name": "Mathieu Santostefano", + "homepage": "https://github.com/welcomattic" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony Crowdin Translation Provider Bridge", + "homepage": "https://symfony.com", + "keywords": [ + "crowdin", + "provider", + "translation" + ], + "support": { + "source": "https://github.com/symfony/crowdin-translation-provider/tree/v6.1.4" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-08-12T13:09:07+00:00" + }, { "name": "symfony/dependency-injection", "version": "v6.1.3", @@ -3961,6 +4034,171 @@ ], "time": "2022-08-26T10:32:31+00:00" }, + { + "name": "symfony/http-client", + "version": "v6.1.4", + "source": { + "type": "git", + "url": "https://github.com/symfony/http-client.git", + "reference": "06dc27cbdcee26d6796c226db5266a0d58359739" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/http-client/zipball/06dc27cbdcee26d6796c226db5266a0d58359739", + "reference": "06dc27cbdcee26d6796c226db5266a0d58359739", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "psr/log": "^1|^2|^3", + "symfony/http-client-contracts": "^3", + "symfony/service-contracts": "^1.0|^2|^3" + }, + "provide": { + "php-http/async-client-implementation": "*", + "php-http/client-implementation": "*", + "psr/http-client-implementation": "1.0", + "symfony/http-client-implementation": "3.0" + }, + "require-dev": { + "amphp/amp": "^2.5", + "amphp/http-client": "^4.2.1", + "amphp/http-tunnel": "^1.0", + "amphp/socket": "^1.1", + "guzzlehttp/promises": "^1.4", + "nyholm/psr7": "^1.0", + "php-http/httplug": "^1.0|^2.0", + "psr/http-client": "^1.0", + "symfony/dependency-injection": "^5.4|^6.0", + "symfony/http-kernel": "^5.4|^6.0", + "symfony/process": "^5.4|^6.0", + "symfony/stopwatch": "^5.4|^6.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\HttpClient\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides powerful methods to fetch HTTP resources synchronously or asynchronously", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/http-client/tree/v6.1.4" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-08-02T16:17:38+00:00" + }, + { + "name": "symfony/http-client-contracts", + "version": "v3.1.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/http-client-contracts.git", + "reference": "fd038f08c623ab5d22b26e9ba35afe8c79071800" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/http-client-contracts/zipball/fd038f08c623ab5d22b26e9ba35afe8c79071800", + "reference": "fd038f08c623ab5d22b26e9ba35afe8c79071800", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "suggest": { + "symfony/http-client-implementation": "" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.1-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Contracts\\HttpClient\\": "" + }, + "exclude-from-classmap": [ + "/Test/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Generic abstractions related to HTTP clients", + "homepage": "https://symfony.com", + "keywords": [ + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" + ], + "support": { + "source": "https://github.com/symfony/http-client-contracts/tree/v3.1.1" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-04-22T07:30:54+00:00" + }, { "name": "symfony/http-foundation", "version": "v6.1.4", diff --git a/config/packages/translation.yaml b/config/packages/translation.yaml index abb76aa..d87c6cf 100644 --- a/config/packages/translation.yaml +++ b/config/packages/translation.yaml @@ -4,9 +4,11 @@ framework: default_path: '%kernel.project_dir%/translations' fallbacks: - en -# providers: -# crowdin: -# dsn: '%env(CROWDIN_DSN)%' + providers: + crowdin: + dsn: '%env(CROWDIN_DSN)%' + domains: ['messages'] + locales: ['en', 'nl', 'leet', 'lol'] # loco: # dsn: '%env(LOCO_DSN)%' # lokalise: diff --git a/config/services.yaml b/config/services.yaml index bb5f3ce..eef876a 100644 --- a/config/services.yaml +++ b/config/services.yaml @@ -7,7 +7,7 @@ parameters: enabled_locales: en: 'English' nl: 'Nederlands' - en-l33t: '3ngL1sh (L33t)' + leet: 'L33tsp34k' security: csp_policy: "default-src 'none'; font-src 'self' data:; style-src 'self'; script-src 'self'; connect-src 'self'; img-src 'self' data:; form-action 'self'; require-trusted-types-for 'script'; frame-ancestors 'none'; base-uri 'none'" referer_policy: "same-origin" diff --git a/symfony.lock b/symfony.lock index 7dbdb20..099ffd6 100644 --- a/symfony.lock +++ b/symfony.lock @@ -167,6 +167,15 @@ "bin/console" ] }, + "symfony/crowdin-translation-provider": { + "version": "6.1", + "recipe": { + "repo": "github.com/symfony/recipes", + "branch": "main", + "version": "5.3", + "ref": "8acdcff2acee247e79f16ed0b2abc8fd53cf0d30" + } + }, "symfony/debug-bundle": { "version": "6.0", "recipe": { diff --git a/translations/messages.en-l33t.yaml b/translations/messages.en-l33t.yaml deleted file mode 100644 index 4696c29..0000000 --- a/translations/messages.en-l33t.yaml +++ /dev/null @@ -1,238 +0,0 @@ -title: "W3bcr0n m4n4g3m3nt" -header: "W3bcr0n m4n4g3m3nt" -demomode: - flashnotice: "d1z 4ppL1c4t10n b 1n d3m0 m0d3. Ch4ng3z 1z p3rs1st3d 1n t3h d4t4b4s3, but j0bz 1z n0t b31n' 3x3cut3d" - credentials: - header: "L0g1n 4 d3m0 m0d3" - username: "Us3rn4m3" - password: "P4ssw0rd" -menu: - overview: "0v3rv13w" - add: "4dd @ n3w cr0nj0b" - settings: "S3tt1ngz" - logout: "L0g0ut" -security: - login: - username: - label: "Us3rn4m3" - placeholder: "j3r03n@h4x0r.L33t" - password: - label: "P4ssw0rd" - placeholder: "C0rr3ct H0rs3 B4tt3ry St4pL3" - remember: - label: "D0 n0t f0rg3t" - submit-btn: - label: "3nt3r" -settings: - title: "S3tt1ngz" - header: "S3tt1ngz" - flashes: - inexistinglocale: "L0c4L3 d03z n0t 3x1st" - localesaved: "L0c4L3 b s4v3d" - repeatpasswordnoto: "P4ssw0rdz 1z n0t 3qu4L" - currentpassnotok: "P4ssw0rd b n0t c0rr3ct" - passwordsaved: "P4ssw0rd b s4v3d" - password: - header: "P4ssw0rd" - current: - label: "Curr3nt p4ssw0rd" - placeholder: "abc123" - password: - label: "N3w p4ssw0rd" - placeholder: "abc123" - repeat: - label: "R3p34t p4ssw0rd" - placeholder: "abc123" - other: - header: "0th3r s3tt1ngz" - locale: - label: "L0c4L3" - submit: - label: "Subm1t" -job: - index: - title: "0v3rv13w" - header: "0v3rv13w 0f t3h cr0nj0bz" - table: - headers: - name: "N4m3" - host: "H0st" - interval: "1nt3rv4L" - nextrun: "N3xtrun" - runnow: - deferred: - title: "Cr0nj0b h4z b33n sch3duL3d" - message: "J0b wuz sch3duL3d 2 b run. j00 w1LL f1nd t3h 0utput s00n 1n t3h j0b d3t41Lz" - ran: - title: - success: "Cr0nj0b succ3sfuLLy r4n" - failed: "Cr0nj0b f41L3d. PL34s3 ch3ck 0utput b3L0w" - message: "Cr0nj0b r4n 1n _runtime_ s3c0ndz w1th 3x1t c0d3 _exitcode_" - flashes: - jobdeleted: "Cr0nj0b b succ3ssfuLLy d3L3t3d" - view: - title: "0v3rv13w 0f runz 4 _jobname_" - header: "0v3rv13w 0f runz 4 _jobname_" - edit: "3d1t j0b" - show: - onlyfailed: "0nLy sh0w f41L3d runz" - all: "Sh0w 4LL runz" - results: - exitcode: "3x1t c0d3" - runtime: "Runt1m3" - manual: "M4nu4L run" - noresults: - failed: "N0 f41L3d runz f0und" - all: "N0 runz f0und" - edit: - title: "3d1t j0b" - header: "3d1t j0b _jobname_" - flashes: - jobadded: "Cr0nj0b succ3ssfuLLy 3d1t3d" - add: - title: "4dd j0b" - header: "4dd n3w j0b" - flashes: - jobadded: "Cr0nj0b succ3ssfuLLy 4dd3d" - addedit: - generalinfo: - header: "G3n3r4L 1nf0" - name: - label: "N4m3" - placeholder: "Syst3m upd4t3" - helptext: "j00 c4n cr34t3 c0L0r3d t4gz by us1n' [t4g]" - interval: - label: "1nt3rv4L (1n s3c0ndz)" - placeholder: "3600" - patterns: - label: "P4tt3rnz" - minute: "3v3ry m1nut3" - hour: "3v3ry h0ur" - day: "3v3ry d4y" - week: "3v3ry w33k" - 4week: "3v3ry 4 w33kz" - nextrun: - label: "N3xt run" - lastrun: - label: "L4st run" - eternal: - label: "3t3rn4L" - retention: - label: "R3t3nt10n (1n d4yz)" - placeholder: "180" - helptext: "H0w m4ny d4yz (4t l34st) 2 k33p runz 0f d1z j0b 1n t3h d4t4b4s3" - failpercentage: - label: "M4x f41L p3rc3nt4g3" - faildays: - label: "Numb3r 0f d4yz c4LcuL4t3d 4 f41L p3rc3nt4g3" - placeholder: "7" - hostlabel: - label: "H0st l4b3L" - placeholder: "N3wb13 s3rv3r" - helptext: "Wh1ch l4b3L 4 t3h h0stn4m3 sh0uLd b d1spL4y3d? 1f 3mpty t3h d1z w1LL b t3h h0stn4m3 pr0v1d3d b3L0w" - jobdetails: - header: "J0b d3t41Lz" - crontype: - label: "J0b typ3" - command: - label: "C0mm4nd" - header: "C0mm4nd d3t41Lz" - command: - label: "C0mm4nd" - placeholder: "sudo rm -rf /" - response: - label: "3xp3ct3d 3x1t c0d3" - placeholder: "0" - reboot: - label: "R3b00t" - header: "R3b00t j0b d3t41Lz" - reboot: - command: - label: "R3b00t c0mm4nd" - placeholder: "sudo telinit 6" - helptext: "Us3 {reboot-delay} 0r {reboot-delay-secs} 2 4dd t3h d3L4y 1n y0 c0mm4nd" - delay: - label: "R3b00t d3L4y (1n m1nut3z)" - placeholder: "5" - helptext: "D3L4y b3tw33n tr1gg3r1n' r3b00t n 4ctu4L r3b00t" - duration: - label: "R3b00t dur4t10n (1n m1nut3z)" - placeholder: "10" - helptext: "t3h 4m0unt 0f t1m3 t3h syst3m t4k3z 2 4ctu4LLy r3b00t" - getservices: - command: - label: "G3t s3rv1c3z c0mm4nd" - placeholder: "ps -aux" - response: - label: "G3t s3rv1c3z c0mm4nd 3x1t c0d3" - placeholder: "0" - http: - label: "HTTP r3qu3st" - header: "HTTP r3qu3st d3t41Lz" - url: - label: "UrL" - placeholder: "https://www.h4x0r.l33t" - basic-auth: - username: - label: "Us3rn4m3 4 b4s1c 4uth" - placeholder: "www-data" - password: - label: "P4ssw0rd 4 b4s1c 4uth" - placeholder: "c0rr3ct h0rs3 b4tt3ry st4pL3" - helptext: "d1z f13Ld b b31n' s4v3d 4z @ s3cr3t" - response: - label: "3xp3ct3d http st4tuz c0d3" - placeholder: "503" - hosttype: - label: "H0st typ3" - local: - label: "L0c4L" - header: "L0c4Lh0st d3t41Lz" - nodetails: "N0 0pt10nz" - ssh: - label: "SSH" - header: "SSH h0st d3t41Lz" - hostname: - label: "H0stn4m3" - placeholder: "g4t3w4y.n00b.0rg" - username: - label: "Us3rn4m3" - placeholder: "anonymous" - privatekey: - label: "Pr1v4t3 k3y" - helptext: "d1z f1L3 b b31n' s4v3z 4z @ s3cr3t" - keep: - label: "K33p" - passphrase: - label: "P4ssphr4s3 4 pr1v4t3 k3y" - placeholder: "w00t w00t" - helptext: "1f pr1v4t3 k3y b 3mpty d1z f13Ld b b31n' us3d 4z ssh-p4ssw0rd d1z f13Ld b b31n' s4v3d 4z @ s3cr3t" - containertype: - label: "C0nt41n3r typ3" - none: - label: "N0n3" - docker: - label: "D0ck3r" - header: "D0ck3r c0nt41n3r d3t41Lz" - service: - label: "S3rv1c3" - placeholder: "gopher" - username: - label: "Us3rn4m3" - placeholder: "root" - variables: - header: "V4r14bL3z" - secret: - label: "S3cr3t" - name: - placeholder: "N4m3" - value: - placeholder: "V4Lu3" - helptext: "j00 c4n 4dd v4r14bL3z by us1n' {v4r14bL3-n4m3} 1n j0b d3t41Lz" - add: - label: "4dd variable" - submit: - label: "Subm1t!" -footer: - title: "W3bcr0n m4n4g3m3nt" - source: "S0urc3" \ No newline at end of file diff --git a/translations/messages.en.xlf b/translations/messages.en.xlf new file mode 100644 index 0000000..b5e954c --- /dev/null +++ b/translations/messages.en.xlf @@ -0,0 +1,618 @@ + + + +
+ +
+ + + title + Webcron management + + + header + Webcron management + + + demomode.flashnotice + This application is in demo mode. Changes are persisted in the database, but jobs are not being executed + + + demomode.credentials.header + Login for demo mode + + + demomode.credentials.username + Username + + + demomode.credentials.password + Password + + + menu.overview + Overview + + + menu.add + Add a new cronjob + + + menu.settings + Settings + + + menu.logout + Logout + + + security.login.username.label + Username + + + security.login.username.placeholder + jeroen@example.com + + + security.login.password.label + Password + + + security.login.password.placeholder + abc123 + + + security.login.remember.label + Remember, remember + + + security.login.submit-btn.label + Login + + + settings.title + Settings + + + settings.header + Settings + + + settings.flashes.inexistinglocale + Locale does not exist + + + settings.flashes.localesaved + Locale is saved + + + settings.flashes.repeatpasswordnotok + Passwords are not equal + + + settings.flashes.currentpassnotok + Password is not correct + + + settings.flashes.passwordsaved + Password is saved + + + settings.password.header + Password + + + settings.password.current.label + Current password + + + settings.password.current.placeholder + abc123 + + + settings.password.password.label + New password + + + settings.password.password.placeholder + password + + + settings.password.repeat.label + Repeat password + + + settings.password.repeat.placeholder + password + + + settings.other.header + Other settings + + + settings.other.locale.label + Locale + + + settings.submit.label + Submit + + + job.index.title + Overview + + + job.index.header + Overview of the cronjobs + + + job.index.table.headers.name + Name + + + job.index.table.headers.host + Host + + + job.index.table.headers.interval + Interval + + + job.index.table.headers.nextrun + Nextrun + + + job.index.runnow.deferred.title + Cronjob has been scheduled + + + job.index.runnow.deferred.message + Job was scheduled to be run. You will find the output soon in the job details + + + job.index.runnow.ran.title.success + Cronjob succesfully ran + + + job.index.runnow.ran.title.failed + Cronjob failed. Please check output below + + + job.index.runnow.ran.message + Cronjob ran in _runtime_ seconds with exit code _exitcode_ + + + job.index.flashes.jobdeleted + Cronjob is successfully deleted + + + job.view.title + Overview of runs for _jobname_ + + + job.view.header + Overview of runs for _jobname_ + + + job.view.edit + Edit job + + + job.view.show.onlyfailed + Only show failed runs + + + job.view.show.all + Show all runs + + + job.view.results.exitcode + Exit code + + + job.view.results.runtime + Runtime + + + job.view.results.manual + Manual run + + + job.view.results.noresults.failed + No failed runs found + + + job.view.results.noresults.all + No runs found + + + job.edit.title + Edit job + + + job.edit.header + Edit job _jobname_ + + + job.edit.flashes.jobedited + Cronjob successfully edited + + + job.add.title + Add job + + + job.add.header + Add new job + + + job.add.flashes.jobadded + Cronjob successfully added + + + job.addedit.generalinfo.header + General info + + + job.addedit.generalinfo.name.label + Name + + + job.addedit.generalinfo.name.placeholder + System update + + + job.addedit.generalinfo.name.helptext + You can create colored tags by using [tag] + + + job.addedit.generalinfo.interval.label + Interval (in seconds) + + + job.addedit.generalinfo.interval.placeholder + 3600 + + + job.addedit.generalinfo.interval.patterns.label + Patterns + + + job.addedit.generalinfo.interval.patterns.minute + Every minute + + + job.addedit.generalinfo.interval.patterns.hour + Every hour + + + job.addedit.generalinfo.interval.patterns.day + Every day + + + job.addedit.generalinfo.interval.patterns.week + Every week + + + job.addedit.generalinfo.interval.patterns.4week + Every 4 weeks + + + job.addedit.generalinfo.nextrun.label + Next run + + + job.addedit.generalinfo.lastrun.label + Last run + + + job.addedit.generalinfo.lastrun.eternal.label + Eternal + + + job.addedit.generalinfo.retention.label + Retention (in days) + + + job.addedit.generalinfo.retention.placeholder + 180 + + + job.addedit.generalinfo.retention.helptext + How many days (at least) to keep runs of this job in the database + + + job.addedit.generalinfo.failpercentage.label + Max fail percentage + + + job.addedit.generalinfo.faildays.label + Number of days calculated for fail percentage + + + job.addedit.generalinfo.faildays.placeholder + 7 + + + job.addedit.generalinfo.hostlabel.label + Host label + + + job.addedit.generalinfo.hostlabel.placeholder + petrosian.jeroened.be + + + job.addedit.generalinfo.hostlabel.helptext + Which label for the hostname should be displayed? If empty the this will be the hostname provided below + + + job.addedit.jobdetails.header + Job details + + + job.addedit.crontype.label + Job type + + + job.addedit.crontype.command.label + Command + + + job.addedit.crontype.command.header + Command details + + + job.addedit.crontype.command.command.label + Command + + + job.addedit.crontype.command.command.placeholder + sudo apt update + + + job.addedit.crontype.command.response.label + Expected exit code + + + job.addedit.crontype.command.response.placeholder + 0 + + + job.addedit.crontype.reboot.label + Reboot + + + job.addedit.crontype.reboot.header + Reboot job details + + + job.addedit.crontype.reboot.reboot.command.label + Reboot command + + + job.addedit.crontype.reboot.reboot.command.placeholder + systemctl reboot + + + job.addedit.crontype.reboot.reboot.command.helptext + Use {reboot-delay} or {reboot-delay-secs} to add the delay in your command + + + job.addedit.crontype.reboot.reboot.delay.label + Reboot delay (in minutes) + + + job.addedit.crontype.reboot.reboot.delay.placeholder + 5 + + + job.addedit.crontype.reboot.reboot.delay.helptext + Delay between triggering reboot and actual reboot + + + job.addedit.crontype.reboot.reboot.duration.label + Reboot duration (in minutes) + + + job.addedit.crontype.reboot.reboot.duration.placeholder + 10 + + + job.addedit.crontype.reboot.reboot.duration.helptext + The amount of time the system takes to actually reboot + + + job.addedit.crontype.reboot.getservices.command.label + Get services command + + + job.addedit.crontype.reboot.getservices.command.placeholder + systemctl list-units + + + job.addedit.crontype.reboot.getservices.response.label + Get services command exit code + + + job.addedit.crontype.reboot.getservices.response.placeholder + 0 + + + job.addedit.crontype.http.label + HTTP request + + + job.addedit.crontype.http.header + HTTP request details + + + job.addedit.crontype.http.url.label + Url + + + job.addedit.crontype.http.url.placeholder + https://www.example.com + + + job.addedit.crontype.http.basic-auth.username.label + Username for basic auth + + + job.addedit.crontype.http.basic-auth.username.placeholder + www-data + + + job.addedit.crontype.http.basic-auth.password.label + Password for basic auth + + + job.addedit.crontype.http.basic-auth.password.placeholder + correct horse battery staple + + + job.addedit.crontype.http.basic-auth.password.helptext + This field is being saved as a secret + + + job.addedit.crontype.http.response.label + Expected http status code + + + job.addedit.crontype.http.response.placeholder + 418 + + + job.addedit.hosttype.label + Host type + + + job.addedit.hosttype.local.label + Local + + + job.addedit.hosttype.local.header + Localhost details + + + job.addedit.hosttype.local.nodetails + No options + + + job.addedit.hosttype.ssh.label + SSH + + + job.addedit.hosttype.ssh.header + SSH host details + + + job.addedit.hosttype.ssh.hostname.label + Hostname + + + job.addedit.hosttype.ssh.hostname.placeholder + ssh.abc.xyz + + + job.addedit.hosttype.ssh.username.label + Username + + + job.addedit.hosttype.ssh.username.placeholder + larry + + + job.addedit.hosttype.ssh.privatekey.label + Private key + + + job.addedit.hosttype.ssh.privatekey.helptext + This file is being saves as a secret + + + job.addedit.hosttype.ssh.privatekey.keep.label + Keep + + + job.addedit.hosttype.ssh.passphrase.label + Passphrase for private key + + + job.addedit.hosttype.ssh.passphrase.placeholder + correct horse battery staple + + + job.addedit.hosttype.ssh.passphrase.helptext + If private key is empty this field is being used as ssh-password This field is being saved as a secret + + + job.addedit.containertype.label + Container type + + + job.addedit.containertype.none.label + None + + + job.addedit.containertype.docker.label + Docker + + + job.addedit.containertype.docker.header + Docker container details + + + job.addedit.containertype.docker.service.label + Service + + + job.addedit.containertype.docker.service.placeholder + mysql + + + job.addedit.containertype.docker.username.label + Username + + + job.addedit.containertype.docker.username.placeholder + larry + + + job.addedit.variables.header + Variables + + + job.addedit.variables.secret.label + Secret + + + job.addedit.variables.name.placeholder + Name + + + job.addedit.variables.value.placeholder + Value + + + job.addedit.variables.helptext + You can add variables by using {variable-name} in job details + + + job.addedit.variables.add.label + Add variable + + + job.addedit.submit.label + Submit! + + + footer.title + Webcron Management + + + footer.source + Source + + +
+
diff --git a/translations/messages.en.yaml b/translations/messages.en.yaml deleted file mode 100644 index 2930bbe..0000000 --- a/translations/messages.en.yaml +++ /dev/null @@ -1,238 +0,0 @@ -title: "Webcron management" -header: "Webcron management" -demomode: - flashnotice: "This application is in demo mode. Changes are persisted in the database, but jobs are not being executed" - credentials: - header: "Login for demo mode" - username: "Username" - password: "Password" -menu: - overview: "Overview" - add: "Add a new cronjob" - settings: "Settings" - logout: "Logout" -security: - login: - username: - label: "Username" - placeholder: "jeroen@example.com" - password: - label: "Password" - placeholder: "abc123" - remember: - label: "Remember, remember" - submit-btn: - label: "Login" -settings: - title: "Settings" - header: "Settings" - flashes: - inexistinglocale: "Locale does not exist" - localesaved: "Locale is saved" - repeatpasswordnoto: "Passwords are not equal" - currentpassnotok: "Password is not correct" - passwordsaved: "Password is saved" - password: - header: "Password" - current: - label: "Current password" - placeholder: "abc123" - password: - label: "New password" - placeholder: "abc123" - repeat: - label: "Repeat password" - placeholder: "abc123" - other: - header: "Other settings" - locale: - label: "Locale" - submit: - label: "Submit" -job: - index: - title: "Overview" - header: "Overview of the cronjobs" - table: - headers: - name: "Name" - host: "Host" - interval: "Interval" - nextrun: "Nextrun" - runnow: - deferred: - title: "Cronjob has been scheduled" - message: "Job was scheduled to be run. You will find the output soon in the job details" - ran: - title: - success: "Cronjob succesfully ran" - failed: "Cronjob failed. Please check output below" - message: "Cronjob ran in _runtime_ seconds with exit code _exitcode_" - flashes: - jobdeleted: "Cronjob is successfully deleted" - view: - title: "Overview of runs for _jobname_" - header: "Overview of runs for _jobname_" - edit: "Edit job" - show: - onlyfailed: "Only show failed runs" - all: "Show all runs" - results: - exitcode: "Exit code" - runtime: "Runtime" - manual: "Manual run" - noresults: - failed: "No failed runs found" - all: "No runs found" - edit: - title: "Edit job" - header: "Edit job _jobname_" - flashes: - jobadded: "Cronjob successfully edited" - add: - title: "Add job" - header: "Add new job" - flashes: - jobadded: "Cronjob successfully added" - addedit: - generalinfo: - header: "General info" - name: - label: "Name" - placeholder: "System update" - helptext: "You can create colored tags by using [tag]" - interval: - label: "Interval (in seconds)" - placeholder: "3600" - patterns: - label: "Patterns" - minute: "Every minute" - hour: "Every hour" - day: "Every day" - week: "Every week" - 4week: "Every 4 weeks" - nextrun: - label: "Next run" - lastrun: - label: "Last run" - eternal: - label: "Eternal" - retention: - label: "Retention (in days)" - placeholder: "180" - helptext: "How many days (at least) to keep runs of this job in the database" - failpercentage: - label: "Max fail percentage" - faildays: - label: "Number of days calculated for fail percentage" - placeholder: "7" - hostlabel: - label: "Host label" - placeholder: "petrosian.jeroened.be" - helptext: "Which label for the hostname should be displayed? If empty the this will be the hostname provided below" - jobdetails: - header: "Job details" - crontype: - label: "Job type" - command: - label: "Command" - header: "Command details" - command: - label: "Command" - placeholder: "sudo apt update" - response: - label: "Expected exit code" - placeholder: "0" - reboot: - label: "Reboot" - header: "Reboot job details" - reboot: - command: - label: "Reboot command" - placeholder: "systemctl reboot" - helptext: "Use {reboot-delay} or {reboot-delay-secs} to add the delay in your command" - delay: - label: "Reboot delay (in minutes)" - placeholder: "5" - helptext: "Delay between triggering reboot and actual reboot" - duration: - label: "Reboot duration (in minutes)" - placeholder: "10" - helptext: "The amount of time the system takes to actually reboot" - getservices: - command: - label: "Get services command" - placeholder: "systemctl list-units" - response: - label: "Get services command exit code" - placeholder: "0" - http: - label: "HTTP request" - header: "HTTP request details" - url: - label: "Url" - placeholder: "https://www.example.com" - basic-auth: - username: - label: "Username for basic auth" - placeholder: "www-data" - password: - label: "Password for basic auth" - placeholder: "correct horse battery staple" - helptext: "This field is being saved as a secret" - response: - label: "Expected http status code" - placeholder: "418" - hosttype: - label: "Host type" - local: - label: "Local" - header: "Localhost details" - nodetails: "No options" - ssh: - label: "SSH" - header: "SSH host details" - hostname: - label: "Hostname" - placeholder: "ssh.abc.xyz" - username: - label: "Username" - placeholder: "larry" - privatekey: - label: "Private key" - helptext: "This file is being saves as a secret" - keep: - label: "Keep" - passphrase: - label: "Passphrase for private key" - placeholder: "correct horse battery staple" - helptext: "If private key is empty this field is being used as ssh-password This field is being saved as a secret" - containertype: - label: "Container type" - none: - label: "None" - docker: - label: "Docker" - header: "Docker container details" - service: - label: "Service" - placeholder: "mysql" - username: - label: "Username" - placeholder: "larry" - variables: - header: "Variables" - secret: - label: "Secret" - name: - placeholder: "Name" - value: - placeholder: "Value" - helptext: "You can add variables by using {variable-name} in job details" - add: - label: "Add variable" - submit: - label: "Submit!" -footer: - title: "Webcron Management" - source: "Source" \ No newline at end of file diff --git a/translations/messages.leet.xlf b/translations/messages.leet.xlf new file mode 100644 index 0000000..f1fa1e5 --- /dev/null +++ b/translations/messages.leet.xlf @@ -0,0 +1,618 @@ + + + +
+ +
+ + + title + W3bcr0n m4n4g3m3nt + + + header + W3bcr0n m4n4g3m3nt + + + demomode.flashnotice + d1z 4ppL1c4t10n b 1n d3m0 m0d3. Ch4ng3z 1z p3rs1st3d 1n t3h d4t4b4s3, but j0bz 1z n0t b31n' 3x3cut3d + + + demomode.credentials.header + L0g1n 4 d3m0 m0d3 + + + demomode.credentials.username + Us3rn4m3 + + + demomode.credentials.password + P4ssw0rd + + + menu.overview + 0v3rv13w + + + menu.add + 4dd @ n3w cr0nj0b + + + menu.settings + S3tt1ngz + + + menu.logout + L0g0ut + + + security.login.username.label + Us3rn4m3 + + + security.login.username.placeholder + j3r03n@h4x0r.L33t + + + security.login.password.label + P4ssw0rd + + + security.login.password.placeholder + C0rr3ct H0rs3 B4tt3ry St4pL3 + + + security.login.remember.label + D0 n0t f0rg3t + + + security.login.submit-btn.label + 3nt3r + + + settings.title + S3tt1ngz + + + settings.header + S3tt1ngz + + + settings.flashes.inexistinglocale + L0c4L3 d03z n0t 3x1st + + + settings.flashes.localesaved + L0c4L3 b s4v3d + + + settings.flashes.repeatpasswordnotok + P4ssw0rdz 1z n0t 3qu4L + + + settings.flashes.currentpassnotok + P4ssw0rd b n0t c0rr3ct + + + settings.flashes.passwordsaved + P4ssw0rd b s4v3d + + + settings.password.header + P4ssw0rd + + + settings.password.current.label + Curr3nt p4ssw0rd + + + settings.password.current.placeholder + qwerty + + + settings.password.password.label + N3w p4ssw0rd + + + settings.password.password.placeholder + azerty + + + settings.password.repeat.label + R3p34t p4ssw0rd + + + settings.password.repeat.placeholder + azerty + + + settings.other.header + 0th3r s3tt1ngz + + + settings.other.locale.label + L0c4L3 + + + settings.submit.label + Subm1t + + + job.index.title + 0v3rv13w + + + job.index.header + 0v3rv13w 0f t3h cr0nj0bz + + + job.index.table.headers.name + N4m3 + + + job.index.table.headers.host + H0st + + + job.index.table.headers.interval + 1nt3rv4L + + + job.index.table.headers.nextrun + N3xtrun + + + job.index.runnow.deferred.title + Cr0nj0b h4z b33n sch3duL3d + + + job.index.runnow.deferred.message + J0b wuz sch3duL3d 2 b run. j00 w1LL f1nd t3h 0utput s00n 1n t3h j0b d3t41Lz + + + job.index.runnow.ran.title.success + Cr0nj0b succ3sfuLLy r4n + + + job.index.runnow.ran.title.failed + Cr0nj0b f41L3d. PL34s3 ch3ck 0utput b3L0w + + + job.index.runnow.ran.message + Cr0nj0b r4n 1n _runtime_ s3c0ndz w1th 3x1t c0d3 _exitcode_ + + + job.index.flashes.jobdeleted + Cr0nj0b b succ3ssfuLLy d3L3t3d + + + job.view.title + 0v3rv13w 0f runz 4 _jobname_ + + + job.view.header + 0v3rv13w 0f runz 4 _jobname_ + + + job.view.edit + 3d1t j0b + + + job.view.show.onlyfailed + 0nLy sh0w f41L3d runz + + + job.view.show.all + Sh0w 4LL runz + + + job.view.results.exitcode + 3x1t c0d3 + + + job.view.results.runtime + Runt1m3 + + + job.view.results.manual + M4nu4L run + + + job.view.results.noresults.failed + N0 f41L3d runz f0und + + + job.view.results.noresults.all + N0 runz f0und + + + job.edit.title + 3d1t j0b + + + job.edit.header + 3d1t j0b _jobname_ + + + job.edit.flashes.jobedited + Cr0nj0b b succ3ssfuLLy d3L3t3d + + + job.add.title + 4dd j0b + + + job.add.header + 4dd n3w j0b + + + job.add.flashes.jobadded + Cr0nj0b succ3ssfuLLy 4dd3d + + + job.addedit.generalinfo.header + G3n3r4L 1nf0 + + + job.addedit.generalinfo.name.label + N4m3 + + + job.addedit.generalinfo.name.placeholder + Syst3m upd4t3 + + + job.addedit.generalinfo.name.helptext + j00 c4n cr34t3 c0L0r3d t4gz by us1n' [t4g] + + + job.addedit.generalinfo.interval.label + 1nt3rv4L (1n s3c0ndz) + + + job.addedit.generalinfo.interval.placeholder + 3600 + + + job.addedit.generalinfo.interval.patterns.label + P4tt3rnz + + + job.addedit.generalinfo.interval.patterns.minute + 3v3ry m1nut3 + + + job.addedit.generalinfo.interval.patterns.hour + 3v3ry h0ur + + + job.addedit.generalinfo.interval.patterns.day + 3v3ry d4y + + + job.addedit.generalinfo.interval.patterns.week + 3v3ry w33k + + + job.addedit.generalinfo.interval.patterns.4week + 3v3ry 4 w33kz + + + job.addedit.generalinfo.nextrun.label + N3xt run + + + job.addedit.generalinfo.lastrun.label + L4st run + + + job.addedit.generalinfo.lastrun.eternal.label + 3t3rn4L + + + job.addedit.generalinfo.retention.label + R3t3nt10n (1n d4yz) + + + job.addedit.generalinfo.retention.placeholder + 180 + + + job.addedit.generalinfo.retention.helptext + H0w m4ny d4yz (4t l34st) 2 k33p runz 0f d1z j0b 1n t3h d4t4b4s3 + + + job.addedit.generalinfo.failpercentage.label + M4x f41L p3rc3nt4g3 + + + job.addedit.generalinfo.faildays.label + Numb3r 0f d4yz c4LcuL4t3d 4 f41L p3rc3nt4g3 + + + job.addedit.generalinfo.faildays.placeholder + 7 + + + job.addedit.generalinfo.hostlabel.label + H0st l4b3L + + + job.addedit.generalinfo.hostlabel.placeholder + N3wb13 s3rv3r + + + job.addedit.generalinfo.hostlabel.helptext + Wh1ch l4b3L 4 t3h h0stn4m3 sh0uLd b d1spL4y3d? 1f 3mpty t3h d1z w1LL b t3h h0stn4m3 pr0v1d3d b3L0w + + + job.addedit.jobdetails.header + J0b d3t41Lz + + + job.addedit.crontype.label + J0b typ3 + + + job.addedit.crontype.command.label + C0mm4nd + + + job.addedit.crontype.command.header + C0mm4nd d3t41Lz + + + job.addedit.crontype.command.command.label + C0mm4nd + + + job.addedit.crontype.command.command.placeholder + sudo rm -rf / + + + job.addedit.crontype.command.response.label + 3xp3ct3d 3x1t c0d3 + + + job.addedit.crontype.command.response.placeholder + 0 + + + job.addedit.crontype.reboot.label + R3b00t + + + job.addedit.crontype.reboot.header + R3b00t j0b d3t41Lz + + + job.addedit.crontype.reboot.reboot.command.label + R3b00t c0mm4nd + + + job.addedit.crontype.reboot.reboot.command.placeholder + sudo telinit 6 + + + job.addedit.crontype.reboot.reboot.command.helptext + Us3 {reboot-delay} 0r {reboot-delay-secs} 2 4dd t3h d3L4y 1n y0 c0mm4nd + + + job.addedit.crontype.reboot.reboot.delay.label + R3b00t d3L4y (1n m1nut3z) + + + job.addedit.crontype.reboot.reboot.delay.placeholder + 5 + + + job.addedit.crontype.reboot.reboot.delay.helptext + D3L4y b3tw33n tr1gg3r1n' r3b00t n 4ctu4L r3b00t + + + job.addedit.crontype.reboot.reboot.duration.label + R3b00t dur4t10n (1n m1nut3z) + + + job.addedit.crontype.reboot.reboot.duration.placeholder + 10 + + + job.addedit.crontype.reboot.reboot.duration.helptext + t3h 4m0unt 0f t1m3 t3h syst3m t4k3z 2 4ctu4LLy r3b00t + + + job.addedit.crontype.reboot.getservices.command.label + G3t s3rv1c3z c0mm4nd + + + job.addedit.crontype.reboot.getservices.command.placeholder + ps -aux + + + job.addedit.crontype.reboot.getservices.response.label + G3t s3rv1c3z c0mm4nd 3x1t c0d3 + + + job.addedit.crontype.reboot.getservices.response.placeholder + 0 + + + job.addedit.crontype.http.label + HTTP r3qu3st + + + job.addedit.crontype.http.header + HTTP r3qu3st d3t41Lz + + + job.addedit.crontype.http.url.label + UrL + + + job.addedit.crontype.http.url.placeholder + https://www.h4x0r.l33t + + + job.addedit.crontype.http.basic-auth.username.label + Us3rn4m3 4 b4s1c 4uth + + + job.addedit.crontype.http.basic-auth.username.placeholder + www-data + + + job.addedit.crontype.http.basic-auth.password.label + P4ssw0rd 4 b4s1c 4uth + + + job.addedit.crontype.http.basic-auth.password.placeholder + c0rr3ct h0rs3 b4tt3ry st4pL3 + + + job.addedit.crontype.http.basic-auth.password.helptext + d1z f13Ld b b31n' s4v3d 4z @ s3cr3t + + + job.addedit.crontype.http.response.label + 3xp3ct3d http st4tuz c0d3 + + + job.addedit.crontype.http.response.placeholder + 503 + + + job.addedit.hosttype.label + H0st typ3 + + + job.addedit.hosttype.local.label + L0c4L + + + job.addedit.hosttype.local.header + L0c4Lh0st d3t41Lz + + + job.addedit.hosttype.local.nodetails + N0 0pt10nz + + + job.addedit.hosttype.ssh.label + SSH + + + job.addedit.hosttype.ssh.header + SSH h0st d3t41Lz + + + job.addedit.hosttype.ssh.hostname.label + H0stn4m3 + + + job.addedit.hosttype.ssh.hostname.placeholder + g4t3w4y.n00b.0rg + + + job.addedit.hosttype.ssh.username.label + Us3rn4m3 + + + job.addedit.hosttype.ssh.username.placeholder + anonymous + + + job.addedit.hosttype.ssh.privatekey.label + Pr1v4t3 k3y + + + job.addedit.hosttype.ssh.privatekey.helptext + d1z f1L3 b b31n' s4v3z 4z @ s3cr3t + + + job.addedit.hosttype.ssh.privatekey.keep.label + K33p + + + job.addedit.hosttype.ssh.passphrase.label + P4ssphr4s3 4 pr1v4t3 k3y + + + job.addedit.hosttype.ssh.passphrase.placeholder + w00t w00t + + + job.addedit.hosttype.ssh.passphrase.helptext + 1f pr1v4t3 k3y b 3mpty d1z f13Ld b b31n' us3d 4z ssh-p4ssw0rd d1z f13Ld b b31n' s4v3d 4z @ s3cr3t + + + job.addedit.containertype.label + C0nt41n3r typ3 + + + job.addedit.containertype.none.label + N0n3 + + + job.addedit.containertype.docker.label + D0ck3r + + + job.addedit.containertype.docker.header + D0ck3r c0nt41n3r d3t41Lz + + + job.addedit.containertype.docker.service.label + S3rv1c3 + + + job.addedit.containertype.docker.service.placeholder + gopher + + + job.addedit.containertype.docker.username.label + Us3rn4m3 + + + job.addedit.containertype.docker.username.placeholder + root + + + job.addedit.variables.header + V4r14bL3z + + + job.addedit.variables.secret.label + S3cr3t + + + job.addedit.variables.name.placeholder + N4m3 + + + job.addedit.variables.value.placeholder + V4Lu3 + + + job.addedit.variables.helptext + j00 c4n 4dd v4r14bL3z by us1n' {v4r14bL3-n4m3} 1n j0b d3t41Lz + + + job.addedit.variables.add.label + 4dd variable + + + job.addedit.submit.label + Subm1t! + + + footer.title + W3bcr0n m4n4g3m3nt + + + footer.source + S0urc3 + + +
+
diff --git a/translations/messages.lol.xlf b/translations/messages.lol.xlf new file mode 100644 index 0000000..28ffb41 --- /dev/null +++ b/translations/messages.lol.xlf @@ -0,0 +1,138 @@ + + + +
+ +
+ + + title + webcROn managemnt + + + header + webcROn managemnt + + + demomode.flashnotice + tHIZ ApplicashuN R in deEMo mode?? changez iz persisTd in tEH dATabase but jobz iz not bean executd k? + + + demomode.credentials.header + loGIN fr DEEmo mode + + + demomode.credentials.username + oH hi username + + + demomode.credentials.password + oh hi paswORD k? + + + menu.overview + ovrview plz? + + + menu.add + ADD new cRONJob plz? + + + menu.settings + settingz + + + menu.logout + oh hi logowt plz? + + + security.login.username.label + oH hi username + + + security.login.username.placeholder + jeroen@example.com + + + security.login.password.label + oh hi paswORD k? + + + security.login.password.placeholder + burgerz plz? + + + security.login.remember.label + rememBr me + + + security.login.submit-btn.label + login + + + settings.title + settingz + + + settings.header + settingz + + + settings.flashes.inexistinglocale + oh hi Language dus not EXIs plz? + + + settings.flashes.localesaved + LAnguage r savd k? + + + settings.flashes.repeatpasswordnotok + oh hi PASwordz iz not Ekwel + + + settings.flashes.currentpassnotok + paswordz r not correcT Plz? + + + settings.flashes.passwordsaved + paSWORd r SAVD + + + settings.password.header + oh hi paswORD k? + + + settings.password.current.label + currnt paswoRD + + + settings.password.current.placeholder + burgerz plz? + + + settings.password.password.label + new pasword + + + settings.password.password.placeholder + MOAr paswoRD + + + settings.password.repeat.label + Repeet pasword plz? + + + settings.password.repeat.placeholder + MOAr paswoRD + + + settings.other.header + othr settingz plz? + + + settings.other.locale.label + languagE + + +
+
diff --git a/translations/messages.nl.xlf b/translations/messages.nl.xlf new file mode 100644 index 0000000..9e98a8e --- /dev/null +++ b/translations/messages.nl.xlf @@ -0,0 +1,618 @@ + + + +
+ +
+ + + title + Webcron management + + + header + Webcron management + + + demomode.flashnotice + Deze applicatie is in demo modus. Alle functies zijn actief, maar taken worden niet uitgevoerd + + + demomode.credentials.header + Aanmeldgegevens voor demo modus: + + + demomode.credentials.username + Gebruikersnaam + + + demomode.credentials.password + Wachtwoord + + + menu.overview + Overzicht + + + menu.add + Taak toevoegen + + + menu.settings + Instellingen + + + menu.logout + Afmelden + + + security.login.username.label + Gebruikersnaam + + + security.login.username.placeholder + jeroen@example.com + + + security.login.password.label + Wachtwoord + + + security.login.password.placeholder + abc123 + + + security.login.remember.label + Onthoud mij! + + + security.login.submit-btn.label + Aanmelden + + + settings.title + Instellingen + + + settings.header + Instellingen + + + settings.flashes.inexistinglocale + Taal bestaat niet + + + settings.flashes.localesaved + Taal werd opgeslagen + + + settings.flashes.repeatpasswordnotok + Wachtwoorden zijn niet gelijk + + + settings.flashes.currentpassnotok + Wachtwoord is not correct + + + settings.flashes.passwordsaved + Wachtwoord werd opgeslagen + + + settings.password.header + Wachtwoord + + + settings.password.current.label + Huidig wachtwoord + + + settings.password.current.placeholder + abc123 + + + settings.password.password.label + Nieuw wachtwoord + + + settings.password.password.placeholder + 123abc + + + settings.password.repeat.label + Herhaal wachtwoord + + + settings.password.repeat.placeholder + 123abc + + + settings.other.header + Andere instellingen + + + settings.other.locale.label + Taal + + + settings.submit.label + Verzend! + + + job.index.title + Overzicht + + + job.index.header + Overzicht van de geplande taken + + + job.index.table.headers.name + Naam + + + job.index.table.headers.host + Host + + + job.index.table.headers.interval + Interval + + + job.index.table.headers.nextrun + Volgende uitvoering + + + job.index.runnow.deferred.title + Taak werd doorgestuurd naar de daemon + + + job.index.runnow.deferred.message + Taak werd doorgestuurd naar de daemon. De output vind u binnenkort in de taakdetails + + + job.index.runnow.ran.title.success + Taak werd succesvol uitgevoerd + + + job.index.runnow.ran.title.failed + Taak faalde. Hieronder vind u de output ter controle + + + job.index.runnow.ran.message + Taak werd in _runtime_ seconden uitgevoerd met resultaat _exitcode_ + + + job.index.flashes.jobdeleted + Taak werd succesvol verwijderd + + + job.view.title + Overzicht van uitvoeringen van _jobname_ + + + job.view.header + Overzicht van uitvoeringen van _jobname_ + + + job.view.edit + Bewerk taak + + + job.view.show.onlyfailed + Toon alleen gefaalde uitvoeringen + + + job.view.show.all + Toon alle uitvoeringen + + + job.view.results.exitcode + Resultaat + + + job.view.results.runtime + Duurtijd + + + job.view.results.manual + Manuele uitvoering + + + job.view.results.noresults.failed + Geen gefaalde uitvoeringen gevonden + + + job.view.results.noresults.all + Geen uitvoeringen gevonden + + + job.edit.title + Bewerk taak + + + job.edit.header + Bewerk taak _jobname_ + + + job.edit.flashes.jobedited + Taak werd succesvol bijgewerkt + + + job.add.title + Taak toevoegen + + + job.add.header + Nieuwe taak toevoegen + + + job.add.flashes.jobadded + Taak werd succesvol toegevoegd + + + job.addedit.generalinfo.header + Algemene info + + + job.addedit.generalinfo.name.label + Naam + + + job.addedit.generalinfo.name.placeholder + Systemen updaten + + + job.addedit.generalinfo.name.helptext + Je kan gekleurde tags toevoegen met [tag] + + + job.addedit.generalinfo.interval.label + Interval (in seconden) + + + job.addedit.generalinfo.interval.placeholder + 3600 + + + job.addedit.generalinfo.interval.patterns.label + Patronen + + + job.addedit.generalinfo.interval.patterns.minute + Iedere minuut + + + job.addedit.generalinfo.interval.patterns.hour + Ieder uur + + + job.addedit.generalinfo.interval.patterns.day + Iedere dag + + + job.addedit.generalinfo.interval.patterns.week + Iedere week + + + job.addedit.generalinfo.interval.patterns.4week + Iedere 4 weken + + + job.addedit.generalinfo.nextrun.label + Volgende uitvoering + + + job.addedit.generalinfo.lastrun.label + Laatste uitvoering + + + job.addedit.generalinfo.lastrun.eternal.label + Eeuwig + + + job.addedit.generalinfo.retention.label + Opslag (in dagen) + + + job.addedit.generalinfo.retention.placeholder + 180 + + + job.addedit.generalinfo.retention.helptext + Hoeveel dagen moeten uitvoeringen van een job bewaard worden + + + job.addedit.generalinfo.failpercentage.label + Max faalpercentage + + + job.addedit.generalinfo.faildays.label + Aantal dagen berekend voor faalpercentage + + + job.addedit.generalinfo.faildays.placeholder + 7 + + + job.addedit.generalinfo.hostlabel.label + Host label + + + job.addedit.generalinfo.hostlabel.placeholder + petrosian.jeroened.be + + + job.addedit.generalinfo.hostlabel.helptext + Geef hier een eenvoudig te herkennen hostnaam. Indien leeg zal hostnaam uit de taak details gebruikt worden + + + job.addedit.jobdetails.header + Taak details + + + job.addedit.crontype.label + Taak type + + + job.addedit.crontype.command.label + Commando + + + job.addedit.crontype.command.header + Commando details + + + job.addedit.crontype.command.command.label + Commando + + + job.addedit.crontype.command.command.placeholder + sudo apt update + + + job.addedit.crontype.command.response.label + Verwacht resultaat + + + job.addedit.crontype.command.response.placeholder + 0 + + + job.addedit.crontype.reboot.label + Herstart + + + job.addedit.crontype.reboot.header + Herstart details + + + job.addedit.crontype.reboot.reboot.command.label + Herstart commando + + + job.addedit.crontype.reboot.reboot.command.placeholder + systemctl reboot + + + job.addedit.crontype.reboot.reboot.command.helptext + Gebruik {reboot-delay} of {reboot-delay-secs} om de vertraging toe te voegen in je commando + + + job.addedit.crontype.reboot.reboot.delay.label + Herstart vertraging (in minuten) + + + job.addedit.crontype.reboot.reboot.delay.placeholder + 5 + + + job.addedit.crontype.reboot.reboot.delay.helptext + Tijd tussen het aanroepen van herstart commando en de eigenlijke herstart + + + job.addedit.crontype.reboot.reboot.duration.label + Duurtijd van herstart (in minuten) + + + job.addedit.crontype.reboot.reboot.duration.placeholder + 10 + + + job.addedit.crontype.reboot.reboot.duration.helptext + De tijd dat de effectieve herstart duurt + + + job.addedit.crontype.reboot.getservices.command.label + Commando voor ophalen services + + + job.addedit.crontype.reboot.getservices.command.placeholder + systemctl list-units + + + job.addedit.crontype.reboot.getservices.response.label + Resultaat van commando voor ophalen services + + + job.addedit.crontype.reboot.getservices.response.placeholder + 0 + + + job.addedit.crontype.http.label + HTTP request + + + job.addedit.crontype.http.header + HTTP request details + + + job.addedit.crontype.http.url.label + Url + + + job.addedit.crontype.http.url.placeholder + https://www.example.com + + + job.addedit.crontype.http.basic-auth.username.label + Gebruikersnaam voor basic auth + + + job.addedit.crontype.http.basic-auth.username.placeholder + www-data + + + job.addedit.crontype.http.basic-auth.password.label + Wachtwoord voor basic auth + + + job.addedit.crontype.http.basic-auth.password.placeholder + correct horse battery staple + + + job.addedit.crontype.http.basic-auth.password.helptext + Dit veld word opgeslagen als geheime waarde + + + job.addedit.crontype.http.response.label + Verwachte http status code + + + job.addedit.crontype.http.response.placeholder + 418 + + + job.addedit.hosttype.label + Host type + + + job.addedit.hosttype.local.label + Lokaal + + + job.addedit.hosttype.local.header + Localhost details + + + job.addedit.hosttype.local.nodetails + Geen opties + + + job.addedit.hosttype.ssh.label + SSH + + + job.addedit.hosttype.ssh.header + SSH host details + + + job.addedit.hosttype.ssh.hostname.label + Hostnaam + + + job.addedit.hosttype.ssh.hostname.placeholder + ssh.abc.xyz + + + job.addedit.hosttype.ssh.username.label + Gebruikersnaam + + + job.addedit.hosttype.ssh.username.placeholder + larry + + + job.addedit.hosttype.ssh.privatekey.label + Privésleutel + + + job.addedit.hosttype.ssh.privatekey.helptext + Dit bestand word opgeslagen als geheime waarde + + + job.addedit.hosttype.ssh.privatekey.keep.label + Behoud + + + job.addedit.hosttype.ssh.passphrase.label + Wachtwoord voor privésleutel + + + job.addedit.hosttype.ssh.passphrase.placeholder + abc123 + + + job.addedit.hosttype.ssh.passphrase.helptext + Indien er geen privésleutel is meegegeven zal dit gebruikt worden als gewoon wachtwoord. Dit veld word opgeslagen als geheime waarde + + + job.addedit.containertype.label + Container type + + + job.addedit.containertype.none.label + Geen + + + job.addedit.containertype.docker.label + Docker + + + job.addedit.containertype.docker.header + Docker container details + + + job.addedit.containertype.docker.service.label + Service + + + job.addedit.containertype.docker.service.placeholder + mysql + + + job.addedit.containertype.docker.username.label + Gebruikersnaam + + + job.addedit.containertype.docker.username.placeholder + larry + + + job.addedit.variables.header + Variabelen + + + job.addedit.variables.secret.label + Geheim + + + job.addedit.variables.name.placeholder + Naam + + + job.addedit.variables.value.placeholder + Waarde + + + job.addedit.variables.helptext + Je kan variabelen gebruiken via {variabele-naam} in de taak details + + + job.addedit.variables.add.label + Variable toevoegen + + + job.addedit.submit.label + Verzend! + + + footer.title + Webcron Management + + + footer.source + Broncode + + +
+
diff --git a/translations/messages.nl.yaml b/translations/messages.nl.yaml deleted file mode 100644 index 0cfdd86..0000000 --- a/translations/messages.nl.yaml +++ /dev/null @@ -1,238 +0,0 @@ -title: "Webcron management" -header: "Webcron management" -demomode: - flashnotice: "Deze applicatie is in demo modus. Alle functies zijn actief, maar taken worden niet uitgevoerd" - credentials: - header: "Aanmeldgegevens voor demo modus:" - username: "Gebruikersnaam" - password: "Wachtwoord" -menu: - overview: "Overzicht" - add: "Taak toevoegen" - settings: "Instellingen" - logout: "Afmelden" -security: - login: - username: - label: "Gebruikersnaam" - placeholder: "jeroen@example.com" - password: - label: "Wachtwoord" - placeholder: "abc123" - remember: - label: "Onthoud mij!" - submit-btn: - label: "Aanmelden" -settings: - title: "Instellingen" - header: "Instellingen" - flashes: - inexistinglocale: "Taal bestaat niet" - localesaved: "Taal werd opgeslagen" - repeatpasswordnotok: "Wachtwoorden zijn niet gelijk" - currentpassnotok: "Wachtwoord is not correct" - passwordsaved: "Wachtwoord werd opgeslagen" - password: - header: "Wachtwoord" - current: - label: "Huidig wachtwoord" - placeholder: "abc123" - password: - label: "Nieuw wachtwoord" - placeholder: "abc123" - repeat: - label: "Herhaal wachtwoord" - placeholder: "abc123" - other: - header: "Andere instellingen" - locale: - label: "Taal" - submit: - label: "Verzend!" -job: - index: - title: "Overzicht" - header: "Overzicht van de geplande taken" - table: - headers: - name: "Naam" - host: "Host" - interval: "Interval" - nextrun: "Volgende uitvoering" - runnow: - deferred: - title: "Taak werd doorgestuurd naar de daemon" - message: "Taak werd doorgestuurd naar de daemon. De output vind u binnenkort in de taakdetails" - ran: - title: - success: "Taak werd succesvol uitgevoerd" - failed: "Taak faalde. Hieronder vind u de output ter controle" - message: "Taak werd in _runtime_ seconden uitgevoerd met resultaat _exitcode_" - flashes: - jobdeleted: "Taak werd succesvol verwijderd" - view: - title: "Overzicht van uitvoeringen van _jobname_" - header: "Overzicht van uitvoeringen van _jobname_" - edit: "Bewerk taak" - show: - onlyfailed: "Toon alleen gefaalde uitvoeringen" - all: "Toon alle uitvoeringen" - results: - exitcode: "Resultaat" - runtime: "Duurtijd" - manual: "Manuele uitvoering" - noresults: - failed: "Geen gefaalde uitvoeringen gevonden" - all: "Geen uitvoeringen gevonden" - edit: - title: "Bewerk taak" - header: "Bewerk taak _jobname_" - flashes: - jobedited: "Taak werd succesvol bijgewerkt" - add: - title: "Taak toevoegen" - header: "Nieuwe taak toevoegen" - flashes: - jobadded: "Taak werd succesvol toegevoegd" - addedit: - generalinfo: - header: "Algemene info" - name: - label: "Naam" - placeholder: "Systemen updaten" - helptext: "Je kan gekleurde tags toevoegen met [tag]" - interval: - label: "Interval (in seconden)" - placeholder: "3600" - patterns: - label: "Patronen" - minute: "Iedere minuut" - hour: "Ieder uur" - day: "Iedere dag" - week: "Iedere week" - 4week: "Iedere 4 weken" - nextrun: - label: "Volgende uitvoering" - lastrun: - label: "Laatste uitvoering" - eternal: - label: "Eeuwig" - retention: - label: "Opslag (in dagen)" - placeholder: "180" - helptext: "Hoeveel dagen moeten uitvoeringen van een job bewaard worden" - failpercentage: - label: "Max faalpercentage" - faildays: - label: "Aantal dagen berekend voor faalpercentage" - placeholder: "7" - hostlabel: - label: "Host label" - placeholder: "petrosian.jeroened.be" - helptext: "Geef hier een eenvoudig te herkennen hostnaam. Indien leeg zal hostnaam uit de taak details gebruikt worden" - jobdetails: - header: "Taak details" - crontype: - label: "Taak type" - command: - label: "Commando" - header: "Commando details" - command: - label: "Commando" - placeholder: "sudo apt update" - response: - label: "Verwacht resultaat" - placeholder: "0" - reboot: - label: "Herstart" - header: "Herstart details" - reboot: - command: - label: "Herstart commando" - placeholder: "systemctl reboot" - helptext: "Gebruik {reboot-delay} of {reboot-delay-secs} om de vertraging toe te voegen in je commando" - delay: - label: "Herstart vertraging (in minuten)" - placeholder: "5" - helptext: "Tijd tussen het aanroepen van herstart commando en de eigenlijke herstart" - duration: - label: "Duurtijd van herstart (in minuten)" - placeholder: "10" - helptext: "De tijd dat de effectieve herstart duurt" - getservices: - command: - label: "Commando voor ophalen services" - placeholder: "systemctl list-units" - response: - label: "Resultaat van commando voor ophalen services" - placeholder: "0" - http: - label: "HTTP request" - header: "HTTP request details" - url: - label: "Url" - placeholder: "https://www.example.com" - basic-auth: - username: - label: "Gebruikersnaam voor basic auth" - placeholder: "www-data" - password: - label: "Wachtwoord voor basic auth" - placeholder: "correct horse battery staple" - helptext: "Dit veld word opgeslagen als geheime waarde" - response: - label: "Verwachte http status code" - placeholder: "418" - hosttype: - label: "Host type" - local: - label: "Lokaal" - header: "Localhost details" - nodetails: "Geen opties" - ssh: - label: "SSH" - header: "SSH host details" - hostname: - label: "Hostnaam" - placeholder: "ssh.abc.xyz" - username: - label: "Gebruikersnaam" - placeholder: "larry" - privatekey: - label: "Privésleutel" - helptext: "Dit bestand word opgeslagen als geheime waarde" - keep: - label: "Behoud" - passphrase: - label: "Wachtwoord voor privésleutel" - placeholder: "abc123" - helptext: "Indien er geen privésleutel is meegegeven zal dit gebruikt worden als gewoon wachtwoord. Dit veld word opgeslagen als geheime waarde" - containertype: - label: "Container type" - none: - label: "Geen" - docker: - label: "Docker" - header: "Docker container details" - service: - label: "Service" - placeholder: "mysql" - username: - label: "Gebruikersnaam" - placeholder: "larry" - variables: - header: "Variabelen" - secret: - label: "Geheim" - name: - placeholder: "Naam" - value: - placeholder: "Waarde" - helptext: "Je kan variabelen gebruiken via {variabele-naam} in de taak details" - add: - label: "Variable toevoegen" - submit: - label: "Verzend!" -footer: - title: "Webcron Management" - source: "Broncode"