Skip to content

A free open source IT asset/license management system

Renamed account/api to account/general to match naming schema, changed the associated account/api trans() to account/general

Wächtler, Yannick6b2801867dd0
diff --git a/resources/lang/en/account/api.php b/resources/lang/en/account/general.php
similarity index 100%
rename from resources/lang/en/account/api.php
rename to resources/lang/en/account/general.php
diff --git a/resources/views/account/api.blade.php b/resources/views/account/api.blade.php
index d54b1cc9fd..97dcd243b4 100644
--- a/resources/views/account/api.blade.php
+++ b/resources/views/account/api.blade.php
@@ -2,7 +2,7 @@
{{-- Page title --}}
@section('title')
- {{ trans('account/api.personal_api_keys') }}
+ {{ trans('account/general.personal_api_keys') }}
@parent
@stop
@@ -24,17 +24,17 @@
</div>
<div class="col-md-4">
<div class="alert alert-warning"><i class="fas fa-exclamation-triangle faa-pulse animated"></i>
- {{ trans('account/api.api_key_warning') }}
+ {{ trans('account/general.api_key_warning') }}
</div>
- <p>{{ trans('account/api.api_base_url') }}<br>
- <code>{{ url('/api/v1') }}{{!! trans('account/api.api_base_url_endpoint') !!}}</code></p>
+ <p>{{ trans('account/general.api_base_url') }}<br>
+ <code>{{ url('/api/v1') }}{{!! trans('account/general.api_base_url_endpoint') !!}}</code></p>
- <p>{{ trans('account/api.api_token_expiration_time') }}
+ <p>{{ trans('account/general.api_token_expiration_time') }}
<strong>{{ config('passport.expiration_years') }} {{ trans('general.years') }} </strong>.</p>
- <p>{{!! trans('account/api.api_reference') !!}}</p>
+ <p>{{!! trans('account/general.api_reference') !!}}</p>
</div>
</div>