Skip to content

Commit d2991ea

Browse files
authored
Merge pull request pterodactyl#1363 from pterodactyl/feature/remove-phraseapp
Remove phraseapp because we no longer use it
2 parents 0231db3 + fe4494a commit d2991ea

File tree

9 files changed

+4
-135
lines changed

9 files changed

+4
-135
lines changed

.phraseapp.yml

Lines changed: 0 additions & 29 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ In addition to our standard nest of supported games, our community is constantly
4141
* Discord ATLBot
4242

4343
## Credits
44-
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
45-
without the work of other open-source authors who provide tools such as:
44+
This software would not be possible without the work of other open-source authors who provide tools such as:
4645

4746
[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),
4847
[Bootstrap](http://getbootstrap.com), [Bootstrap Notify](http://bootstrap-notify.remabledesigns.com), [Chart.js](http://www.chartjs.org), [FontAwesome](http://fontawesome.io),

app/Extensions/PhraseAppTranslator.php

Lines changed: 0 additions & 31 deletions
This file was deleted.

app/Providers/PhraseAppTranslationProvider.php

Lines changed: 0 additions & 44 deletions
This file was deleted.

config/app.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@
166166
Illuminate\Redis\RedisServiceProvider::class,
167167
Illuminate\Auth\Passwords\PasswordResetServiceProvider::class,
168168
Illuminate\Session\SessionServiceProvider::class,
169+
Illuminate\Translation\TranslationServiceProvider::class,
169170
Illuminate\Validation\ValidationServiceProvider::class,
170171
Illuminate\View\ViewServiceProvider::class,
171172

@@ -179,7 +180,6 @@
179180
Pterodactyl\Providers\HashidsServiceProvider::class,
180181
Pterodactyl\Providers\RouteServiceProvider::class,
181182
Pterodactyl\Providers\MacroServiceProvider::class,
182-
Pterodactyl\Providers\PhraseAppTranslationProvider::class,
183183
Pterodactyl\Providers\RepositoryServiceProvider::class,
184184
Pterodactyl\Providers\ViewComposerServiceProvider::class,
185185

config/pterodactyl.php

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -153,23 +153,10 @@
153153

154154
/*
155155
|--------------------------------------------------------------------------
156-
| Language Editor
156+
| Client Features
157157
|--------------------------------------------------------------------------
158158
|
159-
| Set `PHRASE_IN_CONTEXT` to true to enable the PhaseApp in-context editor
160-
| on this site which allows you to translate the panel, from the panel.
161-
*/
162-
'lang' => [
163-
'in_context' => env('PHRASE_IN_CONTEXT', false),
164-
],
165-
166-
/*
167-
|--------------------------------------------------------------------------
168-
| Language Editor
169-
|--------------------------------------------------------------------------
170-
|
171-
| Set `PHRASE_IN_CONTEXT` to true to enable the PhaseApp in-context editor
172-
| on this site which allows you to translate the panel, from the panel.
159+
| Allow clients to create their own databases.
173160
*/
174161
'client_features' => [
175162
'databases' => [

public/themes/pterodactyl/vendor/phraseapp/phraseapp.js

Lines changed: 0 additions & 8 deletions
This file was deleted.

resources/themes/pterodactyl/layouts/auth.blade.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,5 @@
6060
particlesJS.load('particles-js', '{!! Theme::url('vendor/particlesjs/particles.json?t={cache-version}') !!}', function() {});
6161
})
6262
</script>
63-
64-
@if(config('pterodactyl.lang.in_context')) {!! Theme::js('vendor/phraseapp/phraseapp.js?t={cache-version}') !!} @endif
6563
</body>
6664
</html>

resources/themes/pterodactyl/layouts/master.blade.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -286,9 +286,6 @@ class="active"
286286
{!! Theme::js('vendor/socketio/socket.io.v203.min.js?t={cache-version}') !!}
287287
{!! Theme::js('vendor/bootstrap-notify/bootstrap-notify.min.js?t={cache-version}') !!}
288288
{!! Theme::js('js/autocomplete.js?t={cache-version}') !!}
289-
@if(config('pterodactyl.lang.in_context'))
290-
{!! Theme::js('vendor/phraseapp/phraseapp.js?t={cache-version}') !!}
291-
@endif
292289

293290
@if(Auth::user()->root_admin)
294291
<script>

0 commit comments

Comments
 (0)