From 94016678f85d92de5d31be8fb7b5f1b58c5b0957 Mon Sep 17 00:00:00 2001 From: snipe Date: Mon, 9 Jun 2014 00:02:31 -0400 Subject: [PATCH] More internationalization per #151 --- app/lang/en/admin/categories/general.php | 10 ++++++++++ app/views/backend/categories/edit.blade.php | 12 +++++------- app/views/backend/categories/index.blade.php | 11 ++++------- app/views/backend/depreciations/edit.blade.php | 2 +- app/views/backend/groups/edit.blade.php | 2 +- app/views/backend/hardware/checkin.blade.php | 2 +- app/views/backend/hardware/checkout.blade.php | 2 +- app/views/backend/hardware/clone.blade.php | 2 +- app/views/backend/locations/edit.blade.php | 2 +- app/views/backend/locations/index.blade.php | 2 +- app/views/backend/manufacturers/edit.blade.php | 2 +- app/views/backend/manufacturers/index.blade.php | 2 +- app/views/backend/models/edit.blade.php | 2 +- app/views/backend/models/index.blade.php | 2 +- app/views/backend/settings/edit.blade.php | 2 +- app/views/backend/statuslabels/edit.blade.php | 2 +- app/views/backend/statuslabels/index.blade.php | 2 +- app/views/backend/users/create.blade.php | 2 +- app/views/backend/users/edit.blade.php | 2 +- app/views/backend/users/index.blade.php | 2 +- 20 files changed, 36 insertions(+), 31 deletions(-) create mode 100644 app/lang/en/admin/categories/general.php diff --git a/app/lang/en/admin/categories/general.php b/app/lang/en/admin/categories/general.php new file mode 100644 index 000000000000..50b51f1202bf --- /dev/null +++ b/app/lang/en/admin/categories/general.php @@ -0,0 +1,10 @@ + 'Update Category', + 'asset_categories' => 'Asset Categories', + 'about_asset_categories' => 'About Asset Categories', + 'category_name' => 'Category Name', + 'about_categories' => 'Asset categories help you organize your assets. Some example categories might be "Desktops", "Laptops", "Mobile Phones", "Tablets", and so on, but you can use asset categories any way that makes sense for you. ', + +); diff --git a/app/views/backend/categories/edit.blade.php b/app/views/backend/categories/edit.blade.php index 8fa1de780093..9d3529a041be 100755 --- a/app/views/backend/categories/edit.blade.php +++ b/app/views/backend/categories/edit.blade.php @@ -16,8 +16,8 @@
- Back -

Asset Categories

+ @lang('general.back') +

@lang('admin/categories/general.asset_categories')

@@ -31,7 +31,7 @@
- +
{{ $errors->first('name', ' :message') }} @@ -53,10 +53,8 @@


-
About Asset Categories
-

Asset categories help you organize your assets. Some - example categories might be "Desktops", "Laptops", "Mobile Phones", "Tablets", - and so on, but you can use asset categories any way that makes sense for you.

+
@lang('admin/categories/general.about_asset_categories')
+

@lang('admin/categories/general.about_categories')

diff --git a/app/views/backend/categories/index.blade.php b/app/views/backend/categories/index.blade.php index 7ff7d61e53cc..f5c241f800da 100755 --- a/app/views/backend/categories/index.blade.php +++ b/app/views/backend/categories/index.blade.php @@ -11,8 +11,8 @@
- Create New -

Asset Categories

+ @lang('general.create') +

@lang('admin/categories/general.asset_categories')

@@ -35,7 +35,6 @@ - @endforeach @@ -49,10 +48,8 @@


-
About Asset Categories
-

Asset categories help you organize your assets. Some - example categories might be "Desktops", "Laptops", "Mobile Phones", "Tablets", - and so on, but you can use asset categories any way that makes sense for you.

+
@lang('admin/categories/general.about_asset_categories')
+

@lang('admin/categories/general.about_categories')

diff --git a/app/views/backend/depreciations/edit.blade.php b/app/views/backend/depreciations/edit.blade.php index 752b9c09672a..91edb7e76e50 100755 --- a/app/views/backend/depreciations/edit.blade.php +++ b/app/views/backend/depreciations/edit.blade.php @@ -17,7 +17,7 @@
- Back + @lang('general.back')

@if ($depreciation->id) Update Depreciation diff --git a/app/views/backend/groups/edit.blade.php b/app/views/backend/groups/edit.blade.php index c05610c73725..428c6f3d165a 100755 --- a/app/views/backend/groups/edit.blade.php +++ b/app/views/backend/groups/edit.blade.php @@ -12,7 +12,7 @@
- Back + @lang('general.back')

@lang('admin/groups/titles.edit_group')

diff --git a/app/views/backend/hardware/checkin.blade.php b/app/views/backend/hardware/checkin.blade.php index fc627f9484fb..723866c95eb8 100644 --- a/app/views/backend/hardware/checkin.blade.php +++ b/app/views/backend/hardware/checkin.blade.php @@ -15,7 +15,7 @@
- Back + @lang('general.back')

Checkin Asset

diff --git a/app/views/backend/hardware/checkout.blade.php b/app/views/backend/hardware/checkout.blade.php index 2057d333d18a..33743ff02c4b 100644 --- a/app/views/backend/hardware/checkout.blade.php +++ b/app/views/backend/hardware/checkout.blade.php @@ -15,7 +15,7 @@
- Back + @lang('general.back')

@if ($asset->id) Checkout Asset to User diff --git a/app/views/backend/hardware/clone.blade.php b/app/views/backend/hardware/clone.blade.php index fc7fb12f76ae..4eb720f37831 100644 --- a/app/views/backend/hardware/clone.blade.php +++ b/app/views/backend/hardware/clone.blade.php @@ -11,7 +11,7 @@