From 507a69304526e741775663c00d99751cb09d01a4 Mon Sep 17 00:00:00 2001 From: Lance Pioch Date: Mon, 22 Oct 2018 18:46:18 -0400 Subject: [PATCH 01/12] Delete .phraseapp.yml --- .phraseapp.yml | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 .phraseapp.yml diff --git a/.phraseapp.yml b/.phraseapp.yml deleted file mode 100644 index 007c00ebb..000000000 --- a/.phraseapp.yml +++ /dev/null @@ -1,29 +0,0 @@ -phraseapp: - project_id: 94f8b39450cd749ae9c3cc0ab8cdb61d - file_format: laravel - push: - sources: - - file: ./resources/lang//.php - pull: - targets: - - file: ./resources/lang//auth.php - params: - tag: "auth" - - file: ./resources/lang//base.php - params: - tag: "base" - - file: ./resources/lang//pagination.php - params: - tag: "pagination" - - file: ./resources/lang//passwords.php - params: - tag: "passwords" - - file: ./resources/lang//server.php - params: - tag: "server" - - file: ./resources/lang//strings.php - params: - tag: "strings" - - file: ./resources/lang//validation.php - params: - tag: "validation" From 08fbe58b9c1cae20c5df3de1edee072ab50a3fe2 Mon Sep 17 00:00:00 2001 From: Lance Pioch Date: Mon, 22 Oct 2018 18:47:55 -0400 Subject: [PATCH 02/12] Update README.md --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 1bc66ca2c..5831a8709 100644 --- a/README.md +++ b/README.md @@ -41,8 +41,7 @@ In addition to our standard nest of supported games, our community is constantly * Discord ATLBot ## Credits -A huge thank you to [PhraseApp](https://phraseapp.com) who provide us the software to help translate this project. This software would not be possible -without the work of other open-source authors who provide tools such as: +This software would not be possible without the work of other open-source authors who provide tools such as: [Ace Editor](https://ace.c9.io), [AdminLTE](https://almsaeedstudio.com), [Animate.css](http://daneden.github.io/animate.css/), [AnsiUp](https://github.com/drudru/ansi_up), [Async.js](https://github.com/caolan/async), [Bootstrap](http://getbootstrap.com), [Bootstrap Notify](http://bootstrap-notify.remabledesigns.com), [Chart.js](http://www.chartjs.org), [FontAwesome](http://fontawesome.io), From 5b1859ba6f98663e33215765e9cfe69d6d96e501 Mon Sep 17 00:00:00 2001 From: Lance Pioch Date: Wed, 24 Oct 2018 11:26:40 -0400 Subject: [PATCH 03/12] Delete phraseapp.js --- public/themes/pterodactyl/vendor/phraseapp/phraseapp.js | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 public/themes/pterodactyl/vendor/phraseapp/phraseapp.js diff --git a/public/themes/pterodactyl/vendor/phraseapp/phraseapp.js b/public/themes/pterodactyl/vendor/phraseapp/phraseapp.js deleted file mode 100644 index a11a22655..000000000 --- a/public/themes/pterodactyl/vendor/phraseapp/phraseapp.js +++ /dev/null @@ -1,8 +0,0 @@ -window.PHRASEAPP_CONFIG = { - projectId: '94f8b39450cd749ae9c3cc0ab8cdb61d' -}; -(function() { - var phraseapp = document.createElement('script'); phraseapp.type = 'text/javascript'; phraseapp.async = true; - phraseapp.src = ['https://', 'phraseapp.com/assets/in-context-editor/2.0/app.js?', new Date().getTime()].join(''); - var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(phraseapp, s); -})(); From 33f86a93a05d6674389f0726c5c543bbc538101e Mon Sep 17 00:00:00 2001 From: Lance Pioch Date: Wed, 24 Oct 2018 11:27:07 -0400 Subject: [PATCH 04/12] Update auth.blade.php --- resources/themes/pterodactyl/layouts/auth.blade.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/resources/themes/pterodactyl/layouts/auth.blade.php b/resources/themes/pterodactyl/layouts/auth.blade.php index 0157864eb..108e1311f 100644 --- a/resources/themes/pterodactyl/layouts/auth.blade.php +++ b/resources/themes/pterodactyl/layouts/auth.blade.php @@ -60,7 +60,5 @@ particlesJS.load('particles-js', '{!! Theme::url('vendor/particlesjs/particles.json?t={cache-version}') !!}', function() {}); }) - - @if(config('pterodactyl.lang.in_context')) {!! Theme::js('vendor/phraseapp/phraseapp.js?t={cache-version}') !!} @endif From e5cf512fed6b21ed2c75ce4e475e156885cc3ea9 Mon Sep 17 00:00:00 2001 From: Lance Pioch Date: Wed, 24 Oct 2018 11:27:47 -0400 Subject: [PATCH 05/12] Update master.blade.php --- resources/themes/pterodactyl/layouts/master.blade.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/resources/themes/pterodactyl/layouts/master.blade.php b/resources/themes/pterodactyl/layouts/master.blade.php index 15d88b96b..f83a6f151 100644 --- a/resources/themes/pterodactyl/layouts/master.blade.php +++ b/resources/themes/pterodactyl/layouts/master.blade.php @@ -286,9 +286,6 @@ {!! Theme::js('vendor/socketio/socket.io.v203.min.js?t={cache-version}') !!} {!! Theme::js('vendor/bootstrap-notify/bootstrap-notify.min.js?t={cache-version}') !!} {!! Theme::js('js/autocomplete.js?t={cache-version}') !!} - @if(config('pterodactyl.lang.in_context')) - {!! Theme::js('vendor/phraseapp/phraseapp.js?t={cache-version}') !!} - @endif @if(Auth::user()->root_admin)