From 44874fbdc56fe44644729e3b98d4bb3079a6c3f6 Mon Sep 17 00:00:00 2001 From: miguel456 Date: Sat, 19 Mar 2022 06:22:00 +0000 Subject: [PATCH] feat: added strings to Teams feature --- .../dashboard/appmanagement/all.blade.php | 52 ++++++++--------- .../views/dashboard/teams/edit-team.blade.php | 56 +++++++++---------- .../dashboard/teams/team-files.blade.php | 18 +++--- .../views/dashboard/teams/teams.blade.php | 36 ++++++------ 4 files changed, 81 insertions(+), 81 deletions(-) diff --git a/resources/views/dashboard/appmanagement/all.blade.php b/resources/views/dashboard/appmanagement/all.blade.php index 08dc36a..d93d604 100755 --- a/resources/views/dashboard/appmanagement/all.blade.php +++ b/resources/views/dashboard/appmanagement/all.blade.php @@ -1,10 +1,10 @@ @extends('adminlte::page') -@section('title', config('app.name') . ' | ' . __('messages.application_m.all_apps')) +@section('title', config('app.name') . ' | ' . __('All Applications')) @section('content_header') -

{{__('messages.application_m.title')}} / {{__('messages.application_m.all_apps')}}

+

{{__('Application Management')}} / {{__('All Applications')}}

@stop @@ -20,20 +20,20 @@ @foreach($applications as $application) - + -

{{__('messages.application_m.really_delete')}}

+

{{__('Really delete this?')}}

- {{__('messages.application_m.delete_action_warning', ['consequence' => '' . __('messages.application_m.consequence_irreversible') .''])}} + {!! __('This action is :consequence.', ['consequence' => '' . __('IRREVERSIBLE.') .'']) !!}

-

{{__('messages.application_m.delete_explainer')}}

+

{{__('Comments, appointments and any votes attached to this application WILL be deleted too. Please make sure this application really needs to be deleted.')}}

@csrf @method('DELETE') - +
@@ -55,15 +55,15 @@
- Applications illustration + {{ __('Applications illustration') }}
-

{{__('messages.application_m.all_apps_header')}}

+

{{__("You're looking at all applications ever received")}}

- {{__('messages.application_m.all_apps_exp')}} + {{__('Here, you have quick and easy access to all applications ever received by the system.')}}

@@ -90,7 +90,7 @@
-

{{__('messages.application_m.all_apps')}}

+

{{__('All Applications')}}

@@ -119,10 +119,10 @@ # - {{__('messages.application_m.applicant')}} - {{__('messages.reusable.status')}} - {{__('messages.reusable.date')}} - {{__('messages.reusable.actions')}} + {{__('Applicant')}} + {{__('Status')}} + {{__('Date')}} + {{__('Actions')}} @@ -139,48 +139,48 @@ @case('STAGE_SUBMITTED') - {{__('messages.application_m.outstanding_subm')}} + {{__('Outstanding (Submitted)')}} @break @case('STAGE_PEERAPPROVAL') - {{__('messages.application_m.p_review')}} + {{__('Peer Review')}} @break @case('STAGE_INTERVIEW') - {{__('messages.application_m.interview_p')}} + {{__('Interview')}} @break @case('STAGE_INTERVIEW_SCHEDULED') - {{__('messages.application_m.interview_s')}} + {{__('Interview Scheduled')}} @break @case('APPROVED') - {{__('messages.application_m.approved')}} + {{__('Approved')}} @break @case('DENIED') - {{__('messages.application_m.denied')}} + {{__('Denied')}} @break; @default - {{__('messages.application_m.denied')}} + {{__('Denied')}} @endswitch {{ $application->created_at }} - - + + @@ -194,9 +194,9 @@
-

{{__('messages.application_m.no_apps')}}

+

{{__('There are no applications here')}}

- {{__('messages.application_m.no_apps_exp')}} + {{__("We couldn't find any applications. Maybe no one has applied yet? Please try again later.")}}

diff --git a/resources/views/dashboard/teams/edit-team.blade.php b/resources/views/dashboard/teams/edit-team.blade.php index ae9990a..91ee1b3 100755 --- a/resources/views/dashboard/teams/edit-team.blade.php +++ b/resources/views/dashboard/teams/edit-team.blade.php @@ -1,9 +1,9 @@ @extends('adminlte::page') -@section('title', config('app.name') . ' | ' . __('messages.teams.m_teams_page')) +@section('title', config('app.name') . ' | ' . __('Teams')) @section('content_header') -

{{config('app.name')}} / {{__('messages.teams.m_teams_page')}}

+

{{config('app.name')}} / {{__('Teams')}}

@stop @section('js') @@ -23,18 +23,18 @@ @csrf
- This user will receive an email notification asking them to join your team. + {{ __('This user will receive an email notification asking them to join your team.') }}
- +
@@ -42,7 +42,7 @@ -

Team members and pending invites will appear here.

+

{{ __('Team members and pending invites will appear here.') }}

@if (!$team->users->isEmpty()) @@ -50,10 +50,10 @@ - - - - + + + + @@ -73,13 +73,13 @@ @@ -92,8 +92,8 @@
- There don't seem to be any teammates here! -

Start inviting some people and grow your team.

+ {{__("There don't seem to be any teammates here!")}} +

{{ __('Start inviting some people and grow your team.') }}

@@ -119,7 +119,7 @@
-

Edit Team

+

{{ __('Edit Team') }}

@@ -131,21 +131,21 @@
- + - + - Markdown supported + {{ __('Markdown supported') }}
- + - openJoin == 1) ? 'checked' : '' }} name="joinType" id="jointype" data-toggle="toggle" data-on="Public Team" data-off="Private" data-onstyle="success" data-offstyle="danger" data-width="100"> + openJoin == 1) ? 'checked' : '' }} name="joinType" id="jointype" data-toggle="toggle" data-on="{{ __('Public Team') }}" data-off="{{__('Private')}}" data-onstyle="success" data-offstyle="danger" data-width="100"> - +
@@ -155,9 +155,9 @@
@@ -170,12 +170,12 @@
-

Team Vacancies

+

{{ __('Team Vacancies') }}

- The vacancies you select determine what applications your team members see. All applications under the vacancies you choose will be displayed. + {{ __('The vacancies you select determine what applications your team members see. All applications under the vacancies you choose will be displayed.') }}
@@ -199,7 +199,7 @@ diff --git a/resources/views/dashboard/teams/team-files.blade.php b/resources/views/dashboard/teams/team-files.blade.php index b248922..3c034a7 100755 --- a/resources/views/dashboard/teams/team-files.blade.php +++ b/resources/views/dashboard/teams/team-files.blade.php @@ -1,9 +1,9 @@ @extends('adminlte::page') -@section('title', config('app.name') . ' | Team Files') +@section('title', config('app.name') . ' | ' . __('Team Files')) @section('content_header') -

{{config('app.name')}} / Teams / Files

+

{{config('app.name')}} {{ __('/ Teams / Files') }}

@stop @section('js') @@ -20,10 +20,10 @@ @csrf
- + - +
@@ -32,14 +32,14 @@ - + @endif @@ -47,7 +47,7 @@
- Team files illustration + {{ __('Team files illustration') }}
@@ -56,8 +56,8 @@
-

Warning

-

Since many users may use the app at any given time, file uploads are disabled whilst demo mode is on.

+

{{ __('Warning') }}

+

{{ __('Since many users may use the app at any given time, file uploads are disabled whilst demo mode is on.') }}

diff --git a/resources/views/dashboard/teams/teams.blade.php b/resources/views/dashboard/teams/teams.blade.php index a858239..ad2cb72 100755 --- a/resources/views/dashboard/teams/teams.blade.php +++ b/resources/views/dashboard/teams/teams.blade.php @@ -1,9 +1,9 @@ @extends('adminlte::page') -@section('title', config('app.name') . ' | ' . __('messages.teams.m_teams_page')) +@section('title', config('app.name') . ' | ' . __('Teams')) @section('content_header') -

{{config('app.name')}} / {{__('messages.teams.m_teams_page')}}

+

{{config('app.name')}} / {{__('Teams')}}

@stop @section('js') @@ -26,18 +26,18 @@
@csrf - +
-

This is the name team members will see.

+

{{ __('This is the name team members will see.') }}

- + @@ -49,7 +49,7 @@
- Team illustration + {{ __('Team illustration') }}
@@ -71,8 +71,8 @@
-

{{ __('messages.teams.m_teams_page') }} {{ (Auth::user()->currentTeam) ? Auth::user()->currentTeam->name : 'Select a team' }}

- +

{{ __('Teams') }} {{ (Auth::user()->currentTeam) ? Auth::user()->currentTeam->name : __('Select a team') }}

+
@@ -89,23 +89,23 @@
- - - + + + @foreach ($teams as $team) - + @@ -119,8 +119,8 @@ @else
- There don't seem to be any teams here -

Have you tried creating or joining a team? You may also click an invite link if you've been invited.

+ {!! __(" There don't seem to be any teams here") !!} +

{{ __("Have you tried creating or joining a team? You may also click an invite link if you've been invited.") }}

@endif @@ -130,8 +130,8 @@
#NameRolesStatusActions{{ __('Name') }}{{ __('Roles') }}{{ __('Status') }}{{ __('Actions') }}
@if ($teammate->isOwnerOfTeam($team)) - Team Owner + {{__('Team Owner')}} @else - Team Member + {{__('Team Member')}} @endif - +
#Team OwnerTeam NameActions{{ __('Team Owner') }}{{ __('Team Name') }}{{__('Actions')}}
{{ $team->id }} {{ $team->owner_id }} {{ $team->name }} - - + +