Skip to content

Commit

Permalink
core device translation DE
Browse files Browse the repository at this point in the history
  • Loading branch information
Kim-the-Diamond committed Sep 17, 2024
1 parent afd6fa0 commit c2338ce
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 0 deletions.
32 changes: 32 additions & 0 deletions packages/core/resources/lang/de/device.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?php

return [
'device' => 'Gerät',
'devices' => 'Geräte',

// Deprecated
'title' => 'Gerät',
// Deprecated
'totalone' => 'Geräte',
// Deprecated
'totaltwo' => 'Benutzer',
// Deprecated
'totalthree' => 'Aktiv',

// Message
'new_device_registered' => 'Neues Gerät registriert',
'new_device_registered_message' => 'Ein neues Gerät wurde mit ihrem Benutzerkonto registriert.',
'device_details' => 'Geräte Info',
'if_not_you_secure_account' => 'Wenn das nicht Sie waren, bitte sichern Sie ihr Benutzerkonto.',

// Not used yet
'device_id' => 'Gerät ID',
'device_type' => 'Gerät Typ',
'device_name' => 'Gerät Name',
'os' => 'Betriebssystem',
'browser' => 'Browser',
'city' => 'Stadt',
'country' => 'Land',
'location' => 'Standort',
'whitelisted' => 'Whitelisted',
];
18 changes: 18 additions & 0 deletions tests/Feature/RedirectTest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?php

use Illuminate\Support\Facades\Artisan;

beforeEach(function () {
// Optionally, you can refresh the application routes
Artisan::call('route:cache');
});

test('Lock WP config is true', function () {
$lockwp = config('press.lock_wordpress');
expect($lockwp)->toBeTrue();
});

it('will lock Wp', function () {
$response = $this->get('/wp');
$response->assertRedirect('/press/login');
});

0 comments on commit c2338ce

Please sign in to comment.