Use new script for syncing Crowdin

This commit is contained in:
Michael Babker 2016-08-27 12:02:28 -05:00
parent a0a250cd06
commit d9cd1a16d0
6 changed files with 856 additions and 16 deletions

View File

@ -24,7 +24,7 @@ before_script:
- composer install
script:
- if [ "$RUN_PHPCS" == "yes" ]; then vendor/bin/phpcs --report=full --extensions=php -p --standard=build/phpcs/Joomla --ignore=./*tmpl/* administrator/components/com_patchtester; fi
- if [[ $RUN_PHPCS == "yes" ]]; then vendor/bin/phpcs --report=full --extensions=php -p --standard=build/phpcs/Joomla --ignore=./*tmpl/* administrator/components/com_patchtester; fi
after_success:
- if [ "$UPDATE_CROWDIN" == "yes" ]; then ./travis-lang-update.sh; fi
- if [[ $UPDATE_CROWDIN == "yes" && $TRAVIS_PULL_REQUEST == "false" && $TRAVIS_BRANCH == "master" ]]; then vendor/bin/crowdin --upload; fi

View File

@ -57,7 +57,6 @@ class PullModel extends \JModelDatabase
'jorobo.dist.ini',
'manifest.xml',
'crowdin.yaml',
'travis-lang-update.sh',
);
/**

View File

@ -9,6 +9,7 @@
"php": ">=5.3.10"
},
"require-dev": {
"joomla/crowdin-sync": "dev-master",
"squizlabs/php_codesniffer": "~1.5"
}
}

853
composer.lock generated
View File

@ -4,9 +4,751 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically"
],
"hash": "8998a2a462401996430b7fb34fbe53ca",
"hash": "2e9abcd81c99cc66888e6331ef3c915d",
"content-hash": "edd2fd4e5088da2a5bc5b04969135d4d",
"packages": [],
"packages-dev": [
{
"name": "elkuku/crowdin-api",
"version": "1.1.1",
"source": {
"type": "git",
"url": "https://github.com/elkuku/crowdin-api.git",
"reference": "149578b9d9417d336530b74643dff11c132b3ad9"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/elkuku/crowdin-api/zipball/149578b9d9417d336530b74643dff11c132b3ad9",
"reference": "149578b9d9417d336530b74643dff11c132b3ad9",
"shasum": ""
},
"require": {
"guzzlehttp/guzzle": "6.*",
"php": ">=5.5|>=7.0"
},
"require-dev": {
"phpdocumentor/phpdocumentor": "*",
"phpunit/phpunit": "~4.8|~5.0",
"phpunit/phpunit-skeleton-generator": "*",
"squizlabs/php_codesniffer": "1.*"
},
"type": "library",
"autoload": {
"psr-4": {
"ElKuKu\\Crowdin\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"WTFPL"
],
"authors": [
{
"name": "Nikolai Plath",
"email": "der.el.kuku@gmail.com"
}
],
"description": "A crowdin API implementation in PHP",
"time": "2016-08-02 01:04:16"
},
{
"name": "guzzlehttp/guzzle",
"version": "6.2.1",
"source": {
"type": "git",
"url": "https://github.com/guzzle/guzzle.git",
"reference": "3f808fba627f2c5b69e2501217bf31af349c1427"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/guzzle/guzzle/zipball/3f808fba627f2c5b69e2501217bf31af349c1427",
"reference": "3f808fba627f2c5b69e2501217bf31af349c1427",
"shasum": ""
},
"require": {
"guzzlehttp/promises": "^1.0",
"guzzlehttp/psr7": "^1.3.1",
"php": ">=5.5"
},
"require-dev": {
"ext-curl": "*",
"phpunit/phpunit": "^4.0",
"psr/log": "^1.0"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "6.2-dev"
}
},
"autoload": {
"files": [
"src/functions_include.php"
],
"psr-4": {
"GuzzleHttp\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Michael Dowling",
"email": "mtdowling@gmail.com",
"homepage": "https://github.com/mtdowling"
}
],
"description": "Guzzle is a PHP HTTP client library",
"homepage": "http://guzzlephp.org/",
"keywords": [
"client",
"curl",
"framework",
"http",
"http client",
"rest",
"web service"
],
"time": "2016-07-15 17:22:37"
},
{
"name": "guzzlehttp/promises",
"version": "1.2.0",
"source": {
"type": "git",
"url": "https://github.com/guzzle/promises.git",
"reference": "c10d860e2a9595f8883527fa0021c7da9e65f579"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/guzzle/promises/zipball/c10d860e2a9595f8883527fa0021c7da9e65f579",
"reference": "c10d860e2a9595f8883527fa0021c7da9e65f579",
"shasum": ""
},
"require": {
"php": ">=5.5.0"
},
"require-dev": {
"phpunit/phpunit": "~4.0"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.0-dev"
}
},
"autoload": {
"psr-4": {
"GuzzleHttp\\Promise\\": "src/"
},
"files": [
"src/functions_include.php"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Michael Dowling",
"email": "mtdowling@gmail.com",
"homepage": "https://github.com/mtdowling"
}
],
"description": "Guzzle promises library",
"keywords": [
"promise"
],
"time": "2016-05-18 16:56:05"
},
{
"name": "guzzlehttp/psr7",
"version": "1.3.1",
"source": {
"type": "git",
"url": "https://github.com/guzzle/psr7.git",
"reference": "5c6447c9df362e8f8093bda8f5d8873fe5c7f65b"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/guzzle/psr7/zipball/5c6447c9df362e8f8093bda8f5d8873fe5c7f65b",
"reference": "5c6447c9df362e8f8093bda8f5d8873fe5c7f65b",
"shasum": ""
},
"require": {
"php": ">=5.4.0",
"psr/http-message": "~1.0"
},
"provide": {
"psr/http-message-implementation": "1.0"
},
"require-dev": {
"phpunit/phpunit": "~4.0"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.4-dev"
}
},
"autoload": {
"psr-4": {
"GuzzleHttp\\Psr7\\": "src/"
},
"files": [
"src/functions_include.php"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Michael Dowling",
"email": "mtdowling@gmail.com",
"homepage": "https://github.com/mtdowling"
}
],
"description": "PSR-7 message implementation",
"keywords": [
"http",
"message",
"stream",
"uri"
],
"time": "2016-06-24 23:00:38"
},
{
"name": "ircmaxell/password-compat",
"version": "v1.0.4",
"source": {
"type": "git",
"url": "https://github.com/ircmaxell/password_compat.git",
"reference": "5c5cde8822a69545767f7c7f3058cb15ff84614c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/ircmaxell/password_compat/zipball/5c5cde8822a69545767f7c7f3058cb15ff84614c",
"reference": "5c5cde8822a69545767f7c7f3058cb15ff84614c",
"shasum": ""
},
"require-dev": {
"phpunit/phpunit": "4.*"
},
"type": "library",
"autoload": {
"files": [
"lib/password.php"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Anthony Ferrara",
"email": "ircmaxell@php.net",
"homepage": "http://blog.ircmaxell.com"
}
],
"description": "A compatibility library for the proposed simplified password hashing algorithm: https://wiki.php.net/rfc/password_hash",
"homepage": "https://github.com/ircmaxell/password_compat",
"keywords": [
"hashing",
"password"
],
"time": "2014-11-20 16:49:30"
},
{
"name": "joomla/application",
"version": "1.6.0",
"source": {
"type": "git",
"url": "https://github.com/joomla-framework/application.git",
"reference": "2c2fb32553819f22ee15d4022dec805e750f43ce"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/joomla-framework/application/zipball/2c2fb32553819f22ee15d4022dec805e750f43ce",
"reference": "2c2fb32553819f22ee15d4022dec805e750f43ce",
"shasum": ""
},
"require": {
"joomla/input": "~1.2",
"joomla/registry": "~1.1",
"php": ">=5.3.10|>=7.0",
"psr/log": "~1.0"
},
"require-dev": {
"joomla/session": "^1.2.1",
"joomla/test": "~1.1",
"joomla/uri": "~1.1",
"phpunit/phpunit": "~4.8|~5.0",
"squizlabs/php_codesniffer": "1.*"
},
"suggest": {
"joomla/session": "To use AbstractWebApplication with session support, install joomla/session",
"joomla/uri": "To use AbstractWebApplication, install joomla/uri"
},
"type": "joomla-package",
"extra": {
"branch-alias": {
"dev-master": "1.x-dev"
}
},
"autoload": {
"psr-4": {
"Joomla\\Application\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"GPL-2.0+"
],
"description": "Joomla Application Package",
"homepage": "https://github.com/joomla-framework/application",
"keywords": [
"application",
"framework",
"joomla"
],
"time": "2016-04-09 03:08:55"
},
{
"name": "joomla/compat",
"version": "1.2.0",
"source": {
"type": "git",
"url": "https://github.com/joomla-framework/compat.git",
"reference": "f23565fe0184517778996226eb4b2333deb369c4"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/joomla-framework/compat/zipball/f23565fe0184517778996226eb4b2333deb369c4",
"reference": "f23565fe0184517778996226eb4b2333deb369c4",
"shasum": ""
},
"require": {
"php": ">=5.3.10"
},
"type": "joomla-package",
"autoload": {
"classmap": [
"src/JsonSerializable.php",
"src/CallbackFilterIterator.php"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"GPL-2.0+"
],
"description": "Joomla Compat Package",
"homepage": "https://github.com/joomla-framework/compat",
"keywords": [
"compat",
"framework",
"joomla"
],
"time": "2015-02-24 00:21:06"
},
{
"name": "joomla/crowdin-sync",
"version": "dev-master",
"source": {
"type": "git",
"url": "https://github.com/joomla-projects/crowdin-sync.git",
"reference": "fb1d96dfb95e2ed1518771e0e6193237dac1f80a"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/joomla-projects/crowdin-sync/zipball/fb1d96dfb95e2ed1518771e0e6193237dac1f80a",
"reference": "fb1d96dfb95e2ed1518771e0e6193237dac1f80a",
"shasum": ""
},
"require": {
"elkuku/crowdin-api": "~1.0",
"joomla/application": "~1.6",
"joomla/registry": "~1.5",
"php": "~5.4|~7.0",
"symfony/yaml": "~2.8|~3.0"
},
"bin": [
"bin/crowdin"
],
"type": "project",
"autoload": {
"psr-4": {
"Joomla\\Crowdin\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"GPL-2.0+"
],
"description": "CLI application to synchronize a project with Crowdin",
"homepage": "https://github.com/joomla-projects/crowdin-sync",
"keywords": [
"crowdin",
"joomla"
],
"time": "2016-08-27 16:53:40"
},
{
"name": "joomla/filter",
"version": "1.2.0",
"source": {
"type": "git",
"url": "https://github.com/joomla-framework/filter.git",
"reference": "45a504f0cd6fa2312a0260955e957435ca2cedc9"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/joomla-framework/filter/zipball/45a504f0cd6fa2312a0260955e957435ca2cedc9",
"reference": "45a504f0cd6fa2312a0260955e957435ca2cedc9",
"shasum": ""
},
"require": {
"joomla/string": "~1.3",
"php": ">=5.3.10"
},
"require-dev": {
"joomla/language": "~1.0",
"phpunit/phpunit": "4.*",
"squizlabs/php_codesniffer": "1.*"
},
"suggest": {
"joomla/language": "Required only if you want to use `OutputFilter::stringURLSafe`."
},
"type": "joomla-package",
"extra": {
"branch-alias": {
"dev-master": "1.x-dev"
}
},
"autoload": {
"psr-4": {
"Joomla\\Filter\\": "src/",
"Joomla\\Filter\\Tests\\": "Tests/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"GPL-2.0+"
],
"description": "Joomla Filter Package",
"homepage": "https://github.com/joomla-framework/filter",
"keywords": [
"filter",
"framework",
"joomla"
],
"time": "2016-01-08 17:27:47"
},
{
"name": "joomla/input",
"version": "1.2.0",
"source": {
"type": "git",
"url": "https://github.com/joomla-framework/input.git",
"reference": "b6098276043e2d627221fe54d3c91232e6679d0f"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/joomla-framework/input/zipball/b6098276043e2d627221fe54d3c91232e6679d0f",
"reference": "b6098276043e2d627221fe54d3c91232e6679d0f",
"shasum": ""
},
"require": {
"joomla/filter": "~1.0",
"php": ">=5.3.10"
},
"require-dev": {
"joomla/test": "~1.0",
"phpunit/phpunit": "4.*",
"squizlabs/php_codesniffer": "1.*"
},
"type": "joomla-package",
"extra": {
"branch-alias": {
"dev-master": "1.x-dev"
}
},
"autoload": {
"psr-4": {
"Joomla\\Input\\": "src/",
"Joomla\\Input\\Tests\\": "Tests/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"GPL-2.0+"
],
"description": "Joomla Input Package",
"homepage": "https://github.com/joomla-framework/input",
"keywords": [
"framework",
"input",
"joomla"
],
"time": "2014-10-12 18:01:36"
},
{
"name": "joomla/registry",
"version": "1.5.2",
"source": {
"type": "git",
"url": "https://github.com/joomla-framework/registry.git",
"reference": "bd3592c6f0554a72811df52aeaea98c7815f6e5a"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/joomla-framework/registry/zipball/bd3592c6f0554a72811df52aeaea98c7815f6e5a",
"reference": "bd3592c6f0554a72811df52aeaea98c7815f6e5a",
"shasum": ""
},
"require": {
"joomla/compat": "~1.0",
"joomla/utilities": "~1.0",
"php": ">=5.3.10|>=7.0",
"symfony/polyfill-php55": "~1.0"
},
"require-dev": {
"joomla/test": "~1.0",
"phpunit/phpunit": "~4.8|~5.0",
"squizlabs/php_codesniffer": "1.*",
"symfony/yaml": "~2.0|~3.0"
},
"suggest": {
"symfony/yaml": "Install symfony/yaml if you require YAML support."
},
"type": "joomla-package",
"extra": {
"branch-alias": {
"dev-master": "1.x-dev"
}
},
"autoload": {
"psr-4": {
"Joomla\\Registry\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"GPL-2.0+"
],
"description": "Joomla Registry Package",
"homepage": "https://github.com/joomla-framework/registry",
"keywords": [
"framework",
"joomla",
"registry"
],
"time": "2016-05-14 20:42:05"
},
{
"name": "joomla/string",
"version": "1.4.0",
"source": {
"type": "git",
"url": "https://github.com/joomla-framework/string.git",
"reference": "05197132a075ee22a3f0f7da31a19a6d5b4717db"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/joomla-framework/string/zipball/05197132a075ee22a3f0f7da31a19a6d5b4717db",
"reference": "05197132a075ee22a3f0f7da31a19a6d5b4717db",
"shasum": ""
},
"require": {
"php": ">=5.3.10|>=7.0"
},
"require-dev": {
"joomla/test": "~1.0",
"phpunit/phpunit": "~4.8|~5.0",
"squizlabs/php_codesniffer": "1.*"
},
"type": "joomla-package",
"extra": {
"branch-alias": {
"dev-master": "1.x-dev"
}
},
"autoload": {
"psr-4": {
"Joomla\\String\\": "src/",
"Joomla\\String\\Tests\\": "Tests/"
},
"files": [
"src/phputf8/utf8.php",
"src/phputf8/ord.php",
"src/phputf8/str_ireplace.php",
"src/phputf8/str_pad.php",
"src/phputf8/str_split.php",
"src/phputf8/strcasecmp.php",
"src/phputf8/strcspn.php",
"src/phputf8/stristr.php",
"src/phputf8/strrev.php",
"src/phputf8/strspn.php",
"src/phputf8/trim.php",
"src/phputf8/ucfirst.php",
"src/phputf8/ucwords.php",
"src/phputf8/utils/ascii.php",
"src/phputf8/utils/validation.php"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"GPL-2.0+"
],
"description": "Joomla String Package",
"homepage": "https://github.com/joomla-framework/string",
"keywords": [
"framework",
"joomla",
"string"
],
"time": "2016-01-30 20:04:23"
},
{
"name": "joomla/utilities",
"version": "1.4.0",
"source": {
"type": "git",
"url": "https://github.com/joomla-framework/utilities.git",
"reference": "ecf18231ff86ab06cf555a7c3ed4dd447ae39e9b"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/joomla-framework/utilities/zipball/ecf18231ff86ab06cf555a7c3ed4dd447ae39e9b",
"reference": "ecf18231ff86ab06cf555a7c3ed4dd447ae39e9b",
"shasum": ""
},
"require": {
"joomla/string": "~1.3",
"php": ">=5.3.10"
},
"require-dev": {
"phpunit/phpunit": "4.*",
"squizlabs/php_codesniffer": "1.*"
},
"type": "joomla-package",
"extra": {
"branch-alias": {
"dev-master": "1.x-dev"
}
},
"autoload": {
"psr-4": {
"Joomla\\Utilities\\": "src/",
"Joomla\\Utilities\\Tests\\": "Tests/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"GPL-2.0+"
],
"description": "Joomla Utilities Package",
"homepage": "https://github.com/joomla-framework/utilities",
"keywords": [
"framework",
"joomla",
"utilities"
],
"time": "2015-09-05 16:41:24"
},
{
"name": "psr/http-message",
"version": "1.0.1",
"source": {
"type": "git",
"url": "https://github.com/php-fig/http-message.git",
"reference": "f6561bf28d520154e4b0ec72be95418abe6d9363"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363",
"reference": "f6561bf28d520154e4b0ec72be95418abe6d9363",
"shasum": ""
},
"require": {
"php": ">=5.3.0"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.0.x-dev"
}
},
"autoload": {
"psr-4": {
"Psr\\Http\\Message\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "PHP-FIG",
"homepage": "http://www.php-fig.org/"
}
],
"description": "Common interface for HTTP messages",
"homepage": "https://github.com/php-fig/http-message",
"keywords": [
"http",
"http-message",
"psr",
"psr-7",
"request",
"response"
],
"time": "2016-08-06 14:39:51"
},
{
"name": "psr/log",
"version": "1.0.0",
"source": {
"type": "git",
"url": "https://github.com/php-fig/log.git",
"reference": "fe0936ee26643249e916849d48e3a51d5f5e278b"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/php-fig/log/zipball/fe0936ee26643249e916849d48e3a51d5f5e278b",
"reference": "fe0936ee26643249e916849d48e3a51d5f5e278b",
"shasum": ""
},
"type": "library",
"autoload": {
"psr-0": {
"Psr\\Log\\": ""
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "PHP-FIG",
"homepage": "http://www.php-fig.org/"
}
],
"description": "Common interface for logging libraries",
"keywords": [
"log",
"psr",
"psr-3"
],
"time": "2012-12-21 11:40:51"
},
{
"name": "squizlabs/php_codesniffer",
"version": "1.5.6",
@ -81,11 +823,118 @@
"standards"
],
"time": "2014-12-04 22:32:15"
},
{
"name": "symfony/polyfill-php55",
"version": "v1.2.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-php55.git",
"reference": "bf2ff9ad6be1a4772cb873e4eea94d70daa95c6d"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-php55/zipball/bf2ff9ad6be1a4772cb873e4eea94d70daa95c6d",
"reference": "bf2ff9ad6be1a4772cb873e4eea94d70daa95c6d",
"shasum": ""
},
"require": {
"ircmaxell/password-compat": "~1.0",
"php": ">=5.3.3"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.2-dev"
}
},
"autoload": {
"psr-4": {
"Symfony\\Polyfill\\Php55\\": ""
},
"files": [
"bootstrap.php"
]
},
"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": "Symfony polyfill backporting some PHP 5.5+ features to lower PHP versions",
"homepage": "https://symfony.com",
"keywords": [
"compatibility",
"polyfill",
"portable",
"shim"
],
"time": "2016-05-18 14:26:46"
},
{
"name": "symfony/yaml",
"version": "v3.1.3",
"source": {
"type": "git",
"url": "https://github.com/symfony/yaml.git",
"reference": "1819adf2066880c7967df7180f4f662b6f0567ac"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/yaml/zipball/1819adf2066880c7967df7180f4f662b6f0567ac",
"reference": "1819adf2066880c7967df7180f4f662b6f0567ac",
"shasum": ""
},
"require": {
"php": ">=5.5.9"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "3.1-dev"
}
},
"autoload": {
"psr-4": {
"Symfony\\Component\\Yaml\\": ""
},
"exclude-from-classmap": [
"/Tests/"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Fabien Potencier",
"email": "fabien@symfony.com"
},
{
"name": "Symfony Community",
"homepage": "https://symfony.com/contributors"
}
],
"description": "Symfony Yaml Component",
"homepage": "https://symfony.com",
"time": "2016-07-17 14:02:08"
}
],
"aliases": [],
"minimum-stability": "stable",
"stability-flags": [],
"stability-flags": {
"joomla/crowdin-sync": 20
},
"prefer-stable": false,
"prefer-lowest": false,
"platform": {

View File

@ -5,7 +5,9 @@ base_path: ./administrator/components/com_patchtester/language
files:
-
source: /en-GB/en-GB.com_patchtester.ini
dest: com_patchtester/en-GB.com_patchtester.ini
translation: /%locale%/%locale%.com_patchtester.ini
-
source: /en-GB/en-GB.com_patchtester.sys.ini
dest: com_patchtester/en-GB.com_patchtester.sys.ini
translation: /%locale%/%locale%.com_patchtester.sys.ini

View File

@ -1,11 +0,0 @@
#!/usr/bin/env bash
if [[ $TRAVIS_PULL_REQUEST == "false" && $TRAVIS_BRANCH == "master" ]]; then
echo -e "Starting translation update\n"
#download the Crowdin CLI app and update the sources
wget https://crowdin.com/downloads/crowdin-cli.jar
java -jar crowdin-cli.jar upload sources
rm crowdin-cli.jar
echo -e "en-GB language sources synchronized\n"
fi