diff --git a/resources/views/admin/customize.tpl b/resources/views/admin/customize.tpl index 7c66899d..d4f218cf 100644 --- a/resources/views/admin/customize.tpl +++ b/resources/views/admin/customize.tpl @@ -13,7 +13,7 @@

- {{ trans('general.customize') }} + @lang('general.customize')

@@ -24,7 +24,7 @@
-

{{ trans('admin.customize.change-color.title') }}

+

@lang('admin.customize.change-color.title')

@@ -32,7 +32,7 @@ @foreach(['blue', 'yellow', 'green', 'purple', 'red', 'black'] as $color) @foreach([$color, "$color-light"] as $innerColor) - + @endforeach @@ -41,7 +41,7 @@
{{ trans("admin.customize.colors.$innerColor") }}@lang("admin.customize.colors.$innerColor")
diff --git a/resources/views/admin/index.tpl b/resources/views/admin/index.tpl index 1cfa2e16..c8c773a4 100644 --- a/resources/views/admin/index.tpl +++ b/resources/views/admin/index.tpl @@ -9,7 +9,7 @@

- {{ trans('general.dashboard') }} + @lang('general.dashboard')

@@ -24,7 +24,7 @@
- {{ trans('admin.index.total-users') }} + @lang('admin.index.total-users') {{ App\Models\User::count() }}
@@ -36,7 +36,7 @@
- {{ trans('admin.index.total-players') }} + @lang('admin.index.total-players') {{ App\Models\Player::count() }}
@@ -47,7 +47,7 @@
- {{ trans('admin.index.total-textures') }} + @lang('admin.index.total-textures') {{ App\Models\Texture::count() }}
@@ -55,7 +55,7 @@
- {{ trans('admin.index.disk-usage') }} + @lang('admin.index.disk-usage') sum('size') ?: 0; ?> {{ $size > 1024 ? round($size / 1024, 1)."MB" : $size."KB" }}
@@ -64,7 +64,7 @@
-

{{ trans('admin.index.overview') }}

+

@lang('admin.index.overview')

diff --git a/resources/views/admin/master.tpl b/resources/views/admin/master.tpl index 6583417b..ddeecbea 100644 --- a/resources/views/admin/master.tpl +++ b/resources/views/admin/master.tpl @@ -64,11 +64,11 @@ diff --git a/resources/views/admin/options.tpl b/resources/views/admin/options.tpl index 5eba9488..1d75f54d 100644 --- a/resources/views/admin/options.tpl +++ b/resources/views/admin/options.tpl @@ -9,7 +9,7 @@

- {{ trans('general.options') }} + @lang('general.options')

diff --git a/resources/views/admin/players.tpl b/resources/views/admin/players.tpl index 997db1ea..6febe8aa 100644 --- a/resources/views/admin/players.tpl +++ b/resources/views/admin/players.tpl @@ -9,7 +9,7 @@

- {{ trans('general.player-manage') }} + @lang('general.player-manage')

@@ -20,13 +20,13 @@ - - - - - - - + + + + + + +
{{ trans('general.player.pid') }}{{ trans('general.player.owner') }}{{ trans('general.player.player-name') }}{{ trans('general.player.preference') }}{{ trans('general.player.previews') }}{{ trans('general.player.last-modified') }}{{ trans('general.operations') }}@lang('general.player.pid')@lang('general.player.owner')@lang('general.player.player-name')@lang('general.player.preference')@lang('general.player.previews')@lang('general.player.last-modified')@lang('general.operations')
diff --git a/resources/views/admin/plugins.tpl b/resources/views/admin/plugins.tpl index 55f9b11a..e08bedee 100644 --- a/resources/views/admin/plugins.tpl +++ b/resources/views/admin/plugins.tpl @@ -13,7 +13,7 @@

- {{ trans('general.plugin-manage') }} + @lang('general.plugin-manage')

@@ -31,13 +31,13 @@ - - - - - - - + + + + + + +
{{ trans('admin.plugins.name') }}{{ trans('admin.plugins.description') }}{{ trans('admin.plugins.author') }}{{ trans('admin.plugins.version') }}{{ trans('admin.plugins.dependencies') }}{{ trans('admin.plugins.status.title') }}{{ trans('admin.plugins.operations.title') }}@lang('admin.plugins.name')@lang('admin.plugins.description')@lang('admin.plugins.author')@lang('admin.plugins.version')@lang('admin.plugins.dependencies')@lang('admin.plugins.status.title')@lang('admin.plugins.operations.title')
diff --git a/resources/views/admin/score.tpl b/resources/views/admin/score.tpl index 4980a50b..bfe30961 100644 --- a/resources/views/admin/score.tpl +++ b/resources/views/admin/score.tpl @@ -9,7 +9,7 @@

- {{ trans('general.score-options') }} + @lang('general.score-options')

diff --git a/resources/views/admin/update.tpl b/resources/views/admin/update.tpl index 718a84c1..4cbf4c01 100644 --- a/resources/views/admin/update.tpl +++ b/resources/views/admin/update.tpl @@ -9,7 +9,7 @@

- {{ trans('general.check-update') }} + @lang('general.check-update')

@@ -19,67 +19,67 @@
-

{{ trans('admin.update.info.title') }}

+

@lang('admin.update.info.title')

@if ($info['new_version_available']) -
{{ trans('admin.update.info.available') }}
+
@lang('admin.update.info.available')
- + - + - + - + - + @if($info['pre_release']) -
{{ trans('admin.update.info.pre-release-warning') }}
+
@lang('admin.update.info.pre-release-warning')
@endif
{{ trans('admin.update.info.versions.latest') }}@lang('admin.update.info.versions.latest') v{{ $info['latest_version'] }}
{{ trans('admin.update.info.versions.current') }}@lang('admin.update.info.versions.current') v{{ $info['current_version'] }}
{{ trans('admin.update.info.release-time') }}@lang('admin.update.info.release-time') {{ Utils::getTimeFormatted($info['release_time']) }}
{{ trans('admin.update.info.change-log.text') }}@lang('admin.update.info.change-log.text') {!! nl2br($info['release_note']) ?: trans('admin.update.info.change-log.empty') !!}
{{ trans('admin.update.info.downloads.text') }}@lang('admin.update.info.downloads.text') - {{ trans('admin.update.info.downloads.link') }} + @lang('admin.update.info.downloads.link')
@else -
{{ trans('admin.update.info.up-to-date') }}
+
@lang('admin.update.info.up-to-date')
- + - + @@ -88,14 +88,14 @@ @endif
-

{{ trans('admin.update.cautions.title') }}

+

@lang('admin.update.cautions.title')

{!! nl2br(trans('admin.update.cautions.text')) !!}

@@ -116,10 +116,10 @@
{{ trans('admin.update.info.versions.current') }}@lang('admin.update.info.versions.current') v{{ $info['current_version'] }}
{{ trans('admin.update.info.release-time') }}@lang('admin.update.info.release-time') @if ($info['release_time']) {{ Utils::getTimeFormatted($info['release_time']) }} @else - {{ trans('admin.update.info.pre-release') }} + @lang('admin.update.info.pre-release') @endif
- - - - - - - - + + + + + + + +
{{ trans('general.user.uid') }}{{ trans('general.user.email') }}{{ trans('general.user.nickname') }}{{ trans('general.user.score') }}{{ trans('admin.users.players-count.title') }}{{ trans('admin.users.status.title') }}{{ trans('general.user.register-at') }}{{ trans('general.operations') }}@lang('general.user.uid')@lang('general.user.email')@lang('general.user.nickname')@lang('general.user.score')@lang('admin.users.players-count.title')@lang('admin.users.status.title')@lang('general.user.register-at')@lang('general.operations')
diff --git a/resources/views/auth/bind.tpl b/resources/views/auth/bind.tpl index def4e7aa..730570c6 100644 --- a/resources/views/auth/bind.tpl +++ b/resources/views/auth/bind.tpl @@ -10,15 +10,15 @@
- +

- {{ trans('auth.register-link') }} + @lang('auth.register-link')
diff --git a/resources/views/auth/mail.tpl b/resources/views/auth/mail.tpl index e12cca5a..425d5c03 100644 --- a/resources/views/auth/mail.tpl +++ b/resources/views/auth/mail.tpl @@ -8,17 +8,17 @@
{!! trans('auth.mail.message', ['sitename' => "".option_localized('site_name').""]) !!}

- {{ trans('auth.mail.ignore') }} + @lang('auth.mail.ignore')
- * {{ trans('auth.mail.notice') }}
+ * @lang('auth.mail.notice')
diff --git a/resources/views/auth/register.tpl b/resources/views/auth/register.tpl index 74c89403..a9b3929f 100644 --- a/resources/views/auth/register.tpl +++ b/resources/views/auth/register.tpl @@ -10,36 +10,36 @@
- +
- +
- +
- +
-
- +
+
- +
- CAPTCHA + CAPTCHA
@@ -48,11 +48,11 @@
- +
diff --git a/resources/views/auth/reset.tpl b/resources/views/auth/reset.tpl index 500b81bd..e0bdb145 100644 --- a/resources/views/auth/reset.tpl +++ b/resources/views/auth/reset.tpl @@ -10,17 +10,17 @@
- +
diff --git a/resources/views/common/manage-panel.tpl b/resources/views/common/manage-panel.tpl index 1327e856..b1360aa4 100644 --- a/resources/views/common/manage-panel.tpl +++ b/resources/views/common/manage-panel.tpl @@ -9,10 +9,10 @@
diff --git a/resources/views/common/texture-preview.tpl b/resources/views/common/texture-preview.tpl index 6bfc267a..0db9ad1b 100644 --- a/resources/views/common/texture-preview.tpl +++ b/resources/views/common/texture-preview.tpl @@ -2,10 +2,10 @@

{!! $title or trans('general.texture-preview') !!}
- - - - + + + +

diff --git a/resources/views/common/user-menu.tpl b/resources/views/common/user-menu.tpl index 907469a3..89acc6d0 100644 --- a/resources/views/common/user-menu.tpl +++ b/resources/views/common/user-menu.tpl @@ -23,13 +23,13 @@
  • @@ -38,10 +38,10 @@ diff --git a/resources/views/errors/403.tpl b/resources/views/errors/403.tpl index ec95becb..4ae982b2 100644 --- a/resources/views/errors/403.tpl +++ b/resources/views/errors/403.tpl @@ -7,5 +7,5 @@ @include('setup.wizard.language') -

    {{ trans('errors.exception.detail', ['msg' => $exception->getMessage() ?: trans('errors.http.msg-403')]) }}

    +

    @lang('errors.exception.detail', ['msg' => $exception->getMessage() ?: trans('errors.http.msg-403')])

    @endsection diff --git a/resources/views/errors/404.tpl b/resources/views/errors/404.tpl index 61ff5813..78f779be 100644 --- a/resources/views/errors/404.tpl +++ b/resources/views/errors/404.tpl @@ -7,5 +7,5 @@ @include('setup.wizard.language') -

    {{ trans('errors.exception.detail', ['msg' => $exception->getMessage() ?: trans('errors.http.msg-404')]) }}

    +

    @lang('errors.exception.detail', ['msg' => $exception->getMessage() ?: trans('errors.http.msg-404')])

    @endsection diff --git a/resources/views/errors/503.tpl b/resources/views/errors/503.tpl index 82fdb499..02d4fb1c 100644 --- a/resources/views/errors/503.tpl +++ b/resources/views/errors/503.tpl @@ -7,5 +7,5 @@ @include('setup.wizard.language') -

    {{ trans('errors.exception.detail', ['msg' => $exception->getMessage() ?: trans('errors.http.msg-503')]) }}

    +

    @lang('errors.exception.detail', ['msg' => $exception->getMessage() ?: trans('errors.http.msg-503')])

    @endsection diff --git a/resources/views/errors/exception.tpl b/resources/views/errors/exception.tpl index 0a0aede4..23167985 100644 --- a/resources/views/errors/exception.tpl +++ b/resources/views/errors/exception.tpl @@ -3,7 +3,7 @@ @section('title', trans('errors.general.title')) @section('content') -

    {{ trans('errors.general.title') }} +

    @lang('errors.general.title') @include('setup.wizard.language')

    diff --git a/resources/views/errors/pretty.tpl b/resources/views/errors/pretty.tpl index 567947fc..7b632136 100644 --- a/resources/views/errors/pretty.tpl +++ b/resources/views/errors/pretty.tpl @@ -3,10 +3,10 @@ @section('title', trans('errors.general.title')) @section('content') -

    {{ trans('errors.general.title') }} +

    @lang('errors.general.title') @include('setup.wizard.language')

    -

    {{ trans('errors.exception.code', ['code' => $code]) }}

    +

    @lang('errors.exception.code', ['code' => $code])

    {!! trans('errors.exception.detail', ['msg' => $message]) !!}

    @endsection diff --git a/resources/views/index.tpl b/resources/views/index.tpl index da2f4e71..2379aab9 100644 --- a/resources/views/index.tpl +++ b/resources/views/index.tpl @@ -28,8 +28,8 @@ @@ -42,7 +42,7 @@ @else {{-- Anonymous User --}} @endif @@ -60,12 +60,12 @@

    @if (is_null($user)) @if (option('user_can_register')) - {{ trans('general.register') }} + @lang('general.register') @else - {{ trans('general.login') }} + @lang('general.login') @endif @else - {{ trans('general.user-center') }} + @lang('general.user-center') @endif

    @@ -81,18 +81,18 @@
    -

    {{ trans('index.features.multi-player.name') }}

    -

    {{ trans('index.features.multi-player.desc') }}

    +

    @lang('index.features.multi-player.name')

    +

    @lang('index.features.multi-player.desc')

    -

    {{ trans('index.features.sharing.name') }}

    -

    {{ trans('index.features.sharing.desc') }}

    +

    @lang('index.features.sharing.name')

    +

    @lang('index.features.sharing.desc')

    -

    {{ trans('index.features.free.name') }}

    -

    {{ trans('index.features.free.desc') }}

    +

    @lang('index.features.free.name')

    +

    @lang('index.features.free.desc')


    @@ -102,11 +102,11 @@
    - {{ trans('index.introduction', ['sitename' => option_localized('site_name')]) }} + @lang('index.introduction', ['sitename' => option_localized('site_name')])
    diff --git a/resources/views/setup/locked.tpl b/resources/views/setup/locked.tpl index d64f434c..4538377e 100644 --- a/resources/views/setup/locked.tpl +++ b/resources/views/setup/locked.tpl @@ -2,12 +2,12 @@ @section('content')

    -{{ trans('setup.locked.title') }} +@lang('setup.locked.title') @include('setup.wizard.language')

    -

    {{ trans('setup.locked.text') }}

    +

    @lang('setup.locked.text')

    - {{ trans('setup.locked.button') }} + @lang('setup.locked.button')

    @endsection diff --git a/resources/views/setup/master.tpl b/resources/views/setup/master.tpl index 3ad6937a..4b9b5664 100644 --- a/resources/views/setup/master.tpl +++ b/resources/views/setup/master.tpl @@ -4,7 +4,7 @@ - {{ trans('setup.wizard.master.title') }} + @lang('setup.wizard.master.title') @yield('style') diff --git a/resources/views/setup/updates/master.tpl b/resources/views/setup/updates/master.tpl index 83f6ac5a..5f7d274a 100644 --- a/resources/views/setup/updates/master.tpl +++ b/resources/views/setup/updates/master.tpl @@ -4,7 +4,7 @@ - {{ trans('setup.updates.master.title') }} + @lang('setup.updates.master.title') diff --git a/resources/views/setup/updates/success.tpl b/resources/views/setup/updates/success.tpl index 8d0aeb04..9a889077 100644 --- a/resources/views/setup/updates/success.tpl +++ b/resources/views/setup/updates/success.tpl @@ -2,15 +2,15 @@ @section('content')

    -{{ trans('setup.updates.success.title') }} +@lang('setup.updates.success.title') @include('setup.wizard.language')

    -

    {{ trans('setup.updates.success.text', ['version' => config('app.version')]) }}

    +

    @lang('setup.updates.success.text', ['version' => config('app.version')])

    {{-- if any tip is given --}} @if (!empty($tips)) -

    {{ trans('setup.updates.success.tips') }}

    +

    @lang('setup.updates.success.tips')