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'));
|
||||||
}
|
}
|
||||||
abort(404, trans('skinlib.show.deleted').trans('skinlib.show.contact-admin'));
|
abort(404, trans('skinlib.show.deleted'));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$texture->public) {
|
if (!$texture->public) {
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,6 @@ general:
|
||||||
show:
|
show:
|
||||||
title: Texture Details
|
title: Texture Details
|
||||||
deleted: The requested texture was already deleted.
|
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.
|
private: The requested texture is private and only visible to the uploader and admins.
|
||||||
|
|
||||||
upload:
|
upload:
|
||||||
|
|
|
||||||
|
|
@ -144,7 +144,7 @@ class SkinlibControllerTest extends TestCase
|
||||||
option(['auto_del_invalid_texture' => false]);
|
option(['auto_del_invalid_texture' => false]);
|
||||||
$texture = factory(Texture::class)->create();
|
$texture = factory(Texture::class)->create();
|
||||||
$this->get('/skinlib/show/'.$texture->tid)
|
$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));
|
$this->assertNotNull(Texture::find($texture->tid));
|
||||||
|
|
||||||
option(['auto_del_invalid_texture' => true]);
|
option(['auto_del_invalid_texture' => true]);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user