Merge pull request #5 from spacejewel-hosting/translate

New translations (i10n)

This merge adds the following;
 - Completed Portuguese translations
 - Spanish and French translation templates
 - Several bugfixes to Vacancies, Applications, and Appointments
 - Added missing translations
 - Language selection menu

Next feature for 0.6.0:
 - Self updater with Artisan command for non-git installations
This commit is contained in:
Miguel Nogueira 2020-09-03 04:38:25 +01:00 committed by GitHub
commit 50ed47964c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
45 changed files with 3834 additions and 567 deletions

View File

@ -39,7 +39,9 @@
<excludeFolder url="file://$MODULE_DIR$/vendor/laravel/ui" /> <excludeFolder url="file://$MODULE_DIR$/vendor/laravel/ui" />
<excludeFolder url="file://$MODULE_DIR$/vendor/league/commonmark" /> <excludeFolder url="file://$MODULE_DIR$/vendor/league/commonmark" />
<excludeFolder url="file://$MODULE_DIR$/vendor/league/flysystem" /> <excludeFolder url="file://$MODULE_DIR$/vendor/league/flysystem" />
<excludeFolder url="file://$MODULE_DIR$/vendor/league/mime-type-detection" />
<excludeFolder url="file://$MODULE_DIR$/vendor/maximebf/debugbar" /> <excludeFolder url="file://$MODULE_DIR$/vendor/maximebf/debugbar" />
<excludeFolder url="file://$MODULE_DIR$/vendor/mcamara/laravel-localization" />
<excludeFolder url="file://$MODULE_DIR$/vendor/mockery/mockery" /> <excludeFolder url="file://$MODULE_DIR$/vendor/mockery/mockery" />
<excludeFolder url="file://$MODULE_DIR$/vendor/monolog/monolog" /> <excludeFolder url="file://$MODULE_DIR$/vendor/monolog/monolog" />
<excludeFolder url="file://$MODULE_DIR$/vendor/myclabs/deep-copy" /> <excludeFolder url="file://$MODULE_DIR$/vendor/myclabs/deep-copy" />

View File

@ -127,6 +127,20 @@
<path value="$PROJECT_DIR$/vendor/symfony/string" /> <path value="$PROJECT_DIR$/vendor/symfony/string" />
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-intl-grapheme" /> <path value="$PROJECT_DIR$/vendor/symfony/polyfill-intl-grapheme" />
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-php80" /> <path value="$PROJECT_DIR$/vendor/symfony/polyfill-php80" />
<path value="$PROJECT_DIR$/vendor/bacon/bacon-qr-code" />
<path value="$PROJECT_DIR$/vendor/dasprid/enum" />
<path value="$PROJECT_DIR$/vendor/geo-sot/laravel-env-editor" />
<path value="$PROJECT_DIR$/vendor/laravel/slack-notification-channel" />
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-php70" />
<path value="$PROJECT_DIR$/vendor/pragmarx/google2fa-laravel" />
<path value="$PROJECT_DIR$/vendor/pragmarx/google2fa" />
<path value="$PROJECT_DIR$/vendor/pragmarx/google2fa-qrcode" />
<path value="$PROJECT_DIR$/vendor/arcanedev/log-viewer" />
<path value="$PROJECT_DIR$/vendor/arcanedev/support" />
<path value="$PROJECT_DIR$/vendor/paragonie/constant_time_encoding" />
<path value="$PROJECT_DIR$/vendor/graham-campbell/markdown" />
<path value="$PROJECT_DIR$/vendor/league/mime-type-detection" />
<path value="$PROJECT_DIR$/vendor/mcamara/laravel-localization" />
</include_path> </include_path>
</component> </component>
<component name="PhpProjectSharedConfiguration" php_language_level="7.2" /> <component name="PhpProjectSharedConfiguration" php_language_level="7.2" />

View File

@ -1,3 +1,4 @@
# Raspberry Teams - The Simple Staff Application Manager v 0.1.0 [![Crowdin](https://badges.crowdin.net/raspberry-staff-manager/localized.svg)](https://crowdin.com/project/raspberry-staff-manager) # Raspberry Teams - The Simple Staff Application Manager v 0.1.0 [![Crowdin](https://badges.crowdin.net/raspberry-staff-manager/localized.svg)](https://crowdin.com/project/raspberry-staff-manager)
## The quick and pain-free staff application manager ## The quick and pain-free staff application manager

View File

@ -7,11 +7,13 @@ use Illuminate\Database\Eloquent\Model;
class Appointment extends Model class Appointment extends Model
{ {
public $fillable = [ public $fillable = [
'appointmentDescription', 'appointmentDescription',
'appointmentDate', 'appointmentDate',
'applicationID', 'applicationID',
'appointmentStatus', 'appointmentStatus',
'appointmentLocation' 'appointmentLocation',
'meetingNotes',
'userAccepted'
]; ];
public function application() public function application()

View File

@ -231,7 +231,7 @@ class ApplicationController extends Controller
return redirect()->back(); return redirect()->back();
} }
public function updateApplicationStatus(Request $request, $application, $newStatus) public function updateApplicationStatus(Request $request, Application $application, $newStatus)
{ {
$this->authorize('update', Application::class); $this->authorize('update', Application::class);

View File

@ -72,10 +72,12 @@ class AppointmentController extends Controller
} }
// also updates // also updates
public function saveNotes(SaveNotesRequest $request, $application) public function saveNotes(SaveNotesRequest $request, Application $application)
{ {
if (!is_null($application)) if (!is_null($application))
{ {
$application->load('appointment');
$application->appointment->meetingNotes = $request->noteText; $application->appointment->meetingNotes = $request->noteText;
$application->appointment->save(); $application->appointment->save();

View File

@ -111,11 +111,11 @@ class VacancyController extends Controller
} }
public function edit(Request $request, Vacancy $position) public function edit(Request $request, Vacancy $vacancy)
{ {
$this->authorize('update', $position); $this->authorize('update', $vacancy);
return view('dashboard.administration.editposition') return view('dashboard.administration.editposition')
->with('vacancy', $position); ->with('vacancy', $vacancy);
} }
@ -124,11 +124,11 @@ class VacancyController extends Controller
{ {
$this->authorize('update', $vacancy); $this->authorize('update', $vacancy);
$position->vacancyFullDescription = $request->vacancyFullDescription; $vacancy->vacancyFullDescription = $request->vacancyFullDescription;
$position->vacancyDescription = $request->vacancyDescription; $vacancy->vacancyDescription = $request->vacancyDescription;
$position->vacancyCount = $request->vacancyCount; $vacancy->vacancyCount = $request->vacancyCount;
$position->save(); $vacancy->save();
$request->session()->flash('success', 'Vacancy successfully updated.'); $request->session()->flash('success', 'Vacancy successfully updated.');
return redirect()->back(); return redirect()->back();

View File

@ -21,7 +21,7 @@ class VoteController extends Controller
'userID' => Auth::user()->id, 'userID' => Auth::user()->id,
'allowedVoteType' => $voteRequest->voteType, 'allowedVoteType' => $voteRequest->voteType,
]); ]);
$vote->application()->attach($applicationID); $vote->application()->attach($application->id);
Log::info('User ' . Auth::user()->name . ' has voted in applicant ' . $application->user->name . '\'s application', [ Log::info('User ' . Auth::user()->name . ' has voted in applicant ' . $application->user->name . '\'s application', [

View File

@ -66,5 +66,10 @@ class Kernel extends HttpKernel
'usernameUUID' => \App\Http\Middleware\UsernameUUID::class, 'usernameUUID' => \App\Http\Middleware\UsernameUUID::class,
'forcelogout' => \App\Http\Middleware\ForceLogoutMiddleware::class, 'forcelogout' => \App\Http\Middleware\ForceLogoutMiddleware::class,
'2fa' => \PragmaRX\Google2FALaravel\Middleware::class, '2fa' => \PragmaRX\Google2FALaravel\Middleware::class,
'localize' => \Mcamara\LaravelLocalization\Middleware\LaravelLocalizationRoutes::class,
'localizationRedirect' => \Mcamara\LaravelLocalization\Middleware\LaravelLocalizationRedirectFilter::class,
'localeSessionRedirect' => \Mcamara\LaravelLocalization\Middleware\LocaleSessionRedirect::class,
'localeCookieRedirect' => \Mcamara\LaravelLocalization\Middleware\LocaleCookieRedirect::class,
'localeViewPath' => \Mcamara\LaravelLocalization\Middleware\LaravelLocalizationViewPath::class
]; ];
} }

View File

@ -9,8 +9,8 @@
"license": "MIT", "license": "MIT",
"require": { "require": {
"php": "^7.2.5", "php": "^7.2.5",
"ext-json": "*",
"ext-imagick": "*", "ext-imagick": "*",
"ext-json": "*",
"arcanedev/log-viewer": "^7.0", "arcanedev/log-viewer": "^7.0",
"doctrine/dbal": "^2.10", "doctrine/dbal": "^2.10",
"fideloper/proxy": "^4.2", "fideloper/proxy": "^4.2",
@ -23,6 +23,7 @@
"laravel/slack-notification-channel": "^2.0", "laravel/slack-notification-channel": "^2.0",
"laravel/tinker": "^2.0", "laravel/tinker": "^2.0",
"laravel/ui": "^2.0", "laravel/ui": "^2.0",
"mcamara/laravel-localization": "^1.5",
"pragmarx/google2fa-laravel": "^1.3", "pragmarx/google2fa-laravel": "^1.3",
"sentry/sentry-laravel": "1.7.1", "sentry/sentry-laravel": "1.7.1",
"spatie/laravel-permission": "^3.13" "spatie/laravel-permission": "^3.13"

1289
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -209,74 +209,74 @@ return [
'menu' => [ 'menu' => [
[ [
'text' => __('messages.home'), 'text' => 'Home',
'icon' => 'fas fa-home', 'icon' => 'fas fa-home',
'url' => 'dashboard' 'url' => 'dashboard'
], ],
[ [
'text' => __('messages.user.directory.directory'), 'text' => 'Directory',
'icon' => 'fas fa-users', 'icon' => 'fas fa-users',
'url' => 'users/directory', 'url' => 'users/directory',
'can' => 'profiles.view.others' 'can' => 'profiles.view.others'
], ],
[ [
'header' => __('messages.application_m.int_applications'), 'header' => 'Applications',
'can' => 'applications.view.own' 'can' => 'applications.view.own'
], ],
[ [
'text' => __('messages.menu.my_apps'), 'text' => 'My Applications',
'icon' => 'fas fa-fw fa-list-ul', 'icon' => 'fas fa-fw fa-list-ul',
'can' => 'applications.view.own', 'can' => 'applications.view.own',
'submenu' => [ 'submenu' => [
[ [
'text' => __('messages.menu.current_apps'), 'text' => 'Current Applications',
'icon' => 'fas fa-fw fa-check-double', 'icon' => 'fas fa-fw fa-check-double',
'url' => '/applications/my-applications' 'url' => '/applications/my-applications'
] ]
], ],
], ],
__('messages.reusable.profile'), 'My Profile',
[ [
'text' => __('messages.menu.profile_settings'), 'text' => 'Profile Settings',
'url' => '/profile/settings', 'url' => '/profile/settings',
'icon' => 'fas fa-fw fa-cog' 'icon' => 'fas fa-fw fa-cog'
], ],
[ [
'text' => __('messages.profile.account_settings_personal'), 'text' => 'My Account Settings',
'icon' => 'fas fa-user-circle', 'icon' => 'fas fa-user-circle',
'url' => '/profile/settings/account' 'url' => '/profile/settings/account'
], ],
[ [
'header' => __('messages.application_m.title'), 'header' => 'Application Management',
'can' => ['applications.view.all', 'applications.vote'] 'can' => ['applications.view.all', 'applications.vote']
], ],
[ [
'text' => __('messages.application_m.all_apps'), 'text' => 'All applications',
'url' => 'applications/staff/all', 'url' => 'applications/staff/all',
'icon' => 'fas fa-list-ol', 'icon' => 'fas fa-list-ol',
'can' => 'applications.view.all' 'can' => 'applications.view.all'
], ],
[ [
'text' => __('messages.application_m.outstanding_apps'), 'text' => 'Outstanding Applications',
'url' => '/applications/staff/outstanding', 'url' => '/applications/staff/outstanding',
'icon' => 'far fa-folder-open', 'icon' => 'far fa-folder-open',
'can' => 'applications.view.all' 'can' => 'applications.view.all'
], ],
[ [
'text' => __('messages.application_m.interview_q'), 'text' => 'Interview Queue',
'url' => '/applications/staff/pending-interview', 'url' => '/applications/staff/pending-interview',
'icon' => 'fas fa-fw fa-microphone-alt', 'icon' => 'fas fa-fw fa-microphone-alt',
'can' => 'applications.view.all' 'can' => 'applications.view.all'
], ],
[ [
'text' => __('messages.user.peer_approval_q'), 'text' => 'Peer Approval Queue',
'url' => '/applications/staff/peer-review', 'url' => '/applications/staff/peer-review',
'icon' => 'fas fa-fw fa-search', 'icon' => 'fas fa-fw fa-search',
'can' => 'applications.view.all' 'can' => 'applications.view.all'
], ],
[ [
'header' => __('messages.adm'), 'header' => 'Administration',
'can' => [ // may need to be modified 'can' => [ // may need to be modified
'admin.hiring.*', 'admin.hiring.*',
'admin.userlist', 'admin.userlist',
@ -286,38 +286,38 @@ return [
] ]
], ],
[ [
'text' => __('messages.staff.members'), 'text' => 'Staff Members',
'icon' => 'fas fa-fw fa-users', 'icon' => 'fas fa-fw fa-users',
'url' => '/hr/staff-members', 'url' => '/hr/staff-members',
'can' => 'admin.stafflist' 'can' => 'admin.stafflist'
], ],
[ // players who haven't been promoted yet [ // players who haven't been promoted yet
'text' => __('messages.players.reg_players'), 'text' => 'Registered Players',
'icon' => 'fas fa-fw fa-user-friends', 'icon' => 'fas fa-fw fa-user-friends',
'url' => '/hr/players', 'url' => '/hr/players',
'can' => 'admin.userlist' 'can' => 'admin.userlist'
], ],
[ [
'text' => __('messages.menu.hiring_man'), 'text' => 'Hiring Management',
'icon' => 'far fa-calendar-plus', 'icon' => 'far fa-calendar-plus',
'can' => 'admin.hiring.*', 'can' => 'admin.hiring.*',
'submenu' => [ 'submenu' => [
[ [
'text' => __('messages.open_positions'), 'text' => 'Open Positions',
'icon' => 'fas fa-box-open', 'icon' => 'fas fa-box-open',
'url' => '/admin/positions' 'url' => '/admin/positions'
], ],
[ [
'text' => __('messages.forms'), 'text' => 'Forms',
'icon' => 'fab fa-wpforms', 'icon' => 'fab fa-wpforms',
'submenu' => [ 'submenu' => [
[ [
'text' => __('messages.menu.all_forms'), 'text' => 'All forms',
'icon' => 'far fa-list-alt', 'icon' => 'far fa-list-alt',
'url' => '/admin/forms' 'url' => '/admin/forms'
], ],
[ [
'text' => __('messages.form_builder.builder'), 'text' => 'Form Builder',
'icon' => 'fas fa-fw fa-hammer', 'icon' => 'fas fa-fw fa-hammer',
'url' => '/admin/forms/builder' 'url' => '/admin/forms/builder'
] ]
@ -326,26 +326,26 @@ return [
] ]
], ],
[ [
'text' => __('messages.menu.app_settings'), 'text' => 'App Settings',
'icon' => 'fas fa-fw fa-cog', 'icon' => 'fas fa-fw fa-cog',
'can' => 'admin.notificationsettings', 'can' => 'admin.notificationsettings',
'submenu' => [ 'submenu' => [
[ [
'text' => __('messages.menu.global_app_settings'), 'text' => 'Global Application Settings',
'icon' => 'fas fa-cogs', 'icon' => 'fas fa-cogs',
'url' => '/admin/settings', 'url' => '/admin/settings',
'can' => 'admin.settings.view' 'can' => 'admin.settings.view'
], ],
[ [
'text' => __('messages.devtools'), 'text' => 'Developer Tools',
'icon' => 'fas fa-code', 'icon' => 'fas fa-code',
'url' => '/admin/devtools', 'url' => '/admin/devtools',
'can' => 'admin.developertools.use' 'can' => 'admin.developertools.use'
] ]
] ]
], ],
[ [
'text' => __('messages.menu.system_logs'), 'text' => 'System Logs',
'url' => '/admin/maintenance/system-logs', 'url' => '/admin/maintenance/system-logs',
'icon' => 'fas fa-clipboard-list', 'icon' => 'fas fa-clipboard-list',
'can' => 'admin.maintenance.logs.view' 'can' => 'admin.maintenance.logs.view'

View File

@ -0,0 +1,70 @@
<?php
return [
// Uncomment the languages that your site supports - or add new ones.
// These are sorted by the native name, which is the order you might show them in a language selector.
// Regional languages are sorted by their base language, so "British English" sorts as "English, British"
'supportedLocales' => [
'en' => ['name' => 'English', 'script' => 'Latn', 'native' => 'English', 'regional' => 'en_GB'],
'es' => ['name' => 'Spanish', 'script' => 'Latn', 'native' => 'Español', 'regional' => 'es_ES'],
'pt' => ['name' => 'Portuguese', 'script' => 'Latn', 'native' => 'Português', 'regional' => 'pt_PT'],
'fr' => ['name' => 'French', 'script' => 'Latn', 'native' => 'Français', 'regional' => 'fr_FR'],
],
// Requires middleware `LaravelSessionRedirect.php`.
//
// Automatically determine locale from browser (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Language)
// on first call if it's not defined in the URL. Redirect user to computed localized url.
// For example, if users browser language is `de`, and `de` is active in the array `supportedLocales`,
// the `/about` would be redirected to `/de/about`.
//
// The locale will be stored in session and only be computed from browser
// again if the session expires.
//
// If false, system will take app.php locale attribute
'useAcceptLanguageHeader' => true,
// If `hideDefaultLocaleInURL` is true, then a url without locale
// is identical with the same url with default locale.
// For example, if `en` is default locale, then `/en/about` and `/about`
// would be identical.
//
// If in addition the middleware `LaravelLocalizationRedirectFilter` is active, then
// every url with default locale is redirected to url without locale.
// For example, `/en/about` would be redirected to `/about`.
// It is recommended to use `hideDefaultLocaleInURL` only in
// combination with the middleware `LaravelLocalizationRedirectFilter`
// to avoid duplicate content (SEO).
//
// If `useAcceptLanguageHeader` is true, then the first time
// the locale will be determined from browser and redirect to that language.
// After that, `hideDefaultLocaleInURL` behaves as usual.
'hideDefaultLocaleInURL' => true,
// If you want to display the locales in particular order in the language selector you should write the order here.
//CAUTION: Please consider using the appropriate locale code otherwise it will not work
//Example: 'localesOrder' => ['es','en'],
'localesOrder' => ['en', 'pt', 'fr', 'es'],
// If you want to use custom lang url segments like 'at' instead of 'de-AT', you can use the mapping to tallow the LanguageNegotiator to assign the descired locales based on HTTP Accept Language Header. For example you want ot use 'at', so map HTTP Accept Language Header 'de-AT' to 'at' (['de-AT' => 'at']).
'localesMapping' => [],
// Locale suffix for LC_TIME and LC_MONETARY
// Defaults to most common ".UTF-8". Set to blank on Windows systems, change to ".utf8" on CentOS and similar.
'utf8suffix' => env('LARAVELLOCALIZATION_UTF8SUFFIX', '.UTF-8'),
// URLs which should not be processed, e.g. '/nova', '/nova/*', '/nova-api/*' or specific application URLs
// Defaults to []
'urlsIgnored' => [
'/js/*',
'/img/*',
'/css/*',
'/vendor/*',
'/app.css',
'/robots.txt',
'/slides/*',
'/auth/logout'
],
];

5
crowdin.yml Normal file
View File

@ -0,0 +1,5 @@
files:
- source: /**/lang/en/*.php
ignore:
- /**/lang/en/*2.php
translation: /**/lang/%two_letters_code%/%original_file_name%

View File

@ -75,7 +75,11 @@ return [
'eligible' => 'Eligible', 'eligible' => 'Eligible',
'ineligible' => 'Ineligible', 'ineligible' => 'Ineligible',
'schedule' => 'Schedule', 'schedule' => 'Schedule',
'platform' => 'Platform' 'schedule_action' => 'Schedule an Appointment',
'platform' => 'Platform',
'notepad' => 'Shared Notepad', // Context: The shared notepad that appears when votes are needed,
'appointment_info' => 'Appointment Information',
'ip_info' => 'IP Address Information for'
], ],
@ -181,6 +185,7 @@ return [
'adm' => 'Administration', 'adm' => 'Administration',
'devtools' => 'Developer Tools', 'devtools' => 'Developer Tools',
'devtools_evn' => 'Event Management',
'devoptions' => 'Developer Options', 'devoptions' => 'Developer Options',
'forceeval' => 'Please choose an application to force re-evaluation', 'forceeval' => 'Please choose an application to force re-evaluation',
'appid' => 'Application ID', 'appid' => 'Application ID',
@ -469,6 +474,7 @@ return [
'2fa_password_confirm_exp' => 'To prevent unauthorized changes, a password is always required for sensitive operations.', '2fa_password_confirm_exp' => 'To prevent unauthorized changes, a password is always required for sensitive operations.',
'2fa_disable_consent' => '"I understand the possible consequences of disabling two factor authentication"', '2fa_disable_consent' => '"I understand the possible consequences of disabling two factor authentication"',
'2fa_remove' => 'Remove 2FA', '2fa_remove' => 'Remove 2FA',
'2fa_remove_extended' => 'Remove Two-Factor Authentication',
'security_lgotherdev' => 'For your security, you\'ll need to re-enter your password before logging out other devices. If you believe your account has been compromised, please change your password instead, as that will automatically log out anyone else who might using your account, and prevent them from signing back in.', 'security_lgotherdev' => 'For your security, you\'ll need to re-enter your password before logging out other devices. If you believe your account has been compromised, please change your password instead, as that will automatically log out anyone else who might using your account, and prevent them from signing back in.',
'password_reenter' => 'Re-enter your password', 'password_reenter' => 'Re-enter your password',

View File

@ -0,0 +1,19 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Authentication Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used during authentication for various
| messages that we need to display to the user. You are free to modify
| these language lines according to your application's requirements.
|
*/
'failed' => 'These credentials do not match our records.',
'throttle' => 'Too many login attempts. Please try again in :seconds seconds.',
];

View File

@ -0,0 +1,610 @@
<?php
/*
* -- Information for translators | READ BEFORE TRANSLATING ANYTHING ---
* In this file, only translate messages to the right, in this fashion:
* 'something' => 'translate-me'
* Also, don't translate, change, or move placeholders (:this-is-a-placeholder) starting with a colon.
* Try to keep the message as close to the original in meaning as possible. These simple rules also apply to other files you're translating, such as:
* auth.php, pagination.php, passwords.php, and validation.php.
* It is VERY important that you "escape" single quotes with a backslash if they're present in your language, like this: I\'m an escaped quote
*
* Additionally, don't change anything in square or curly brackets, and don't remove pipe (|) characters.
* If you see two messages separated by pipe, then usually the left side is singular and the right side is plural, so translate accordingly.
*
* Thank you for translating!
*/
return [
// ============== MENU TRANSLATIONS ======================
'menu' => [
'my_apps' => 'My Applications',
'current_apps' => 'Current Applications',
'profile_settings' => 'Profile Settings',
'hiring_man' => 'Hiring Management',
'all_forms' => 'All Forms',
'app_settings' => 'App Settings',
'global_app_settings' => 'Global App Settings',
'system_logs' => 'System Logs'
],
// ============== REUSABLE, GENERIC STRINGS ===============
'reusable' => [
'created_at' => 'Created at',
'updated_at' => 'Updated at',
'actions' => 'Actions',
'delete' => 'Delete',
'status' => 'Status',
'view' => 'View',
'view_c' => 'View Details',
'no_access' => 'Application Access Denied',
'validation_err' => 'Validation error!',
'description' => 'Description',
'join_date' => 'Join Date',
'my_acc' => 'My Account',
'confirm' => 'Please Confirm',
'confirm_plain' => 'Confirm',
'confirm_click' => 'Click to Confirm',
'date' => 'Date',
'datetime' => 'Time & Date',
'location' => 'Location',
'none_yet' => 'None yet',
'reason' => 'Reason',
'days' => 'Days',
'weeks' => 'Weeks',
'months' => 'Months',
'years' => 'Years',
'yes' => 'Yes',
'no' => 'No',
'roles' => 'Roles',
'member_since' => 'Member since :date',
'lookup' => 'Lookup :ipAddress',
'abt' => 'About',
'acc' => 'Account',
'settings' => 'Settings',
'profile' => 'My Profile',
'code' => 'code',
'here' => 'here',
'auth_req' => 'Please authenticate',
'eligible' => 'Eligible',
'ineligible' => 'Ineligible',
'schedule' => 'Schedule',
'schedule_action' => 'Schedule an Appointment',
'platform' => 'Platform',
'notepad' => 'Shared Notepad', // Context: The shared notepad that appears when votes are needed,
'appointment_info' => 'Appointment Information',
'ip_info' => 'IP Address Information for'
],
// ============== HOMEPAGE MESSAGES ======================
'home' => 'Home',
'homepagetxt' => 'Homepage',
'login' => 'Sign in',
'logout' => 'Sign out',
'register' => 'Sign up',
'dashboard' => 'Dashboard',
'back' => 'Go back',
'homepage_welcome' => 'Welcome to our team management center!',
'homepage_explainer_line1' => 'Here, you can apply for open staff member positions, view your application status, and manage your profile.',
'homepage_explainer_line2' => 'Sign up with Email to continue.',
'footer_copy' => 'All rights reserved',
'global_error' => 'An error occurred',
'global_success' => 'Success!',
'txt_learn_more' => 'Learn more',
'opening_nodetails' => 'There don\'t seem to be any details',
'opening_nodetails_exp' => 'This opening does not have any details yet.',
'details_m_title' => 'Opening details',
'open_positions' => 'Open Positions',
'last_updated' => 'Last updated',
'open_position_count' => '{1} There is :count open position!|[2,*] There are :count open positions!',
'ineligible_days_remaining' => 'Ineligible (:days) day(s) remaining',
'txt_apply' => 'Apply', // Context: Apply as in applying for a "job", e.g. registering for a job
'txt_application' => 'Application',
'application_closed' => 'Applications Closed',
'application_closed_intro' => 'Hello there!',
'application_closed_intro_line2' => '
We are currently not hiring any new staff members at the moment. If you\'d like to apply, check out our Discord\'s
announcement channel for news when a new position opens.
Our application cycle usually lasts two weeks, so if you\'re seeing this, it\'s because it finished, and new one will begin soon.
',
'where_work' => 'Where you\'ll work',
'join_team' => 'Join The Team',
'join_team_cta' => 'Join the team today and help out network grow and prosper!',
'contact_cta' => 'Any questions? Leave a message!',
'contact_disclaimer' => '*This is not an application form. Any applications sent here will be ignored.',
'contactlabel_name' => 'Name',
'contactlabel_email' => 'E-mail',
'contactlabel_subject' => 'Subject (ex. Site Suggestion)',
'contactlabel_send' => 'Send',
// ======================== AUTHENTICATION MESSAGES ===========================
'2fa_txt' => 'Two-Factor Authentication',
'2fa_sronly' => 'Two-factor secret code (You can find this on Google Authenticator)',
'2fa_lostcode' => 'Don\'t know the code?',
'2fa_cancel_login' => 'Cancel login (logout)',
'terms' => 'Terms of Use',
'ppolicy' => 'Privacy Policy',
'signin_cta' => 'Sign into your account',
'password' => 'Password',
'remember_me' => 'Remember me',
'forgot_pw' => 'Forgot password?',
'register_cta' => 'Register here',
'no_acc' => 'Don\'t have an account?',
'register_acc' => 'Register a new account',
'pwsec' => [
'line1' => 'Basic password security',
'line2' => 'For your security, we implement strict password policies. It\'s also advisable to let your password manager or browser generate and save passwords for you (if it\'s a private device).',
'line3' => 'Passwords must be a combination of: ',
'line4' => 'A minimum of 10 characters;',
'line5' => 'At least 3 uppercase characters;',
'line6' => 'At least 3 numbers;',
'line7' => 'Any number of special characters.'
],
'sronly_confirmpassword' => 'Confirm Password', // hint: sronly stands for screen-reader only
'sronly_mcusername' => 'Minecraft Username (Premium)',
'have_account' => 'Have an account with us?',
'login_here' => 'Login here',
'register_txt' => 'Register',
// ===================== DASHBOARD & COMPONENT MESSAGES ===========================
'modal_close' => 'Close',
'component_nopermission' => 'We\'re sorry, but you do not have permission to access this web page.',
'component_accessdenied' => 'Access Denied',
'component_contact' => 'Please contact your administrator if you believe this was in error.',
'welcome_back' => 'Welcome back,',
'eligible' => 'Eligible',
'ineligible' => 'Ineligible',
'eligibility_status' => 'Your current application eligibility status: :badgeStatus',
'ongoing_apps' => 'Ongoing apps',
'denied_apps' => 'Denied apps',
'users_staff' => 'Total Users + Staff',
'new_apps' => 'New applications',
'v_backlog' => 'Vote backlog',
'ranks' => 'Available ranks',
'open' => 'Open',
'closed' => 'Closed',
'upcoming' => 'Your upcoming interviews',
'soon' => 'Coming soon',
//=================== ADMINISTRATION MESSAGES (for all administration pages) ===============
'adm' => 'Administration',
'devtools' => 'Developer Tools',
'devtools_evn' => 'Event Management',
'devoptions' => 'Developer Options',
'forceeval' => 'Please choose an application to force re-evaluation',
'appid' => 'Application ID',
'no_valid_app' => 'There are no valid applications',
'choose_app' => 'Choose an application',
'dispatch_event' => 'Dispatch event now',
'devtools_warn' => 'Do not use these options if you don\'t know what you\'re doing, even if you have access to this page.',
'warn' => 'Warning',
'override_votes' => 'Override Vote Evaluation',
'artisan_evaluate' => 'Artisan: Evaluate Votes Now', // Tip: Artisan is a program name, therefore not translatable
'devtools_info' => 'This panel may be also used to completely override the vote system in stalemate scenarios',
'forms' => 'Forms',
'positions' => 'Positions', // Context: Positions as in job opening
'edit_form' => 'Edit Form',
'edt' => 'Editor',
'edit' => 'Edit',
'edt_action' => 'Editing',
'txtbox' => 'Textbox',
'multiline' => 'Multi line answer',
'checkbox' => 'Checkbox',
'field_type' => 'Choose a field type',
'save_exit' => 'Save & Quit',
'new_field' => 'New field',
'vacancy_edit' => 'Vacancy Editor',
'new_vacancy' => 'New Vacancy',
'form_consistency' => 'For consistency purposes, grayed out fields can\'t be edited.',
'vacancy' => [
'add' => 'Add vacancy',
'name' => 'Vacancy Name',
'description' => 'Vacancy Description',
'details' => 'Vacancy Details',
'markdown' => 'Markdown Supported',
'no_details' => 'No details yet... Add some!',
'permission_group' => 'Permission Group',
'permission_group_tooltip' => 'The permission group from your server/network\'s permissions manager. Compatible with Luckperms and PEX.',
'discord_roleid' => 'Discord Role ID',
'discord_roleid_tooltip' => 'Discord Desktop: Go to your Account Settings > Appearance -> Advanced and toggle Developer Mode. On your server\'s roles tab, right click any role to copy it\'s ID.',
'current_form' => 'Current Form (uneditable)',
'remaining_slots' => 'Remaining slots',
'free_slots' => 'Free slots',
'free_slots_tooltip' => 'How many submissions before the vacancy stops accepting new applicants?',
'save' => 'Save Changes',
'cancel' => 'Cancel',
'close_vacancy' => 'Close Position',
'description_tooltip' => 'Add things like admission requirements, rank resposibilities and roles, and anything else you feel is necessary',
''
],
'form' => 'Form',
'form_builder' => [
'builder' => 'Form Builder',
'builder_name' => 'Application Form Management Tool',
'name_form' => 'Name your form...',
'save_form' => 'Save Form',
],
'form_preview' => [
'preview' => 'Preview',
'title' => 'Application Form Preview',
'looks' => 'This is how your form looks like to applicants',
'f_info' => 'You may edit it and add more fields later.',
''
],
'forms_p' => [
'available_forms' => 'Available forms',
'form_title' => 'Form title',
'empty_noforms' => 'Nothing to see here! Please add some forms first.',
'new_form' => 'NEW FORM'
],
'players' => [
'reg_players' => 'Registered Players',
'reg_players_staff' => 'See Registered Players (Applicant Pool)',
'total_banned' => 'Total Banned Players',
'search' => 'Search players',
'f_p_search' => 'Full/partial email search',
'p_disclaimer' => 'Please note: This list only includes players registered in the team management portal. In a future release, all network players will be shown here.',
'listing' => 'Player Listing',
'reg_date' => 'Registration Date',
'ign' => 'IGN', // Context: Short for In-Game Name
'banned' => 'Banned',
'active' => 'Active',
'no_reg' => 'There are no registered players!',
'no_reg_exp' => "
Registered players are those without a staff role in the team management application.
There may be other users registered in the platform, but they won't be displayed here.
",
'see_staff' => 'See Staff Members'
],
'positions_p' => [
'application_form' => 'Application Form',
'select_form' => 'Select a form...',
'no_form_error' => "
You cannot create a vacancy without any forms with which people would apply.
create a form first, then, create a vacancy.
A single form is allowed to have multiple vacancies, so you can attach future vacancies to the same form if you'd like.
",
'new_pos' => 'NEW POSITION',
'empty_pos_warning' => 'Nothing to see here! Open some vacancies first. This will get applicants pouring in! (hopefully)',
'manage_forms' => 'MANAGE APPLICATION FORMS',
],
'settings' => [
'settings' => 'Settings',
'settings_header' => 'Notification Settings',
'settings_p' => 'Change which notifications are sent here.',
'back_btn' => 'Back to Dashboard'
],
'staff' => [
'members' => 'Staff Members',
'active_sm' => 'Active Staff Members',
'm_listing' => 'Member Listing',
'f_name' => 'Full Name',
'rank' => 'Rank',
],
// ======================== APPLICATION RENDERING MESSAGES =========================
'application_r' => [
'appl_submit_warn' => 'Are you sure you want to submit your application? Please review each of your answers carefully before doing so.',
'appl_submit_doublewarn' => 'Please note: Applications CANNOT be modified once they\'re submitted!',
'acceptsend' => 'Accept & Send',
'review' => 'Review',
'applying_for' => 'You are applying for: :name',
'welcome' => [
'yrs_old' => 'Years old', // Context: "years old" as in: Tom is 24 years old
'line1' => 'We\'re glad you\'ve decided to apply. Generally, applications take 48 hours to be processed and reviewed. Depending on the circumstances and the volume of applications, you may receive an answer in a shorter time.',
'line2' => 'Please fill out the form below. Keep all answers concise and complete. Please keep in mind that the age requirement is at least :agerqr.',
'line3' => 'Asking about your application will result in instant denial. Everything you need to know is here.'
],
'app_timeout' => 'Your account is not permitted to submit another application. Please wait :days more days before trying to submit an application.'
],
'application_m' => [
'title' => 'Application Management',
'all_apps' => 'All Applications',
'modal_confirm' => 'Are you sure?',
'really_delete' => 'Really delete this?',
'outstanding_sm' => 'Outstanding',
'outstanding_apps' => 'Outstanding Applications',
'outstanding_subm' => 'Outstanding (Submitted)',
'interview_q' => 'Interview Queue',
'interview_p' => 'Interview',
'interview_s' => 'Interview Scheduled',
'finished_int' => 'Finished Interviews',
'schedule_int' => 'Schedule Interviews',
'p_review' => 'Peer Review',
'applicant' => 'Applicant',
'interviewee' => 'Interviewee',
'pending_int' => 'Pending Interview',
'schedule' => 'Schedule',
'view_interview_queue' => 'View Interview Queue',
'view_approval_queue' => 'View Approval Queue',
'view_outstanding_queue' => 'View Outstanding Queue',
'approved' => 'Approved',
'denied' => 'Denied',
'unknown_stat' => 'Unknown',
'consequence_irreversible' => 'IRREVERSIBLE',
'delete_action_warning' => 'This action is :consequence.',
'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.',
'all_apps_header' => 'You\'re looking at all applications ever received',
'all_apps_exp' => 'Here, you have quick and easy access to all applications ever received by the system.',
'no_apps' => 'There are no applications here',
'no_apps_exp' => 'We couldn\'t find any applications. Maybe no one has applied yet? Please try again later.',
'int_applications' => 'Applications',
'no_apps_pending_int' => 'No Applications Pending Interview',
'no_apps_pending_int_exp' => 'There are no applications that have been moved up to the Interview stage. Please check the outstanding queue.There are no applications that have been moved up to the Interview stage. Please check the outstanding queue.',
'upcoming_int' => 'My Upcoming Interviews',
'pending_schedule' => 'Pending Schedule',
'no_upcoming' => 'There are no upcoming interviews',
'no_upcoming_exp' => 'Please check other queues down in the application process. Applicants here may have already been interviewed.',
'no_outstanding' => 'Seeing no applications? Check with an Administrator to make sure that there are available open positions.',
'no_outstanding_exp' => 'Advertising on relevant forums made for this purpose is also a good idea.',
'applicant_name' => 'Applicant Name',
'application_date' => 'Application Date',
'no_pending' => 'There are no pending applications',
'no_pending_exp' => 'It seems like no one new has applied yet. Checkout the interview and approval queues for applications that might have moved up the ladder by now.',
'voting_reminder' => [
'title' => 'Voting Reminder',
'line1' => 'Applications which gain more than 50% of positive votes are automatically approved after one day.',
'line2' => 'Conversely, applications that do not reach this number are automatically denied.',
'line3' => 'Please note that the vote system can be overridden'
],
'no_pending_review' => 'There are no applications pending review',
'no_pending_review_exp' => 'Check the other queues for any applications! Applications will be shown here as soon as their interview is completed. You\'ll be able to view meeting notes and vote based on your observations.',
],
// ============= PROFILE & USER MESSAGES ===============
'profile' => [
'title' => ':name\'s profile',
'profile' => 'Profile',
'users' => 'Users',
'account_banned' => 'Account banned',
'account_banned_exp' => 'This user has been banned by the moderators.',
'ban_confirm' => 'Please confirm that you want to ban this user account. You\'ll need to add a reason and expiration date to confirm this. Bans don\'t transfer to connected Minecraft networks (yet).',
'leave_empty' => 'Leave empty for a permanent ban',
'duration' => 'Duration',
'p_duration' => 'Punishment duration',
'p_duration_exp' => 'e.g. Spamming',
'ban' => 'Ban',
'terminate_notice' => 'You are about to terminate a staff member',
'terminate_notice_warning' => 'Terminating a staff member will remove their privileges on the team management site and Network.
They will be notified of their termination. Make sure to have discussed this with them first.',
'terminate_notice_consequence' => 'THIS PROCESS IS IRREVERSIBLE AND IMMEDIATE',
'terminate_txt' => 'Terminate Staff Member',
'delete_acc_warn' => 'WARNING: This is a potentially destructive action!',
'delete_acc_consequence' => 'Deleting a user\'s account is an irreversible process. Historic and current applications, votes, and profile content, as well as any personally identifiable information will be immediately erased.',
'type_to_confirm' => 'Type to confirm:',
'type_placeholder' => 'Please type the above',
'delete_acc' => 'Delete Account',
'edit_acc' => 'Edit Account',
'ban_acc' => 'Ban Account',
'unban_acc' => 'Unban Account',
'search_result' => 'Search results',
'origin_cc' => 'Origin country',
'state_prov' => 'State/Province',
'district' => 'District (if any)',
'city' => 'City',
'zipcode' => 'Zipcode',
'coords' => 'Coordinates',
'european' => 'European?',
'isp' => 'ISP', // Internet service provider
'org' => 'Organization (if any)',
'ctype' => 'C. Type', // Internet Connection type
'timezone' => 'Timezone',
'noresults' => 'This query returned no results.',
'edituser' => 'Edit PII and Roles', // PII: Personally identifiable information
'edituser_consequence' => 'Warning! This is a sensitive setting! Changing this could have unintended consequences!',
'acc_management' => 'Account Management (Admin)',
'discord_tag' => 'User\'s Discord Tag: :discordTag',
'account_settings' => 'Account Settings',
'account_settings_personal' => 'My Account Settings',
'2fa_welcome' => 'We\'re glad you decided to increase your account\'s security!',
'supported_apps' => 'Supported apps you can install: ',
'scan_code' => 'Scan the :scannable code with your preferred app, and then copy the code here.',
'otp' => 'One-time code',
'2fa_enable' => 'Enable 2FA',
'2fa_remove_consequence' => 'Removing two-factor authentication will reduce the security of your account.',
'2fa_password_confirm' => 'Confirm your password to continue',
'2fa_password_confirm_exp' => 'To prevent unauthorized changes, a password is always required for sensitive operations.',
'2fa_disable_consent' => '"I understand the possible consequences of disabling two factor authentication"',
'2fa_remove' => 'Remove 2FA',
'2fa_remove_extended' => 'Remove Two-Factor Authentication',
'security_lgotherdev' => 'For your security, you\'ll need to re-enter your password before logging out other devices. If you believe your account has been compromised, please change your password instead, as that will automatically log out anyone else who might using your account, and prevent them from signing back in.',
'password_reenter' => 'Re-enter your password',
'acc_security' => 'Account Security',
'2fa' => 'Two Factor Authentication',
'sessions' => 'Sessions',
'contact_settings' => 'Contact Settings (E-Mail)',
'change_password' => 'Change Password',
'change_password_exp' => 'Change your password here. This will log you out from all existing sessions for your security.',
'old_pass' => 'Old Password',
'forgot_pw' => 'Forgot your password? Reset it :link',
'new_pw' => 'New Password',
'2fa_enable_success' => 'Hooray! 2FA is setup correctly for your account. A code will be asked each time you login.',
'2fa_avail' => 'Two-factor auth is available for your account.',
'2fa_avail_exp' => ' Enabling this security option greatly increases your account\'s security in case your password ever gets stolen.',
'session_manager' => 'Session Manager',
'terminate_others' => 'Terminating other sessions is generally a good idea if your account has been compromised.',
'current_session' => 'Your current session: logged in from :ipAddress',
'flush_session' => 'Flush sessions',
'personal_data_change' => 'Need to change personal data? You can do so here.',
'current_email' => 'Current Email Address',
'new_email' => 'New Email Address',
'current_password' => 'Current Password',
'security_nochangepw' => 'For security reasons, you cannot make important account changes without confirming your password. You\'ll also need to verify your new email.',
'change_email' => 'Change Email Address',
'basic_info' => 'Basic Information',
'fl_name' => 'First / Last Name',
'shortbio' => 'Short Bio',
'about_me' => 'About Me',
'pref_media' => 'Preferences & Media',
'avatar_source' => 'Retrieve avatar from: ',
'social_media' => 'Social Media',
'github_user' => 'Github Username',
'twitter_user' => 'Twitter Username',
'insta_user' => 'Instagram Username',
'discord_user' => 'Discord Handle',
'update_prfl' => 'Update Profile'
],
// ==================== USER ACCOUNT MESSAGES (NON-PRIVILEGED) =====================
'user' => [
'app_process' => [
'title' => 'Application Process',
'line1' => 'Please allow up to three days for your application to be processed. Your application will be reviewed by every team member, and will move up in stages.',
'line2' => 'If an interview is scheduled, you\'ll need to open your application here and confirm the time, date, and location assigned for you.'
],
'account_standing' => 'Account Standing',
'account_eligibility' => 'Your account is currently :eligibility for application',
'days_remaining_acc_alt' => 'As of today, there are :days remaining until you\'re permitted to submit another application.',
'my_ongoingapps' => 'My Ongoing Applications',
'submitted' => 'Submitted',
'peer_approval' => 'Peer Approval',
'peer_approval_q' => 'Peer Approval Queue',
'nothing_to_show' => 'Nothing to show',
'nothing_to_show_exp' => 'You currently have no applications to display. If you\'re eligible, you may apply once every month.',
'directory' => [
'itsyou' => 'It\'s you!',
'title' => 'User Directory',
'directory' => 'Directory'
]
],
'view_app' => [
'title' => 'Viewing application',
'viewing_app' => 'Viewing :user\'s application',
'cantvote' => 'You cannot vote on this application anymore.',
'no_notes' => 'There are no notes yet. Add some!',
'deny_confirm' => 'Are you sure you want to deny this application? Please keep in mind that this user will only be allowed to apply 30 days after their first application.',
'deny_confirm_consequence' => 'This action cannot be undone.',
'deny_confirm_btn' => 'Confirm: Deny Applicant',
'form_updated_alert' => 'If this form has been updated, new fields and updated questions will not show up here!',
'context_info' => 'Contextual Information',
'appl_ip' => 'Applicant IP Address',
'appl_for' => 'Applying for',
'currentstatus' => 'Current Status',
'decisionmod' => 'Decision & Moderation Tools',
'denyapp' => 'Deny applicant',
'nextstage' => 'Move to next stage',
'appointment_desc' => 'Appointment description',
'int_date_time' => 'Interview Date & Time',
'choosedate' => 'Click to choose a date',
'appointment_loc' => 'Appointment Location',
'pref_platform' => 'Select your preferred platform',
'coming_soon_int' => 'Embedded in-house video conferencing coming soon, powered by Jitsi Meet',
'scheduled_for' => 'Interview Scheduled for:',
'platform' => 'Platform',
'finish_meeting' => 'Finish Meeting',
'view_notes' => 'View Meeting Notes',
'vote_app' => 'Vote on this application',
'vote_explainer' => [
'line1' => 'If you weren\'t present during this meeting, you can view the shared meeting notepad to help you make a decision.',
'line2' => 'You may vote on as many applications as needed; However, you can only vote once per application.',
'line3' => 'Votes carry no weight based on rank. This system has been designed with fairness and ease of use in mind.'
],
'vote_approve' => 'Vote: Approve Applicant',
'vote_deny' => 'Vote: Deny Applicant',
'm_notes' => 'Meeting notes',
'view_more' => 'View more Applications',
'comments' => 'Comments',
'no_comments' => 'There are no comments here.',
'no_comments_exp' => 'There are no comments here! Comments are only visible to staff members. Be the first to share your input! Commenting may help with decision-making when time comes to vote for an application.',
'commenting_as' => 'Commenting as :username',
'max_chars' => 'max characters', // Context: A number is added before max characters
'post' => 'Post', // Context: Post as in post comment
]
// ==================== END OF MAIN I18N FILE ======================
];

View File

@ -0,0 +1,19 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Pagination Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used by the paginator library to build
| the simple pagination links. You are free to change them to anything
| you want to customize your views to better match your application.
|
*/
'previous' => '&laquo; Previous',
'next' => 'Next &raquo;',
];

View File

@ -0,0 +1,22 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Password Reset Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are the default lines which match reasons
| that are given by the password broker for a password update attempt
| has failed, such as for an invalid token or invalid new password.
|
*/
'reset' => 'Your password has been reset!',
'sent' => 'We have emailed your password reset link!',
'throttled' => 'Please wait before retrying.',
'token' => 'This password reset token is invalid.',
'user' => "We can't find a user with that email address.",
];

View File

@ -0,0 +1,151 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Validation Language Lines
|--------------------------------------------------------------------------
|
| The following language lines contain the default error messages used by
| the validator class. Some of these rules have multiple versions such
| as the size rules. Feel free to tweak each of these messages here.
|
*/
'accepted' => 'The :attribute must be accepted.',
'active_url' => 'The :attribute is not a valid URL.',
'after' => 'The :attribute must be a date after :date.',
'after_or_equal' => 'The :attribute must be a date after or equal to :date.',
'alpha' => 'The :attribute may only contain letters.',
'alpha_dash' => 'The :attribute may only contain letters, numbers, dashes and underscores.',
'alpha_num' => 'The :attribute may only contain letters and numbers.',
'array' => 'The :attribute must be an array.',
'before' => 'The :attribute must be a date before :date.',
'before_or_equal' => 'The :attribute must be a date before or equal to :date.',
'between' => [
'numeric' => 'The :attribute must be between :min and :max.',
'file' => 'The :attribute must be between :min and :max kilobytes.',
'string' => 'The :attribute must be between :min and :max characters.',
'array' => 'The :attribute must have between :min and :max items.',
],
'boolean' => 'The :attribute field must be true or false.',
'confirmed' => 'The :attribute confirmation does not match.',
'date' => 'The :attribute is not a valid date.',
'date_equals' => 'The :attribute must be a date equal to :date.',
'date_format' => 'The :attribute does not match the format :format.',
'different' => 'The :attribute and :other must be different.',
'digits' => 'The :attribute must be :digits digits.',
'digits_between' => 'The :attribute must be between :min and :max digits.',
'dimensions' => 'The :attribute has invalid image dimensions.',
'distinct' => 'The :attribute field has a duplicate value.',
'email' => 'The :attribute must be a valid email address.',
'ends_with' => 'The :attribute must end with one of the following: :values.',
'exists' => 'The selected :attribute is invalid.',
'file' => 'The :attribute must be a file.',
'filled' => 'The :attribute field must have a value.',
'gt' => [
'numeric' => 'The :attribute must be greater than :value.',
'file' => 'The :attribute must be greater than :value kilobytes.',
'string' => 'The :attribute must be greater than :value characters.',
'array' => 'The :attribute must have more than :value items.',
],
'gte' => [
'numeric' => 'The :attribute must be greater than or equal :value.',
'file' => 'The :attribute must be greater than or equal :value kilobytes.',
'string' => 'The :attribute must be greater than or equal :value characters.',
'array' => 'The :attribute must have :value items or more.',
],
'image' => 'The :attribute must be an image.',
'in' => 'The selected :attribute is invalid.',
'in_array' => 'The :attribute field does not exist in :other.',
'integer' => 'The :attribute must be an integer.',
'ip' => 'The :attribute must be a valid IP address.',
'ipv4' => 'The :attribute must be a valid IPv4 address.',
'ipv6' => 'The :attribute must be a valid IPv6 address.',
'json' => 'The :attribute must be a valid JSON string.',
'lt' => [
'numeric' => 'The :attribute must be less than :value.',
'file' => 'The :attribute must be less than :value kilobytes.',
'string' => 'The :attribute must be less than :value characters.',
'array' => 'The :attribute must have less than :value items.',
],
'lte' => [
'numeric' => 'The :attribute must be less than or equal :value.',
'file' => 'The :attribute must be less than or equal :value kilobytes.',
'string' => 'The :attribute must be less than or equal :value characters.',
'array' => 'The :attribute must not have more than :value items.',
],
'max' => [
'numeric' => 'The :attribute may not be greater than :max.',
'file' => 'The :attribute may not be greater than :max kilobytes.',
'string' => 'The :attribute may not be greater than :max characters.',
'array' => 'The :attribute may not have more than :max items.',
],
'mimes' => 'The :attribute must be a file of type: :values.',
'mimetypes' => 'The :attribute must be a file of type: :values.',
'min' => [
'numeric' => 'The :attribute must be at least :min.',
'file' => 'The :attribute must be at least :min kilobytes.',
'string' => 'The :attribute must be at least :min characters.',
'array' => 'The :attribute must have at least :min items.',
],
'not_in' => 'The selected :attribute is invalid.',
'not_regex' => 'The :attribute format is invalid.',
'numeric' => 'The :attribute must be a number.',
'password' => 'The password is incorrect.',
'present' => 'The :attribute field must be present.',
'regex' => 'The :attribute format is invalid.',
'required' => 'The :attribute field is required.',
'required_if' => 'The :attribute field is required when :other is :value.',
'required_unless' => 'The :attribute field is required unless :other is in :values.',
'required_with' => 'The :attribute field is required when :values is present.',
'required_with_all' => 'The :attribute field is required when :values are present.',
'required_without' => 'The :attribute field is required when :values is not present.',
'required_without_all' => 'The :attribute field is required when none of :values are present.',
'same' => 'The :attribute and :other must match.',
'size' => [
'numeric' => 'The :attribute must be :size.',
'file' => 'The :attribute must be :size kilobytes.',
'string' => 'The :attribute must be :size characters.',
'array' => 'The :attribute must contain :size items.',
],
'starts_with' => 'The :attribute must start with one of the following: :values.',
'string' => 'The :attribute must be a string.',
'timezone' => 'The :attribute must be a valid zone.',
'unique' => 'The :attribute has already been taken.',
'uploaded' => 'The :attribute failed to upload.',
'url' => 'The :attribute format is invalid.',
'uuid' => 'The :attribute must be a valid UUID.',
/*
|--------------------------------------------------------------------------
| Custom Validation Language Lines
|--------------------------------------------------------------------------
|
| Here you may specify custom validation messages for attributes using the
| convention "attribute.rule" to name the lines. This makes it quick to
| specify a specific custom language line for a given attribute rule.
|
*/
'custom' => [
'attribute-name' => [
'rule-name' => 'custom-message',
],
],
/*
|--------------------------------------------------------------------------
| Custom Validation Attributes
|--------------------------------------------------------------------------
|
| The following language lines are used to swap our attribute placeholder
| with something more reader friendly such as "E-Mail Address" instead
| of "email". This simply helps us make our message more expressive.
|
*/
'attributes' => [],
];

View File

@ -0,0 +1,19 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Authentication Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used during authentication for various
| messages that we need to display to the user. You are free to modify
| these language lines according to your application's requirements.
|
*/
'failed' => 'These credentials do not match our records.',
'throttle' => 'Too many login attempts. Please try again in :seconds seconds.',
];

View File

@ -0,0 +1,610 @@
<?php
/*
* -- Information for translators | READ BEFORE TRANSLATING ANYTHING ---
* In this file, only translate messages to the right, in this fashion:
* 'something' => 'translate-me'
* Also, don't translate, change, or move placeholders (:this-is-a-placeholder) starting with a colon.
* Try to keep the message as close to the original in meaning as possible. These simple rules also apply to other files you're translating, such as:
* auth.php, pagination.php, passwords.php, and validation.php.
* It is VERY important that you "escape" single quotes with a backslash if they're present in your language, like this: I\'m an escaped quote
*
* Additionally, don't change anything in square or curly brackets, and don't remove pipe (|) characters.
* If you see two messages separated by pipe, then usually the left side is singular and the right side is plural, so translate accordingly.
*
* Thank you for translating!
*/
return [
// ============== MENU TRANSLATIONS ======================
'menu' => [
'my_apps' => 'My Applications',
'current_apps' => 'Current Applications',
'profile_settings' => 'Profile Settings',
'hiring_man' => 'Hiring Management',
'all_forms' => 'All Forms',
'app_settings' => 'App Settings',
'global_app_settings' => 'Global App Settings',
'system_logs' => 'System Logs'
],
// ============== REUSABLE, GENERIC STRINGS ===============
'reusable' => [
'created_at' => 'Created at',
'updated_at' => 'Updated at',
'actions' => 'Actions',
'delete' => 'Delete',
'status' => 'Status',
'view' => 'View',
'view_c' => 'View Details',
'no_access' => 'Application Access Denied',
'validation_err' => 'Validation error!',
'description' => 'Description',
'join_date' => 'Join Date',
'my_acc' => 'My Account',
'confirm' => 'Please Confirm',
'confirm_plain' => 'Confirm',
'confirm_click' => 'Click to Confirm',
'date' => 'Date',
'datetime' => 'Time & Date',
'location' => 'Location',
'none_yet' => 'None yet',
'reason' => 'Reason',
'days' => 'Days',
'weeks' => 'Weeks',
'months' => 'Months',
'years' => 'Years',
'yes' => 'Yes',
'no' => 'No',
'roles' => 'Roles',
'member_since' => 'Member since :date',
'lookup' => 'Lookup :ipAddress',
'abt' => 'About',
'acc' => 'Account',
'settings' => 'Settings',
'profile' => 'My Profile',
'code' => 'code',
'here' => 'here',
'auth_req' => 'Please authenticate',
'eligible' => 'Eligible',
'ineligible' => 'Ineligible',
'schedule' => 'Schedule',
'schedule_action' => 'Schedule an Appointment',
'platform' => 'Platform',
'notepad' => 'Shared Notepad', // Context: The shared notepad that appears when votes are needed,
'appointment_info' => 'Appointment Information',
'ip_info' => 'IP Address Information for'
],
// ============== HOMEPAGE MESSAGES ======================
'home' => 'Home',
'homepagetxt' => 'Homepage',
'login' => 'Sign in',
'logout' => 'Sign out',
'register' => 'Sign up',
'dashboard' => 'Dashboard',
'back' => 'Go back',
'homepage_welcome' => 'Welcome to our team management center!',
'homepage_explainer_line1' => 'Here, you can apply for open staff member positions, view your application status, and manage your profile.',
'homepage_explainer_line2' => 'Sign up with Email to continue.',
'footer_copy' => 'All rights reserved',
'global_error' => 'An error occurred',
'global_success' => 'Success!',
'txt_learn_more' => 'Learn more',
'opening_nodetails' => 'There don\'t seem to be any details',
'opening_nodetails_exp' => 'This opening does not have any details yet.',
'details_m_title' => 'Opening details',
'open_positions' => 'Open Positions',
'last_updated' => 'Last updated',
'open_position_count' => '{1} There is :count open position!|[2,*] There are :count open positions!',
'ineligible_days_remaining' => 'Ineligible (:days) day(s) remaining',
'txt_apply' => 'Apply', // Context: Apply as in applying for a "job", e.g. registering for a job
'txt_application' => 'Application',
'application_closed' => 'Applications Closed',
'application_closed_intro' => 'Hello there!',
'application_closed_intro_line2' => '
We are currently not hiring any new staff members at the moment. If you\'d like to apply, check out our Discord\'s
announcement channel for news when a new position opens.
Our application cycle usually lasts two weeks, so if you\'re seeing this, it\'s because it finished, and new one will begin soon.
',
'where_work' => 'Where you\'ll work',
'join_team' => 'Join The Team',
'join_team_cta' => 'Join the team today and help out network grow and prosper!',
'contact_cta' => 'Any questions? Leave a message!',
'contact_disclaimer' => '*This is not an application form. Any applications sent here will be ignored.',
'contactlabel_name' => 'Name',
'contactlabel_email' => 'E-mail',
'contactlabel_subject' => 'Subject (ex. Site Suggestion)',
'contactlabel_send' => 'Send',
// ======================== AUTHENTICATION MESSAGES ===========================
'2fa_txt' => 'Two-Factor Authentication',
'2fa_sronly' => 'Two-factor secret code (You can find this on Google Authenticator)',
'2fa_lostcode' => 'Don\'t know the code?',
'2fa_cancel_login' => 'Cancel login (logout)',
'terms' => 'Terms of Use',
'ppolicy' => 'Privacy Policy',
'signin_cta' => 'Sign into your account',
'password' => 'Password',
'remember_me' => 'Remember me',
'forgot_pw' => 'Forgot password?',
'register_cta' => 'Register here',
'no_acc' => 'Don\'t have an account?',
'register_acc' => 'Register a new account',
'pwsec' => [
'line1' => 'Basic password security',
'line2' => 'For your security, we implement strict password policies. It\'s also advisable to let your password manager or browser generate and save passwords for you (if it\'s a private device).',
'line3' => 'Passwords must be a combination of: ',
'line4' => 'A minimum of 10 characters;',
'line5' => 'At least 3 uppercase characters;',
'line6' => 'At least 3 numbers;',
'line7' => 'Any number of special characters.'
],
'sronly_confirmpassword' => 'Confirm Password', // hint: sronly stands for screen-reader only
'sronly_mcusername' => 'Minecraft Username (Premium)',
'have_account' => 'Have an account with us?',
'login_here' => 'Login here',
'register_txt' => 'Register',
// ===================== DASHBOARD & COMPONENT MESSAGES ===========================
'modal_close' => 'Close',
'component_nopermission' => 'We\'re sorry, but you do not have permission to access this web page.',
'component_accessdenied' => 'Access Denied',
'component_contact' => 'Please contact your administrator if you believe this was in error.',
'welcome_back' => 'Welcome back,',
'eligible' => 'Eligible',
'ineligible' => 'Ineligible',
'eligibility_status' => 'Your current application eligibility status: :badgeStatus',
'ongoing_apps' => 'Ongoing apps',
'denied_apps' => 'Denied apps',
'users_staff' => 'Total Users + Staff',
'new_apps' => 'New applications',
'v_backlog' => 'Vote backlog',
'ranks' => 'Available ranks',
'open' => 'Open',
'closed' => 'Closed',
'upcoming' => 'Your upcoming interviews',
'soon' => 'Coming soon',
//=================== ADMINISTRATION MESSAGES (for all administration pages) ===============
'adm' => 'Administration',
'devtools' => 'Developer Tools',
'devtools_evn' => 'Event Management',
'devoptions' => 'Developer Options',
'forceeval' => 'Please choose an application to force re-evaluation',
'appid' => 'Application ID',
'no_valid_app' => 'There are no valid applications',
'choose_app' => 'Choose an application',
'dispatch_event' => 'Dispatch event now',
'devtools_warn' => 'Do not use these options if you don\'t know what you\'re doing, even if you have access to this page.',
'warn' => 'Warning',
'override_votes' => 'Override Vote Evaluation',
'artisan_evaluate' => 'Artisan: Evaluate Votes Now', // Tip: Artisan is a program name, therefore not translatable
'devtools_info' => 'This panel may be also used to completely override the vote system in stalemate scenarios',
'forms' => 'Forms',
'positions' => 'Positions', // Context: Positions as in job opening
'edit_form' => 'Edit Form',
'edt' => 'Editor',
'edit' => 'Edit',
'edt_action' => 'Editing',
'txtbox' => 'Textbox',
'multiline' => 'Multi line answer',
'checkbox' => 'Checkbox',
'field_type' => 'Choose a field type',
'save_exit' => 'Save & Quit',
'new_field' => 'New field',
'vacancy_edit' => 'Vacancy Editor',
'new_vacancy' => 'New Vacancy',
'form_consistency' => 'For consistency purposes, grayed out fields can\'t be edited.',
'vacancy' => [
'add' => 'Add vacancy',
'name' => 'Vacancy Name',
'description' => 'Vacancy Description',
'details' => 'Vacancy Details',
'markdown' => 'Markdown Supported',
'no_details' => 'No details yet... Add some!',
'permission_group' => 'Permission Group',
'permission_group_tooltip' => 'The permission group from your server/network\'s permissions manager. Compatible with Luckperms and PEX.',
'discord_roleid' => 'Discord Role ID',
'discord_roleid_tooltip' => 'Discord Desktop: Go to your Account Settings > Appearance -> Advanced and toggle Developer Mode. On your server\'s roles tab, right click any role to copy it\'s ID.',
'current_form' => 'Current Form (uneditable)',
'remaining_slots' => 'Remaining slots',
'free_slots' => 'Free slots',
'free_slots_tooltip' => 'How many submissions before the vacancy stops accepting new applicants?',
'save' => 'Save Changes',
'cancel' => 'Cancel',
'close_vacancy' => 'Close Position',
'description_tooltip' => 'Add things like admission requirements, rank resposibilities and roles, and anything else you feel is necessary',
''
],
'form' => 'Form',
'form_builder' => [
'builder' => 'Form Builder',
'builder_name' => 'Application Form Management Tool',
'name_form' => 'Name your form...',
'save_form' => 'Save Form',
],
'form_preview' => [
'preview' => 'Preview',
'title' => 'Application Form Preview',
'looks' => 'This is how your form looks like to applicants',
'f_info' => 'You may edit it and add more fields later.',
''
],
'forms_p' => [
'available_forms' => 'Available forms',
'form_title' => 'Form title',
'empty_noforms' => 'Nothing to see here! Please add some forms first.',
'new_form' => 'NEW FORM'
],
'players' => [
'reg_players' => 'Registered Players',
'reg_players_staff' => 'See Registered Players (Applicant Pool)',
'total_banned' => 'Total Banned Players',
'search' => 'Search players',
'f_p_search' => 'Full/partial email search',
'p_disclaimer' => 'Please note: This list only includes players registered in the team management portal. In a future release, all network players will be shown here.',
'listing' => 'Player Listing',
'reg_date' => 'Registration Date',
'ign' => 'IGN', // Context: Short for In-Game Name
'banned' => 'Banned',
'active' => 'Active',
'no_reg' => 'There are no registered players!',
'no_reg_exp' => "
Registered players are those without a staff role in the team management application.
There may be other users registered in the platform, but they won't be displayed here.
",
'see_staff' => 'See Staff Members'
],
'positions_p' => [
'application_form' => 'Application Form',
'select_form' => 'Select a form...',
'no_form_error' => "
You cannot create a vacancy without any forms with which people would apply.
create a form first, then, create a vacancy.
A single form is allowed to have multiple vacancies, so you can attach future vacancies to the same form if you'd like.
",
'new_pos' => 'NEW POSITION',
'empty_pos_warning' => 'Nothing to see here! Open some vacancies first. This will get applicants pouring in! (hopefully)',
'manage_forms' => 'MANAGE APPLICATION FORMS',
],
'settings' => [
'settings' => 'Settings',
'settings_header' => 'Notification Settings',
'settings_p' => 'Change which notifications are sent here.',
'back_btn' => 'Back to Dashboard'
],
'staff' => [
'members' => 'Staff Members',
'active_sm' => 'Active Staff Members',
'm_listing' => 'Member Listing',
'f_name' => 'Full Name',
'rank' => 'Rank',
],
// ======================== APPLICATION RENDERING MESSAGES =========================
'application_r' => [
'appl_submit_warn' => 'Are you sure you want to submit your application? Please review each of your answers carefully before doing so.',
'appl_submit_doublewarn' => 'Please note: Applications CANNOT be modified once they\'re submitted!',
'acceptsend' => 'Accept & Send',
'review' => 'Review',
'applying_for' => 'You are applying for: :name',
'welcome' => [
'yrs_old' => 'Years old', // Context: "years old" as in: Tom is 24 years old
'line1' => 'We\'re glad you\'ve decided to apply. Generally, applications take 48 hours to be processed and reviewed. Depending on the circumstances and the volume of applications, you may receive an answer in a shorter time.',
'line2' => 'Please fill out the form below. Keep all answers concise and complete. Please keep in mind that the age requirement is at least :agerqr.',
'line3' => 'Asking about your application will result in instant denial. Everything you need to know is here.'
],
'app_timeout' => 'Your account is not permitted to submit another application. Please wait :days more days before trying to submit an application.'
],
'application_m' => [
'title' => 'Application Management',
'all_apps' => 'All Applications',
'modal_confirm' => 'Are you sure?',
'really_delete' => 'Really delete this?',
'outstanding_sm' => 'Outstanding',
'outstanding_apps' => 'Outstanding Applications',
'outstanding_subm' => 'Outstanding (Submitted)',
'interview_q' => 'Interview Queue',
'interview_p' => 'Interview',
'interview_s' => 'Interview Scheduled',
'finished_int' => 'Finished Interviews',
'schedule_int' => 'Schedule Interviews',
'p_review' => 'Peer Review',
'applicant' => 'Applicant',
'interviewee' => 'Interviewee',
'pending_int' => 'Pending Interview',
'schedule' => 'Schedule',
'view_interview_queue' => 'View Interview Queue',
'view_approval_queue' => 'View Approval Queue',
'view_outstanding_queue' => 'View Outstanding Queue',
'approved' => 'Approved',
'denied' => 'Denied',
'unknown_stat' => 'Unknown',
'consequence_irreversible' => 'IRREVERSIBLE',
'delete_action_warning' => 'This action is :consequence.',
'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.',
'all_apps_header' => 'You\'re looking at all applications ever received',
'all_apps_exp' => 'Here, you have quick and easy access to all applications ever received by the system.',
'no_apps' => 'There are no applications here',
'no_apps_exp' => 'We couldn\'t find any applications. Maybe no one has applied yet? Please try again later.',
'int_applications' => 'Applications',
'no_apps_pending_int' => 'No Applications Pending Interview',
'no_apps_pending_int_exp' => 'There are no applications that have been moved up to the Interview stage. Please check the outstanding queue.There are no applications that have been moved up to the Interview stage. Please check the outstanding queue.',
'upcoming_int' => 'My Upcoming Interviews',
'pending_schedule' => 'Pending Schedule',
'no_upcoming' => 'There are no upcoming interviews',
'no_upcoming_exp' => 'Please check other queues down in the application process. Applicants here may have already been interviewed.',
'no_outstanding' => 'Seeing no applications? Check with an Administrator to make sure that there are available open positions.',
'no_outstanding_exp' => 'Advertising on relevant forums made for this purpose is also a good idea.',
'applicant_name' => 'Applicant Name',
'application_date' => 'Application Date',
'no_pending' => 'There are no pending applications',
'no_pending_exp' => 'It seems like no one new has applied yet. Checkout the interview and approval queues for applications that might have moved up the ladder by now.',
'voting_reminder' => [
'title' => 'Voting Reminder',
'line1' => 'Applications which gain more than 50% of positive votes are automatically approved after one day.',
'line2' => 'Conversely, applications that do not reach this number are automatically denied.',
'line3' => 'Please note that the vote system can be overridden'
],
'no_pending_review' => 'There are no applications pending review',
'no_pending_review_exp' => 'Check the other queues for any applications! Applications will be shown here as soon as their interview is completed. You\'ll be able to view meeting notes and vote based on your observations.',
],
// ============= PROFILE & USER MESSAGES ===============
'profile' => [
'title' => ':name\'s profile',
'profile' => 'Profile',
'users' => 'Users',
'account_banned' => 'Account banned',
'account_banned_exp' => 'This user has been banned by the moderators.',
'ban_confirm' => 'Please confirm that you want to ban this user account. You\'ll need to add a reason and expiration date to confirm this. Bans don\'t transfer to connected Minecraft networks (yet).',
'leave_empty' => 'Leave empty for a permanent ban',
'duration' => 'Duration',
'p_duration' => 'Punishment duration',
'p_duration_exp' => 'e.g. Spamming',
'ban' => 'Ban',
'terminate_notice' => 'You are about to terminate a staff member',
'terminate_notice_warning' => 'Terminating a staff member will remove their privileges on the team management site and Network.
They will be notified of their termination. Make sure to have discussed this with them first.',
'terminate_notice_consequence' => 'THIS PROCESS IS IRREVERSIBLE AND IMMEDIATE',
'terminate_txt' => 'Terminate Staff Member',
'delete_acc_warn' => 'WARNING: This is a potentially destructive action!',
'delete_acc_consequence' => 'Deleting a user\'s account is an irreversible process. Historic and current applications, votes, and profile content, as well as any personally identifiable information will be immediately erased.',
'type_to_confirm' => 'Type to confirm:',
'type_placeholder' => 'Please type the above',
'delete_acc' => 'Delete Account',
'edit_acc' => 'Edit Account',
'ban_acc' => 'Ban Account',
'unban_acc' => 'Unban Account',
'search_result' => 'Search results',
'origin_cc' => 'Origin country',
'state_prov' => 'State/Province',
'district' => 'District (if any)',
'city' => 'City',
'zipcode' => 'Zipcode',
'coords' => 'Coordinates',
'european' => 'European?',
'isp' => 'ISP', // Internet service provider
'org' => 'Organization (if any)',
'ctype' => 'C. Type', // Internet Connection type
'timezone' => 'Timezone',
'noresults' => 'This query returned no results.',
'edituser' => 'Edit PII and Roles', // PII: Personally identifiable information
'edituser_consequence' => 'Warning! This is a sensitive setting! Changing this could have unintended consequences!',
'acc_management' => 'Account Management (Admin)',
'discord_tag' => 'User\'s Discord Tag: :discordTag',
'account_settings' => 'Account Settings',
'account_settings_personal' => 'My Account Settings',
'2fa_welcome' => 'We\'re glad you decided to increase your account\'s security!',
'supported_apps' => 'Supported apps you can install: ',
'scan_code' => 'Scan the :scannable code with your preferred app, and then copy the code here.',
'otp' => 'One-time code',
'2fa_enable' => 'Enable 2FA',
'2fa_remove_consequence' => 'Removing two-factor authentication will reduce the security of your account.',
'2fa_password_confirm' => 'Confirm your password to continue',
'2fa_password_confirm_exp' => 'To prevent unauthorized changes, a password is always required for sensitive operations.',
'2fa_disable_consent' => '"I understand the possible consequences of disabling two factor authentication"',
'2fa_remove' => 'Remove 2FA',
'2fa_remove_extended' => 'Remove Two-Factor Authentication',
'security_lgotherdev' => 'For your security, you\'ll need to re-enter your password before logging out other devices. If you believe your account has been compromised, please change your password instead, as that will automatically log out anyone else who might using your account, and prevent them from signing back in.',
'password_reenter' => 'Re-enter your password',
'acc_security' => 'Account Security',
'2fa' => 'Two Factor Authentication',
'sessions' => 'Sessions',
'contact_settings' => 'Contact Settings (E-Mail)',
'change_password' => 'Change Password',
'change_password_exp' => 'Change your password here. This will log you out from all existing sessions for your security.',
'old_pass' => 'Old Password',
'forgot_pw' => 'Forgot your password? Reset it :link',
'new_pw' => 'New Password',
'2fa_enable_success' => 'Hooray! 2FA is setup correctly for your account. A code will be asked each time you login.',
'2fa_avail' => 'Two-factor auth is available for your account.',
'2fa_avail_exp' => ' Enabling this security option greatly increases your account\'s security in case your password ever gets stolen.',
'session_manager' => 'Session Manager',
'terminate_others' => 'Terminating other sessions is generally a good idea if your account has been compromised.',
'current_session' => 'Your current session: logged in from :ipAddress',
'flush_session' => 'Flush sessions',
'personal_data_change' => 'Need to change personal data? You can do so here.',
'current_email' => 'Current Email Address',
'new_email' => 'New Email Address',
'current_password' => 'Current Password',
'security_nochangepw' => 'For security reasons, you cannot make important account changes without confirming your password. You\'ll also need to verify your new email.',
'change_email' => 'Change Email Address',
'basic_info' => 'Basic Information',
'fl_name' => 'First / Last Name',
'shortbio' => 'Short Bio',
'about_me' => 'About Me',
'pref_media' => 'Preferences & Media',
'avatar_source' => 'Retrieve avatar from: ',
'social_media' => 'Social Media',
'github_user' => 'Github Username',
'twitter_user' => 'Twitter Username',
'insta_user' => 'Instagram Username',
'discord_user' => 'Discord Handle',
'update_prfl' => 'Update Profile'
],
// ==================== USER ACCOUNT MESSAGES (NON-PRIVILEGED) =====================
'user' => [
'app_process' => [
'title' => 'Application Process',
'line1' => 'Please allow up to three days for your application to be processed. Your application will be reviewed by every team member, and will move up in stages.',
'line2' => 'If an interview is scheduled, you\'ll need to open your application here and confirm the time, date, and location assigned for you.'
],
'account_standing' => 'Account Standing',
'account_eligibility' => 'Your account is currently :eligibility for application',
'days_remaining_acc_alt' => 'As of today, there are :days remaining until you\'re permitted to submit another application.',
'my_ongoingapps' => 'My Ongoing Applications',
'submitted' => 'Submitted',
'peer_approval' => 'Peer Approval',
'peer_approval_q' => 'Peer Approval Queue',
'nothing_to_show' => 'Nothing to show',
'nothing_to_show_exp' => 'You currently have no applications to display. If you\'re eligible, you may apply once every month.',
'directory' => [
'itsyou' => 'It\'s you!',
'title' => 'User Directory',
'directory' => 'Directory'
]
],
'view_app' => [
'title' => 'Viewing application',
'viewing_app' => 'Viewing :user\'s application',
'cantvote' => 'You cannot vote on this application anymore.',
'no_notes' => 'There are no notes yet. Add some!',
'deny_confirm' => 'Are you sure you want to deny this application? Please keep in mind that this user will only be allowed to apply 30 days after their first application.',
'deny_confirm_consequence' => 'This action cannot be undone.',
'deny_confirm_btn' => 'Confirm: Deny Applicant',
'form_updated_alert' => 'If this form has been updated, new fields and updated questions will not show up here!',
'context_info' => 'Contextual Information',
'appl_ip' => 'Applicant IP Address',
'appl_for' => 'Applying for',
'currentstatus' => 'Current Status',
'decisionmod' => 'Decision & Moderation Tools',
'denyapp' => 'Deny applicant',
'nextstage' => 'Move to next stage',
'appointment_desc' => 'Appointment description',
'int_date_time' => 'Interview Date & Time',
'choosedate' => 'Click to choose a date',
'appointment_loc' => 'Appointment Location',
'pref_platform' => 'Select your preferred platform',
'coming_soon_int' => 'Embedded in-house video conferencing coming soon, powered by Jitsi Meet',
'scheduled_for' => 'Interview Scheduled for:',
'platform' => 'Platform',
'finish_meeting' => 'Finish Meeting',
'view_notes' => 'View Meeting Notes',
'vote_app' => 'Vote on this application',
'vote_explainer' => [
'line1' => 'If you weren\'t present during this meeting, you can view the shared meeting notepad to help you make a decision.',
'line2' => 'You may vote on as many applications as needed; However, you can only vote once per application.',
'line3' => 'Votes carry no weight based on rank. This system has been designed with fairness and ease of use in mind.'
],
'vote_approve' => 'Vote: Approve Applicant',
'vote_deny' => 'Vote: Deny Applicant',
'm_notes' => 'Meeting notes',
'view_more' => 'View more Applications',
'comments' => 'Comments',
'no_comments' => 'There are no comments here.',
'no_comments_exp' => 'There are no comments here! Comments are only visible to staff members. Be the first to share your input! Commenting may help with decision-making when time comes to vote for an application.',
'commenting_as' => 'Commenting as :username',
'max_chars' => 'max characters', // Context: A number is added before max characters
'post' => 'Post', // Context: Post as in post comment
]
// ==================== END OF MAIN I18N FILE ======================
];

View File

@ -0,0 +1,19 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Pagination Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used by the paginator library to build
| the simple pagination links. You are free to change them to anything
| you want to customize your views to better match your application.
|
*/
'previous' => '&laquo; Previous',
'next' => 'Next &raquo;',
];

View File

@ -0,0 +1,22 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Password Reset Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are the default lines which match reasons
| that are given by the password broker for a password update attempt
| has failed, such as for an invalid token or invalid new password.
|
*/
'reset' => 'Your password has been reset!',
'sent' => 'We have emailed your password reset link!',
'throttled' => 'Please wait before retrying.',
'token' => 'This password reset token is invalid.',
'user' => "We can't find a user with that email address.",
];

View File

@ -0,0 +1,151 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Validation Language Lines
|--------------------------------------------------------------------------
|
| The following language lines contain the default error messages used by
| the validator class. Some of these rules have multiple versions such
| as the size rules. Feel free to tweak each of these messages here.
|
*/
'accepted' => 'The :attribute must be accepted.',
'active_url' => 'The :attribute is not a valid URL.',
'after' => 'The :attribute must be a date after :date.',
'after_or_equal' => 'The :attribute must be a date after or equal to :date.',
'alpha' => 'The :attribute may only contain letters.',
'alpha_dash' => 'The :attribute may only contain letters, numbers, dashes and underscores.',
'alpha_num' => 'The :attribute may only contain letters and numbers.',
'array' => 'The :attribute must be an array.',
'before' => 'The :attribute must be a date before :date.',
'before_or_equal' => 'The :attribute must be a date before or equal to :date.',
'between' => [
'numeric' => 'The :attribute must be between :min and :max.',
'file' => 'The :attribute must be between :min and :max kilobytes.',
'string' => 'The :attribute must be between :min and :max characters.',
'array' => 'The :attribute must have between :min and :max items.',
],
'boolean' => 'The :attribute field must be true or false.',
'confirmed' => 'The :attribute confirmation does not match.',
'date' => 'The :attribute is not a valid date.',
'date_equals' => 'The :attribute must be a date equal to :date.',
'date_format' => 'The :attribute does not match the format :format.',
'different' => 'The :attribute and :other must be different.',
'digits' => 'The :attribute must be :digits digits.',
'digits_between' => 'The :attribute must be between :min and :max digits.',
'dimensions' => 'The :attribute has invalid image dimensions.',
'distinct' => 'The :attribute field has a duplicate value.',
'email' => 'The :attribute must be a valid email address.',
'ends_with' => 'The :attribute must end with one of the following: :values.',
'exists' => 'The selected :attribute is invalid.',
'file' => 'The :attribute must be a file.',
'filled' => 'The :attribute field must have a value.',
'gt' => [
'numeric' => 'The :attribute must be greater than :value.',
'file' => 'The :attribute must be greater than :value kilobytes.',
'string' => 'The :attribute must be greater than :value characters.',
'array' => 'The :attribute must have more than :value items.',
],
'gte' => [
'numeric' => 'The :attribute must be greater than or equal :value.',
'file' => 'The :attribute must be greater than or equal :value kilobytes.',
'string' => 'The :attribute must be greater than or equal :value characters.',
'array' => 'The :attribute must have :value items or more.',
],
'image' => 'The :attribute must be an image.',
'in' => 'The selected :attribute is invalid.',
'in_array' => 'The :attribute field does not exist in :other.',
'integer' => 'The :attribute must be an integer.',
'ip' => 'The :attribute must be a valid IP address.',
'ipv4' => 'The :attribute must be a valid IPv4 address.',
'ipv6' => 'The :attribute must be a valid IPv6 address.',
'json' => 'The :attribute must be a valid JSON string.',
'lt' => [
'numeric' => 'The :attribute must be less than :value.',
'file' => 'The :attribute must be less than :value kilobytes.',
'string' => 'The :attribute must be less than :value characters.',
'array' => 'The :attribute must have less than :value items.',
],
'lte' => [
'numeric' => 'The :attribute must be less than or equal :value.',
'file' => 'The :attribute must be less than or equal :value kilobytes.',
'string' => 'The :attribute must be less than or equal :value characters.',
'array' => 'The :attribute must not have more than :value items.',
],
'max' => [
'numeric' => 'The :attribute may not be greater than :max.',
'file' => 'The :attribute may not be greater than :max kilobytes.',
'string' => 'The :attribute may not be greater than :max characters.',
'array' => 'The :attribute may not have more than :max items.',
],
'mimes' => 'The :attribute must be a file of type: :values.',
'mimetypes' => 'The :attribute must be a file of type: :values.',
'min' => [
'numeric' => 'The :attribute must be at least :min.',
'file' => 'The :attribute must be at least :min kilobytes.',
'string' => 'The :attribute must be at least :min characters.',
'array' => 'The :attribute must have at least :min items.',
],
'not_in' => 'The selected :attribute is invalid.',
'not_regex' => 'The :attribute format is invalid.',
'numeric' => 'The :attribute must be a number.',
'password' => 'The password is incorrect.',
'present' => 'The :attribute field must be present.',
'regex' => 'The :attribute format is invalid.',
'required' => 'The :attribute field is required.',
'required_if' => 'The :attribute field is required when :other is :value.',
'required_unless' => 'The :attribute field is required unless :other is in :values.',
'required_with' => 'The :attribute field is required when :values is present.',
'required_with_all' => 'The :attribute field is required when :values are present.',
'required_without' => 'The :attribute field is required when :values is not present.',
'required_without_all' => 'The :attribute field is required when none of :values are present.',
'same' => 'The :attribute and :other must match.',
'size' => [
'numeric' => 'The :attribute must be :size.',
'file' => 'The :attribute must be :size kilobytes.',
'string' => 'The :attribute must be :size characters.',
'array' => 'The :attribute must contain :size items.',
],
'starts_with' => 'The :attribute must start with one of the following: :values.',
'string' => 'The :attribute must be a string.',
'timezone' => 'The :attribute must be a valid zone.',
'unique' => 'The :attribute has already been taken.',
'uploaded' => 'The :attribute failed to upload.',
'url' => 'The :attribute format is invalid.',
'uuid' => 'The :attribute must be a valid UUID.',
/*
|--------------------------------------------------------------------------
| Custom Validation Language Lines
|--------------------------------------------------------------------------
|
| Here you may specify custom validation messages for attributes using the
| convention "attribute.rule" to name the lines. This makes it quick to
| specify a specific custom language line for a given attribute rule.
|
*/
'custom' => [
'attribute-name' => [
'rule-name' => 'custom-message',
],
],
/*
|--------------------------------------------------------------------------
| Custom Validation Attributes
|--------------------------------------------------------------------------
|
| The following language lines are used to swap our attribute placeholder
| with something more reader friendly such as "E-Mail Address" instead
| of "email". This simply helps us make our message more expressive.
|
*/
'attributes' => [],
];

View File

@ -0,0 +1,19 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Authentication Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used during authentication for various
| messages that we need to display to the user. You are free to modify
| these language lines according to your application's requirements.
|
*/
'failed' => 'Estas credenciais não coincidem com os nossos registos.',
'throttle' => 'Demasiadas tentativas de acesso. Tente novamente em :seconds segundos.',
];

View File

@ -0,0 +1,610 @@
<?php
/*
* -- Information for translators | READ BEFORE TRANSLATING ANYTHING ---
* In this file, only translate messages to the right, in this fashion:
* 'something' => 'translate-me'
* Also, don't translate, change, or move placeholders (:this-is-a-placeholder) starting with a colon.
* Try to keep the message as close to the original in meaning as possible. These simple rules also apply to other files you're translating, such as:
* auth.php, pagination.php, passwords.php, and validation.php.
* It is VERY important that you "escape" single quotes with a backslash if they're present in your language, like this: I\'m an escaped quote
*
* Additionally, don't change anything in square or curly brackets, and don't remove pipe (|) characters.
* If you see two messages separated by pipe, then usually the left side is singular and the right side is plural, so translate accordingly.
*
* Thank you for translating!
*/
return [
// ============== MENU TRANSLATIONS ======================
'menu' => [
'my_apps' => 'As minhas Candidaturas',
'current_apps' => 'Candidaturas Atuais',
'profile_settings' => 'Configurações do Perfil',
'hiring_man' => 'Gestão de Contratação',
'all_forms' => 'Todos os Formulários',
'app_settings' => 'Configurações da App',
'global_app_settings' => 'Configurações globais do aplicativo',
'system_logs' => 'Registos do Sistema'
],
// ============== REUSABLE, GENERIC STRINGS ===============
'reusable' => [
'created_at' => 'Data de Criação',
'updated_at' => 'Atualizado em',
'actions' => 'Ações',
'delete' => 'Apagar',
'status' => 'Estado',
'view' => 'Ver',
'view_c' => 'Ver Detalhes',
'no_access' => 'Acesso Negado à Aplicação',
'validation_err' => 'Erro de validação!',
'description' => 'Descrição',
'join_date' => 'Data de inscrição',
'my_acc' => 'Minha Conta',
'confirm' => 'Por favor confirme',
'confirm_plain' => 'Confirmar',
'confirm_click' => 'Clique para confirmar',
'date' => 'Data',
'datetime' => 'Hora & Data',
'location' => 'Local',
'none_yet' => 'Nenhum ainda',
'reason' => 'Motivo',
'days' => 'Dias',
'weeks' => 'Semanas',
'months' => 'Meses',
'years' => 'Anos',
'yes' => 'Sim',
'no' => 'Não',
'roles' => 'Funções',
'member_since' => 'Membro desde :date',
'lookup' => 'Pesquisar :ipAddress',
'abt' => 'Sobre',
'acc' => 'Conta',
'settings' => 'Definições',
'profile' => 'Meu perfil',
'code' => 'código',
'here' => 'aqui',
'auth_req' => 'Por favor autentique-se',
'eligible' => 'Qualificado',
'ineligible' => 'Não elegível',
'schedule' => 'Agendar',
'schedule_action' => 'Marcar um Compromisso',
'platform' => 'Plataforma',
'notepad' => 'Bloco Notas Partilhado', // Context: The shared notepad that appears when votes are needed,
'appointment_info' => 'Informação da Marcação',
'ip_info' => 'Informação de Endereço IP para'
],
// ============== HOMEPAGE MESSAGES ======================
'home' => 'Início',
'homepagetxt' => 'Página Inicial',
'login' => 'Iniciar sessão',
'logout' => 'Terminar sessão',
'register' => 'Inscreva-se',
'dashboard' => 'Painel de controlo',
'back' => 'Retroceder',
'homepage_welcome' => 'Bem-vindo ao nosso centro de gestão de equipas!',
'homepage_explainer_line1' => 'Aqui, você pode candidatar-se a cargos abertos, ver o estado da sua candidatura, e gerir o seu perfil.',
'homepage_explainer_line2' => 'Registe-se com o E-mail para continuar.',
'footer_copy' => 'Todos os direitos reservados',
'global_error' => 'Ocorreu um erro',
'global_success' => 'Sucesso!',
'txt_learn_more' => 'Mais informações',
'opening_nodetails' => 'Parecem não haver detalhes',
'opening_nodetails_exp' => 'Esta candidatura ainda não tem detalhes.',
'details_m_title' => 'Detalhes da Candidatura',
'open_positions' => 'Vagas Abertas',
'last_updated' => 'Última atualização',
'open_position_count' => '{1} Há :count vaga aberta!|[2,*] Há :count vagas abertas!',
'ineligible_days_remaining' => 'Não elegível (:days) dia(s) restantes',
'txt_apply' => 'Candidatar-se', // Context: Apply as in applying for a "job", e.g. registering for a job
'txt_application' => 'Candidatura',
'application_closed' => 'Candidaturas Fechadas',
'application_closed_intro' => 'Olá!',
'application_closed_intro_line2' => '
Atualmente não estamos contratando nenhum novo membro da equipa no momento. Se você quiser se candidatar, confira o canal de anúncios
do Discord para saber quando abre uma nova vaga.
Nosso ciclo de candidaturas geralmente dura duas semanas, então se você está vendo isso, é porque ela terminou, e um novo começará em breve.
',
'where_work' => 'Onde você trabalhará',
'join_team' => 'Junte-se à equipa',
'join_team_cta' => 'Junte-se hoje à equipa e ajude a rede a crescer e prosperar!',
'contact_cta' => 'Alguma pergunta? Deixe uma mensagem!',
'contact_disclaimer' => '*Este não é um formulário de candidatura. Qualquer candidatura enviada aqui será ignorada.',
'contactlabel_name' => 'Nome',
'contactlabel_email' => 'E-mail',
'contactlabel_subject' => 'Assunto (ex. sugestão do site)',
'contactlabel_send' => 'Enviar',
// ======================== AUTHENTICATION MESSAGES ===========================
'2fa_txt' => 'Autenticação de dois Fatores',
'2fa_sronly' => 'Código secreto de dois fatores (Poderá encontrar isso no Google Authenticator)',
'2fa_lostcode' => 'Não sabe o código?',
'2fa_cancel_login' => 'Cancelar login (sair)',
'terms' => 'Condições de Utilização',
'ppolicy' => 'Política de privacidade',
'signin_cta' => 'Entrar na sua conta',
'password' => 'Palavra-passe',
'remember_me' => 'Lembrar-me',
'forgot_pw' => 'Esqueceu-se da palavra-passe?',
'register_cta' => 'Registe-se aqui',
'no_acc' => 'Não tem uma conta?',
'register_acc' => 'Registar nova conta',
'pwsec' => [
'line1' => 'Verificar a segurança da password',
'line2' => 'Para sua segurança, implementamos políticas de palavra-passe rigorosas. Também é aconselhável deixar o seu gestor de senhas ou o navegador gerar e salvar senhas para você (se for um dispositivo privado).',
'line3' => 'As senhas devem ser uma combinação de: ',
'line4' => 'Um mínimo de 10 caracteres;',
'line5' => 'Pelo menos 3 caracteres maiúsculos;',
'line6' => 'Pelo menos 3 números;',
'line7' => 'Números e caracteres especiais.'
],
'sronly_confirmpassword' => 'Confirmar palavra-passe', // hint: sronly stands for screen-reader only
'sronly_mcusername' => 'Utilizador do Minecraft (Premium)',
'have_account' => 'Já tem uma conta?',
'login_here' => 'Inicie sessão aqui',
'register_txt' => 'Registe-se',
// ===================== DASHBOARD & COMPONENT MESSAGES ===========================
'modal_close' => 'Fechar',
'component_nopermission' => 'Não tem permissões para aceder a este recurso.',
'component_accessdenied' => 'Acesso negado',
'component_contact' => 'Por favor, entre em contacto com seu administrador se acredita que isso foi um erro.',
'welcome_back' => 'Bem-vindo de volta,',
'eligible' => 'Qualificado',
'ineligible' => 'Não elegível',
'eligibility_status' => 'Seu atual estado de elegibilidade: :badgeStatus',
'ongoing_apps' => 'Candidaturas a decorrer',
'denied_apps' => 'Candidaturas negadas',
'users_staff' => 'Utilizadores totais + Equipa',
'new_apps' => 'Novas Candidaturas',
'v_backlog' => 'Votos em atraso',
'ranks' => 'Cargos disponíveis',
'open' => 'Abrir',
'closed' => 'Fechada',
'upcoming' => 'As suas próximas entrevistas',
'soon' => 'Disponível em breve',
//=================== ADMINISTRATION MESSAGES (for all administration pages) ===============
'adm' => 'Administração',
'devtools' => 'Ferramentas de Programador',
'devtools_evn' => 'Gestão de Eventos',
'devoptions' => 'Opções de Desenvolvedor',
'forceeval' => 'Por favor, escolha uma candidatura para forçar reavaliação',
'appid' => 'ID da candidatura',
'no_valid_app' => 'Não há candidaturas válidas',
'choose_app' => 'Escolha uma candidatura',
'dispatch_event' => 'Enviar evento agora',
'devtools_warn' => 'Não use estas opções se você não sabe o que está fazendo, mesmo se tiver acesso a esta página.',
'warn' => 'Atenção',
'override_votes' => 'Substituir Avaliação do Voto',
'artisan_evaluate' => 'Artisan: Avaliar Votos Agora', // Tip: Artisan is a program name, therefore not translatable
'devtools_info' => 'Este painel também pode ser usado para substituir completamente o sistema de votação em cenários de impasse',
'forms' => 'Formulários',
'positions' => 'Vagas', // Context: Positions as in job opening
'edit_form' => 'Editar Formulário',
'edt' => 'Editor',
'edit' => 'Editar',
'edt_action' => 'Editando',
'txtbox' => 'Caixa de texto',
'multiline' => 'Múltipla resposta',
'checkbox' => 'Caixa de verificação',
'field_type' => 'Selecione um Tipo de Campo',
'save_exit' => 'Guardar e Sair',
'new_field' => 'Novo Campo',
'vacancy_edit' => 'Editor de vagas',
'new_vacancy' => 'Nova vaga',
'form_consistency' => 'Para fins de consistência, campos acinzentados não podem ser editados.',
'vacancy' => [
'add' => 'Adicionar vaga',
'name' => 'Nome da vaga',
'description' => 'Descrição da vaga',
'details' => 'Detalhes da vaga',
'markdown' => 'Markdown suportado',
'no_details' => 'Sem detalhes ainda... Adicione alguns!',
'permission_group' => 'Grupos de Permissão',
'permission_group_tooltip' => 'O grupo de permissões do seu servidor/rede. Compatível com a Luckperms e PEX.',
'discord_roleid' => 'ID do cargo Discord',
'discord_roleid_tooltip' => 'Discord Desktop: Vá para as configurações da sua conta > Aparência -> Avançado e ative o Modo Desenvolvedor. Na página de cargos do seu servidor, clique com o botão direito de qualquer cargo para copiar o ID.',
'current_form' => 'Formulário atual (não editável)',
'remaining_slots' => 'Espaços restantes',
'free_slots' => 'Espaços livres',
'free_slots_tooltip' => 'Quantas submissões antes que a vaga pare de aceitar novos candidatos?',
'save' => 'Guardar Alterações',
'cancel' => 'Cancelar',
'close_vacancy' => 'Fechar vaga',
'description_tooltip' => 'Adicione coisas como requisitos de admissão, responsabilidades e funções, e qualquer outra coisa que você ache necessária',
''
],
'form' => 'Formulário',
'form_builder' => [
'builder' => 'Construtor de Formulários',
'builder_name' => 'Ferramenta de Gestão de Formulários de Candidatura',
'name_form' => 'Nomeie o seu formulário...',
'save_form' => 'Guardar Formulário',
],
'form_preview' => [
'preview' => 'Pré-visualizar',
'title' => 'Pré-visualização do Formulário de Candidatura',
'looks' => 'É assim que o seu formulário aparece para os candidatos',
'f_info' => 'Você pode editá-lo e adicionar mais campos posteriormente.',
''
],
'forms_p' => [
'available_forms' => 'Formulários disponíveis',
'form_title' => 'Título do Formulário',
'empty_noforms' => 'Nada para ver aqui! Por favor, crie alguns formulários primeiro.',
'new_form' => 'NOVO FORMULÁRIO'
],
'players' => [
'reg_players' => 'Jogadores registados',
'reg_players_staff' => 'Ver Jogadores Registados (Grupo de Candidatos)',
'total_banned' => 'Total de jogadores banidos',
'search' => 'Procurar jogadores',
'f_p_search' => 'Pesquisa de e-mail completa/parcial',
'p_disclaimer' => 'Atenção: Esta lista inclui apenas jogadores registados no portal de gestão de equipa. Numa versão futura, todos os jogadores da rede serão mostrados aqui.',
'listing' => 'Lista de jogadores',
'reg_date' => 'Data de registo',
'ign' => 'IGN', // Context: Short for In-Game Name
'banned' => 'Banido',
'active' => 'Ativo',
'no_reg' => 'Não há jogadores inscritos!',
'no_reg_exp' => "
Jogadores registados são aqueles que não possuem uma função administrativa no aplicativo de gestão de equipa.
Pode haver outros utilizadores registados na plataforma, mas eles não serão exibidos aqui.
",
'see_staff' => 'Ver Membros da Equipa'
],
'positions_p' => [
'application_form' => 'Formulário de Candidatura',
'select_form' => 'Selecione um formulário...',
'no_form_error' => "
Não pode criar uma vaga sem qualquer formulário cujos quais as pessoas se poderiam candidatar.
Crie um formulário primeiro, e depois crie uma vaga.
Um único formulário pode ter várias vagas, para que possa anexar futuras vagas ao mesmo formulário, se quiser.
",
'new_pos' => 'NOVA VAGA',
'empty_pos_warning' => 'Nada para ver aqui! Abra algumas vagas primeiro. Isso fará os candidatos aparecerem! (esperançoso)',
'manage_forms' => 'GERIR FORMULÁRIOS DE CANDIDATURA',
],
'settings' => [
'settings' => 'Definições',
'settings_header' => 'Configuração das notificações',
'settings_p' => 'Altere quais notificações são enviadas aqui.',
'back_btn' => 'Voltar ao painel'
],
'staff' => [
'members' => 'Membros da Equipa',
'active_sm' => 'Membros Ativos da Equipa',
'm_listing' => 'Lista de Membros',
'f_name' => 'Nome completo',
'rank' => 'Cargo',
],
// ======================== APPLICATION RENDERING MESSAGES =========================
'application_r' => [
'appl_submit_warn' => 'Tem certeza de que deseja enviar a sua candidatura? Por favor, analise cada uma das suas respostas cuidadosamente antes de enviá-la.',
'appl_submit_doublewarn' => 'Por favor, note: Candidaturas NÃO PODEM serem modificadas assim que forem enviadas!',
'acceptsend' => 'Aceitar e Enviar',
'review' => 'Rever',
'applying_for' => 'Você está se candidatando para: :name',
'welcome' => [
'yrs_old' => 'Anos de idade', // Context: "years old" as in: Tom is 24 years old
'line1' => 'Estamos felizes que você decidiu se candidatar. Geralmente, as candidaturas levam 48 horas para serem processadas e revisadas. Dependendo das circunstâncias e do volume de candidaturas, você poderá receber uma resposta em um período mais curto de tempo.',
'line2' => 'Por favor, preencha o formulário abaixo. Mantenha todas as respostas concisas e completas. Lembre-se de que o requisito de idade é de pelo menos :agerqr.',
'line3' => 'Perguntar sobre a sua candidatura resultará em ser negado instantaneamente. Tudo o que você precisa saber está aqui.'
],
'app_timeout' => 'A sua conta não pode enviar outra candidatura. Por favor, espere :days mais dias antes de tentar enviar uma candidatura.'
],
'application_m' => [
'title' => 'Gestão de Candidaturas',
'all_apps' => 'Todas as Candidaturas',
'modal_confirm' => 'Tem a certeza?',
'really_delete' => 'Deseja realmente excluir isto?',
'outstanding_sm' => 'Pendente',
'outstanding_apps' => 'Candidaturas Pendendes',
'outstanding_subm' => 'Pendente (Enviado)',
'interview_q' => 'Fila de entrevistas',
'interview_p' => 'Entrevista',
'interview_s' => 'Entrevista Agendada',
'finished_int' => 'Entrevistas concluídas',
'schedule_int' => 'Agendar Entrevistas',
'p_review' => 'Revisão por pares',
'applicant' => 'Candidato',
'interviewee' => 'Entrevistado',
'pending_int' => 'Entrevista Pendente',
'schedule' => 'Agendar',
'view_interview_queue' => 'Ver fila de entrevistas',
'view_approval_queue' => 'Ver Fila de Aprovação por Pares',
'view_outstanding_queue' => 'Visualizar fila de pendentes',
'approved' => 'Aprovado',
'denied' => 'Recusado',
'unknown_stat' => 'Desconhecido',
'consequence_irreversible' => 'IRREVERSÍVEL',
'delete_action_warning' => 'Esta ação é :consequence.',
'delete_explainer' => 'Comentários, compromissos e quaisquer votos anexados a esta candidatura também serão excluídos. Por favor, certifique-se de que esta candidatura realmente precisa ser excluída.',
'all_apps_header' => 'Você está a ver todas as candidaturas recebidas',
'all_apps_exp' => 'Aqui, você tem acesso rápido e fácil a todas as candidaturas recebidos pelo sistema.',
'no_apps' => 'Não há candidaturas aqui',
'no_apps_exp' => 'Não conseguimos encontrar nenhuma candidatura. Talvez ninguém se inscreveu ainda? Por favor, tente novamente mais tarde.',
'int_applications' => 'Candidaturas',
'no_apps_pending_int' => 'Nenhuma candidatura pendente de entrevista',
'no_apps_pending_int_exp' => 'Não há aplicativos que tenham sido movidos para a fase de Entrevistas. Verifique a fila pendente. Aqui não há aplicativos que tenham sido movidos para a fase de Entrevistas. Por favor, verifique a fila pendente.',
'upcoming_int' => 'Minhas próximas entrevistas',
'pending_schedule' => 'Agendamento pendente',
'no_upcoming' => 'Não há próximas entrevistas',
'no_upcoming_exp' => 'Por favor, verifique outras filas no processo de candidatura. Os candidatos aqui podem já ter sido entrevistados.',
'no_outstanding' => 'Não está vendo candidaturas? Verifique com um administrador para certificar-se de que existem posições abertas.',
'no_outstanding_exp' => 'É também uma boa ideia a publicidade em fóruns relevantes para este fim.',
'applicant_name' => 'Nome do Candidato',
'application_date' => 'Data de Inscrição',
'no_pending' => 'Não existem candidaturas pendente',
'no_pending_exp' => 'Parece que ninguém novo se candidatou ainda. Confira as filas de entrevista e aprovação para candidaturas que podem ter movido fases até agora.',
'voting_reminder' => [
'title' => 'Lembrete de votação',
'line1' => 'Candidaturas que obtêm mais de 50% dos votos positivos são automaticamente aprovadas após um dia.',
'line2' => 'Inversamente, candidaturas que não atingem esse número são automaticamente negadas.',
'line3' => 'Por favor, lembre-se que o sistema de votação pode ser substituído'
],
'no_pending_review' => 'Não há candidaturas pendentes de entrevista',
'no_pending_review_exp' => 'Verifique as outras filas para ver mais candidaturas! As candidaturas serão mostradas aqui assim que as suas entrevistas forem concluídas. Poderá ver notas da reunião e votar baseando-se nas suas observações.',
],
// ============= PROFILE & USER MESSAGES ===============
'profile' => [
'title' => 'Perfil de :name',
'profile' => 'Perfil',
'users' => 'Utilizadores',
'account_banned' => 'Conta banida',
'account_banned_exp' => 'Este utilizador foi banido pelos moderadores.',
'ban_confirm' => 'Por favor, confirme que você deseja banir este utilizador. Você precisará adicionar um motivo e uma data de expiração para confirmar isto. Banimentos não transferem para redes de Minecraft conectadas (ainda).',
'leave_empty' => 'Deixe em branco para um banimento permanente',
'duration' => 'Duração',
'p_duration' => 'Duração da penalização',
'p_duration_exp' => 'por exemplo, spam',
'ban' => 'Banir',
'terminate_notice' => 'Você está prestes a excluir um membro da equipa',
'terminate_notice_warning' => 'Excluir um membro da equipa irá remover os respetivos privilégios do site de gestão da equipa e da Rede.
Eles serão notificados sobre o cancelamento. Certifique-se de que tenha discutido isto com eles.',
'terminate_notice_consequence' => 'ESTE PROCESSO É IRREVERSÍVEL E IMEDIATO',
'terminate_txt' => 'Apagar membro da equipa',
'delete_acc_warn' => 'AVISO: Esta é uma ação potencialmente destrutiva!',
'delete_acc_consequence' => 'Excluir uma conta de utilizador é um processo irreversível. Candidaturas históricas e atuais, votos e conteúdo do perfil, bem como qualquer informação que seja pessoalmente identificável serão imediatamente apagados.',
'type_to_confirm' => 'Digite para confirmar:',
'type_placeholder' => 'Digite o valor acima',
'delete_acc' => 'Apagar conta',
'edit_acc' => 'Editar Conta',
'ban_acc' => 'Banir conta',
'unban_acc' => 'Desbloquar conta',
'search_result' => 'Resultados da pesquisa',
'origin_cc' => 'País de origem',
'state_prov' => 'Estado/Província',
'district' => 'Distrito (se houver)',
'city' => 'Cidade',
'zipcode' => 'Código postal',
'coords' => 'Coordenadas',
'european' => 'Europeu?',
'isp' => 'Provedor', // Internet service provider
'org' => 'Organização (se houver)',
'ctype' => 'T. de Ligação', // Internet Connection type
'timezone' => 'Fuso horário',
'noresults' => 'A sua pesquisa não retornou resultados.',
'edituser' => 'Editar dados pessoais e cargos', // PII: Personally identifiable information
'edituser_consequence' => 'Aviso! Esta é uma configuração sensível! Mudar isto pode ter consequências não intencionais!',
'acc_management' => 'Gestão de conta (administrador)',
'discord_tag' => 'Tag do Discord: :discordTag',
'account_settings' => 'Definições de Conta',
'account_settings_personal' => 'Minhas Configurações de Conta',
'2fa_welcome' => 'Estamos felizes por você ter decidido aumentar a segurança de sua conta!',
'supported_apps' => 'Aplicativos suportados que você pode instalar: ',
'scan_code' => 'Leia o código :scannable com o seu aplicativo preferido e copie o código aqui.',
'otp' => 'Código de uso único',
'2fa_enable' => 'Ativar 2FA',
'2fa_remove_consequence' => 'Remover a autenticação de dois fatores reduzirá a segurança de sua conta.',
'2fa_password_confirm' => 'Confirme a sua palavra-passe para continuar',
'2fa_password_confirm_exp' => 'Para impedir alterações não autorizadas, uma senha é sempre necessária para operações confidenciais.',
'2fa_disable_consent' => '"Eu compreendo as possíveis consequências de desativar a autenticação de dois fatores"',
'2fa_remove' => 'Remover 2FA',
'2fa_remove_extended' => 'Desativar autenticação em dois passos',
'security_lgotherdev' => 'Para sua segurança, você precisará re-introduzir a sua senha antes de desconectar outros dispositivos. Se você acredita que sua conta foi comprometida, altere sua senha em vez disso, já que isso desconectará automaticamente qualquer pessoa que poderá estar usando sua conta e impedir que faça login novamente.',
'password_reenter' => 'Repita a sua palavra-passe',
'acc_security' => 'Segurança da conta',
'2fa' => 'Autenticação de dois Fatores',
'sessions' => 'Sessões',
'contact_settings' => 'Configurações de Contacto (E-Mail)',
'change_password' => 'Alterar palavra-passe',
'change_password_exp' => 'Altere sua senha aqui. Isto desconectará você de todas as sessões existentes para sua segurança.',
'old_pass' => 'Palavra-passe antiga',
'forgot_pw' => 'Esqueceu sua senha? Reponha-a :link',
'new_pw' => 'Nova palavra-passe',
'2fa_enable_success' => 'Fixe! A 2FA está configurada corretamente para a sua conta. Será solicitado um código toda vez que você fizer login.',
'2fa_avail' => 'A autenticação de dois fatores está disponível para sua conta.',
'2fa_avail_exp' => ' Habilitar esta opção de segurança aumenta consideravelmente a segurança da sua conta caso a sua senha seja roubada.',
'session_manager' => 'Gestor de Sessões',
'terminate_others' => 'Terminar outras sessões é geralmente uma boa ideia se sua conta foi comprometida.',
'current_session' => 'Sua sessão atual: conectado a partir de :ipAddress',
'flush_session' => 'Limpar sessões',
'personal_data_change' => 'Precisa alterar dados pessoais? Você pode fazer isso aqui.',
'current_email' => 'Endereço de e-mail atual',
'new_email' => 'Novo endereço de e-mail',
'current_password' => 'Palavra-passe Atual',
'security_nochangepw' => 'Por motivos de segurança, você não pode fazer alterações de conta importantes sem confirmar a sua senha. Você também precisará confirmar o seu novo e-mail.',
'change_email' => 'Alterar Endereço de Email',
'basic_info' => 'Informações básicas',
'fl_name' => 'Primeiro e último nome',
'shortbio' => 'Pequena biografia',
'about_me' => 'Sobre mim',
'pref_media' => 'Preferências & Média',
'avatar_source' => 'Obter o avatar de: ',
'social_media' => 'Redes Sociais',
'github_user' => 'Utilizador GitHub',
'twitter_user' => 'Utilizador no Twitter',
'insta_user' => 'Nome de Utilizador do Instagram',
'discord_user' => '"Handle" do Discord',
'update_prfl' => 'Atualizar Perfil'
],
// ==================== USER ACCOUNT MESSAGES (NON-PRIVILEGED) =====================
'user' => [
'app_process' => [
'title' => 'Processo de Candidatura',
'line1' => 'Por favor, aguarde pelo menos três dias para que sua candidatura seja processada. A inscrição será revisada por todos os membros da equipa, e será promovida em fases.',
'line2' => 'Se uma entrevista estiver programada, você precisará abrir o aplicativo aqui e confirmar a hora, data e local atribuídos para você.'
],
'account_standing' => 'Estado da Conta',
'account_eligibility' => 'Sua conta está atualmente :eligibility para candidatura',
'days_remaining_acc_alt' => 'A partir de hoje, há :days restantes até que você tenha permissão para enviar outra candidatura.',
'my_ongoingapps' => 'Minhas Candidaturas em Andamento',
'submitted' => 'Enviado',
'peer_approval' => 'Aprovação em Pares',
'peer_approval_q' => 'Fila de Aprovação por Pares',
'nothing_to_show' => 'Nada a exibir',
'nothing_to_show_exp' => 'Você atualmente não tem nenhuma candidatura para exibir. Se você é elegível, você pode-se candidatar uma vez por mês.',
'directory' => [
'itsyou' => 'É você!',
'title' => 'Diretório de Utilizadores',
'directory' => 'Diretório'
]
],
'view_app' => [
'title' => 'Vendo candidatura',
'viewing_app' => 'Visualizando a candidatura de :user',
'cantvote' => 'Não pode votar nesta candidatura novamente.',
'no_notes' => 'Ainda não há notas. Adicione algumas!',
'deny_confirm' => 'Tem certeza que deseja negar esta candidatura? Por favor, tenha em mente que este utilizador só terá permissão para se candidatar 30 dias após sua primeira candidatura.',
'deny_confirm_consequence' => 'Esta ação não pode ser desfeita.',
'deny_confirm_btn' => 'Confirmar: Negar candidato',
'form_updated_alert' => 'Se este formulário foi atualizado, novos campos e perguntas atualizadas não aparecerão aqui!',
'context_info' => 'Informações contextuais',
'appl_ip' => 'Endereço IP do candidato',
'appl_for' => 'Candidatando-se a',
'currentstatus' => 'Estado atual',
'decisionmod' => 'Ferramentas de Decisão & Moderação',
'denyapp' => 'Recusar candidato',
'nextstage' => 'Mover para a próxima fase',
'appointment_desc' => 'Descrição do agendamento',
'int_date_time' => 'Data e Hora da Entrevista',
'choosedate' => 'Clique para escolher uma data',
'appointment_loc' => 'Local do Agendamento',
'pref_platform' => 'Selecione sua plataforma preferida',
'coming_soon_int' => 'Videoconferência interna em breve, suportada por Jitsi Meet',
'scheduled_for' => 'Entrevista Agendada para:',
'platform' => 'Plataforma',
'finish_meeting' => 'Finalizar reunião',
'view_notes' => 'Notas da Reunião',
'vote_app' => 'Votar nesta candidatura',
'vote_explainer' => [
'line1' => 'Se você não estava presente durante esta reunião, pode visualizar o bloco de notas da reunião partilhado para ajudá-lo a tomar uma decisão.',
'line2' => 'Você pode votar em quantas candidaturas forem necessárias; no entanto, só pode votar uma vez por candidatura.',
'line3' => 'Os votos não têm peso baseado no cargo. Esse sistema foi projetado com justiça e facilidade de uso em mente.'
],
'vote_approve' => 'Voto: Aprovar o candidato',
'vote_deny' => 'Voto: Negar o candidato',
'm_notes' => 'Notas da Reunião',
'view_more' => 'Ver mais candidaturas',
'comments' => 'Comentários',
'no_comments' => 'Ainda não há comentários.',
'no_comments_exp' => 'Não há comentários aqui! Comentários só são visíveis para os membros da equipa. Seja o primeiro a partilhar a sua opinião! Comentar pode ajudar na tomada de decisões quando chegar o momento de votar na candidatura.',
'commenting_as' => 'Comentando como :username',
'max_chars' => 'caracteres no máximo', // Context: A number is added before max characters
'post' => 'Publicar', // Context: Post as in post comment
]
// ==================== END OF MAIN I18N FILE ======================
];

View File

@ -0,0 +1,19 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Pagination Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used by the paginator library to build
| the simple pagination links. You are free to change them to anything
| you want to customize your views to better match your application.
|
*/
'previous' => '&laquo; Anterior',
'next' => 'Seguinte &raquo;',
];

View File

@ -0,0 +1,22 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Password Reset Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are the default lines which match reasons
| that are given by the password broker for a password update attempt
| has failed, such as for an invalid token or invalid new password.
|
*/
'reset' => 'Sua palavra-passe foi redefinida!',
'sent' => 'Enviamos um e-mail com um link para redefinir a sua password!',
'throttled' => 'Por favor, aguarde antes de tentar novamente.',
'token' => 'Token para recuperação de senha inválido.',
'user' => "Não foi possível encontrar um utilizador com este e-mail.",
];

View File

@ -0,0 +1,151 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Validation Language Lines
|--------------------------------------------------------------------------
|
| The following language lines contain the default error messages used by
| the validator class. Some of these rules have multiple versions such
| as the size rules. Feel free to tweak each of these messages here.
|
*/
'accepted' => 'O :attribute tem que ser aceite.',
'active_url' => 'O campo :attribute deve conter uma URL válida.',
'after' => 'O :attribute tem de ser uma data após :date.',
'after_or_equal' => 'O campo :attribute deverá conter uma data posterior ou igual a :date.',
'alpha' => 'O campo :attribute deve conter apenas letras.',
'alpha_dash' => 'O campo :attribute deverá conter apenas letras, números e traços.',
'alpha_num' => 'O campo :attribute deve conter apenas letras e números.',
'array' => 'O campo :attribute deverá conter uma coleção de elementos.',
'before' => 'O campo :attribute deverá conter uma data anterior a :date.',
'before_or_equal' => 'O Campo :attribute deverá conter uma data anterior ou igual a :date.',
'between' => [
'numeric' => 'O campo :attribute deve conter um número entre :min e :max.',
'file' => 'O campo :attribute deve estar compreendido entre :min e :max kilobytes.',
'string' => 'O :attribute deverá ser entre :min e :max caracteres.',
'array' => 'O campo :attribute deverá conter entre :min - :max elementos.',
],
'boolean' => 'O campo :attribute deverá conter o valor verdadeiro ou falso.',
'confirmed' => 'A confirmação do :attribute não coincide.',
'date' => 'O campo :attribute não contém uma data válida.',
'date_equals' => 'O :attribute deve ser uma data igual a :date.',
'date_format' => 'O :attribute não corresponde ao formato :format.',
'different' => 'Os campos :attribute e :other deverão conter valores diferentes.',
'digits' => 'O :attribute deve ter :digits dígitos.',
'digits_between' => 'O :attribute tem de ter entre :min e :max dígitos.',
'dimensions' => 'O :attribute tem dimensões de imagem inválidas.',
'distinct' => 'O campo :attribute contém um valor duplicado.',
'email' => 'O :attribute tem de ser um e-mail válido.',
'ends_with' => 'O :attribute deve terminar com um dos seguintes: :values.',
'exists' => 'O :attribute selecionado é inválido.',
'file' => 'O campo :attribute deverá conter um ficheiro.',
'filled' => 'O campo :attribute deve ter um valor.',
'gt' => [
'numeric' => 'O :attribute deve ser maior do que :value.',
'file' => 'O :attribute deve ser maior que :value kilobytes.',
'string' => 'O :attribute deve ser maior que :value caracteres.',
'array' => 'O :attribute deve ter mais de :value itens.',
],
'gte' => [
'numeric' => 'O :attribute deve ser maior ou igual a :value.',
'file' => 'O :attribute deve ser maior ou igual a :value kilobytes.',
'string' => 'O :attribute deve ser maior ou igual a :value caracteres.',
'array' => 'O :attribute deve ter :value itens ou mais.',
],
'image' => 'O :attribute tem de ser uma imagem.',
'in' => 'O :attribute selecionado é inválido.',
'in_array' => 'O campo :attribute não existe em :other.',
'integer' => 'O campo :attribute deve conter um número inteiro.',
'ip' => 'O :attribute deve ser um endereço IP válido.',
'ipv4' => 'O campo :attribute deverá conter um IPv4 válido.',
'ipv6' => 'O campo :attribute deverá conter um IPv6 válido.',
'json' => 'O campo :attribute deve conter uma string JSON válida.',
'lt' => [
'numeric' => 'O :attribute tem de ser menor ou igual que :value.',
'file' => 'O :attribute deve ter menos de :value kilobytes.',
'string' => 'O :attribute deve ter menos de :value caracteres.',
'array' => 'O campo :attribute deve ter menos de :value itens.',
],
'lte' => [
'numeric' => 'O :attribute tem de ser menor ou igual que :value.',
'file' => 'O :attribute deve ser menor ou igual a :value kilobytes.',
'string' => 'O :attribute deve ser menor ou igual a :value caracteres.',
'array' => 'O :attribute não deve ter mais de :value items.',
],
'max' => [
'numeric' => 'O campo :attribute não pode conter um valor superior a :max.',
'file' => 'O :attribute não deve ser maior que :max kilobytes.',
'string' => 'O :attribute não pode ter mais que :max caracteres.',
'array' => 'O :attribute não deverá ter mais que :max itens.',
],
'mimes' => 'O :attribute só pode conter os seguintes formatos: :values.',
'mimetypes' => 'O :attribute deve ser um ficheiro do tipo: :attribute.',
'min' => [
'numeric' => 'O campo :attribute deve conter um número superior ou igual a :min.',
'file' => 'O campo :attribute deve conter um arquivo com no mínimo :min kilobytes.',
'string' => 'O campo :attribute deve conter pelo menos :min itens.',
'array' => 'O campo :attribute deve conter pelo menos :min itens.',
],
'not_in' => 'O :attribute selecionado é inválido.',
'not_regex' => 'O formato do valor informado no campo :attribute é inválido.',
'numeric' => 'O campo :attribute deve conter um valor numérico.',
'password' => 'A palavra-passe está incorreta.',
'present' => 'O campo :attribute deve estar presente.',
'regex' => 'O formato do :attribute é inválido.',
'required' => 'O campo :attribute é obrigatório.',
'required_if' => 'É obrigatória a indicação de um valor para o campo :attribute quando o valor do campo :other é igual a :value.',
'required_unless' => 'O campo :attribute e obrigatório, a menos que :other esteja em :values.',
'required_with' => 'O campo :attribute é obrigatório quando o :value se encontra definido.',
'required_with_all' => 'O campo :attribute é obrigatório quando :values estão presentes.',
'required_without' => 'O campo :attribute é necessário quando :values não está presente.',
'required_without_all' => 'O campo :attribute é obrigatório quando nenhum dos :values está presente.',
'same' => 'Os campos :attribute e :other deverão conter valores iguais.',
'size' => [
'numeric' => 'O :attribute deve ser maior que :size.',
'file' => 'O campo :attribute deve conter um arquivo com o tamanho de :size kilobytes.',
'string' => 'O campo :attribute deverá conter :size caracteres.',
'array' => 'O :attribute tem de conter :size itens.',
],
'starts_with' => 'O :attribute deve começar com um dos seguintes: :values.',
'string' => 'O campo :attribute deverá conter texto.',
'timezone' => 'O campo :attribute deve conter um fuso horário válido.',
'unique' => 'O valor indicado para o campo :attribute já se encontra registado.',
'uploaded' => 'O :attribute falhou ao ser enviado.',
'url' => 'O formato do valor informado no campo :attribute é inválido.',
'uuid' => 'O campo :attribute deve conter um UUID válido.',
/*
|--------------------------------------------------------------------------
| Custom Validation Language Lines
|--------------------------------------------------------------------------
|
| Here you may specify custom validation messages for attributes using the
| convention "attribute.rule" to name the lines. This makes it quick to
| specify a specific custom language line for a given attribute rule.
|
*/
'custom' => [
'attribute-name' => [
'rule-name' => 'mensagem-personalizada',
],
],
/*
|--------------------------------------------------------------------------
| Custom Validation Attributes
|--------------------------------------------------------------------------
|
| The following language lines are used to swap our attribute placeholder
| with something more reader friendly such as "E-Mail Address" instead
| of "email". This simply helps us make our message more expressive.
|
*/
'attributes' => [],
];

View File

@ -28,7 +28,7 @@
<label for="remember">{{__('messages.remember_me')}}</label> <label for="remember">{{__('messages.remember_me')}}</label>
<input type="checkbox" name="remember" id="remember" /> <input type="checkbox" name="remember" id="remember" />
</div> </div>
<input name="login" id="login" class="btn btn-block login-btn mb-4" type="submit" value="Sign-in"> <input name="login" id="login" class="btn btn-block login-btn mb-4" type="submit" value="{{__('messages.login')}}">
</form> </form>
<a href="{{ route('password.request') }}" class="forgot-password-link">{{__('messages.forgot_pw')}}</a> <a href="{{ route('password.request') }}" class="forgot-password-link">{{__('messages.forgot_pw')}}</a>
<p class="login-card-footer-text">{{__('messages.no_acc')}} <a href="{{ route('register') }}" class="text-reset">{{__('messages.register_cta')}}</a></p> <p class="login-card-footer-text">{{__('messages.no_acc')}} <a href="{{ route('register') }}" class="text-reset">{{__('messages.register_cta')}}</a></p>

View File

@ -38,7 +38,7 @@
<form action="{{ route('register') }}" method="POST" id="registerForm"> <form action="{{ route('register') }}" method="POST" id="registerForm">
@csrf @csrf
<div class="form-group"> <div class="form-group">
<label for="name" class="sr-only">{{__('messages.contactlabel_name')}}/label> <label for="name" class="sr-only">{{__('messages.contactlabel_name')}}</label>
<input type="text" name="name" id="name" class="form-control" placeholder="{{__('messages.contactlabel_name')}}"> <input type="text" name="name" id="name" class="form-control" placeholder="{{__('messages.contactlabel_name')}}">
</div> </div>
<div class="form-group mb-4"> <div class="form-group mb-4">

View File

@ -19,7 +19,9 @@
@yield('content') @yield('content')
@include('breadcrumbs.footer') @include('breadcrumbs.footer')
<script>
$('.dropdown-toggle').dropdown()
</script>
</body> </body>
</html> </html>

View File

@ -54,6 +54,21 @@
<li class="nav-item"> <li class="nav-item">
<a class="nav-link " href="{{config('app.sitehomepage')}}">{{__('messages.homepagetxt')}}</a> <a class="nav-link " href="{{config('app.sitehomepage')}}">{{__('messages.homepagetxt')}}</a>
</li> </li>
<li class="nav-item dropdown">
<a href="#" class="nav-link dropdown-toggle"><i class="fas fa-language"></i> Language</a>
<ul class="dropdown-menu">
<li class="dropdown-item text-center">
<a target="_blank" href="https://crowdin.com/project/raspberry-staff-manager"><img src="https://badges.crowdin.net/raspberry-staff-manager/localized.svg"></a>
</li>
@foreach(Mcamara\LaravelLocalization\Facades\LaravelLocalization::getSupportedLocales() as $localeCode => $properties)
<li class="dropdown-item">
<a rel="alternate" hreflang="{{ $localeCode }}" href="{{ Mcamara\LaravelLocalization\Facades\LaravelLocalization::getLocalizedURL($localeCode, null, [], true) }}">
<img src="https://www.countryflags.io/{{($localeCode == 'en') ? 'gb' : $localeCode}}/flat/24.png"> {{ $properties['native'] }}
</a>
</li>
@endforeach
</ul>
</li>
</ul> </ul>
</div> </div>
<div class="collapse navbar-collapse" id="navbarSupportedContent"> <div class="collapse navbar-collapse" id="navbarSupportedContent">

View File

@ -55,7 +55,7 @@
<div class="col"> <div class="col">
<x-card id="tools" card-title="Event Management" footer-style="text-center"> <x-card id="tools" card-title="{{__('messages.devtools_evn')}}" footer-style="text-center">
<x-slot name="cardHeader"> <x-slot name="cardHeader">

View File

@ -51,7 +51,7 @@
<p class="text-muted"><i class="fas fa-question-circle"></i> {{__('messages.form_consistency')}}</p> <p class="text-muted"><i class="fas fa-question-circle"></i> {{__('messages.form_consistency')}}</p>
<form method="POST" id="editPositionForm" action="{{ route('updatePosition', ['position' => $vacancy->id]) }}"> <form method="POST" id="editPositionForm" action="{{ route('updatePosition', ['vacancy' => $vacancy->id]) }}">
@csrf @csrf
@method('PATCH') @method('PATCH')

View File

@ -58,7 +58,7 @@
<div class="card-footer text-center"> <div class="card-footer text-center">
<button onclick="save()" type="button" class="btn btn-success">{{__('messages.form_builder.save_form')}}</button> <button onclick="save()" type="button" class="btn btn-success">{{__('messages.form_builder.save_form')}}</button>
<input type="button" value="New Field" class="add btn btn-info ml-3" id="add" /> <input type="button" value="{{__('messages.new_field')}}" class="add btn btn-info ml-3" id="add" />
</div> </div>

View File

@ -162,7 +162,7 @@
<th>{{__('messages.contactlabel_name')}}</th> <th>{{__('messages.contactlabel_name')}}</th>
<th>{{__('messages.reusable.description')}}</th> <th>{{__('messages.reusable.description')}}</th>
<th>{{__('messages.vacancy.discord_roleid')}}</th> <th>{{__('messages.vacancy.discord_roleid')}}</th>
<th>{{__('messages.vacancy.permission_groupr')}}</th> <th>{{__('messages.vacancy.permission_group')}}</th>
<th>{{__('messages.vacancy.free_slots')}}</th> <th>{{__('messages.vacancy.free_slots')}}</th>
<th>{{__('messages.reusable.status')}}</th> <th>{{__('messages.reusable.status')}}</th>
<th>{{__('messages.reusable.created_at')}}</th> <th>{{__('messages.reusable.created_at')}}</th>
@ -189,7 +189,7 @@
<td>{{$vacancy->created_at}}</td> <td>{{$vacancy->created_at}}</td>
<td> <td>
<button type="button" class="btn btn-sm btn-warning" onclick="window.location.href='{{ route('editPosition', ['position' => $vacancy->id]) }}'"><i class="fas fa-edit"></i></button> <button type="button" class="btn btn-sm btn-warning" onclick="window.location.href='{{ route('editPosition', ['vacancy' => $vacancy->id]) }}'"><i class="fas fa-edit"></i></button>
@if ($vacancy->vacancyStatus == 'OPEN') @if ($vacancy->vacancyStatus == 'OPEN')

View File

@ -97,7 +97,7 @@
<div class="inner"> <div class="inner">
<h3>{{ $deniedApplications ?? 0 }}</h3> <h3>{{ $deniedApplications ?? 0 }}</h3>
<p>{{__('messages.denied_apps')}}/p> <p>{{__('messages.denied_apps')}}</p>
</div> </div>
<div class="icon"> <div class="icon">
<i class="fas fa-times"></i> <i class="fas fa-times"></i>

View File

@ -30,10 +30,10 @@
<div class="alert alert-info"> <div class="alert alert-info">
<b><i class="fa fa-info-circle"></i> {{__('messages.user.account_standing')}}</b> <b><i class="fa fa-info-circle"></i> {{__('messages.user.account_standing')}}</b>
<p>{{__('messages.user.account_eligibility', ['eligibility' => ($isEligibileForApplication) ? __('messages.eligible') : __('messages.ineligible')])}}</p> <p>{{__('messages.user.account_eligibility', ['eligibility' => ($isEligibleForApplication) ? __('messages.eligible') : __('messages.ineligible')])}}</p>
@if (!$isEligibleForApplication) @if (!$isEligibleForApplication)
<p>{{__('messages.user.days_remaining_acc_alt', ['days' => '<b>' . $eligibilityDaysRemaining .'</b>'])}}</p> <p>{{__('messages.user.days_remaining_acc_alt', ['days' => $eligibilityDaysRemaining])}}</p>
@endif @endif
</div> </div>
@ -130,7 +130,7 @@
<div class="card-footer"> <div class="card-footer">
<button type="button" class="btn btn-default mr-2">Back</button> <button type="button" class="btn btn-default mr-2" onclick="window.location.href='{{route('dashboard')}}'">{{__('messages.back')}}</button>
</div> </div>
</div> </div>

View File

@ -36,7 +36,7 @@
@if (Auth::user()->hasRole('admin')) @if (Auth::user()->hasRole('admin'))
<x-modal id="banAccountModal" modal-label="banAccount" modal-title="Please confirm" include-close-button="true"> <x-modal id="banAccountModal" modal-label="banAccount" modal-title="{{__('messages.reusable.confirm')}}" include-close-button="true">
<p>{{__('messages.profile.ban_confirm')}}</p> <p>{{__('messages.profile.ban_confirm')}}</p>
@ -74,7 +74,7 @@
</x-modal> </x-modal>
@if (!Auth::user()->is($profile->user) && $profile->user->isStaffMember()) @if (!Auth::user()->is($profile->user) && $profile->user->isStaffMember())
<x-modal id="terminateUser" modal-label="terminateUser" modal-title="Please confirm" include-close-button="true"> <x-modal id="terminateUser" modal-label="terminateUser" modal-title="{{__('messages.reusable.confirm')}}" include-close-button="true">
<p><i class="fa fa-exclamation-triangle"></i> <b>{{__('messages.profile.terminate_notice')}}</b></p> <p><i class="fa fa-exclamation-triangle"></i> <b>{{__('messages.profile.terminate_notice')}}</b></p>
<p> <p>
@ -99,7 +99,7 @@
</x-modal> </x-modal>
@endif @endif
<x-modal id="deleteAccount" modal-label="deleteAccount" modal-title="Please confirm" include-close-button="true"> <x-modal id="deleteAccount" modal-label="deleteAccount" modal-title="{{__('messages.reusable.confirm')}}" include-close-button="true">
<p><i class="fa fa-exclamation-triangle"></i><b> {{__('messages.profile.delete_acc_warn')}}</b></p> <p><i class="fa fa-exclamation-triangle"></i><b> {{__('messages.profile.delete_acc_warn')}}</b></p>
@ -122,7 +122,7 @@
</x-slot> </x-slot>
</x-modal> </x-modal>
<x-modal id="ipInfo" modal-label="ipInfo" modal-title="IP Address Information for {{$ipInfo->ip ?? 'Unknown'}}" include-close-button="true"> <x-modal id="ipInfo" modal-label="ipInfo" modal-title="{{__('messages.reusable.ip_info')}} {{$ipInfo->ip ?? 'Unknown'}}" include-close-button="true">
<h4 class="text-center">{{__('messages.profile.search_result')}}</h3> <h4 class="text-center">{{__('messages.profile.search_result')}}</h3>

View File

@ -23,7 +23,7 @@
@if (!Auth::user()->has2FA()) @if (!Auth::user()->has2FA())
<x-modal id="twoFactorAuthModal" modal-label="2faLabel" modal-title="Two-factor Authentication" include-close-button="true"> <x-modal id="twoFactorAuthModal" modal-label="2faLabel" modal-title="{{__('messages.2fa_txt')}}" include-close-button="true">
<h3><i class="fas fa-user-shield"></i> {{__('messages.profile.2fa_welcome')}}</h3> <h3><i class="fas fa-user-shield"></i> {{__('messages.profile.2fa_welcome')}}</h3>
@ -75,7 +75,7 @@
@if (Auth::user()->has2FA()) @if (Auth::user()->has2FA())
<x-modal id="remove2FA" modal-label="remove2FALabel" modal-title="Remove Two-Factor Authentication" include-close-button="true"> <x-modal id="remove2FA" modal-label="remove2FALabel" modal-title="{{__('messages.profile.2fa_remove_extended')}}" include-close-button="true">
<p><i class="fas fa-exclamation-triangle"></i> <b>{{__('messages.application_m.modal_confirm')}}</b> {{__('messages.profile.2fa_remove_consequence')}}</p> <p><i class="fas fa-exclamation-triangle"></i> <b>{{__('messages.application_m.modal_confirm')}}</b> {{__('messages.profile.2fa_remove_consequence')}}</p>

View File

@ -128,7 +128,7 @@
<label for="aboutMe">{{__('messages.profile.about_me')}}</label> <label for="aboutMe">{{__('messages.profile.about_me')}}</label>
<textarea name="aboutMe" id="aboutMe" rows="8" class="form-control">{{$profile->profileAboutMe}}</textarea> <textarea name="aboutMe" id="aboutMe" rows="8" class="form-control">{{$profile->profileAboutMe}}</textarea>
<p class="text-muted"><a href="https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet">{{__('messages.vacancy.markdown')}}</p> <p class="text-muted"><a href="https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet">{{__('messages.vacancy.markdown')}}</a></p>
</div> </div>

View File

@ -36,7 +36,7 @@
@canany('applications.view.all', 'appointments.*') @canany('applications.view.all', 'appointments.*')
<x-modal id="notes" modal-label="notes" modal-title="Shared Notepad" include-close-button="true"> <x-modal id="notes" modal-label="notes" modal-title="{{__('messages.reusable.notepad')}}" include-close-button="true">
<form id="meetingNotes" method="POST" action="{{route('saveNotes', ['application' => $application->id])}}"> <form id="meetingNotes" method="POST" action="{{route('saveNotes', ['application' => $application->id])}}">
@csrf @csrf
@ -224,7 +224,7 @@
<div class="col"> <div class="col">
<x-card id="appointmentCard" card-title="Schedule An Interview" footer-style="text-center"> <x-card id="appointmentCard" card-title="{{__('messages.reusable.schedule_action')}}" footer-style="text-center">
<x-slot name="cardHeader"> <x-slot name="cardHeader">
@ -273,7 +273,7 @@
<div class="col"> <div class="col">
<x-card id="scheduleInfo" card-title="Appointment Information" footer-style="text-center"> <x-card id="scheduleInfo" card-title="{{__('messages.reusable.appointment_info')}}" footer-style="text-center">
<x-slot name="cardHeader"></x-slot> <x-slot name="cardHeader"></x-slot>

View File

@ -1,6 +1,7 @@
<?php <?php
use Illuminate\Support\Facades\Route; use Illuminate\Support\Facades\Route;
use Mcamara\LaravelLocalization\Facades\LaravelLocalization;
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
@ -12,222 +13,227 @@ use Illuminate\Support\Facades\Route;
| contains the "web" middleware group. Now create something great! | contains the "web" middleware group. Now create something great!
| |
*/ */
Route::group(['prefix' => 'auth', 'middleware' => ['usernameUUID']], function (){ Route::group(['prefix' => LaravelLocalization::setLocale(), 'middleware' => [ 'localeSessionRedirect', 'localizationRedirect', 'localeViewPath' ]], function (){
Auth::routes(); Route::group(['prefix' => 'auth', 'middleware' => ['usernameUUID']], function (){
Route::post('/twofa/authenticate', 'Auth\TwofaController@verify2FA') Auth::routes();
->name('verify2FA');
}); Route::post('/twofa/authenticate', 'Auth\TwofaController@verify2FA')
->name('verify2FA');
Route::get('/','HomeController@index') });
->middleware('eligibility');
Route::post('/form/contact', 'ContactController@create') Route::get('/','HomeController@index')
->name('sendSubmission');
Route::group(['middleware' => ['auth', 'forcelogout', '2fa']], function(){
Route::get('/dashboard', 'DashboardController@index')
->name('dashboard')
->middleware('eligibility'); ->middleware('eligibility');
Route::get('users/directory', 'ProfileController@index') Route::post('/form/contact', 'ContactController@create')
->name('directory'); ->name('sendSubmission');
Route::group(['prefix' => '/applications'], function (){
Route::get('/my-applications', 'ApplicationController@showUserApps') Route::group(['middleware' => ['auth', 'forcelogout', '2fa']], function(){
->name('showUserApps')
Route::get('/dashboard', 'DashboardController@index')
->name('dashboard')
->middleware('eligibility'); ->middleware('eligibility');
Route::get('/view/{application}', 'ApplicationController@showUserApp') Route::get('users/directory', 'ProfileController@index')
->name('showUserApp'); ->name('directory');
Route::post('/{application}/comments', 'CommentController@insert') Route::group(['prefix' => '/applications'], function (){
->name('addApplicationComment');
Route::delete('/comments/{comment}/delete', 'CommentController@delete') Route::get('/my-applications', 'ApplicationController@showUserApps')
->name('deleteApplicationComment'); ->name('showUserApps')
->middleware('eligibility');
Route::get('/view/{application}', 'ApplicationController@showUserApp')
->name('showUserApp');
Route::post('/{application}/comments', 'CommentController@insert')
->name('addApplicationComment');
Route::delete('/comments/{comment}/delete', 'CommentController@delete')
->name('deleteApplicationComment');
Route::patch('/notes/save/{applicationID}', 'AppointmentController@saveNotes') Route::patch('/notes/save/{application}', 'AppointmentController@saveNotes')
->name('saveNotes'); ->name('saveNotes');
Route::patch('/update/{application}/{newStatus}', 'ApplicationController@updateApplicationStatus') Route::patch('/update/{application}/{newStatus}', 'ApplicationController@updateApplicationStatus')
->name('updateApplicationStatus'); ->name('updateApplicationStatus');
Route::delete('{application}/delete', 'ApplicationController@delete') Route::delete('{application}/delete', 'ApplicationController@delete')
->name('deleteApplication'); ->name('deleteApplication');
Route::get('/staff/all', 'ApplicationController@showAllApps') Route::get('/staff/all', 'ApplicationController@showAllApps')
->name('allApplications'); ->name('allApplications');
Route::get('/staff/outstanding', 'ApplicationController@showAllPendingApps') Route::get('/staff/outstanding', 'ApplicationController@showAllPendingApps')
->name('staffPendingApps'); ->name('staffPendingApps');
Route::get('/staff/peer-review', 'ApplicationController@showPeerReview') Route::get('/staff/peer-review', 'ApplicationController@showPeerReview')
->name('peerReview'); ->name('peerReview');
Route::get('/staff/pending-interview', 'ApplicationController@showPendingInterview') Route::get('/staff/pending-interview', 'ApplicationController@showPendingInterview')
->name('pendingInterview'); ->name('pendingInterview');
Route::post('{application}/staff/vote', 'VoteController@vote') Route::post('{application}/staff/vote', 'VoteController@vote')
->name('voteApplication'); ->name('voteApplication');
});
Route::group(['prefix' => 'appointments'], function (){
Route::post('schedule/appointments/{application}', 'AppointmentController@saveAppointment')
->name('scheduleAppointment');
Route::patch('update/appointments/{application}/{status}', 'AppointmentController@updateAppointment')
->name('updateAppointment');
});
Route::group(['prefix' => 'apply', 'middleware' => ['eligibility']], function (){
Route::get('positions/{vacancySlug}', 'ApplicationController@renderApplicationForm')
->name('renderApplicationForm');
Route::post('positions/{vacancySlug}/submit', 'ApplicationController@saveApplicationAnswers')
->name('saveApplicationForm');
});
Route::group(['prefix' => '/profile'], function (){
Route::get('/settings', 'ProfileController@showProfile')
->name('showProfileSettings');
Route::patch('/settings/save', 'ProfileController@saveProfile')
->name('saveProfileSettings');
Route::get('user/{user}', 'ProfileController@showSingleProfile')
->name('showSingleProfile');
Route::get('/settings/account', 'UserController@showAccount')
->name('showAccountSettings');
Route::patch('/settings/account/change-password', 'UserController@changePassword')
->name('changePassword');
Route::patch('/settings/account/change-email', 'UserController@changeEmail')
->name('changeEmail');
Route::post('/settings/account/flush-sessions', 'UserController@flushSessions')
->name('flushSessions');
Route::patch('/settings/account/twofa/enable', 'UserController@add2FASecret')
->name('enable2FA');
Route::patch('/settings/account/twofa/disable', 'UserController@remove2FASecret')
->name('disable2FA');
});
Route::group(['prefix' => '/hr'], function (){
Route::get('staff-members', 'UserController@showStaffMembers')
->name('staffMemberList');
Route::get('players', 'UserController@showPlayers')
->name('registeredPlayerList');
Route::post('players/search', 'UserController@showPlayersLike')
->name('searchRegisteredPLayerList');
Route::patch('staff-members/terminate/{user}', 'UserController@terminate')
->name('terminateStaffMember');
});
Route::group(['prefix' => 'admin'], function (){
Route::get('settings', 'OptionsController@index')
->name('showSettings');
Route::post('settings/save', 'OptionsController@saveSettings')
->name('saveSettings');
Route::post('players/ban/{user}', 'BanController@insert')
->name('banUser');
Route::delete('players/unban/{user}', 'BanController@delete')
->name('unbanUser');
Route::delete('players/delete/{user}', 'UserController@delete')
->name('deleteUser');
Route::patch('players/update/{user}', 'UserController@update')
->name('updateUser');
Route::get('positions', 'VacancyController@index')
->name('showPositions');
Route::post('positions/save', 'VacancyController@store')
->name('savePosition');
Route::get('positions/edit/{vacancy}', 'VacancyController@edit')
->name('editPosition');
Route::patch('positions/update/{vacancy}', 'VacancyController@update')
->name('updatePosition');
Route::patch('positions/availability/{status}/{vacancy}', 'VacancyController@updatePositionAvailability')
->name('updatePositionAvailability');
Route::get('forms/builder', 'FormController@showFormBuilder')
->name('showFormBuilder');
Route::post('forms/save', 'FormController@saveForm')
->name('saveForm');
Route::delete('forms/destroy/{form}', 'FormController@destroy')
->name('destroyForm');
Route::get('forms', 'FormController@index')
->name('showForms');
Route::get('forms/preview/{form}', 'FormController@preview')
->name('previewForm');
Route::get('forms/edit/{form}', 'FormController@edit')
->name('editForm');
Route::patch('forms/update/{form}', 'FormController@update')
->name('updateForm');
Route::get('devtools', 'DevToolsController@index')
->name('devTools');
// we could use route model binding
Route::post('devtools/vote-evaluation/force', 'DevToolsController@forceVoteCount')
->name('devToolsForceVoteCount');
});
}); });
Route::group(['prefix' => 'appointments'], function (){
Route::post('schedule/appointments/{application}', 'AppointmentController@saveAppointment')
->name('scheduleAppointment');
Route::patch('update/appointments/{application}/{status}', 'AppointmentController@updateAppointment')
->name('updateAppointment');
});
Route::group(['prefix' => 'apply', 'middleware' => ['eligibility']], function (){
Route::get('positions/{vacancySlug}', 'ApplicationController@renderApplicationForm')
->name('renderApplicationForm');
Route::post('positions/{vacancySlug}/submit', 'ApplicationController@saveApplicationAnswers')
->name('saveApplicationForm');
});
Route::group(['prefix' => '/profile'], function (){
Route::get('/settings', 'ProfileController@showProfile')
->name('showProfileSettings');
Route::patch('/settings/save', 'ProfileController@saveProfile')
->name('saveProfileSettings');
Route::get('user/{user}', 'ProfileController@showSingleProfile')
->name('showSingleProfile');
Route::get('/settings/account', 'UserController@showAccount')
->name('showAccountSettings');
Route::patch('/settings/account/change-password', 'UserController@changePassword')
->name('changePassword');
Route::patch('/settings/account/change-email', 'UserController@changeEmail')
->name('changeEmail');
Route::post('/settings/account/flush-sessions', 'UserController@flushSessions')
->name('flushSessions');
Route::patch('/settings/account/twofa/enable', 'UserController@add2FASecret')
->name('enable2FA');
Route::patch('/settings/account/twofa/disable', 'UserController@remove2FASecret')
->name('disable2FA');
});
Route::group(['prefix' => '/hr'], function (){
Route::get('staff-members', 'UserController@showStaffMembers')
->name('staffMemberList');
Route::get('players', 'UserController@showPlayers')
->name('registeredPlayerList');
Route::post('players/search', 'UserController@showPlayersLike')
->name('searchRegisteredPLayerList');
Route::patch('staff-members/terminate/{user}', 'UserController@terminate')
->name('terminateStaffMember');
});
Route::group(['prefix' => 'admin'], function (){
Route::get('settings', 'OptionsController@index')
->name('showSettings');
Route::post('settings/save', 'OptionsController@saveSettings')
->name('saveSettings');
Route::post('players/ban/{user}', 'BanController@insert')
->name('banUser');
Route::delete('players/unban/{user}', 'BanController@delete')
->name('unbanUser');
Route::delete('players/delete/{user}', 'UserController@delete')
->name('deleteUser');
Route::patch('players/update/{user}', 'UserController@update')
->name('updateUser');
Route::get('positions', 'VacancyController@index')
->name('showPositions');
Route::post('positions/save', 'VacancyController@store')
->name('savePosition');
Route::get('positions/edit/{position}', 'VacancyController@edit')
->name('editPosition');
Route::patch('positions/update/{position}', 'VacancyController@update')
->name('updatePosition');
Route::patch('positions/availability/{status}/{vacancy}', 'VacancyController@updatePositionAvailability')
->name('updatePositionAvailability');
Route::get('forms/builder', 'FormController@showFormBuilder')
->name('showFormBuilder');
Route::post('forms/save', 'FormController@saveForm')
->name('saveForm');
Route::delete('forms/destroy/{form}', 'FormController@destroy')
->name('destroyForm');
Route::get('forms', 'FormController@index')
->name('showForms');
Route::get('forms/preview/{form}', 'FormController@preview')
->name('previewForm');
Route::get('forms/edit/{form}', 'FormController@edit')
->name('editForm');
Route::patch('forms/update/{form}', 'FormController@update')
->name('updateForm');
Route::get('devtools', 'DevToolsController@index')
->name('devTools');
// we could use route model binding
Route::post('devtools/vote-evaluation/force', 'DevToolsController@forceVoteCount')
->name('devToolsForceVoteCount');
});
}); });