working on i18n of admin pages

This commit is contained in:
printempw 2016-09-25 10:02:40 +08:00
parent 8602e795d9
commit 74c07d8353
9 changed files with 17 additions and 15 deletions

View File

@ -21,6 +21,7 @@ customize: Customize
options: Options
score-options: Score Options
check-update: Check Update
download-update: Download Updates
close: Close
skin: Skin
cape: Cape

View File

@ -21,6 +21,7 @@ customize: 个性化
options: 站点配置
score-options: 积分配置
check-update: 检查更新
download-update: 下载更新
close: 关闭
skin: 皮肤
cape: 披风

View File

@ -1,6 +1,6 @@
@extends('admin.master')
@section('title', '个性化')
@section('title', trans('general.customize'))
@section('style')
<link rel="stylesheet" href="{{ assets('vendor/skins/_all-skins.min.css') }}">
@ -13,7 +13,7 @@
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
个性化
{{ trans('general.customize') }}
<small>Customize</small>
</h1>
</section>

View File

@ -1,6 +1,6 @@
@extends('admin.master')
@section('title', '下载更新')
@section('title', trans('general.download-update'))
@section('content')
@ -9,7 +9,7 @@
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
下载更新
{{ trans('general.download-update') }}
<small>Download Updates</small>
</h1>
</section>
@ -18,7 +18,7 @@
<section class="content">
<div class="box box-solid">
<div class="box-header with-border">
<h3 class="box-title">下载更新</h3>
<h3 class="box-title">{{ trans('general.download-update') }}</h3>
</div><!-- /.box-header -->
<div class="box-body"> <?php
$updater = new Updater(config('app.version'));

View File

@ -1,6 +1,6 @@
@extends('admin.master')
@section('title', '站点配置')
@section('title', trans('general.options'))
@section('style')
<style type="text/css">
@ -16,7 +16,7 @@
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
站点配置
{{ trans('general.options') }}
<small>Options</small>
</h1>
</section>

View File

@ -1,6 +1,6 @@
@extends('admin.master')
@section('title', '角色管理')
@section('title', trans('general.player-manage'))
@section('content')
@ -12,7 +12,7 @@
@if (isset($_GET['q']))
搜索结果:{{ $_GET['q'] }}
@else
角色管理
{{ trans('general.player-manage') }}
@endif
<small>Player Management</small>
<!-- Search Form -->

View File

@ -1,6 +1,6 @@
@extends('admin.master')
@section('title', '积分配置')
@section('title', trans('general.score-options'))
@section('content')
@ -9,7 +9,7 @@
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
积分配置
{{ trans('general.score-options') }}
<small>Score Options</small>
</h1>
</section>

View File

@ -1,6 +1,6 @@
@extends('admin.master')
@section('title', '检查更新')
@section('title', trans('general.check-update'))
@section('style')
<style type="text/css">
@ -16,7 +16,7 @@
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
检查更新
{{ trans('general.check-update') }}
<small>Check Update</small>
</h1>
</section>

View File

@ -1,6 +1,6 @@
@extends('admin.master')
@section('title', '用户管理')
@section('title', trans('general.user-manage'))
@section('content')
@ -12,7 +12,7 @@
@if (isset($_GET['q']))
搜索结果:{{ $_GET['q'] }}
@else
用户管理
{{ trans('general.user-manage') }}
@endif
<small>User Management</small>
<form method="get" action="" class="user-search-form">