tweak UI text
This commit is contained in:
parent
bf860d6a68
commit
0f791f42cc
|
|
@ -93,7 +93,7 @@ class SkinlibController extends Controller
|
|||
|
||||
abort(404, trans('skinlib.show.deleted'));
|
||||
}
|
||||
abort(404, trans('skinlib.show.deleted').trans('skinlib.show.contact-admin'));
|
||||
abort(404, trans('skinlib.show.deleted'));
|
||||
}
|
||||
|
||||
if (!$texture->public) {
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@ general:
|
|||
show:
|
||||
title: Texture Details
|
||||
deleted: The requested texture was already deleted.
|
||||
contact-admin: Please contact the admins to remove this entry.
|
||||
private: The requested texture is private and only visible to the uploader and admins.
|
||||
|
||||
upload:
|
||||
|
|
|
|||
|
|
@ -144,7 +144,7 @@ class SkinlibControllerTest extends TestCase
|
|||
option(['auto_del_invalid_texture' => false]);
|
||||
$texture = factory(Texture::class)->create();
|
||||
$this->get('/skinlib/show/'.$texture->tid)
|
||||
->assertSee(trans('skinlib.show.deleted').trans('skinlib.show.contact-admin'));
|
||||
->assertSee(trans('skinlib.show.deleted'));
|
||||
$this->assertNotNull(Texture::find($texture->tid));
|
||||
|
||||
option(['auto_del_invalid_texture' => true]);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user