Compare commits

...

26 Commits

Author SHA1 Message Date
snipe 943cf40247 Merge branch 'master' of https://github.com/snipe/snipe-it 2019-12-06 13:14:31 -08:00
snipe ff57f10e9f Fix for searching on child location names (#7646)
* Fix for child locations

* Reverts temp changes to indenter
2019-12-06 13:14:10 -08:00
snipe 91bb76fd8a Bumped version 2019-12-06 13:05:20 -08:00
snipe 893454dca7 Updated translations 2019-12-06 12:03:04 -08:00
snipe de0b5a6149 Fixes #6440 - quote marks in the right place 2019-12-06 11:04:16 -08:00
Dustin B 8fd4e35244 Closes #6440 Print All Assigned - New Tab (#7135)
Should add the functionality to, by default open in a new tab and not reference back to the source page. Reduces overhead and should resolve #6440. 

Untested, need confirmation.
2019-12-06 11:00:01 -08:00
snipe e71e57f16a Fixed XSS vulnerability in SVG image uploads [ch10476] (#7639)
* Added enshrined/svg-sanitize

* Added modular image resizing/SVG cleaning method

(This already exists in v5, so I mostly ported it forward and added the SVG sanitizer.)

* Use improved handleImages method to upload/resize/clean images

* Removed $old_image

This is handled in the ImageUpload request now
2019-12-05 22:23:05 -08:00
snipe 3f5840d390 Bumped vendor files 2019-12-05 19:53:01 -08:00
dependabot[bot] d3f4205f09 Bump symfony/http-foundation from 3.4.30 to 3.4.36 (#7638)
Bumps [symfony/http-foundation](https://github.com/symfony/http-foundation) from 3.4.30 to 3.4.36.
- [Release notes](https://github.com/symfony/http-foundation/releases)
- [Changelog](https://github.com/symfony/http-foundation/blob/master/CHANGELOG.md)
- [Commits](https://github.com/symfony/http-foundation/compare/v3.4.30...v3.4.36)

Signed-off-by: dependabot[bot] <support@github.com>
2019-12-05 19:37:00 -08:00
Godfrey Martinez 5b946087c4 added a proper response for password errors (#7636) 2019-12-05 17:49:56 -08:00
snipe ff8d98c97c Update child assets to reflect asset parent location (#7458) 2019-12-04 16:19:25 -08:00
snipe 2fbbe430b5 Removed escaping on custom fields in presenter (#7631) 2019-12-03 17:42:13 -08:00
Godfrey Martinez f0af750b0a Fixed comment (#7617)
* Set theme jekyll-theme-hacker

* fixed commenty about scopebyDeprecationID being identified as a method to location ID

* fixed commenty about scopebyDeprecationID being identified as a method to location ID
2019-11-22 16:13:42 -08:00
snipe 88cf456386 Adding Dept to license seats (#7609)
* Adding Dept to license seats

* Added query scope to order by department

* Make license seat department sortable

* Disable license seat internal search - this never actually worked
2019-11-21 22:03:56 -08:00
snipe d8049209ca Fixed bug where deleted consumable would throw an error on print page 2019-11-21 21:43:54 -08:00
snipe dd40ddf5a5 Fixed an error on audit due list when no audit_warning_days had been set [ch9764] 2019-11-21 21:34:41 -08:00
snipe a73fd24695 Fix maintenances permissions check to allow users who can edit assets to edit maintenances 2019-11-08 17:02:17 -08:00
snipe 70c8ad9797 Bumped minor version 2019-10-28 13:55:21 -07:00
snipe 0290257734 Limit license seats to 999 to prevent latency 2019-10-28 13:48:18 -07:00
snipe 4fe689dc5d Merge branch 'master' of https://github.com/snipe/snipe-it 2019-10-21 15:45:17 -07:00
snipe 0769f585ea Disallow locations from being their own parents 2019-10-21 15:45:05 -07:00
snipe 04562e6d4a Added 4260352 to ldapsync enabled account constraint 2019-10-18 17:48:50 -07:00
snipe 22d2ad9248 Fixes nested location selectlist (#7483)
* Rename child locations method

* Use Ajax dropdown for locations selectlist for edit/create

* Removed locations database call on edit/create blades for faster loading

* Updated locations controller to use the new iterator

* Increase pagination on locations controller to 500

We’re already loading all of that data up beforehand anyway, so no point in keeping the query smaller.

* Fixed the else to make codacy happy

* Improve the design and performance of the nested location selectlist (#7484)

* Improve the design and performance of the nested location selectlist

* Fixed parse errors

* Removed debugging code/comments
2019-10-02 03:56:56 -07:00
snipe 6deb26fafe Remove unused variable 2019-09-30 19:37:52 -07:00
snipe 6c1de7ff05 Apply fix for #6642 to master 2019-09-30 19:21:57 -07:00
snipe 7f5f4a1297 Added softwarew support and hardware support to maintenance types 2019-09-24 01:34:23 -07:00
325 changed files with 7354 additions and 1424 deletions
View File
+1 -1
View File
@@ -189,7 +189,7 @@ class LdapSync extends Command
// Sync activated state for Active Directory.
if ( array_key_exists('useraccountcontrol', $results[$i]) ) {
$enabled_accounts = [
'512', '544', '66048', '66080', '262656', '262688', '328192', '328224'
'512', '544', '66048', '66080', '262656', '262688', '328192', '328224', '4260352'
];
$user->activated = ( in_array($results[$i]['useraccountcontrol'][0], $enabled_accounts) ) ? 1 : 0;
}
+2 -42
View File
@@ -85,26 +85,7 @@ class AccessoriesController extends Controller
$accessory->qty = request('qty');
$accessory->user_id = Auth::user()->id;
$accessory->supplier_id = request('supplier_id');
if ($request->hasFile('image')) {
if (!config('app.lock_passwords')) {
$image = $request->file('image');
$ext = $image->getClientOriginalExtension();
$file_name = "accessory-".str_random(18).'.'.$ext;
$path = public_path('/uploads/accessories');
if ($image->getClientOriginalExtension()!='svg') {
Image::make($image->getRealPath())->resize(null, 800, function ($constraint) {
$constraint->aspectRatio();
$constraint->upsize();
})->save($path.'/'.$file_name);
} else {
$image->move($path, $file_name);
}
$accessory->image = $file_name;
}
}
$accessory = $request->handleImages($accessory,600, public_path().'/uploads/accessories');
// Was the accessory created?
@@ -165,28 +146,7 @@ class AccessoriesController extends Controller
$accessory->qty = request('qty');
$accessory->supplier_id = request('supplier_id');
if ($request->hasFile('image')) {
if (!config('app.lock_passwords')) {
$image = $request->file('image');
$ext = $image->getClientOriginalExtension();
$file_name = "accessory-".str_random(18).'.'.$ext;
$path = public_path('/uploads/accessories');
if ($image->getClientOriginalExtension()!='svg') {
Image::make($image->getRealPath())->resize(null, 800, function ($constraint) {
$constraint->aspectRatio();
$constraint->upsize();
})->save($path.'/'.$file_name);
} else {
$image->move($path, $file_name);
}
if (($accessory->image) && (file_exists($path.'/'.$accessory->image))) {
unlink($path.'/'.$accessory->image);
}
$accessory->image = $file_name;
}
}
$accessory = $request->handleImages($accessory,600, public_path().'/uploads/accessories');
// Was the accessory updated?
@@ -525,6 +525,10 @@ class AssetsController extends Controller
$location = $target->location_id;
} elseif (($request->filled('assigned_asset')) && ($target = Asset::find($request->get('assigned_asset')))) {
$location = $target->location_id;
Asset::where('assigned_type', '\\App\\Models\\Asset')->where('assigned_to', $id)
->update(['location_id' => $target->location_id]);
} elseif (($request->filled('assigned_location')) && ($target = Location::find($request->get('assigned_location')))) {
$location = $target->id;
}
@@ -228,14 +228,21 @@ class LicensesController extends Controller
$this->authorize('view', $license);
$seats = LicenseSeat::where('license_id', $licenseId)->with('license', 'user', 'asset');
$seats = LicenseSeat::where('license_seats.license_id', $licenseId)
->with('license', 'user', 'asset', 'user.department');
$offset = (($seats) && (request('offset') > $seats->count())) ? 0 : request('offset', 0);
$limit = request('limit', 50);
$order = $request->input('order') === 'asc' ? 'asc' : 'desc';
if ($request->input('sort')=='department') {
$seats->OrderDepartments($order);
} else {
$seats->orderBy('id', $order);
}
$total = $seats->count();
$offset = (($seats) && (request('offset') > $total)) ? 0 : request('offset', 0);
$limit = request('limit', 50);
$seats = $seats->skip($offset)->take($limit)->get();
if ($seats) {
@@ -8,6 +8,8 @@ use App\Helpers\Helper;
use App\Models\Location;
use App\Http\Transformers\LocationsTransformer;
use App\Http\Transformers\SelectlistTransformer;
use Illuminate\Pagination\LengthAwarePaginator;
use Illuminate\Support\Collection;
class LocationsController extends Controller
{
@@ -26,7 +28,7 @@ class LocationsController extends Controller
'updated_at','manager_id','image',
'assigned_assets_count','users_count','assets_count','currency'];
$locations = Location::with('parent', 'manager', 'childLocations')->select([
$locations = Location::with('parent', 'manager', 'children')->select([
'locations.id',
'locations.name',
'locations.address',
@@ -109,7 +111,7 @@ class LocationsController extends Controller
public function show($id)
{
$this->authorize('view', Location::class);
$location = Location::with('parent', 'manager', 'childLocations')
$location = Location::with('parent', 'manager', 'children')
->select([
'locations.id',
'locations.name',
@@ -146,6 +148,13 @@ class LocationsController extends Controller
{
$this->authorize('update', Location::class);
$location = Location::findOrFail($id);
if ($request->input('parent_id') == $id) {
return response()->json(Helper::formatStandardApiResponse('error', null, 'A location cannot be its own parent. Please select a different parent ID.'));
}
$location->fill($request->all());
if ($location->save()) {
@@ -181,6 +190,27 @@ class LocationsController extends Controller
/**
* Gets a paginated collection for the select2 menus
*
* This is handled slightly differently as of ~4.7.8-pre, as
* we have to do some recursive magic to get the hierarchy to display
* properly when looking at the parent/child relationship in the
* rich menus.
*
* This means we can't use the normal pagination that we use elsewhere
* in our selectlists, since we have to get the full set before we can
* determine which location is parent/child/grandchild, etc.
*
* This also means that hierarchy display gets a little funky when people
* use the Select2 search functionality, but there's not much we can do about
* that right now.
*
* As a result, instead of paginating as part of the query, we have to grab
* the entire data set, and then invoke a paginator manually and pass that
* through to the SelectListTransformer.
*
* Many thanks to @uberbrady for the help getting this working better.
* Recursion still sucks, but I guess he doesn't have to get in the
* sea... this time.
*
* @author [A. Gianotto] [<snipe@snipe.net>]
* @since [v4.0.16]
* @see \App\Http\Transformers\SelectlistTransformer
@@ -192,25 +222,44 @@ class LocationsController extends Controller
$locations = Location::select([
'locations.id',
'locations.name',
'locations.parent_id',
'locations.image',
]);
$page = 1;
if ($request->filled('page')) {
$page = $request->input('page');
}
if ($request->filled('search')) {
$locations = $locations->where('locations.name', 'LIKE', '%'.$request->get('search').'%');
$locations = $locations->where('locations.name', 'LIKE', '%'.$request->input('search').'%');
}
$locations = $locations->orderBy('name', 'ASC')->paginate(50);
$locations = $locations->orderBy('name', 'ASC')->get();
$locations_with_children = [];
// Loop through and set some custom properties for the transformer to use.
// This lets us have more flexibility in special cases like assets, where
// they may not have a ->name value but we want to display something anyway
foreach ($locations as $location) {
$location->use_text = $location->name;
$location->use_image = ($location->image) ? url('/').'/uploads/locations/'.$location->image : null;
if (!array_key_exists($location->parent_id, $locations_with_children)) {
$locations_with_children[$location->parent_id] = [];
}
$locations_with_children[$location->parent_id][] = $location;
}
return (new SelectlistTransformer)->transformSelectlist($locations);
if ($request->filled('search')) {
$locations_formatted = $locations;
} else {
$location_options = Location::indenter($locations_with_children);
$locations_formatted = new Collection($location_options);
}
$paginated_results = new LengthAwarePaginator($locations_formatted->forPage($page, 500), $locations_formatted->count(), 500, $page, []);
//return [];
return (new SelectlistTransformer)->transformSelectlist($paginated_results);
}
}
+2 -48
View File
@@ -90,23 +90,7 @@ class AssetModelsController extends Controller
$model->fieldset_id = e($request->input('custom_fieldset'));
}
if (Input::file('image')) {
$image = Input::file('image');
$file_name = str_slug($image->getClientOriginalName()) . "." . $image->getClientOriginalExtension();
$path = app('models_upload_path');
if ($image->getClientOriginalExtension()!='svg') {
Image::make($image->getRealPath())->resize(800, null, function ($constraint) {
$constraint->aspectRatio();
$constraint->upsize();
})->save($path.'/'.$file_name);
} else {
$image->move($path, $file_name);
}
$model->image = $file_name;
}
$model = $request->handleImages($model,600, public_path().'/uploads/models');
// Was it created?
if ($model->save()) {
@@ -182,37 +166,7 @@ class AssetModelsController extends Controller
}
}
$old_image = $model->image;
// Set the model's image property to null if the image is being deleted
if ($request->input('image_delete') == 1) {
$model->image = null;
}
if ($request->file('image')) {
$image = $request->file('image');
$file_name = $model->id.'-'.str_slug($image->getClientOriginalName()) . "." . $image->getClientOriginalExtension();
if ($image->getClientOriginalExtension()!='svg') {
Image::make($image->getRealPath())->resize(800, null, function ($constraint) {
$constraint->aspectRatio();
$constraint->upsize();
})->save(app('models_upload_path').$file_name);
} else {
$image->move(app('models_upload_path'), $file_name);
}
$model->image = $file_name;
}
if ((($request->file('image')) && (isset($old_image)) && ($old_image!='')) || ($request->input('image_delete') == 1)) {
try {
unlink(app('models_upload_path').$old_image);
} catch (\Exception $e) {
\Log::info($e);
}
}
$model = $request->handleImages($model,600, public_path().'/uploads/models');
if ($model->save()) {
return redirect()->route("models.index")->with('success', trans('admin/models/message.update.success'));
@@ -394,6 +394,12 @@ class AssetsController extends Controller
if ($asset->save()) {
// Update any assigned assets with the new location_id from the parent asset
Asset::where('assigned_type', '\\App\\Models\\Asset')->where('assigned_to', $asset->id)
->update(['location_id' => $asset->location_id]);
// Redirect to the new asset page
\Session::flash('success', trans('admin/hardware/message.update.success'));
return response()->json(['redirect_url' => route("hardware.show", $assetId)]);
+2 -37
View File
@@ -83,17 +83,7 @@ class CategoriesController extends Controller
$category->checkin_email = $request->input('checkin_email', '0');
$category->user_id = Auth::id();
if ($request->file('image')) {
$image = $request->file('image');
$file_name = str_random(25).".".$image->getClientOriginalExtension();
$path = public_path('uploads/categories/'.$file_name);
Image::make($image->getRealPath())->resize(800, null, function ($constraint) {
$constraint->aspectRatio();
$constraint->upsize();
})->save($path);
$category->image = $file_name;
}
$category = $request->handleImages($category,600, public_path().'/uploads/categories');
if ($category->save()) {
return redirect()->route('categories.index')->with('success', trans('admin/categories/message.create.success'));
@@ -152,37 +142,12 @@ class CategoriesController extends Controller
$category->require_acceptance = $request->input('require_acceptance', '0');
$category->checkin_email = $request->input('checkin_email', '0');
$old_image = $category->image;
// Set the model's image property to null if the image is being deleted
if ($request->input('image_delete') == 1) {
$category->image = null;
}
if ($request->file('image')) {
$image = $request->file('image');
$file_name = $category->id.'-'.str_slug($image->getClientOriginalName()) . "." . $image->getClientOriginalExtension();
if ($image->getClientOriginalExtension()!='svg') {
Image::make($image->getRealPath())->resize(800, null, function ($constraint) {
$constraint->aspectRatio();
$constraint->upsize();
})->save(app('categories_upload_path').$file_name);
} else {
$image->move(app('categories_upload_path'), $file_name);
}
$category->image = $file_name;
}
if ((($request->file('image')) && (isset($old_image)) && ($old_image!='')) || ($request->input('image_delete') == 1)) {
try {
unlink(app('categories_upload_path').$old_image);
} catch (\Exception $e) {
\Log::info($e);
}
}
$category = $request->handleImages($category,600, public_path().'/uploads/categories');
if ($category->save()) {
// Redirect to the new category page
+2 -35
View File
@@ -63,16 +63,7 @@ final class CompaniesController extends Controller
$company = new Company;
$company->name = $request->input('name');
if ($request->file('image')) {
$image = $request->file('image');
$file_name = str_random(25).".".$image->getClientOriginalExtension();
$path = public_path('uploads/companies/'.$file_name);
Image::make($image->getRealPath())->resize(800, null, function ($constraint) {
$constraint->aspectRatio();
$constraint->upsize();
})->save($path);
$company->image = $file_name;
}
$company = $request->handleImages($company,600, public_path().'/uploads/companies');
if ($company->save()) {
return redirect()->route('companies.index')
@@ -121,36 +112,12 @@ final class CompaniesController extends Controller
$company->name = $request->input('name');
$old_image = $company->image;
// Set the model's image property to null if the image is being deleted
if ($request->input('image_delete') == 1) {
$company->image = null;
}
if ($request->file('image')) {
$image = $request->file('image');
$file_name = $company->id.'-'.str_slug($image->getClientOriginalName()) . "." . $image->getClientOriginalExtension();
if ($image->getClientOriginalExtension()!='svg') {
Image::make($image->getRealPath())->resize(800, null, function ($constraint) {
$constraint->aspectRatio();
$constraint->upsize();
})->save(app('companies_upload_path').$file_name);
} else {
$image->move(app('companies_upload_path'), $file_name);
}
$company->image = $file_name;
}
if ((($request->file('image')) && (isset($old_image)) && ($old_image!='')) || ($request->input('image_delete') == 1)) {
try {
unlink(app('companies_upload_path').$old_image);
} catch (\Exception $e) {
\Log::info($e);
}
}
$company = $request->handleImages($company,600, public_path().'/uploads/companies');
if ($company->save()) {
+2 -22
View File
@@ -91,16 +91,7 @@ class ComponentsController extends Controller
$component->user_id = Auth::id();
if ($request->file('image')) {
$image = $request->file('image');
$file_name = str_random(25).".".$image->getClientOriginalExtension();
$path = public_path('uploads/components/'.$file_name);
Image::make($image->getRealPath())->resize(800, null, function ($constraint) {
$constraint->aspectRatio();
$constraint->upsize();
})->save($path);
$component->image = $file_name;
}
$component = $request->handleImages($component,600, public_path().'/uploads/components');
if ($component->save()) {
return redirect()->route('components.index')->with('success', trans('admin/components/message.create.success'));
@@ -164,18 +155,7 @@ class ComponentsController extends Controller
$component->purchase_cost = request('purchase_cost');
$component->qty = Input::get('qty');
if ($request->file('image')) {
$image = $request->file('image');
$file_name = str_random(25).".".$image->getClientOriginalExtension();
$path = public_path('uploads/components/'.$file_name);
Image::make($image->getRealPath())->resize(800, null, function ($constraint) {
$constraint->aspectRatio();
$constraint->upsize();
})->save($path);
$component->image = $file_name;
} elseif ($request->input('image_delete')=='1') {
$component->image = null;
}
$component = $request->handleImages($component,600, public_path().'/uploads/components');
if ($component->save()) {
return redirect()->route('components.index')->with('success', trans('admin/components/message.update.success'));
+2 -10
View File
@@ -87,16 +87,8 @@ class ConsumablesController extends Controller
$consumable->user_id = Auth::id();
if ($request->file('image')) {
$image = $request->file('image');
$file_name = str_random(25).".".$image->getClientOriginalExtension();
$path = public_path('uploads/consumables/'.$file_name);
Image::make($image->getRealPath())->resize(800, null, function ($constraint) {
$constraint->aspectRatio();
$constraint->upsize();
})->save($path);
$consumable->image = $file_name;
}
$consumable = $request->handleImages($consumable,600, public_path().'/uploads/components');
if ($consumable->save()) {
return redirect()->route('consumables.index')->with('success', trans('admin/consumables/message.create.success'));
+2 -40
View File
@@ -53,16 +53,7 @@ class DepartmentsController extends Controller
$department->user_id = Auth::user()->id;
$department->manager_id = ($request->filled('manager_id' ) ? $request->input('manager_id') : null);
if ($request->file('image')) {
$image = $request->file('image');
$file_name = str_random(25).".".$image->getClientOriginalExtension();
$path = public_path('uploads/departments/'.$file_name);
Image::make($image->getRealPath())->resize(800, null, function ($constraint) {
$constraint->aspectRatio();
$constraint->upsize();
})->save($path);
$department->image = $file_name;
}
$department = $request->handleImages($department,600, public_path().'/uploads/departments');
if ($department->save()) {
return redirect()->route("departments.index")->with('success', trans('admin/departments/message.create.success'));
@@ -164,36 +155,7 @@ class DepartmentsController extends Controller
$department->fill($request->all());
$department->manager_id = ($request->filled('manager_id' ) ? $request->input('manager_id') : null);
$old_image = $department->image;
// Set the model's image property to null if the image is being deleted
if ($request->input('image_delete') == 1) {
$department->image = null;
}
if ($request->file('image')) {
$image = $request->file('image');
$file_name = $department->id.'-'.str_slug($image->getClientOriginalName()) . "." . $image->getClientOriginalExtension();
if ($image->getClientOriginalExtension()!='svg') {
Image::make($image->getRealPath())->resize(800, null, function ($constraint) {
$constraint->aspectRatio();
$constraint->upsize();
})->save(app('departments_upload_path').$file_name);
} else {
$image->move(app('departments_upload_path'), $file_name);
}
$department->image = $file_name;
}
if ((($request->file('image')) && (isset($old_image)) && ($old_image!='')) || ($request->input('image_delete') == 1)) {
try {
unlink(app('departments_upload_path').$old_image);
} catch (\Exception $e) {
\Log::info($e);
}
}
$department = $request->handleImages($department,600, public_path().'/uploads/departments');
if ($department->save()) {
return redirect()->route("departments.index")->with('success', trans('admin/departments/message.update.success'));
+9 -58
View File
@@ -41,8 +41,6 @@ class LocationsController extends Controller
{
// Grab all the locations
$this->authorize('view', Location::class);
$locations = Location::orderBy('created_at', 'DESC')->with('parent', 'assets', 'assignedassets')->get();
// Show the page
return view('locations/index');
}
@@ -59,14 +57,7 @@ class LocationsController extends Controller
public function create()
{
$this->authorize('create', Location::class);
$locations = Location::orderBy('name', 'ASC')->get();
$location_options_array = Location::getLocationHierarchy($locations);
$location_options = Location::flattenLocationsArray($location_options_array);
$location_options = array('' => 'Top Level') + $location_options;
return view('locations/edit')
->with('location_options', $location_options)
->with('item', new Location);
}
@@ -97,16 +88,7 @@ class LocationsController extends Controller
$location->manager_id = $request->input('manager_id');
$location->user_id = Auth::id();
if ($request->file('image')) {
$image = $request->file('image');
$file_name = str_random(25).".".$image->getClientOriginalExtension();
$path = public_path('uploads/locations/'.$file_name);
Image::make($image->getRealPath())->resize(800, null, function ($constraint) {
$constraint->aspectRatio();
$constraint->upsize();
})->save($path);
$location->image = $file_name;
}
$location = $request->handleImages($location,600, public_path().'/uploads/locations');
if ($location->save()) {
return redirect()->route("locations.index")->with('success', trans('admin/locations/message.create.success'));
@@ -132,14 +114,8 @@ class LocationsController extends Controller
return redirect()->route('locations.index')->with('error', trans('admin/locations/message.does_not_exist'));
}
// Show the page
$locations = Location::orderBy('name', 'ASC')->get();
$location_options_array = Location::getLocationHierarchy($locations);
$location_options = Location::flattenLocationsArray($location_options_array);
$location_options = array('' => 'Top Level') + $location_options;
return view('locations/edit', compact('item'))
->with('location_options', $location_options);
return view('locations/edit', compact('item'));
}
@@ -160,6 +136,11 @@ class LocationsController extends Controller
return redirect()->route('locations.index')->with('error', trans('admin/locations/message.does_not_exist'));
}
if ($request->input('parent_id') == $locationId) {
return redirect()->back()->withInput()->with('error', 'A location cannot be its own parent. Please select a different parent location.');
}
// Update the location data
$location->name = $request->input('name');
$location->parent_id = $request->input('parent_id', null);
@@ -172,37 +153,7 @@ class LocationsController extends Controller
$location->zip = $request->input('zip');
$location->ldap_ou = $request->input('ldap_ou');
$location->manager_id = $request->input('manager_id');
$old_image = $location->image;
// Set the model's image property to null if the image is being deleted
if ($request->input('image_delete') == 1) {
$location->image = null;
}
if ($request->file('image')) {
$image = $request->file('image');
$file_name = $location->id.'-'.str_slug($image->getClientOriginalName()) . "." . $image->getClientOriginalExtension();
if ($image->getClientOriginalExtension()!='svg') {
Image::make($image->getRealPath())->resize(800, null, function ($constraint) {
$constraint->aspectRatio();
$constraint->upsize();
})->save(app('locations_upload_path').$file_name);
} else {
$image->move(app('locations_upload_path'), $file_name);
}
$location->image = $file_name;
}
if ((($request->file('image')) && (isset($old_image)) && ($old_image!='')) || ($request->input('image_delete') == 1)) {
try {
unlink(app('locations_upload_path').$old_image);
} catch (\Exception $e) {
\Log::info($e);
}
}
$location = $request->handleImages($location,600, public_path().'/uploads/locations');
if ($location->save()) {
@@ -229,7 +180,7 @@ class LocationsController extends Controller
if ($location->users->count() > 0) {
return redirect()->to(route('locations.index'))->with('error', trans('admin/locations/message.assoc_users'));
} elseif ($location->childLocations->count() > 0) {
} elseif ($location->children->count() > 0) {
return redirect()->to(route('locations.index'))->with('error', trans('admin/locations/message.assoc_child_loc'));
} elseif ($location->assets->count() > 0) {
@@ -75,18 +75,7 @@ class ManufacturersController extends Controller
$manufacturer->support_url = $request->input('support_url');
$manufacturer->support_phone = $request->input('support_phone');
$manufacturer->support_email = $request->input('support_email');
if ($request->file('image')) {
$image = $request->file('image');
$file_name = str_slug($image->getClientOriginalName()).".".$image->getClientOriginalExtension();
$path = public_path('uploads/manufacturers/'.$file_name);
Image::make($image->getRealPath())->resize(800, null, function ($constraint) {
$constraint->aspectRatio();
$constraint->upsize();
})->save($path);
$manufacturer->image = $file_name;
}
$manufacturer = $request->handleImages($manufacturer,600, public_path().'/uploads/manufacturers');
@@ -142,37 +131,14 @@ class ManufacturersController extends Controller
$manufacturer->support_url = $request->input('support_url');
$manufacturer->support_phone = $request->input('support_phone');
$manufacturer->support_email = $request->input('support_email');
$old_image = $manufacturer->image;
// Set the model's image property to null if the image is being deleted
if ($request->input('image_delete') == 1) {
$manufacturer->image = null;
}
if ($request->file('image')) {
$image = $request->file('image');
$file_name = $manufacturer->id.'-'.str_slug($image->getClientOriginalName()) . "." . $image->getClientOriginalExtension();
$manufacturer = $request->handleImages($manufacturer,600, public_path().'/uploads/manufacturers');
if ($image->getClientOriginalExtension()!='svg') {
Image::make($image->getRealPath())->resize(800, null, function ($constraint) {
$constraint->aspectRatio();
$constraint->upsize();
})->save(app('manufacturers_upload_path').$file_name);
} else {
$image->move(app('manufacturers_upload_path'), $file_name);
}
$manufacturer->image = $file_name;
}
if ((($request->file('image')) && (isset($old_image)) && ($old_image!='')) || ($request->input('image_delete') == 1)) {
try {
unlink(app('manufacturers_upload_path').$old_image);
} catch (\Exception $e) {
\Log::info($e);
}
}
if ($manufacturer->save()) {
+13 -1
View File
@@ -1,6 +1,7 @@
<?php
namespace App\Http\Controllers;
use enshrined\svgSanitize\Sanitizer;
use Input;
use Lang;
use Illuminate\Http\Request;
@@ -426,12 +427,23 @@ class SettingsController extends Controller
$file_name = "logo.".$image->getClientOriginalExtension();
$path = public_path('uploads');
if ($image->getClientOriginalExtension()!='svg') {
Image::make($image->getRealPath())->resize(null, 150, function ($constraint) {
$constraint->aspectRatio();
$constraint->upsize();
})->save($path.'/'.$file_name);
} else {
$image->move($path, $file_name);
// This is kinda copypasta from the ImageUploadRequest - should refactor the ImageUploadRequest to better handle maybe
$sanitizer = new Sanitizer();
$dirtySVG = file_get_contents($image->getRealPath());
$cleanSVG = $sanitizer->sanitize($dirtySVG);
try {
file_put_contents($path.'/'.$file_name, $cleanSVG);
} catch (\Exception $e) {
\Log::debug($e);
}
}
$setting->logo = $file_name;
}
+2 -43
View File
@@ -78,17 +78,8 @@ class SuppliersController extends Controller
$supplier->notes = request('notes');
$supplier->url = $supplier->addhttp(request('url'));
$supplier->user_id = Auth::id();
$supplier = $request->handleImages($supplier,600, public_path().'/uploads/suppliers');
if ($request->file('image')) {
$image = $request->file('image');
$file_name = str_random(25).".".$image->getClientOriginalExtension();
$path = public_path('uploads/suppliers/'.$file_name);
Image::make($image->getRealPath())->resize(800, null, function ($constraint) {
$constraint->aspectRatio();
$constraint->upsize();
})->save($path);
$supplier->image = $file_name;
}
if ($supplier->save()) {
return redirect()->route('suppliers.index')->with('success', trans('admin/suppliers/message.create.success'));
@@ -145,39 +136,7 @@ class SuppliersController extends Controller
$supplier->email = request('email');
$supplier->url = $supplier->addhttp(request('url'));
$supplier->notes = request('notes');
$old_image = $supplier->image;
// Set the model's image property to null if the image is being deleted
if ($request->input('image_delete') == 1) {
$supplier->image = null;
}
if ($request->file('image')) {
$image = $request->file('image');
$file_name = $supplier->id.'-'.str_slug($image->getClientOriginalName()) . "." . $image->getClientOriginalExtension();
if ($image->getClientOriginalExtension()!='svg') {
Image::make($image->getRealPath())->resize(800, null, function ($constraint) {
$constraint->aspectRatio();
$constraint->upsize();
})->save(app('suppliers_upload_path').$file_name);
} else {
$image->move(app('suppliers_upload_path'), $file_name);
}
$supplier->image = $file_name;
}
if ((($request->file('image')) && (isset($old_image)) && ($old_image!='')) || ($request->input('image_delete') == 1)) {
try {
unlink(app('suppliers_upload_path').$old_image);
} catch (\Exception $e) {
\Log::info($e);
}
}
$supplier = $request->handleImages($supplier,600, public_path().'/uploads/suppliers');
if ($supplier->save()) {
return redirect()->route('suppliers.index')->with('success', trans('admin/suppliers/message.update.success'));
+83 -2
View File
@@ -2,7 +2,9 @@
namespace App\Http\Requests;
use App\Http\Requests\Request;
use App\Models\SnipeModel;
use Intervention\Image\Facades\Image;
use enshrined\svgSanitize\Sanitizer;
class ImageUploadRequest extends Request
{
@@ -33,4 +35,83 @@ class ImageUploadRequest extends Request
{
return $this->redirector->back()->withInput()->withErrors($errors, $this->errorBag);
}
}
/**
* Handle and store any images attached to request
* @param SnipeModel $item Item the image is associated with
* @param String $path location for uploaded images, defaults to uploads/plural of item type.
* @return SnipeModel Target asset is being checked out to.
*/
public function handleImages($item, $w = 600, $path = null)
{
$type = strtolower(class_basename(get_class($item)));
if (is_null($path)) {
$path = str_plural($type);
}
\Log::debug('Trying to upload to '. $path);
if ($this->hasFile('image')) {
if (!config('app.lock_passwords')) {
if (!is_dir($path)) {
\Log::debug($path.' does not exist');
mkdir($path);
}
$image = $this->file('image');
$ext = $image->getClientOriginalExtension();
$file_name = $type.'-'.str_random(18).'.'.$ext;
\Log::debug('File name will be: '.$file_name);
if ($image->getClientOriginalExtension()!=='svg') {
\Log::debug('Not an SVG - resize');
\Log::debug('Trying to upload to: '.$path.'/'.$file_name);
$upload = Image::make($image->getRealPath())->resize(null, $w, function ($constraint) {
$constraint->aspectRatio();
$constraint->upsize();
})->save($path.'/'.$file_name);
} else {
\Log::debug('This is an SVG');
$sanitizer = new Sanitizer();
$dirtySVG = file_get_contents($image->getRealPath());
$cleanSVG = $sanitizer->sanitize($dirtySVG);
try {
\Log::debug('Trying to upload to: '.$path.'/'.$file_name);
file_put_contents($path.'/'.$file_name, $cleanSVG);
} catch (\Exception $e) {
\Log::debug($e);
}
}
// Remove Current image if exists
if (($item->image) && (file_exists($path.'/'.$item->image))) {
try {
unlink($path.'/'.$item->image);
} catch (\Exception $e) {
\Log::debug($e);
}
}
$item->image = $file_name;
}
} elseif ($this->input('image_delete')=='1') {
try {
unlink($path.'/'.$item->image);
} catch (\Exception $e) {
\Log::debug($e);
}
$item->image = null;
}
return $item;
}
}
@@ -5,6 +5,7 @@ use App\Models\AssetMaintenance;
use Gate;
use Illuminate\Database\Eloquent\Collection;
use App\Helpers\Helper;
use App\Models\Asset;
class AssetMaintenancesTransformer
{
@@ -29,7 +29,14 @@ class LicenseSeatsTransformer
'name' => 'Seat '.$seat_count,
'assigned_user' => ($seat->user) ? [
'id' => (int) $seat->user->id,
'name'=> e($seat->user->present()->fullName)
'name'=> e($seat->user->present()->fullName),
'department'=>
($seat->user->department) ?
[
"id" => (int) $seat->user->department->id,
"name" => e($seat->user->department->name)
] : null
] : null,
'assigned_asset' => ($seat->asset) ? [
'id' => (int) $seat->asset->id,
@@ -23,7 +23,7 @@ class LocationsTransformer
if ($location) {
$children_arr = [];
foreach($location->childLocations as $child) {
foreach($location->children as $child) {
$children_arr[] = [
'id' => (int) $child->id,
'name' => $child->name
+10 -2
View File
@@ -27,9 +27,17 @@ class AssetImporter extends ItemImporter
foreach ($this->customFields as $customField) {
$customFieldValue = $this->array_smart_custom_field_fetch($row, $customField);
if ($customFieldValue) {
$this->item['custom_fields'][$customField->db_column_name()] = $customFieldValue;
$this->log('Custom Field '. $customField->name.': '.$customFieldValue);
if ($customField->field_encrypted == 1) {
$this->item['custom_fields'][$customField->db_column_name()] = \Crypt::encrypt($customFieldValue);
$this->log('Custom Field '. $customField->name.': '.\Crypt::encrypt($customFieldValue));
} else {
$this->item['custom_fields'][$customField->db_column_name()] = $customFieldValue;
$this->log('Custom Field '. $customField->name.': '.$customFieldValue);
}
} else {
// Clear out previous data.
$this->item['custom_fields'][$customField->db_column_name()] = null;
+4 -3
View File
@@ -821,9 +821,11 @@ class Asset extends Depreciable
public function scopeDueForAudit($query, $settings)
{
$interval = $settings->audit_warning_days ?? 0;
return $query->whereNotNull('assets.next_audit_date')
->where('assets.next_audit_date', '>=', Carbon::now())
->whereRaw("DATE_SUB(assets.next_audit_date, INTERVAL $settings->audit_warning_days DAY) <= '".Carbon::now()."'")
->whereRaw("DATE_SUB(assets.next_audit_date, INTERVAL $interval DAY) <= '".Carbon::now()."'")
->where('assets.archived', '=', 0)
->NotArchived();
}
@@ -1389,8 +1391,7 @@ class Asset extends Depreciable
/**
* Query builder scope to search on location ID
*
* Query builder scope to search on depreciation name
* @param \Illuminate\Database\Query\Builder $query Query builder instance
* @param text $search Search term
*
+2 -1
View File
@@ -73,7 +73,8 @@ class AssetMaintenance extends Model implements ICompanyableChild
trans('admin/asset_maintenances/general.upgrade') => trans('admin/asset_maintenances/general.upgrade'),
'PAT test' => 'PAT test',
trans('admin/asset_maintenances/general.calibration') => trans('admin/asset_maintenances/general.calibration'),
'PAT test' => 'PAT test',
'Software Support' => trans('admin/asset_maintenances/general.software_support'),
'Hardware Support' => trans('admin/asset_maintenances/general.hardware_support'),
];
}
+1 -1
View File
@@ -48,7 +48,7 @@ class License extends Depreciable
protected $table = 'licenses';
protected $rules = array(
'name' => 'required|string|min:3|max:255',
'seats' => 'required|min:1|max:1000000|integer',
'seats' => 'required|min:1|max:999|integer',
'license_email' => 'email|nullable|max:120',
'license_name' => 'string|nullable|max:100',
'notes' => 'string|nullable',
+19
View File
@@ -55,4 +55,23 @@ class LicenseSeat extends Model implements ICompanyableChild
return false;
}
/**
* Query builder scope to order on department
*
* @param \Illuminate\Database\Query\Builder $query Query builder instance
* @param text $order Order
*
* @return \Illuminate\Database\Query\Builder Modified query builder
*/
public function scopeOrderDepartments($query, $order)
{
return $query->leftJoin('users as license_seat_users', 'license_seats.assigned_to', '=', 'license_seat_users.id')
->leftJoin('departments as license_user_dept', 'license_user_dept.id', '=', 'license_seat_users.department_id')
->orderBy('license_user_dept.name', $order);
}
}
+30 -49
View File
@@ -113,7 +113,8 @@ class Location extends SnipeModel
public function parent()
{
return $this->belongsTo('\App\Models\Location', 'parent_id','id');
return $this->belongsTo('\App\Models\Location', 'parent_id','id')
->with('parent');
}
public function manager()
@@ -121,9 +122,9 @@ class Location extends SnipeModel
return $this->belongsTo('\App\Models\User', 'manager_id');
}
public function childLocations()
{
return $this->hasMany('\App\Models\Location', 'parent_id');
public function children() {
return $this->hasMany('\App\Models\Location','parent_id')
->with('children');
}
// I don't think we need this anymore since we de-normed location_id in assets?
@@ -137,59 +138,39 @@ class Location extends SnipeModel
return $this->attributes['ldap_ou'] = empty($ldap_ou) ? null : $ldap_ou;
}
public static function getLocationHierarchy($locations, $parent_id = null)
{
/**
* Query builder scope to order on parent
*
* @param Illuminate\Database\Query\Builder $query Query builder instance
* @param text $order Order
*
* @return Illuminate\Database\Query\Builder Modified query builder
*/
$op = array();
foreach ($locations as $location) {
if ($location['parent_id'] == $parent_id) {
$op[$location['id']] =
array(
'name' => $location['name'],
'parent_id' => $location['parent_id']
);
// Using recursion
$children = Location::getLocationHierarchy($locations, $location['id']);
if ($children) {
$op[$location['id']]['children'] = $children;
}
}
public static function indenter($locations_with_children, $parent_id = null, $prefix = '') {
$results = Array();
if (!array_key_exists($parent_id, $locations_with_children)) {
return [];
}
return $op;
foreach ($locations_with_children[$parent_id] as $location) {
$location->use_text = $prefix.' '.$location->name;
$location->use_image = ($location->image) ? url('/').'/uploads/locations/'.$location->image : null;
$results[] = $location;
//now append the children. (if we have any)
if (array_key_exists($location->id, $locations_with_children)) {
$results = array_merge($results, Location::indenter($locations_with_children, $location->id,$prefix.'--'));
}
}
return $results;
}
public static function flattenLocationsArray($location_options_array = null)
{
$location_options = array();
foreach ($location_options_array as $id => $value) {
// get the top level key value
$location_options[$id] = $value['name'];
// If there is a key named children, it has child locations and we have to walk it
if (array_key_exists('children', $value)) {
foreach ($value['children'] as $child_id => $child_location_array) {
$child_location_options = Location::flattenLocationsArray($value['children']);
foreach ($child_location_options as $child_id => $child_name) {
$location_options[$child_id] = '--'.$child_name;
}
}
}
}
return $location_options;
}
/**
* Query builder scope to order on parent
+5 -1
View File
@@ -258,13 +258,17 @@ class AssetPresenter extends Presenter
$query->whereHas('models');
})->get();
// Note: We do not need to e() escape the field names here, as they are already escaped when
// they are presented in the blade view. If we escape them here, custom fields with quotes in their
// name can break the listings page. - snipe
foreach ($fields as $field) {
$layout[] = [
"field" => 'custom_fields.'.$field->convertUnicodeDbSlug(),
"searchable" => true,
"sortable" => true,
"switchable" => true,
"title" => ($field->field_encrypted=='1') ?'<i class="fa fa-lock"></i> '.e($field->name) : e($field->name),
"title" => ($field->field_encrypted=='1') ?'<i class="fa fa-lock"></i> '.$field->name : $field->name,
"formatter" => "customFieldsFormatter"
];
+11 -1
View File
@@ -176,6 +176,15 @@ class LicensePresenter extends Presenter
"visible" => true,
"formatter" => "usersLinkObjFormatter"
], [
"field" => "department",
"searchable" => false,
"sortable" => true,
"switchable" => true,
"title" => trans('general.department'),
"visible" => false,
"formatter" => "departmentNameLinkFormatter"
],
[
"field" => "assigned_asset",
"searchable" => false,
"sortable" => false,
@@ -191,7 +200,8 @@ class LicensePresenter extends Presenter
"title" => trans('general.location'),
"visible" => true,
"formatter" => "locationsLinkObjFormatter"
], [
],
[
"field" => "checkincheckout",
"searchable" => false,
"sortable" => false,
+1
View File
@@ -14,6 +14,7 @@
"doctrine/inflector": "^1.3",
"doctrine/instantiator": "^1.2",
"eduardokum/laravel-mail-auto-embed": "^1.0",
"enshrined/svg-sanitize": "^0.13.0",
"erusev/parsedown": "^1.7",
"fideloper/proxy": "^4.1",
"guzzlehttp/guzzle": "^6.3",
Generated
+497 -436
View File
File diff suppressed because it is too large Load Diff
+6 -6
View File
@@ -1,10 +1,10 @@
<?php
return array (
'app_version' => 'v4.7.7',
'full_app_version' => 'v4.7.7 - build 4160-gb8f7cd81e',
'build_version' => '4160',
'app_version' => 'v4.8.0',
'full_app_version' => 'v4.8.0 - build 4186-g893454dca',
'build_version' => '4186',
'prerelease_version' => '',
'hash_version' => 'gb8f7cd81e',
'full_hash' => 'v4.7.7-41-gb8f7cd81e',
'hash_version' => 'g893454dca',
'full_hash' => 'v4.8.0-g893454dca',
'branch' => 'master',
);
);
@@ -0,0 +1,22 @@
<?php
return array(
'about_accessories_title' => 'Amdan Ategolion',
'about_accessories_text' => 'Mae ategolion yn unrhyw offer sydd yn cael eu ddosbarthu i defnyddwyr ond ddim hefo rhif cofrestru. (Neu nid oes angen tracio). Er enghraifft, llygod, ategolion.',
'accessory_category' => 'Categori Ategolyn',
'accessory_name' => 'Enw Ategolyn',
'checkout' => 'Cofnodi ategolyn allan',
'checkin' => 'Cofnodi ategolyn i fewn',
'create' => 'Creu Ategolyn',
'edit' => 'Golygu Ategolyn',
'eula_text' => 'Categori CTDT',
'eula_text_help' => 'Mae\'r blwch yma yn caniatau i chi addasu eich CTDTs ar gyfer mathau penodol o asedau. Os ydych yn defnyddio un CTDT ar gyfer eich asedau yna cewch ticio\'r blwch isod i defnyddio\'r fersiwn diofyn.',
'require_acceptance' => 'Gorfodi defnyddwyr i cadarnhau derbyn asedau yn y categori yma.',
'no_default_eula' => 'Wedi methu darganfod CTDT, Ychwanegwch un yn gosodiadau.',
'total' => 'Cyfanswm',
'remaining' => 'Yn weddill',
'update' => 'Diweddaru Ategolyn',
'use_default_eula' => 'Defnyddio\'r <a href="#" data-toggle="modal" data-target="#eulaModal">prif CTDT diofyn</a> yn lle.',
'use_default_eula_disabled' => '<del>Defnyddio\'r CTDT diofn yn lle\'r un presennol.</del>Nid oes prif CTDT diofyn wedi gosod. Ychwanegwch un yn gosodiadau os gwelwch yn dda.',
);
@@ -0,0 +1,37 @@
<?php
return array(
'does_not_exist' => 'Nid yw\'r ategolyn yn bodoli.',
'assoc_users' => 'Mae\'r ategolyn yma hefo :count eitem wedi nodi allan i defnyddwyr. Nodwch yr ategolion yn ol i fewn ac yna ceisiwch eto. ',
'create' => array(
'error' => 'Ni crewyd yr ategolyn, ceisiwch eto o.g.y.dd.',
'success' => 'Ategolyn wedi creu yn llwyddiannus.'
),
'update' => array(
'error' => 'Ni diweddarwyd yr ategolyn, ceisiwch eto o.g.y.dd',
'success' => 'Diweddarwyd yr ategolyn yn llwyddiannus.'
),
'delete' => array(
'confirm' => 'Ydych chi\'n sicr eich bod eisiau dileu\'r eitem hwn?',
'error' => 'Nid oedd yn bosib dileu\'r eitem. Ceisiwch eto o.g.y.dd.',
'success' => 'Ategolyn wedi dileu yn llwyddiannus.'
),
'checkout' => array(
'error' => 'Ategolyn heb ei nodi allan, ceisiwch eto o. g. y. dd',
'success' => 'Ategolyn wedi nodi allan yn llwyddiannus.',
'user_does_not_exist' => 'Nid yw\'r defnyddiwr yna yn ddilys. Ceisiwch eto o.g.y.dd.'
),
'checkin' => array(
'error' => 'Nid oedd yn bosib nodi\'r ategolyn i fewn, ceisiwch eto o.g.y.dd',
'success' => 'Ategolyn wedi nodi i fewn yn llwyddiannus.',
'user_does_not_exist' => 'Nid yw\'r defnyddiwr yna yn ddilys. Ceisiwch eto o.g.y.dd.'
)
);
@@ -0,0 +1,11 @@
<?php
return array(
'dl_csv' => 'Lawrlwytho CSV',
'eula_text' => 'CTDT',
'id' => 'Rhif Unigryw',
'require_acceptance' => 'Derbyn',
'title' => 'Enw Ategolyn',
);
@@ -0,0 +1,14 @@
<?php
return [
'asset_maintenance_type' => 'Manylion Cynnal a Chadw',
'title' => 'Teitl',
'start_date' => 'Wedi cychwyn',
'completion_date' => 'Wedi cwbwlhau',
'cost' => 'Cost',
'is_warranty' => 'Gwelliant Gwarant',
'asset_maintenance_time' => 'Dyddiau',
'notes' => 'Nodiadau',
'update' => 'Diweddaru',
'create' => 'Creu'
];
@@ -0,0 +1,11 @@
<?php
return [
'asset_maintenances' => 'Cynnal a chadw Ased',
'edit' => 'Golygu Cynnal a Chadw Ased',
'delete' => 'Dileu Cynnal a Chadw Ased',
'view' => 'Gweld manylder Cynnal a Chadw Ased',
'repair' => 'Trwsio',
'maintenance' => 'Cynnal a Chadw',
'upgrade' => 'Uwchraddio'
];
@@ -0,0 +1,21 @@
<?php
return [
'not_found' => 'Ni ddarganfuwyd cofnod Cynnal a Chadw Ased yr oeddech yn edrych amdan!',
'delete' => [
'confirm' => 'Ydych chi\'n sicr eich bod eisiau dileu\'r cofnod cynnal a chadw yma?',
'error' => 'Nid oedd yn bosib dileu\'r nodyn cynnal a chadw. Ceisiwch eto o.g.y.dd.',
'success' => 'Nodyn cynnal a chadw wedi\'i dileu\'n llwyddiannus.'
],
'create' => [
'error' => 'Ni crewyd y cofnod cynnal a chadw, ceisiwch eto o.g.y.dd.',
'success' => 'Nodyn cynnal a chadw wedi\'i greu\'n llwyddiannus.'
],
'edit' => [
'error' => 'Wedi methu newid y cofnod cynnal a chadw, ceisiwch eto o.g.y.dd.',
'success' => 'Nodyn cynnal a chadw wedi\'i diweddaru\'n llwyddiannus.'
],
'asset_maintenance_incomplete' => 'Heb cwbwlhau eto',
'warranty' => 'Warant',
'not_warranty' => 'Dim Warant',
];
@@ -0,0 +1,8 @@
<?php
return [
'title' => 'Cynnal a chadw Ased',
'asset_name' => 'Enw Ased',
'is_warranty' => 'Warant',
'dl_csv' => 'Lawrlwytho CSV'
];
@@ -0,0 +1,24 @@
<?php
return array(
'about_categories_title' => 'Amdan Categoriau',
'about_categories' => 'Mae categoriau yn cynorthwyo chi i cadw trefn ar eich eitemau. Enghreifftiau o categoriau yw &quot;Cyfrifiadur pen-bwrdd&quot;, &quot;Gliniadur&quot;, &quot;Ffôn Symudol&quot;, &quot;Tabledi&quot;, ac yn y blaen, ond cewch gosod rhain yn ol eich angen.',
'asset_categories' => 'Categoriau Asedau',
'category_name' => 'Enw categori',
'checkin_email' => 'Gyrru ebost i defnyddiwr wrth nodi fewn/allan.',
'checkin_email_notification' => 'Fe geith y defnyddiwr yma ebost wrth nodi i fewn/allan.',
'clone' => 'Dyblygu Categori',
'create' => 'Creu Categori Newydd',
'edit' => 'Golygu Categori',
'eula_text' => 'CTDT Categori',
'eula_text_help' => 'Mae\'r blwch yma yn caniatau i chi addasu eich CTDTs ar gyfer mathau penodol o asedau. Os ydych yn defnyddio un CTDT ar gyfer eich asedau yna cewch ticio\'r blwch isod i defnyddio\'r fersiwn diofyn.',
'name' => 'Enw\'r categori',
'require_acceptance' => 'Gorfodi defnyddwyr i cadarnhau derbyn asedau yn y categori yma.',
'required_acceptance' => 'Fe geith y defnyddiwr yma ebost hefo linc i cofnodi derbyn yr eitem yma.',
'required_eula' => 'Fe geith y defnyddiwr yma copi o\'r CTDT trwy ebost',
'no_default_eula' => 'Wedi methu darganfod CTDT, Ychwanegwch un yn gosodiadau.',
'update' => 'Diweddaru Categori',
'use_default_eula' => 'Defnyddio\'r <a href="#" data-toggle="modal" data-target="#eulaModal">prif CTDT diofyn</a> yn lle.',
'use_default_eula_disabled' => '<del>Defnyddio\'r CTDT diofyn yn lle\'r un presennol.</del>Nid oes prif CTDT diofyn wedi gosod. Ychwanegwch yn ynj gosodiadau os gwelwch yn dda.',
);
@@ -0,0 +1,25 @@
<?php
return array(
'does_not_exist' => 'Categori ddim yn bodoli.',
'assoc_models' => 'Mae\'r categori yma wedi perthnasu i oleiaf un model a nid yw\'n bosib dileu. Diweddarwch eich modelau i beidio cyfeirio at y categori yma ac yna ceisiwch eto. ',
'assoc_items' => 'Mae\'r categori yma wedi perthnasu i :asset_type a nid yw\'n bosib dileu. Diweddarwch eich :asset_type i beidio cyfeirio at y categori yma ac yna ceisiwch eto. ',
'create' => array(
'error' => 'Ni crewyd y categori, ceisiwch eto o. g. y. dd.',
'success' => 'Categori wedi creu\'n llwyddiannus.'
),
'update' => array(
'error' => 'Ni diweddarwyd y categori, ceisiwch eto o. g. y. dd',
'success' => 'Categori wedi diweddaru\'n llwyddiannus.'
),
'delete' => array(
'confirm' => 'Ydych chi\'n siwr eich bod eisiau dileu\'r categori yma?',
'error' => 'Nid oedd yn bosib dileu\'r categori. Ceisiwch eto o.g.y.dd.',
'success' => 'Categori wedi dileu\'n llwyddiannus.'
)
);
@@ -0,0 +1,10 @@
<?php
return array(
'eula_text' => 'CTDT',
'id' => 'Rhif Unigryw',
'parent' => 'Rhiant',
'require_acceptance' => 'Derbyn',
'title' => 'Enw Categori Ased',
);
@@ -0,0 +1,6 @@
<?php
return [
'about_companies_title' => 'Amdan Cwmniau',
'about_companies_text' => 'Defnyddir cwmniau fel maes syml, neu i rheoli mynediad at grwpiau o offer, defnyddwyr os ydi cefnogaeth cwmniau wedi alluogi.',
'select_company' => 'Dewis Cwmni',
];
@@ -0,0 +1,18 @@
<?php
return array(
'does_not_exist' => 'Nid ywr cwmni\'n bodoli.',
'assoc_users' => 'Mae\'r cwmni yma wedi perthnasu i oleiaf un model a nid yw\'n bosib dileu. Diweddarwch eich modelau i beidio cyfeirio at y cwmni yma ac yna ceisiwch eto. ',
'create' => array(
'error' => 'Ni crewyd y cwmni, ceisiwch eto o. g. y. dd.',
'success' => 'Cwmni wedi creu yn llwyddiannus.'
),
'update' => array(
'error' => 'Ni diweddarwyd y cwmni, ceisiwch eto o. g. y. dd',
'success' => 'Cwmni wedi diweddaru\'n llwyddiannus.'
),
'delete' => array(
'confirm' => 'Ydych chi\'n siwr eich bod eisiau dileu\'r cwmni yma?',
'error' => 'Nid oedd yn bosib dileu\'r cwmni. Ceisiwch eto o. g. y. dd.',
'success' => 'Cwmni wedi dileu\'n llwyddiannus.'
)
);
@@ -0,0 +1,9 @@
<?php
return array(
'companies' => 'Cwmniau',
'create' => 'Creu Cwmni',
'title' => 'Cwmni',
'update' => 'Diweddaru Cwmni',
'name' => 'Enw Cwmni',
'id' => 'Rhif Unigryw',
);
@@ -0,0 +1,17 @@
<?php
return array(
'about_components_title' => 'Amdan Cydranau',
'about_components_text' => 'Mae cydrannau yn darnau sydd yn rhan o ased, er enghraifft cof, disg caled, ayyb.',
'component_name' => 'Enw Cydran',
'checkin' => 'Nodi\'r gydran allan',
'checkout' => 'Nodi\'r gydran allan',
'cost' => 'Cost pwrcasu',
'create' => 'Creu Cydran',
'edit' => 'Addasu Cydran',
'date' => 'Dyddiad Pwrcasu',
'order' => 'Rhif Archeb',
'remaining' => 'Yn weddill',
'total' => 'Cyfanswm',
'update' => 'Diweddaru Cydran',
);
@@ -0,0 +1,36 @@
<?php
return array(
'does_not_exist' => 'Nid ywr cydran yn bodoli.',
'create' => array(
'error' => 'Ni crewyd y cydran, ceisiwch eto o. g. y. dd.',
'success' => 'Cydran wedi creu yn llwyddiannus.'
),
'update' => array(
'error' => 'Ni ddiweddarwyd y cydran, ceisiwch eto o. g. y. dd',
'success' => 'Diweddarwyd y gydran yn llwyddiannus.'
),
'delete' => array(
'confirm' => 'Ydych chi\'n siwr eich bod eisiau dileu\'r cydran yma?',
'error' => 'Nid oedd yn bosib dileu\'r cydran. Ceisiwch eto o. g. y. dd.',
'success' => 'Cydran wedi dileu\'n llwyddiannus.'
),
'checkout' => array(
'error' => 'Cydran heb ei nodi allan, ceisiwch eto o. g. y. dd',
'success' => 'Cydran wedi nodi allan yn llwyddiannus.',
'user_does_not_exist' => 'Nid yw\'r defnyddiwr yna yn ddilys. Ceisiwch eto o. g. y. dd.'
),
'checkin' => array(
'error' => 'Cydran heb ei nodi i fewn, ceisiwch eto o. g. y. dd',
'success' => 'Cydran wedi nodi i fewn yn llwyddiannus.',
'user_does_not_exist' => 'Nid yw\'r defnyddiwr yna yn ddilys. Ceisiwch eto o. g. y. dd.'
)
);
@@ -0,0 +1,5 @@
<?php
return array(
'title' => 'Enw Cydran',
);
@@ -0,0 +1,13 @@
<?php
return array(
'about_consumables_title' => 'Amdan Nwyddau Traul',
'about_consumables_text' => 'Mae unrhwy eitem sydd yn cael eu defnyddio i fyny dros amser yn nwydd traul. Er enghraifft, inc neu paper argraffydd.',
'checkout' => 'Nodi nwydd traul allan i defnyddiwr',
'consumable_name' => 'Enw nwydd traul',
'create' => 'Creu nwydd traul',
'item_no' => 'Rhif eitem.',
'remaining' => 'Yn weddill',
'total' => 'Cyfanswm',
'update' => 'Diweddaru nwydd traul',
);
@@ -0,0 +1,36 @@
<?php
return array(
'does_not_exist' => 'Nid yw\'r nwydd traul yn bodoli.',
'create' => array(
'error' => 'Ni crewyd y nwydd traul, ceisiwch eto o. g. y. dd.',
'success' => 'Nwydd traul wedi creu yn llwyddiannus.'
),
'update' => array(
'error' => 'Ni diweddarwyd y nwydd traul, ceisiwch eto o. g. y. dd',
'success' => 'Nwydd traul wedi diweddaru\'n llwyddiannus.'
),
'delete' => array(
'confirm' => 'Ydych chi\'n siwr eich bod eisiau dileu\'r nwydd traul yma?',
'error' => 'Nid oedd yn bosib dileu\'r nwydd traul. Ceisiwch eto o. g. y. dd.',
'success' => 'Nwydd traul wedi dileu\'n llwyddiannus.'
),
'checkout' => array(
'error' => 'Nwydd traul heb ei nodi allan, ceisiwch eto o. g. y. dd',
'success' => 'Nwydd traul wedi nodi allan yn llwyddiannus.',
'user_does_not_exist' => 'Nid yw\'r defnyddiwr yna yn ddilys. Ceisiwch eto o. g. y. dd.'
),
'checkin' => array(
'error' => 'Nwydd traul heb ei nodi i fewn, ceisiwch eto o. g. y. dd',
'success' => 'Nwydd traul wedi nodi i fewn yn llwyddiannus.',
'user_does_not_exist' => 'Nid yw\'r defnyddiwr yna yn ddilys. Ceisiwch eto o. g. y. dd.'
)
);
@@ -0,0 +1,5 @@
<?php
return array(
'title' => 'Enw nwydd traul',
);
@@ -0,0 +1,32 @@
<?php
return array(
'custom_fields' => 'Meysydd addasedig',
'field' => 'Meysydd',
'about_fieldsets_title' => 'Amdan grwpiau meysydd',
'about_fieldsets_text' => 'Mae grwpiau meysydd yn caniatau i chi creu grwpiau o meysydd addasedig sydd yn cael ei defnyddio yn amal ar gyfer mathau penodol o asedau.',
'custom_format' => 'Fformat Regex addasedig...',
'encrypt_field' => 'Hamcryptio gwerth y maes yma yn y basdata',
'encrypt_field_help' => 'RHYBUDD: Mae hamcryptio maes yn feddwl nid oes modd chwilio amdano.',
'encrypted' => 'Wedi hamcryptio',
'fieldset' => 'Setiau maes',
'qty_fields' => 'Nifer o meysydd',
'fieldsets' => 'Setiau maes',
'fieldset_name' => 'Enw set maes',
'field_name' => 'Enw maes',
'field_values' => 'Gwerthoedd maes',
'field_values_help' => 'Ychwanegwch opsiynau selectable, un fesul llinell. Anwybyddir llinellau gwag heblaw\'r llinell gyntaf.',
'field_element' => 'Ffurf Elfen',
'field_element_short' => 'Elfen',
'field_format' => 'Fformat',
'field_custom_format' => 'Fformat Regex addasedig',
'field_custom_format_help' => 'Mae\'r maes hwn yn caniatáu ichi ddefnyddio mynegiad regex i\'w ddilysu. Dylai ddechrau gyda "regex:" - er enghraifft, i ddilysu bod gwerth maes arferiad yn cynnwys IMEI dilys (15 digid rhifol), byddech chi\'n defnyddio <code>regex:/^[0-9]{15}$/</code>.',
'required' => 'Gofynnol',
'req' => 'Angen.',
'used_by_models' => 'Defnyddir gan modelau',
'order' => 'Trefn',
'create_fieldset' => 'Set maes newydd',
'create_field' => 'Maes Addasedig newydd',
'value_encrypted' => 'Mae gwerth y maes hwn wedi\'i amgryptio yn y gronfa ddata. Dim ond defnyddwyr gweinyddol fydd yn gallu gweld y gwerth wedi\'i ddadgryptio',
'show_in_email' => 'Cynnwys gwerth y maes hwn mewn e-byst talu a anfonir at y defnyddiwr? Ni ellir cynnwys meysydd wedi\'u hamgryptio mewn e-byst.',
);
@@ -0,0 +1,57 @@
<?php
return array(
'field' => array(
'invalid' => 'Nid yw\'r maes yn bodoli.',
'already_added' => 'Maes eisoes yn bodoli',
'create' => array(
'error' => 'Ni crewyd y maes, ceisiwch eto o. g. y. dd.',
'success' => 'Maes wedi creu yn llwyddiannus.',
'assoc_success' => 'Maes wedi ychwanegu\'n llwyddiannus ir set maes.'
),
'update' => array(
'error' => 'Ni diweddarwyd y maes, ceisiwch eto o. g. y. dd',
'success' => 'Maes wedi diweddaru\'n llwyddiannus.'
),
'delete' => array(
'confirm' => 'Ydych chi\'n siwr eich bod eisiau dileu\'r maes yma?',
'error' => 'Nid oedd yn bosib dileu\'r maes. Ceisiwch eto o. g. y. dd.',
'success' => 'Maes wedi dileu\'n llwyddiannus.',
'in_use' => 'Maes mewn defnydd.',
)
),
'fieldset' => array(
'does_not_exist' => 'Nid yw\'r set maes yn bodoli',
'create' => array(
'error' => 'Ni crewyd y set maes, ceisiwch eto o. g. y. dd.',
'success' => 'Set maes wedi creu yn llwyddiannus.'
),
'update' => array(
'error' => 'Ni diweddarwyd y set maes, ceisiwch eto o. g. y. dd',
'success' => 'Set maes wedi diweddaru\'n llwyddiannus.'
),
'delete' => array(
'confirm' => 'Ydych chi\'n siwr eich bod eisiau dileu\'r set maes yma?',
'error' => 'Nid oedd yn bosib dileu\'r set maes. Ceisiwch eto o. g. y. dd.',
'success' => 'Set maes wedi dileu\'n llwyddiannus.',
'in_use' => 'Set maes mewn defnydd.',
)
),
);
@@ -0,0 +1,21 @@
<?php
return array(
'does_not_exist' => 'Nid yw\'r adran yn bodoli.',
'assoc_users' => 'Mae\'r adran yma wedi perthnasu i oleiaf un defnyddiwr a nid yw\'n bosib dileu. Diweddarwch eich defnyddwyr i beidio cyfeirio at yr adran yma ac yna ceisiwch eto. ',
'create' => array(
'error' => 'Ni crewyd yr adran, ceisiwch eto o. g. y. dd.',
'success' => 'Adran wedi creu yn llwyddiannus.'
),
'update' => array(
'error' => 'Ni diweddarwyd yr adran, ceisiwch eto o. g. y. dd',
'success' => 'Adran wedi diweddaru\'n llwyddiannus.'
),
'delete' => array(
'confirm' => 'Ydych chi\'n sicr eich bod eisiau dileu\'r adran yma?',
'error' => 'Nid oedd yn bosib dileu\'r adran. Ceisiwch eto o. g. y. dd.',
'success' => 'Adran wedi dileu\'n llwyddiannus.'
)
);
@@ -0,0 +1,11 @@
<?php
return array(
'id' => 'Rhif Unigryw',
'name' => 'Enw Adran',
'manager' => 'Rheolwr',
'location' => 'Lleoliad',
'create' => 'Creu Adran',
'update' => 'Diweddaru Adran',
);
@@ -0,0 +1,12 @@
<?php
return array(
'about_asset_depreciations' => 'Amdan Dibrisiant Asedau',
'about_depreciations' => 'Cewch creu mathau o dibrisiant i dibrisio asedau yn seiliedig ar dibrisiant llinell syth.',
'asset_depreciations' => 'Dibrisiant Asedau',
'create' => 'Creu Dibrisiant',
'depreciation_name' => 'Enw Dibrisiant',
'number_of_months' => 'Nifer o Fisoedd',
'update' => 'Diweddaru Dibrisiant',
);
@@ -0,0 +1,25 @@
<?php
return array(
'does_not_exist' => 'Nid yw\'r dosbarth yma o dibrsiant yn bodoli.',
'assoc_users' => 'Mae\'r dibrisiantyma wedi perthnasu hefo un neu mwy o modelau a nid oes modd i\'w dileu. Fydd rhaid dileu\'r modelau ac yna trio eto. ',
'create' => array(
'error' => 'Ni crewyd y dosbarth dibrisiant, ceisiwch eto o. g. y. dd. :(',
'success' => 'Dosbarth dibrisiant wedi\'i creu yn llwyddiannus. :)'
),
'update' => array(
'error' => 'Ni diweddarwyd y dosbarth dibrisiant, ceisiwch eto o. g. y. dd',
'success' => 'Dosbarth dibrisiant wedi\'i diweddaru yn llwyddiannus.'
),
'delete' => array(
'confirm' => 'Ydych chi\'n siwr eich bod eisiau dileu\'r dosbarth dibrisiant yma?',
'error' => 'Nid oedd yn bosib dileu\'r dosbarth dibrisiant. Ceisiwch eto o. g. y. dd.',
'success' => 'Dosbarth dibrisiant wedi\'i dileu yn llwyddiannus.'
)
);
@@ -0,0 +1,10 @@
<?php
return array(
'id' => 'Rhif Unigryw',
'months' => 'Misoedd',
'term' => 'Cyfnod',
'title' => 'Enw ',
);
@@ -0,0 +1,22 @@
<?php
return array(
'group_exists' => 'Grwp yn bodoli yn barod!',
'group_not_found' => 'Nid yw grwp [:id] yn bodoli.',
'group_name_required' => 'Mae angen llenwi\'r maes enw',
'success' => array(
'create' => 'Wedi llwyddo i creu\'r grwp.',
'update' => 'Wedi llwyddo i diweddaru\'r grwp.',
'delete' => 'Wedi llwyddo i dileu\'r grwp.',
),
'delete' => array(
'confirm' => 'Ydych chi\'n sicr eich bod eisiau dileu\'r grwp yma?',
'create' => 'Roedd problem wrth ceisio creu\'r grwp. Ceisiwch eto o. g. y. dd.',
'update' => 'Roedd problem wrth ceisio diweddaru\'r grwp. Ceisiwch eto o. g. y. dd.',
'delete' => 'Roedd problem wrth ceisio dileu\'r grwp. Ceisiwch eto o. g. y. dd.',
),
);
+9
View File
@@ -0,0 +1,9 @@
<?php
return array(
'id' => 'Rhif Unigryw',
'name' => 'Enw',
'users' => '# o defnyddwyr',
);
+14
View File
@@ -0,0 +1,14 @@
<?php
return array(
'about_groups_title' => 'Amdan Grwpiau',
'about_groups' => 'Defnyddir grwpiau i gosod hawliau defnyddwyr.',
'group_management' => 'Rheoli Grwpiau',
'create' => 'Creu Grwp Newydd',
'update' => 'Addasu Grwp',
'group_name' => 'Enw Grwp',
'group_admin' => 'Gweinyddwr Grwp',
'allow' => 'Caniatau',
'deny' => 'Gwrthod',
);
+44
View File
@@ -0,0 +1,44 @@
<?php
return array(
'bulk_delete' => 'Cadarnahu Dileu Nifer o Asedau',
'bulk_delete_help' => 'Adolygwch yr asedau ar gyfer dileu isod. Ar ôl eu dileu, gellir adfer yr asedau hyn, ond ni fyddant yn gysylltiedig mwyach ag unrhyw ddefnyddwyr y maent wedi\'u neilltuo iddynt ar hyn o bryd.',
'bulk_delete_warn' => 'Rydych am dileu :asset_count assets.',
'bulk_update' => 'Diweddaru Nifer o Asedau',
'bulk_update_help' => 'Mae\'r ffurflen hon yn caniatáu ichi ddiweddaru nifer o asedau ar unwaith. Llenwch y meysydd sydd angen i chi eu newid yn unig. Bydd unrhyw bwlch a adewir yn wag yn aros yr un fath. ',
'bulk_update_warn' => 'Rydych am newid manylder am :asset_count o asedau.',
'checkedout_to' => 'Wedi aseinio i',
'checkout_date' => 'Dyddiad allan',
'checkin_date' => 'Dyddian i mewn',
'checkout_to' => 'Dynodi i',
'cost' => 'Cost pwrcasu',
'create' => 'Creu Ased',
'date' => 'Dyddiad Pwrcasu',
'depreciation' => 'Dibrisiant',
'depreciates_on' => 'Dibrisio Ar',
'default_location' => 'Lleoliad diofyn',
'eol_date' => 'Dyddiad DB',
'eol_rate' => 'Cyfradd DB',
'expected_checkin' => 'Dyddiad disgwl i mewn',
'expires' => 'Dod i ben',
'fully_depreciated' => 'Dibrisiant Llwyr',
'help_checkout' => 'Os ydych chi am aseinio\'r ased hwn ar unwaith, dewiswch "Barod i\'w Ddefnyddio" o\'r rhestr statws uchod. ',
'mac_address' => 'Cyfeiriad MAC',
'manufacturer' => 'Gwneuthyrwr',
'model' => 'Model',
'months' => 'misoedd',
'name' => 'Enw Ased',
'notes' => 'Nodiadau',
'order' => 'Rhif Archeb',
'qr' => 'Côd QR',
'requestable' => 'Gellir ddefnyddwyr gwneud cais am yr ased yma',
'select_statustype' => 'Dewis Math o Statws',
'serial' => 'Serial',
'status' => 'Statws',
'tag' => 'Tag Ased',
'update' => 'Diweddaru Ased',
'warranty' => 'Warant',
'warranty_expires' => 'Warrant yn dod I ben',
'years' => 'blynyddoedd',
)
;
@@ -0,0 +1,22 @@
<?php
return array(
'about_assets_title' => 'Amdan Asedau',
'about_assets_text' => 'Mae asedau wedi tracio trwy rhif cofrestru neu rhif ased. Maen yn tueddu fod yn eitemau gwerthfawr lle mae adnabod offer penodol yn bwysig.',
'archived' => 'Archifwyd',
'asset' => 'Ased',
'bulk_checkout' => 'Nodi Asedau Allan',
'checkin' => 'Nodi Asedau I Mewn',
'checkout' => 'Nodi Asedau Allan',
'clone' => 'Dyblygu Ased',
'deployable' => 'Gellir ei ddefnyddio',
'deleted' => 'Mae\'r ased yma wedi dileu. <a href="/hardware/:asset_id/restore">Cliciwch yma i\'w adfer</a>.',
'edit' => 'Addasu Ased',
'model_deleted' => 'Mae\'r model yma o ased wedi\'i dileu. Rhaid i chi adfer y model cyn fedrwch chi adfer y\'r ased. <br/> <a href="/hardware/models/:model_id/restore">Cliciwch yma i adfer yr ased</a>.',
'requestable' => 'Ar gael',
'requested' => 'Gofynnwyd amdano',
'restore' => 'Adfer Ased',
'pending' => 'Yn disgwl',
'undeployable' => 'Dim ar gael',
'view' => 'Gweld Ased',
);
@@ -0,0 +1,83 @@
<?php
return array(
'undeployable' => '<strong> Rhybudd: </strong> Mae\'r ased hwn wedi\'i nodi fel un na ellir ei ddefnyddio ar hyn o bryd.
Os yw\'r statws hwn wedi newid, diweddarwch statws yr ased.',
'does_not_exist' => 'Nid yw\'r ased yn bodoli.',
'does_not_exist_or_not_requestable' => 'Ymdrech da. Nid yw\'r ased yma yn bodoli neu ar gael.',
'assoc_users' => 'Ar hyn o bryd mae\'r ased yma allan gan ddefnyddiwr ac ni ellir ei ddileu. Cofnodwch yr ased yn ol i fewn yn gyntaf, ac yna ceisiwch ei ddileu eto. ',
'create' => array(
'error' => 'Ni crewyd yr ased, ceisiwch eto o. g. y. dd. :(',
'success' => 'Ased wedi creu yn llwyddiannus. :)'
),
'update' => array(
'error' => 'Ni diweddarwyd yr assed, ceisiwch eto o. g. y. dd',
'success' => 'Ased wedi diweddaru\'n llwyddiannus.',
'nothing_updated' => 'Dim newid mewn manylder, felly dim byd wedi\'i diweddaru.',
),
'restore' => array(
'error' => 'Nid oedd yn bosib adfer yr ased, ceisiwch eto o. g. y. dd',
'success' => 'Ased wedi adfer yn llwyddiannus.'
),
'audit' => array(
'error' => 'Roedd archwiliad asedau yn aflwyddiannus. Ceisiwch eto o. g. y. dd.',
'success' => 'Cofnodwyd archwiliad asedau yn llwyddiannus.'
),
'deletefile' => array(
'error' => 'Ffeil heb ei ddileu. Ceisiwch eto o.g.y.dd.',
'success' => 'Ffeil wedi dileu yn llwyddiannus.',
),
'upload' => array(
'error' => 'Ffeil(iau) heb ei uwchlwytho. Ceisiwch eto o. g. y. dd.',
'success' => 'Ffeil(iau) wedi uwchlwytho yn llwyddiannus.',
'nofiles' => 'Ni wnaethoch chi ddewis unrhyw ffeiliau i\'w uwchlwytho, neu mae\'r ffeil rydych chi\'n ceisio ei huwchlwytho yn rhy fawr',
'invalidfiles' => 'Mae un neu mwy o\'r ffeiliau unai yn rhy fawr neu ddim y math cywir. Derbynir png, gif, fjp, doc, docx, pdf a txt.',
),
'import' => array(
'error' => 'Rhai eitemau heb ei mewnforio\'n gywir.',
'errorDetail' => 'Ni fewnforiwyd yr eitemau canlynol oherwydd gwallau.',
'success' => "Mae'ch ffeil wedi'i mewnforio",
'file_delete_success' => "Mae eich ffeil wedi'i dileu yn llwyddiannus",
'file_delete_error' => "Nid oedd yn bosib dileu'r ffeil",
),
'delete' => array(
'confirm' => 'Ydych chi\'n sicr eich bod eisiau dileu\'r ased yma?',
'error' => 'Roedd problem wrth ceisio dileu\'r ased. Ceisiwch eto o. g. y. dd.',
'nothing_updated' => 'Dim asedau wedi dewis, felly dim byd wedi\'i dileu.',
'success' => 'Ased wedi dileu\'n llwyddiannus.'
),
'checkout' => array(
'error' => 'Ased heb ei nodi fel allan, ceisiwch eto o. g. y. dd',
'success' => 'Ased wedi nodi fel allan yn llwyddiannus.',
'user_does_not_exist' => 'Nid yw\'r defnyddiwr yna yn ddilys. Ceisiwch eto o.g.y.dd.',
'not_available' => 'Nid yw\'r ased yma ar gael i\'w defnyddio!',
'no_assets_selected' => 'Rhaid i chi ddewis o leiaf un ased o\'r rhestr'
),
'checkin' => array(
'error' => 'Ased heb ei nodi i mewn, ceisiwch eto o. g. y. dd',
'success' => 'Ased wedi nodi i mewn yn llwyddiannus.',
'user_does_not_exist' => 'Nid yw\'r defnyddiwr yna yn ddilys. Ceisiwch eto o. g. y. dd.',
'already_checked_in' => 'Ased wedi nodi i mewn yn gywir.',
),
'requests' => array(
'error' => 'Nid oedd cais am yr ased, ceisiwch eto o. g. y. dd',
'success' => 'Cais am ased yn llwyddiannus.',
'canceled' => 'Wedi llwydo i canslo cais am ased'
)
);
@@ -0,0 +1,24 @@
<?php
return array(
'asset_tag' => 'Rhif Ased (tag)',
'asset_model' => 'Model',
'book_value' => 'Gwerth',
'change' => 'Mewn/Allan',
'checkout_date' => 'Dyddiad Allan',
'checkoutto' => 'Allan',
'diff' => 'Gwahaniaeth',
'dl_csv' => 'Lawrlwytho CSV',
'eol' => 'DB',
'id' => 'Rhif Unigryw',
'location' => 'Lleoliad',
'purchase_cost' => 'Cost',
'purchase_date' => 'Dyddiad Pwrcasu',
'serial' => 'Serial',
'status' => 'Statws',
'title' => 'Ased ',
'image' => 'Delwedd Dyfais',
'days_without_acceptance' => 'Diwrnodau Heb Derbyn'
);
+22
View File
@@ -0,0 +1,22 @@
<?php
return array(
'asset' => 'Ased',
'checkin' => 'Nodi i mewn',
'create' => 'Creu Trwydded',
'expiration' => 'Dyddiad Terfynu',
'license_key' => 'Goriad',
'maintained' => 'Cynnal a chadw',
'name' => 'Enw Meddalwedd',
'no_depreciation' => 'Peidio dibrisio',
'purchase_order' => 'Rhif Archeb',
'reassignable' => 'Posib ail dynodi',
'remaining_seats' => 'Seddi yn weddill',
'seats' => 'Seddi',
'termination_date' => 'Dyddiad Terfynu',
'to_email' => 'Ebost wedi trwyddedu',
'to_name' => 'Enw wedi trwyddedu',
'update' => 'Diweddaru Trwydded',
'checkout_help' => 'Fedrwch nodi trwydded allan yn erbyn ased neu person. Fedrwch dewis y ddau ond rhaid i\'r person cydfynd hefo perchenog yr ased.'
);
@@ -0,0 +1,21 @@
<?php
return array(
'about_licenses_title' => 'Amdan trwyddedau',
'about_licenses' => 'Mae trwyddedau yn tracio feddalwedd. May yna nifer o seddi fedrwch nodi yn erbyn unigolion',
'checkin' => 'Nodi sedd trwydded i fewn',
'checkout_history' => 'Hanes nodi allan',
'checkout' => 'Nodi sedd trwydded allan',
'edit' => 'Golygu Trwydded',
'filetype_info' => 'Math o ffeiliau a caniateir yw png, gif, jpg, jpeg, doc, docx, pdf, txt, zip, a rar.',
'clone' => 'Dyblygu Trwydded',
'history_for' => 'Hanes ar gyfer ',
'in_out' => 'Mewn/Allan',
'info' => 'Gwybodaeth Trwydded',
'license_seats' => 'Seddi Trwydded',
'seat' => 'Sedd',
'seats' => 'Seddi',
'software_licenses' => 'Trwyddedau Meddalwedd',
'user' => 'Defnyddiwr',
'view' => 'Gweld Trwydded',
);
@@ -0,0 +1,51 @@
<?php
return array(
'does_not_exist' => 'Nid yw\'r trwydded yn bodoli.',
'user_does_not_exist' => 'Nid yw\'r defnyddiwr yn bodoli.',
'asset_does_not_exist' => 'Nid yw\'r ased rydych yn ceisio perthnasu i\'r trwydded yma yn bodoli.',
'owner_doesnt_match_asset' => 'Nid y defnyddiwr sydd wedi nodi yw perchenog yr ased rydych yn ceisio perthnasu ir trwydded yma.',
'assoc_users' => 'Ar hyn o bryd mae\'r trwydded yma allan gan ddefnyddiwr ac ni ellir ei ddileu. Cofnodwch yr trwyddedyn ol i fewn yn gyntaf, ac yna ceisiwch ei ddileu eto. ',
'select_asset_or_person' => 'Rhaid i chi ddewis ased neu defnyddiwr ond nid y ddau.',
'create' => array(
'error' => 'Ni crewyd y trwydded, ceisiwch eto o. g. y. dd.',
'success' => 'Trwydded wedi creu yn llwyddiannus.'
),
'deletefile' => array(
'error' => 'Ffeil heb ei ddileu. Ceisiwch eto o. g. y. dd.',
'success' => 'Ffeil wedi dileu yn llwyddiannus.',
),
'upload' => array(
'error' => 'Ffeil(iau) heb ei uwchlwytho. Ceisiwch eto o. g. y. dd.',
'success' => 'Ffeil(iau) wedi uwchlwytho yn llwyddiannus.',
'nofiles' => 'Ni wnaethoch chi ddewis unrhyw ffeiliau i\'w uwchlwytho, neu mae\'r ffeil rydych chi\'n ceisio ei huwchlwytho yn rhy fawr',
'invalidfiles' => 'Mae un neu mwy o\'r ffeiliau unai yn rhy fawr neu ddim y math cywir. Derbynir png, gif, fjp, doc, docx, pdf a txt.',
),
'update' => array(
'error' => 'Ni diweddarwyd y trwydded, ceisiwch eto o. g. y. dd',
'success' => 'Trwydded wedi diweddaru\'n llwyddiannus.'
),
'delete' => array(
'confirm' => 'Ydych chi\'n siwr eich bod eisiau dileu\'r trwydded yma?',
'error' => 'Nid oedd yn bosib dileu\'r trwydded. Ceisiwch eto o. g. y. dd.',
'success' => 'Trwydded wedi dileu yn llwyddiannus.'
),
'checkout' => array(
'error' => 'Nid oedd yn bosib nodi\'r trwydded allan. Ceisiwch eto o. g. y. dd.',
'success' => 'Trwydded wedi nodi allan yn llwyddiannus'
),
'checkin' => array(
'error' => 'Nid oedd yn bosib nodi\'r trwydded i mewn. Ceisiwch eto o. g. y. dd.',
'success' => 'Trwydded wedi nodi i fewn yn llwyddiannus'
),
);
@@ -0,0 +1,17 @@
<?php
return array(
'assigned_to' => 'Wedi Neilltuo i',
'checkout' => 'Mewn/Allan',
'id' => 'Rhif Unigryw',
'license_email' => 'Ebost wedi trwyddedu',
'license_name' => 'Wedi Trwyddedi',
'purchase_date' => 'Dyddiad Pwrcasu',
'purchased' => 'Prynwyd',
'seats' => 'Seddi',
'hardware' => 'Caledwedd',
'serial' => 'Serial',
'title' => 'Trwydded',
);
@@ -0,0 +1,27 @@
<?php
return array(
'does_not_exist' => 'Nid yw\'r lleoliad yn bodoli.',
'assoc_users' => 'Mae\'r lleoliad yma wedi perthnasu i oleiaf un defnyddiwr a nid yw\'n bosib dileu. Diweddarwch eich defnyddwyr i beidio cyfeirio at y lleoliad yma ac yna ceisiwch eto. ',
'assoc_assets' => 'Mae\'r lleoliad yma wedi perthnasu i oleiaf un ased a nid yw\'n bosib dileu. Diweddarwch eich asedau i beidio cyfeirio at y lleoliad yma ac yna ceisiwch eto. ',
'assoc_child_loc' => 'Mae\'r lleoliad yma yn rhiant i oleiaf un lleoliad a nid yw\'n bosib dileu. Diweddarwch eich lleoliadau i beidio cyfeirio at y lleoliad yma ac yna ceisiwch eto. ',
'create' => array(
'error' => 'Ni crewyd y lleoliad, ceisiwch eto o.g.y.dd.',
'success' => 'Lleoliad wedi creu yn llwyddiannus.'
),
'update' => array(
'error' => 'Ni diweddarwyd y lleoliad, ceisiwch eto o.g.y.dd',
'success' => 'Lleoliad wedi diweddaru\'n llwyddiannus.'
),
'delete' => array(
'confirm' => 'Ydych chi\'n siwr eich bod eisiau dileu\'r lleoliad yma?',
'error' => 'Nid oedd yn bosib dileu\'r lleoliad. Ceisiwch eto o.g.y.dd.',
'success' => 'Lleoliad wedi dileu\'n llwyddiannus.'
)
);
@@ -0,0 +1,21 @@
<?php
return array(
'about_locations_title' => 'Amdan Lleoliadau',
'about_locations' => 'Defnyddir lleoliadau i cofnodi manylder lleoliad ar gyfer defnyddwyr, asedau a eitemau eraill',
'assets_rtd' => 'Asedau', // This has NEVER meant Assets Retired. I don't know how it keeps getting reverted.
'assets_checkedout' => 'Asedau Wedi clustnodi',
'id' => 'Rhif Unigryw',
'city' => 'Dinas',
'state' => 'Talaith',
'country' => 'Gwlad',
'create' => 'Creu Lleoliad',
'update' => 'Diweddaru Lleoliad',
'name' => 'Enw Lleoliad',
'address' => 'Cyfeiriad',
'zip' => 'Côd Post',
'locations' => 'Lleoliadau',
'parent' => 'Rhiant',
'currency' => 'Arian y Lleoliad',
'ldap_ou' => 'OU a denyddir wrth chwilio LDAP',
);
@@ -0,0 +1,29 @@
<?php
return array(
'does_not_exist' => 'Nid yw\'r gwneuthyrwr yn bodoli.',
'assoc_users' => 'Mae\'r gwneuthyrwr yma wedi perthnasu i oleiaf un model a nid yw\'n bosib dileu. Diweddarwch eich modelau i beidio cyfeirio at y gwneuthyrwr yma ac yna ceisiwch eto. ',
'create' => array(
'error' => 'Ni crewyd ygwneuthyrwr, ceisiwch eto o. g. y. dd.',
'success' => 'Gwneuthyrwr wedi creu yn llwyddiannus.'
),
'update' => array(
'error' => 'Ni diweddarwyd y gwneuthyrwr, ceisiwch eto o. g. y. dd',
'success' => 'Gwneuthyrwr wedi diweddaru yn llwyddiannus.'
),
'restore' => array(
'error' => 'Nid oedd yn bosib adfer y gwneuthyrwr, ceisiwch eto o. g. y. dd',
'success' => 'Gwneuthyrwr wedi adfer yn llwyddiannus.'
),
'delete' => array(
'confirm' => 'Ydych chi\'n sicr eich bod eisiau dileu\'r gwneuthyrwr yma?',
'error' => 'Roedd problem wrth ceisio dileu\'r gwneuthyrwr. Ceisiwch eto o. g. y. dd.',
'success' => 'Gwneuthyrwr wedi dileu\'n llwyddiannus.'
)
);
@@ -0,0 +1,16 @@
<?php
return array(
'about_manufacturers_title' => 'Amdan Gwneuthyrwyr',
'about_manufacturers_text' => 'Gwneuthurwyr yw\'r cwmnïau sy\'n creu eich asedau. Gallwch ddod o hyd i wybodaeth bwysig amdanynt yma, a fydd yn cael ei harddangos ar eich tudalennau manylion asedau.',
'asset_manufacturers' => 'Gwneuthyrwyr Asedau',
'create' => 'Creu Gwneuthyrwr',
'id' => 'Rhif Unigryw',
'name' => 'Enw',
'support_email' => 'Ebost Cefnogaeth',
'support_phone' => 'Rhif ffôn cefnogaeth',
'support_url' => 'Wefan cefnogaeth',
'update' => 'Diweddaru Gwneuthyrwr',
'url' => 'URL',
);
@@ -0,0 +1,18 @@
<?php
return array(
'about_models_title' => 'Amdan Modelau',
'about_models_text' => 'Mae modelau o asedau yn ffordd o creu grwp o asedau. "iPhone 7, Samsung TAB 4, ayyb.',
'deleted' => 'Mae\'r model yma wedi dileu. <a href="/hardware/models/:model_id/restore">Cliciwch yma i\'w adfer</a>.',
'bulk_delete' => 'Dileu Nifer o Modelau',
'bulk_delete_help' => 'Rhowch tic yn y bocsys isod i cadarnhau dileu y model. Nid oes modd dileu modelau sydd hefo asedau yn ei erbyn.',
'bulk_delete_warn' => 'Rydych am dileu :model_count o asedau.',
'restore' => 'Adfer Model',
'requestable' => 'Gellir defnyddwyr gwneud cais am yr ased yma',
'show_mac_address' => 'Dangos cyfeiriad MAC yn asedau o\'r model yma',
'view_deleted' => 'Wedi Dileu',
'view_models' => 'Gweld Modelau',
'fieldset' => 'Fieldset',
'no_custom_field' => 'Defnyddio meysydd addasedig',
'add_default_values' => 'Ychwanegu gwerthoedd diofyn',
);
@@ -0,0 +1,42 @@
<?php
return array(
'does_not_exist' => 'Nid yw\'r model yn bodoli.',
'assoc_users' => 'Mae\'r model yma wedi perthnasu hefo un neu mwy o asedau. Fydd rhaid dileu\'r asedau ac yna trio eto. ',
'create' => array(
'error' => 'Ni crewyd y model, ceisiwch eto o.g.y.dd.',
'success' => 'Model wedi creu yn llwyddiannus.',
'duplicate_set' => 'Mae model ased hefo\'r enw, gwneuthyrwr a rhif model yn bodoli yn barod.',
),
'update' => array(
'error' => 'Ni diweddarwyd y model, ceisiwch eto o.g.y.dd',
'success' => 'Model wedi diweddaru\'n llwyddiannus.'
),
'delete' => array(
'confirm' => 'Ydych chi\'n sicr eich bod eisiau dileu\'r model ased yma?',
'error' => 'Nid oedd yn bosib dileu\'r model. Ceisiwch eto o.g.y.dd.',
'success' => 'Model wedi dileu\'n llwyddiannus.'
),
'restore' => array(
'error' => 'Nid oedd yn bosib adfer y model, ceisiwch eto o.g.y.dd',
'success' => 'Model wedi adfer yn llwyddiannus.'
),
'bulkedit' => array(
'error' => 'Dim newid mewn manylder, felly dim byd i diweddaru.',
'success' => 'Modelau wedi diweddaru.'
),
'bulkdelete' => array(
'error' => 'Dim modelau wedi dewis, felly dim byd i\'w ddileu.',
'success' => ':success_count model(au) wedi dileu!',
'success_partial' => ':success_count model(au) wedi\'i dileu, :fail_count heb eu ddileu gan bod asedau wedi perthnasu iddo.'
),
);
+17
View File
@@ -0,0 +1,17 @@
<?php
return array(
'create' => 'Creu Model Ased',
'created_at' => 'Crëwyd',
'eol' => 'DB',
'modelnumber' => 'Rhif Model.',
'name' => 'Enw Model Ased',
'numassets' => 'Asedau',
'title' => 'Model Ased',
'update' => 'Diweddaru Model Ased',
'view' => 'Gweld Model Ased',
'update' => 'Diweddaru Model Ased',
'clone' => 'Dyblygu Model',
'edit' => 'Newid Model',
);
@@ -0,0 +1,5 @@
<?php
return array(
'info' => 'Dewiswch yr opsiynau rydych chi eu heisiau ar gyfer eich adroddiad ased.'
);
@@ -0,0 +1,5 @@
<?php
return array(
'error' => 'Rhaid i chi ddewis o leiaf un opsiwn.'
);
@@ -0,0 +1,187 @@
<?php
return array(
'ad' => 'Active Directory',
'ad_domain' => 'Parth Active Directory',
'ad_domain_help' => 'Ar adegau yn debyg i parth eich cyfeiriad ebost, ond dim pob tro.',
'admin_cc_email' => 'CC Ebost',
'admin_cc_email_help' => 'Os ydych am i cyfrif ebost derbyn copi o negeseuon i ddefnyddwyr wrth nodi asdedau allan i defnyddwyr ac yn ol i fewn rhowch o yma. Fel arall, gadewch yn wag.',
'is_ad' => 'Mae hwn yn Server Active Directory',
'alert_email' => 'Gyrru rhybuddion i',
'alerts_enabled' => 'Rhybuddion ebost wedi alluogi',
'alert_interval' => 'Trothwy Rhybuddion sy\'n Dod i Ben (mewn dyddiau)',
'alert_inv_threshold' => 'Trothwy Rhybudd Rhestr',
'asset_ids' => 'Rhifau Unigryw Asedau',
'audit_interval' => 'Cyfnod Awdit',
'audit_interval_help' => 'Os ydych angen gwneud awdit ffisegol, rhowch y cyfnod mewn misoedd.',
'audit_warning_days' => 'Trothwy Rhybuddio Awdit',
'audit_warning_days_help' => 'Sawl diwrnod o flaen llaw ddylswn rhybuddio chi o asedau sydd angen awdit?',
'auto_increment_assets' => 'Cynhyrch Rhifau Unigryw sydd yn cynyddu yn awtomatig',
'auto_increment_prefix' => 'Rhagddodiad (dewisol)',
'auto_incrementing_help' => 'Alluogwch Rhifau Unigryw sydd yn cynyddu yn awtomatig er mwyn gosod hyn',
'backups' => 'Copi wrth gefn',
'barcode_settings' => 'Gosodiadau Barcode',
'confirm_purge' => 'Cadarnhau Clirio',
'confirm_purge_help' => 'Teipiwch "Delete" yn y bocs isod i clirio cofnodion sydd wedi\'i dileu. Nid oes modd dad wneud hyn.',
'custom_css' => 'Addasu CSS',
'custom_css_help' => 'Cewch nodi unrhyw CSS personol yma. Peidiwch a cynnwys &lt;style&gt;&lt;/style&gt;.',
'custom_forgot_pass_url' => 'Cyfeiriad gwasanaeth newid cyfrinair',
'custom_forgot_pass_url_help' => 'Mae hyn yn cymeryd lle y system menwol i newid cyfrineiriau ar y wefan mewngofnodi, o defnydd i gyfeirio pobol at eich datrysiad newid cyfrineiriau LDAP. Nid ywn\'n bosib i defnyddwyr lleol o SNipe-IT newid cyfrineair os yw\'r opsiwn wedi alluogi.',
'dashboard_message' => 'Neges Dashfwrdd',
'dashboard_message_help' => 'Fydd y neges yma yn ymddangos ar y dashfwrdd i unrhywun hefo hawl i weld y dashfwrdd.',
'default_currency' => 'Arian Diofyn',
'default_eula_text' => 'CGTG Diofyn',
'default_language' => 'Iaith Diofyn',
'default_eula_help_text' => 'Yn ogystal, fedrwch perthnasu CTDT yn erbyn asedau penodol.',
'display_asset_name' => 'Dangos Enw Ased',
'display_checkout_date' => 'Dangos Dyddiad Allan',
'display_eol' => 'Dangos DB yn y tabl',
'display_qr' => 'Arddangos Codau Sgwâr',
'display_alt_barcode' => 'Arddangos barcode 1D',
'barcode_type' => 'Math Barcode 2D',
'alt_barcode_type' => 'Math Barcode 1D',
'eula_settings' => 'Gosodiadau CTDT',
'eula_markdown' => 'Mae\'r CTDT yma yn caniatau <a href="https://help.github.com/articles/github-flavored-markdown/">markdown GitHub</a>.',
'footer_text' => 'Testun Troedyn Ychwanegol ',
'footer_text_help' => 'Dangosir y text yma ir ochor dde yn y troedyn. Mae lincs yn dderbyniol gan defnyddio <a href="https://help.github.com/articles/github-flavored-markdown/">Github flavored markdown</a>. Line breaks, headers, images, etc may result in unpredictable results.',
'general_settings' => 'Gosodiadau Cyffredinol',
'generate_backup' => 'Creu copi-wrth-gefn',
'header_color' => 'Lliw penawd',
'info' => 'Mae\'r gosodiadau yma yn caniatau i chi addasu elfennau o\'r system.',
'laravel' => 'Fersiwn Laravel',
'ldap_enabled' => 'LDAP wedi alluogi',
'ldap_integration' => 'Integreiddio LDAP',
'ldap_settings' => 'Gosodiadau LDAP',
'ldap_login_test_help' => 'Gosodwch cyfrif a chyfrinair LDAP dilys o\'r base DN i profi cysyllted a gweithrediad LDAP. RHAID ARBED Y GOSODIADAU LDAP CYNTAF.',
'ldap_login_sync_help' => 'Mae\'r prawf yma yn profi\'r gallu i LDAP gwneud sync. Os ydi\'r gosodiadau LDAP yn anghywir mae\'n bosib ni ellith defnyddwyr mewngofnodi. RHAID ARBED GOSODIADAU LDAP CYNTAF.',
'ldap_server' => 'Server LDAP',
'ldap_server_help' => 'Dylith hwn ddechra hefo ldap://(Ar gyfer cysylltiadau TLS neu heb eu hamcryptio) neu ldaps://(ar gyfer SSL)',
'ldap_server_cert' => 'Profi tystysgrif LDAP SSL dilys',
'ldap_server_cert_ignore' => 'Caniatau Tystyrgrif SSL annilys',
'ldap_server_cert_help' => 'Dewisiwch y blwch yma os ydych yn defnyddio tystysgrif wedi hunan-arwyddo ac os ydych am dderbyn tystysgrif SSL annilys.',
'ldap_tls' => 'Defnyddio TLS',
'ldap_tls_help' => 'Dewisiwch os ydych yn rhedeg STARTTLS ar eich server LDAP. ',
'ldap_uname' => 'Enw defnyddiwr i cysylltu trwy LDAP',
'ldap_pword' => 'Cyfrinair i cysylltu trwy LDAP',
'ldap_basedn' => 'DN Cyswllt Sylfaenol',
'ldap_filter' => 'Hidlydd LDAP',
'ldap_pw_sync' => 'Sync cyfrinair LDAP',
'ldap_pw_sync_help' => 'Tynnwch y tic o\'r focs yma os nad ydych am cadw cyfrineiriau LDAP mewn sync a cyfrineiriau lleol. Mae an-alluogi hyn yn feddwl ni ellith defnyddywr mewngofnodi os oes problem hefo\'r server LDAP.',
'ldap_username_field' => 'Maes Enw Defnyddiwr',
'ldap_lname_field' => 'Enw Olaf',
'ldap_fname_field' => 'Enw Cyntaf LDAP',
'ldap_auth_filter_query' => 'Ymholiad dilysu LDAP',
'ldap_version' => 'Fersiwn LDAP',
'ldap_active_flag' => 'Nodi bod LDAP yn weithredol',
'ldap_emp_num' => 'LDAP Rhif Cyflogai',
'ldap_email' => 'Ebost LDAP',
'license' => 'Trwydded Meddalwedd',
'load_remote_text' => 'Scripts o bell',
'load_remote_help_text' => 'Gellith Snipe-IT gosod scripts o\'r we.',
'login_note' => 'Nodyn Mewngofnodi',
'login_note_help' => 'Cewch dewis i cynnwys brawddeg neu ddwy ar y sgrin mewngofnodi, e.e. i cynorthwyo pobol sydd wedi darganfod offer. This field accepts <a href="https://help.github.com/articles/github-flavored-markdown/">Github flavored markdown</a>',
'login_remote_user_text' => 'Dewisiadau mewngofnodi ar gyfer defnyddywr o bell',
'login_remote_user_enabled_text' => 'Caniatau mewngofnodi hefo\'r Remote User Header',
'login_remote_user_enabled_help' => 'Mae\'r opsiwn yma yn caniatau dilysu trwy\'r REMOTE_USER header yn ol "Common Gateway Interface (rfc3875)"',
'login_common_disabled_text' => 'Analluogi dulliau eraill o mewngofnodi',
'login_common_disabled_help' => 'Mae\'r opsiwn yma yn analluogi dulliau eraill o mewngofnodi. Alluogch yr opsiwn yma os ydych yn sicr bod yr opsiwn REMOTE_USER yn weithredol',
'login_remote_user_custom_logout_url_text' => 'URL Allgofnodi',
'login_remote_user_custom_logout_url_help' => 'Os oes URL yma mi fydd defnyddwyr yn cael ei gyfeirio yma wrth mewngofnodi. Mae hyn yn defnyddiol i cau sesiynau hefo\'r endid sydd yn darparu\'r gwasanaeth dilysu.',
'logo' => 'Logo',
'logo_print_assets' => 'Defnyddio wrth argraffu',
'logo_print_assets_help' => 'Defnyddio branding ar rhestrau asedau i\'w argraffu ',
'full_multiple_companies_support_help_text' => 'Cyfyngu defnyddywr (gan cynnwys Admin) sydd wedi aseinio i gwmni i asedau\'r cwmni.',
'full_multiple_companies_support_text' => 'Cefnogaeth Llawn ar gyfer Nifer o Cwmniau',
'show_in_model_list' => 'Dangos mewn dewislen modelau',
'optional' => 'dewisol',
'per_page' => 'Canlyniadau fesul tudalen',
'php' => 'Fersiwn PHP',
'php_gd_info' => 'Rhaid gossod php-gd i weld codau QR, gweler y canllaawiau gosod.',
'php_gd_warning' => 'NID yw PHP IMage Processing a\'r plugin GD wedi osod.',
'pwd_secure_complexity' => 'Cymhlethdod Cyfrineiriau',
'pwd_secure_complexity_help' => 'Dewisiwch y rheolau cymlethdod cyfrineiriau sydd ei angen.',
'pwd_secure_min' => 'Lleiafswm o cymeriadau mewn cyfrinair',
'pwd_secure_min_help' => 'Gwerth lleiaf a dderbynir yw 5',
'pwd_secure_uncommon' => 'Nadu cyfrineiriau cyffredin',
'pwd_secure_uncommon_help' => 'Fydd hyn yn nadu defnyddwyr rhag defnyddio\'r 10,000 o cyfrineiriau sydd wedi adnabod yn rhan o digwyddiadau siber.',
'qr_help' => 'Alluogwch QR codes cyntaf er mwyn gosod hyn',
'qr_text' => 'Testun Cod QR',
'setting' => 'Gosodiad',
'settings' => 'Gosodiadau',
'show_alerts_in_menu' => 'Dangos rhybuddion yn y dewislen',
'show_archived_in_list' => 'Eitemau wedi eu harchifio',
'show_archived_in_list_text' => 'Dangos asedau sydd wedi\'i archifio yn "holl asedau"',
'show_images_in_email' => 'Dangos lluniau mewn ebyst',
'show_images_in_email_help' => 'Tynnwch y tic or bocs yma os yw eich copi o Snipe-IT tu ol i VPN neu o fewn rhwydwaith caedig os ni fydd yn bosib i defnyddwyr gweld lluniau yn ebyst o\'r system yma.',
'site_name' => 'Enw Safle',
'slack_botname' => 'Enwbot Slack',
'slack_channel' => 'Sianel Slack',
'slack_endpoint' => 'Slack Endpoint',
'slack_integration' => 'Gosodiadau Slack',
'slack_integration_help' => 'Mae integreiddio hefo clack yn ddeisol ond mae\'r endpoint a sianel yn hanfodol os ydych am ei ddefnyddio. I configo integreiddio hefo slack rhaid i chi creu <a href=":slack_link" target="_new" rel="noopener">incoming webhook</a> ar eich cyfrif Slack.',
'slack_integration_help_button' => 'Ar ol arbed eich wybodaeth Slack cewch fotwm profi.',
'slack_test_help' => 'Profi eich gosodiadau slack. Rhaid i chi arbed eich gosodiadau gyntaf.',
'snipe_version' => 'Fersiwn Snipe-IT',
'support_footer' => 'Cefnogi lincs ar waelod tudalenau ',
'support_footer_help' => 'Nodi pwy sydd yn gallu gweld y wybodaeth cefnogi ar canllaw defnyddwyr',
'version_footer' => 'Fersiwn ar waelod tudalen ',
'version_footer_help' => 'Nodi pwy sydd yn cael gweld fersiwn Snipe-IT.',
'system' => 'Gwybodaeth System',
'update' => 'Diweddaru Gosodiadau',
'value' => 'Gwerth',
'brand' => 'Brandio',
'about_settings_title' => 'Amdan Gosodiadau',
'about_settings_text' => 'Mae\'r gosodiadau yma yn caniatau i chi addasu elfennau o\'r system.',
'labels_per_page' => 'Labeli fesul tudalen',
'label_dimensions' => 'Maint labeli (modfedd)',
'next_auto_tag_base' => 'Rhif unigryw awtomatig nesaf',
'page_padding' => 'Maint tudalen (modfedd)',
'privacy_policy_link' => 'Linc i\'r polisi preifatrwydd',
'privacy_policy' => 'Polisi preifatrwydd',
'privacy_policy_link_help' => 'Os yw URL wedi\'i gynnwys yma, bydd dolen i\'ch polisi preifatrwydd yn cael ei chynnwys yn nhroedyn yr ap ac mewn unrhyw negeseuon e-bost y mae\'r system yn eu hanfon, yn unol â GDPR. ',
'purge' => 'Clirio cofnodion sydd wedi\'i dileu',
'labels_display_bgutter' => 'Label gwaelod',
'labels_display_sgutter' => 'Label ochor',
'labels_fontsize' => 'Maint ffont label',
'labels_pagewidth' => 'Lled tudalen label',
'labels_pageheight' => 'Uchder tudalen label',
'label_gutters' => 'Bylchau labelau (modfedd)',
'page_dimensions' => 'Maint tudalen (modfedd)',
'label_fields' => 'Meysydd weledol labelau',
'inches' => 'modfedd',
'width_w' => 'll',
'height_h' => 'u',
'show_url_in_emails' => 'Linc i Snipe-IT mewn ebyst',
'show_url_in_emails_help_text' => 'Tynnwch y tic or bocs yma os nad ydych angen linc yn ol i\'r system Snipe-IT yr waelod ebost. O defnydd os nad yw eich defnyddwyr yn mewngofnodi. ',
'text_pt' => 'pt',
'thumbnail_max_h' => 'Uchder fwyaf thumbnail',
'thumbnail_max_h_help' => 'Uchafswm uchder mewn pixels gellith thumbnail ymddangos yn listings view. Lleiaf 25, fwyaf 500.',
'two_factor' => 'Dilysu Dau Ffactor',
'two_factor_secret' => 'Cod dilysiant dau factor',
'two_factor_enrollment' => 'Ymrestru dau factor',
'two_factor_enabled_text' => 'Alluogi dwy factor',
'two_factor_reset' => 'Ailosod cyfrinair dwy factor',
'two_factor_reset_help' => 'Wneith hyn gorfodi defnyddiwr i ail ymrestru eu dyfais hefo Google Authenticator. Ellith hyn fod yn fuddiol os ydi\'r dyfais sydd wedi ymrestru yn cael ei ddwyn neu golli. ',
'two_factor_reset_success' => 'Dyfais dwy factor wedi\'i ail osod yn llwyddiannus',
'two_factor_reset_error' => 'Wedi methu ailosod dyfais dilysaint dau-factor',
'two_factor_enabled_warning' => 'Bydd galluogi dau ffactor os nad yw wedi\'i alluogi ar hyn o bryd yn eich gorfodi ar unwaith i ddilysu gyda dyfais sydd wedi\'i chofrestru gan Google Auth. Bydd gennych y gallu i gofrestru\'ch dyfais os nad yw un wedi\'i gofrestru ar hyn o bryd.',
'two_factor_enabled_help' => 'Bydd hyn yn troi dilysiad dau ffactor ymlaen gan ddefnyddio Google Authenticator.',
'two_factor_optional' => 'Dewisol (Gall defnyddwyr alluogi neu analluogi os caniateir)',
'two_factor_required' => 'Angen ar gyfer holl defnyddwyr',
'two_factor_disabled' => 'Analluogi',
'two_factor_enter_code' => 'Mewnbynwch Cod dilysiant dau factor',
'two_factor_config_complete' => 'Cyflwyno côd',
'two_factor_enabled_edit_not_allowed' => 'Nid yw eich gweinyddwr yn caniatáu ichi olygu\'r gosodiad hwn.',
'two_factor_enrollment_text' => "Mae angen dilysu dau ffactor, ond nid yw'ch dyfais wedi'i chofrestru eto. Agorwch eich app Google Authenticator a sganiwch y cod QR isod i gofrestru'ch dyfais. Ar ôl i chi gofrestru'ch dyfais, nodwch y cod isod",
'require_accept_signature' => 'Angen Llofnod',
'require_accept_signature_help_text' => 'Bydd galluogi\'r nodwedd hon yn ei gwneud yn ofynnol i ddefnyddwyr lofnodi\'n gorfforol wrth dderbyn ased.',
'left' => 'chwith',
'right' => 'dde',
'top' => 'top',
'bottom' => 'gwaelod',
'vertical' => 'fertigol',
'horizontal' => 'llorweddol',
'unique_serial' => 'Rhifau serial unigryw',
'unique_serial_help_text' => 'Bydd gwirio\'r blwch hwn yn gorfodi cyfyngiad unigryw ar gyfresi asedau',
'zerofill_count' => 'Hyd y tagiau asedau, gan gynnwys zerofill',
);
@@ -0,0 +1,22 @@
<?php
return array(
'update' => array(
'error' => 'Gwall wedi digwydd wrth diweddaru. ',
'success' => 'Gosodiadau wedi diweddaru\'n llwyddiannus.'
),
'backup' => array(
'delete_confirm' => 'Ydych yn dymuno dileu y ffeil copi wrth gefn yma? Nid oes modd adfer ar ol dileu. ',
'file_deleted' => 'Wedi llwydo i ddileu y ffeil copi wrth gefn. ',
'generated' => 'Wedi llwyddo i greu ffeil copi wrth gefn.',
'file_not_found' => 'Wedi methu darganfod y ffeil copi wrth gefn ar y server.',
),
'purge' => array(
'error' => 'Gwall wedi digwydd wrth glirio. ',
'validation_failed' => 'Mae eich cadarnhad i clirio yn anghywir. Teipiwch y gair "DELETE" yn y bocs cadarnhad.',
'success' => 'Cofnodion wedi clirio\'n llwyddiannus.'
),
);
@@ -0,0 +1,32 @@
<?php
return array(
'does_not_exist' => 'Nid ywr label Statws yma yn bodoli.',
'assoc_assets' => 'Mae\'r label statws yma wedi perthnasu i oleiaf un ased a nid yw\'n bosib dileu. Diweddarwch eich asedau i beidio cyfeirio at y label yma ac yna ceisiwch eto. ',
'create' => array(
'error' => 'Ni crewyd y label statws, ceisiwch eto o. g. y. dd.',
'success' => 'Label wedi creu yn llwyddiannus.'
),
'update' => array(
'error' => 'Ni diweddarwyd y label statws, ceisiwch eto o. g. y. dd',
'success' => 'Label wedi diweddaru yn llwyddiannus.'
),
'delete' => array(
'confirm' => 'Ydych chi\'n sicr eich bod eisiau dileu\'r label yma?',
'error' => 'Nid oedd yn bosib dileu\'r label statws. Ceisiwch eto o. g. y. dd.',
'success' => 'Label wedi dileu\'n llwyddiannus.'
),
'help' => array(
'undeployable' => 'Nid yw\'n bosib clustnodi\'r ased yma I ddefnyddwyr.',
'deployable' => 'Mae\'r asedau yma ar gael i\'w defnyddio. Unwaith y cânt eu haseinio, byddant yn cymryd statws meta <i class="fa fa-circle text-blue"></i> <strong>Mewn Defnydd</strong>.',
'archived' => 'Ni ellir newid statws yr asedau hyn, dim ond yn yr olygfa archifedig y byddant yn ymddangos. Mae hyn yn ddefnyddiol ar gyfer cadw gwybodaeth am asedau at ddibenion cyllidebu / hanesyddol ond eu cadw allan o\'r rhestr asedau o ddydd i ddydd.',
'pending' => 'Ni ellir aseinio\'r asedau hyn i unrhyw un eto, ddefnyddir yn aml ar gyfer eitemau sydd allan i\'w hatgyweirio, ond y disgwylir iddynt ddychwelyd i\'w cylchrediad.',
),
);
@@ -0,0 +1,19 @@
<?php
return array(
'about' => 'Amdan Labeli Statws',
'archived' => 'Archifwyd',
'create' => 'Creu Label Statws',
'color' => 'Lliw Siart',
'default_label' => 'Label diofyn',
'default_label_help' => 'Defnyddir hyn i sicrhau bod y label statws rydych yn defnyddio mwyaf yn ymddangos gyntaf wrth cre/addasu asedau.',
'deployable' => 'Gellir ei ddefnyddio',
'info' => 'Defnyddir labeli statws i ddisgrifio os yw ased allan i\'w drwsio, ar goll ayyb. Cewch creu labeli newydd ar gyfer asedau sydd ar gael, angen sylw neu wedi archifio.',
'name' => 'Enw Statws',
'pending' => 'Yn aros',
'status_type' => 'Math Statws',
'show_in_nav' => 'Dangos ar y dewislen ochor',
'title' => 'Labeli Statws',
'undeployable' => 'Dim ar gael',
'update' => 'Diweddaru Label Statws',
);
@@ -0,0 +1,27 @@
<?php
return array(
'does_not_exist' => 'Nid yw\'r cyflenwr yn bodoli.',
'create' => array(
'error' => 'Ni crewyd y cyflenwr, ceisiwch eto o. g. y. dd.',
'success' => 'Cyflenwr wedi creu yn llwyddiannus.'
),
'update' => array(
'error' => 'Ni ddiweddarwyd y cyflenwr, ceisiwch eto o. g. y. dd',
'success' => 'Cyflenwr wedi diweddru\'n llwyddiannus.'
),
'delete' => array(
'confirm' => 'Ydych chi\'n siwr eich bod eisiau dileu\'r cyflenwr yma?',
'error' => 'Roedd problem wrth ceisio dileu\'r cyflenwr. Ceisiwch eto o. g. y. dd.',
'success' => 'Cyflenwr wedi dileu\'n llwyddiannus.',
'assoc_assets' => 'Ar hyn o bryd mae\'r cyflenwr hwn yn gysylltiedig ag :asset_count asset(s) ac ni ellir ei ddileu. Diweddarwch eich asedau i beidio â chyfeirio\'r cyflenwr hwn mwyach a rhowch cynnig arall arni. ',
'assoc_licenses' => 'Ar hyn o bryd mae\'r cyflenwr hwn yn gysylltiedig â :licenses_count trwydded(au) ac ni ellir eu dileu. Diweddarwch eich trwyddedau i beidio â chyfeirio\'r cyflenwr hwn mwyach a rhoi cynnig arall arni. ',
'assoc_maintenances' => 'Ar hyn o bryd mae\'r cyflenwr hwn yn gysylltiedig â :asset_maintenances_count maint (au) asedau ac ni ellir ei ddileu. Diweddarwch eich cynhaliaeth asedau i beidio â chyfeirio\'r cyflenwr hwn mwyach a rhoi cynnig arall arni. ',
)
);
@@ -0,0 +1,27 @@
<?php
return array(
'about_suppliers_title' => 'Amdan cyflenwyr',
'about_suppliers_text' => 'Defnyddir cyflenwyr i olrhain ffynhonnell eitemau',
'address' => 'Cyfeiriad Cyflenwr',
'assets' => 'Asedau',
'city' => 'Dinas',
'contact' => 'Enw Cyswllt',
'country' => 'Gwlad',
'create' => 'Creu Cyflenwr',
'email' => 'Ebost',
'fax' => 'Ffacs',
'id' => 'Rhif Unigryw',
'licenses' => 'Trwyddedau',
'name' => 'Enw Cyflenwr',
'notes' => 'Nodiadau',
'phone' => 'Ffôn',
'state' => 'Talaith',
'suppliers' => 'Cyflenwyr',
'update' => 'Diweddaru Cyflenwr',
'url' => 'URL',
'view' => 'Gweld Cyflenwr',
'view_assets_for' => 'Gweld asedau ar gyfer',
'zip' => 'Côd Post',
);
+27
View File
@@ -0,0 +1,27 @@
<?php
return array(
'activated_help_text' => 'Fedrith y defnyddiwr yma mewngofnodi',
'activated_disabled_help_text' => 'Nid yw\'n bosib newid statws eich cyfrif.',
'assets_user' => 'Asedu wedi aseinio i :name',
'bulk_update_warn' => 'Rydych am golygu manylion :user_count o ddefnyddwyr. Nodwch, nid yw\'n bosib i chi newid manylion eich cyfrif yma. Rhaid i chi golygu manylion eich cyfrif yn unigol.',
'bulk_update_help' => 'Mae\'r ffurflen hon yn caniatáu ichi ddiweddaru nifer o defnyddwyr ar unwaith. Llenwch y meysydd sydd angen i chi eu newid yn unig. Bydd unrhyw bwlch a adewir yn wag yn aros yr un fath.',
'current_assets' => 'Asedau wedi aseinio ar hyn o bryd i\'r defnyddiwr yma',
'clone' => 'Dyblygu Defnyddiwr',
'contact_user' => 'Cyswllt :name',
'edit' => 'Golygu Defnyddiwr',
'filetype_info' => 'Math o ffeiliau a caniateir yw png, gif, jpg, jpeg, doc, docx, pdf, txt, zip, a rar.',
'history_user' => 'Hanes ar gyfer :name',
'info' => 'Gwybodaeth',
'restore_user' => 'Cliciwch yma yw adfer.',
'last_login' => 'Mewngofnodi Diwethaf',
'ldap_config_text' => 'Gweler Gweinyddiaeth > Gosodiadau am gosodiadau LDAP. Mae\'r lleoliad (dewisol) yn cael ei osod am unrhyw defnyddwyr sydd yn cael ei mewnforio.',
'print_assigned' => 'Argraffu Asedau',
'software_user' => 'Meddalwedd allan i :name',
'view_user' => 'Gweld Defnyddiwr :name',
'usercsv' => 'Ffeil CSV',
'two_factor_admin_optin_help' => 'Mae eich gosodiadau admin yn caniatau gorfodaeth dewisol o dilysiant dau-factor. ',
'two_factor_enrolled' => 'Dyfais D2F Wedi Ymuno ',
'two_factor_active' => 'D2F Weithredol ',
);
+59
View File
@@ -0,0 +1,59 @@
<?php
return array(
'accepted' => 'Rydych wedi llwyddo I dderbyn yr ased yma.',
'declined' => 'Rydych wedi llwyddo I wrthod yr ased yma.',
'bulk_manager_warn' => 'Mae eich defnyddwyr wedi diweddaru\'n llwyddiannus ond mae\'r blwch rheolwr heb newid gan fod y rheolwr yn y rhestr o defnyddwyr. Dewisiwch eto heb cynnwys y rheolwr.',
'user_exists' => 'Defnyddiwr yn bodoli yn barod!',
'user_not_found' => 'Nid yw defnyddiwr [:id] yn bodoli.',
'user_login_required' => 'Mae angen llenwi\'r maes login',
'user_password_required' => 'Rhaid gosod cyfrinair.',
'insufficient_permissions' => 'Diffyg Hawliau.',
'user_deleted_warning' => 'Defnyddiwr wedi\'i dileu. Rhaid adfer y defnyddiwr I newid eu manylion neu clustnodi ased iddynt.',
'ldap_not_configured' => 'Nid ywr gosodiadau I dilysu trwy LDAP wedi gosod ar y system.',
'success' => array(
'create' => 'Wedi llwyddo i greu defnyddiwr.',
'update' => 'Wedi llwyddo i diweddaru defnyddiwr.',
'update_bulk' => 'Wedi lwyddo i diweddaru defnyddwyr!',
'delete' => 'Wedi dileu\'r defnyddiwr llwyddiannus.',
'ban' => 'Wedi llwyddo i wahardd defnyddiwr.',
'unban' => 'Wedi llwyddo i anwahardd defnyddiwr.',
'suspend' => 'Wedi llwyddo i wahardd y defnyddiwr.',
'unsuspend' => 'Wedi llwyddo i anwahardd defnyddiwr.',
'restored' => 'Wedi adfer y defnyddiwr yn llwyddiannus.',
'import' => 'Defnyddwyr wedi mewnforio\'n llwyddiannus.',
),
'error' => array(
'create' => 'Roedd problem wrth ceisio creu\'r defnyddiwr. Ceisiwch eto o. g. y. dd.',
'update' => 'Roedd problem wrth ceisio diweddaru\'r defnyddiwr. Ceisiwch eto o. g. y. dd.',
'delete' => 'Roedd problem wrth ceisio dileu\'r defnyddiwr. Ceisiwch eto o. g. y. dd.',
'delete_has_assets' => 'Offer wedi nodi yn erbyn y defnyddiwr felly heb ei ddileu.',
'unsuspend' => 'Roedd problem wrth ceisio alluogi\'r defnyddiwr. Ceisiwch eto o. g. y. dd.',
'import' => 'Roedd problem wrth ceisio mewnforio defnyddwyr. Ceisiwch eto o. g. y. dd.',
'asset_already_accepted' => 'Ased wedi\'i dderbyn yn barod.',
'accept_or_decline' => 'Rhaid i chi unai derbyn neu gwrthod yr ased yma.',
'incorrect_user_accepted' => 'Rydych wedi ceisio derbyn ased sydd ddim wedi nodi yn erbyn eich cyfrif.',
'ldap_could_not_connect' => 'Wedi methu cyylltu trwy LDAP. Gwiriwch eich gosodiadau LDAP. <br>Error from LDAP Server:',
'ldap_could_not_bind' => 'Wedi methu cysylltu trwy LDAP. Gwiriwch eich gosodiadau LDAP. <br>Error from LDAP Server: ',
'ldap_could_not_search' => 'Wedi methu cyraedd y server LDAP. Gwiriwch eich gosodiadau LDAP. <br>Error from LDAP Server:',
'ldap_could_not_get_entries' => 'Wedi methu llwytho data trwy LDAP. Gwiriwch eich gosodiadau LDAP. <br>Error from LDAP Server:',
'password_ldap' => 'Mae eich cyfrinair wedi\'i rheoli trwy LDAP/Active Directory. Cysylltwch a\'r Adran TGCh i\'w newid. ',
),
'deletefile' => array(
'error' => 'Ffeil heb ei ddileu. Ceisiwch eto o. g. y. dd.',
'success' => 'Ffeil wedi dileu yn llwyddiannus.',
),
'upload' => array(
'error' => 'Ffeil(iau) heb ei uwchlwytho. Ceisiwch eto o. g. y. dd.',
'success' => 'Ffeil(iau) wedi uwchlwytho yn llwyddiannus.',
'nofiles' => 'Nid ydych wedi dewis unrhyw ffeiliau i\'w uwchlwytho',
'invalidfiles' => 'Mae un neu mwy o\'r ffeiliau unai yn rhy fawr neu ddim y math cywir. Derbynir png, gif, fjp, doc, docx, pdf a txt.',
),
);
+38
View File
@@ -0,0 +1,38 @@
<?php
return array(
'activated' => 'Gweithredol',
'allow' => 'Caniatau',
'checkedout' => 'Asedau',
'created_at' => 'Crëwyd',
'createuser' => 'Creu Defnyddiwr',
'deny' => 'Gwrthod',
'email' => 'E-bost',
'employee_num' => 'Rhif Cyflogai.',
'first_name' => 'Enw cyntaf',
'groupnotes' => 'Dewiswch grwp i asseinio i\'r defnyddiwr, cofiwch bod y defnyddiwr yn etifeddu hawliau\'r grwp.',
'id' => 'Rhif Unigryw',
'inherit' => 'Etifeddu',
'job' => 'Teitl Swydd',
'last_login' => 'Mewngofnododd Diwethaf',
'last_name' => 'Enw Olaf',
'location' => 'Lleoliad',
'lock_passwords' => 'Nid yw\'n bosib newid manylion mewngofnodi ar y system yma.',
'manager' => 'Rheolwr',
'managed_locations' => 'Lleoliadau a Reolir',
'name' => 'Enw',
'notes' => 'Nodiadau',
'password_confirm' => 'Cadarnhau\'r Cyfrinair',
'password' => 'Cyfrinair',
'phone' => 'Ffôn',
'show_current' => 'Dangos Defnyddwyr Presennol',
'show_deleted' => 'Dangos Defnyddwyr sydd wedi\'i dileu',
'title' => 'Teitl',
'to_restore_them' => 'i adfer nhw.',
'updateuser' => 'Diweddaru Defnyddiwr',
'username' => 'Enw defnyddiwr',
'user_deleted_text' => 'Mae\'r defnyddiwr hwn wedi\'i farcio fel un sydd wedi\'i ddileu.',
'username_note' => '(Wedi defnyddio ar gyfer clymu i Active Directory yn unig, nid ar gyfer mewngofnodi.)',
'cloneuser' => 'Dyblygu Defnyddiwr',
'viewusers' => 'Gweld Defnyddwyr',
);
+12
View File
@@ -0,0 +1,12 @@
<?php
return [
'send_password_link' => 'Danfonwch Linc Ail-osod Cyfrinair',
'email_reset_password' => 'Ailosod Cyfrinair trwy ebost',
'reset_password' => 'Ail-osod Cyfrinair',
'login' => 'Mewngofnodi',
'login_prompt' => 'Mewngofnodwch',
'forgot_password' => 'Wedi anghofio\'r cyfrinair',
'remember_me' => 'Cofiwch fi',
];
+37
View File
@@ -0,0 +1,37 @@
<?php
return array(
'account_already_exists' => 'Mae cyfrif hefo\'r cyfeiriad ebost yma yn bodoli yn barod.',
'account_not_found' => 'Mae eich enw defnyddiwr neu gyfrinair yn anghywir.',
'account_not_activated' => 'Nid yw\'r cyfrif defnyddiwr hwn wedi\'i actifadu.',
'account_suspended' => 'Mae\'r cyfrif defnyddiwr hwn wedi\'i atal.',
'account_banned' => 'Mae\'r cyfrif defnyddiwr hwn wedi\'i atal.',
'throttle' => 'Gormod o ymdrechion mewngofnodi wedi methu. Rhowch gynnig arall arni o gwmpas : minutes munud(au).',
'signin' => array(
'error' => 'Roedd yna broblem wrth i chi fewngofnodi. Rhowch gynnig arall arni so gwelwch yn dda.',
'success' => 'Rydych wedi llwydo i fewngofnodi.',
),
'signup' => array(
'error' => 'Roedd yna broblem wrth creu eich cyfrif, rhowch gynnig arall arni so gwelwch yn dda.',
'success' => 'Cyfrif wedi\'i creu yn llwyddiannus.',
),
'forgot-password' => array(
'error' => 'Roedd yna broblem wrth ceisio cael côd newid cyfrinair, rhowch gynnig arall arni so gwelwch yn dda.',
'success' => 'Ebost adfer cyfrinair wedi\'i yrru.',
),
'forgot-password-confirm' => array(
'error' => 'Roedd yna broblem wrth ceisio newid cyfrinair, rhowch gynnig arall arni so gwelwch yn dda.',
'success' => 'Mae eich cyfrinair wedi\'i ailosod yn llwyddiannus.',
),
'activate' => array(
'error' => 'Roedd problem wrth geisio actifadu eich cyfrif, ceisiwch eto.',
'success' => 'Mae\'ch cyfrif wedi\'i actifadu\'n llwyddiannus.',
),
);
+16
View File
@@ -0,0 +1,16 @@
<?php
return array(
'actions' => 'Gweithredoedd',
'add' => 'Ychwanegu newydd',
'cancel' => 'Canslo',
'checkin_and_delete' => 'Nodi i fewn a dileu defnyddiwr',
'delete' => 'Dileu',
'edit' => 'Addasu',
'restore' => 'Adfer',
'request' => 'Gofynnwyd amdano',
'submit' => 'Cyflwyno',
'upload' => 'Uwchlwytho',
'select_file' => 'Dewis ffeil...',
'select_files' => 'Dewis ffeiliau...',
);
+224
View File
@@ -0,0 +1,224 @@
<?php
return [
'accessories' => 'Ategolion',
'activated' => 'Actifadu',
'accessory' => 'Ategolyn',
'accessory_report' => 'Adroddiad Ategolion',
'action' => 'Gweithred',
'activity_report' => 'Adroddiad gweithgaredd',
'address' => 'Cyfeiriad',
'admin' => 'Gweinyddol',
'administrator' => 'Gweinyddwr',
'add_seats' => 'Seddi wedi\'i ychwanegu',
'all_assets' => 'Holl asedau',
'all' => 'Pob',
'archived' => 'Archifwyd',
'asset_models' => 'Modelau Ased',
'asset_model' => 'Model',
'asset' => 'Ased',
'asset_report' => 'Adroddiad Ased',
'asset_tag' => 'Tag Ased',
'assets_available' => 'asedau ar gael',
'audit' => 'Awdit',
'audit_report' => 'Log Awdit',
'assets' => 'Asedau',
'avatar_delete' => 'Dileu Avatar',
'avatar_upload' => 'Uwchlwytho Avatar',
'back' => 'Yn ôl',
'bad_data' => 'Heb darganfod, Efallai data drwg?',
'bulkaudit' => 'Awdit swmp',
'bulkaudit_status' => 'Statws Awdit',
'bulk_checkout' => 'Nodi swmp allan',
'cancel' => 'Canslo',
'categories' => 'Categoriau',
'category' => 'Categori',
'change' => 'Mewn/Allan',
'changeemail' => 'Newid cyfeiriad ebost',
'changepassword' => 'Newid cyfrinair',
'checkin' => 'Nodi i mewn',
'checkin_from' => 'Nodi i fewn ers',
'checkout' => 'Nodi allan',
'checkouts_count' => 'Sawl allan',
'checkins_count' => 'Sawl i mewn',
'user_requests_count' => 'Ceisiadau',
'city' => 'Dinas',
'click_here' => 'Cliciwch yma',
'clear_selection' => 'Clirio Dewis',
'companies' => 'Cwmniau',
'company' => 'Cwmni',
'component' => 'Cydran',
'components' => 'Cydrannau',
'complete' => 'Wedi cwbwlhau',
'consumable' => 'Nwyddau traul',
'consumables' => 'Nwyddau traul',
'country' => 'Gwlad',
'create' => 'Creu newydd',
'created' => 'Eitem wedi\'i Greu',
'created_asset' => 'ased wedi creu',
'created_at' => 'Crëwyd',
'updated_at' => 'Diweddarwyd ar',
'currency' => '$', // this is deprecated
'current' => 'Cyfredol',
'custom_report' => 'Adroddiad Asedau Addasedig',
'dashboard' => 'Dashfwrdd',
'days' => 'dyddiau',
'days_to_next_audit' => 'Dyddiau tan yr awdit nesaf',
'date' => 'Dyddiad',
'debug_warning' => 'Rhybudd!',
'debug_warning_text' => 'Mae\'r cymhwysiad hwn yn rhedeg yn y modd cynhyrchu gyda debugging wedi\'i alluogi. Gall hyn ddatgelu data sensitif os yw\'ch cais yn hygyrch i\'r byd y tu allan. Analluoga modd dadfygio trwy osod y <code>APP_DEBUG</code> gwerth yn <code>.env</code> ffeil i<code>false</code>.',
'delete' => 'Dileu',
'delete_confirm' => 'Ydych chi\'n sicr eich bod eisiau dileu\'r :item?',
'deleted' => 'Wedi Dileu',
'delete_seats' => 'Seddi wedi dileu',
'departments' => 'Adrannau',
'department' => 'Adran',
'deployed' => 'Mewn defnydd',
'depreciation_report' => 'Adroddiad Dibrisiant',
'details' => 'Manylion',
'download' => 'Lawrlwytho',
'depreciation' => 'Dibrisiant',
'editprofile' => 'Golygu eich Proffil',
'eol' => 'DB',
'email_domain' => 'Parth Ebost',
'email_format' => 'Fformat Ebost',
'email_domain_help' => 'Defnyddir hwn i gynhyrchu cyfeiriadau e-bost wrth fewnforio',
'filastname_format' => 'Llythyren Cyntaf Enw Cyntaf Cyfenw (jsmith@example.com)',
'firstname_lastname_format' => 'Enw Cyntaf Enw Olaf (jane.smith@example.com)',
'firstname_lastname_underscore_format' => 'Enw Cyntaf Enw Olaf (jane.smith@example.com)',
'lastnamefirstinitial_format' => 'Enw Olaf Llythyren Cyntaf Enw Cyntaf (smithj@example.com)',
'first' => 'Cyntaf',
'first_name' => 'Enw cyntaf',
'first_name_format' => 'Enw Cyntaf (jane@example.com)',
'files' => 'Ffeiliau',
'file_name' => 'Ffeil',
'file_uploads' => 'Ffeiliau wedi uwchlwytho',
'generate' => 'Creu',
'github_markdown' => 'Mae\'r maes yma yn derbyn<a href="https://help.github.com/articles/github-flavored-markdown/">markdown GitHub</a>.',
'groups' => 'Grŵpiau',
'gravatar_email' => 'Cyfeiriad ebost Gravatar',
'history' => 'Hanes',
'history_for' => 'Hanes ar gyfer',
'id' => 'Rhif Unigryw',
'image' => 'Delwedd',
'image_delete' => 'Dileu Delwedd',
'image_upload' => 'Uwchlwytho delwedd',
'image_filetypes_help' => 'Mathau o ffeiliau a dderbynnir yw jpg, png, gif, a svg. Maint mwyaf yw :size.',
'import' => 'Mewnforio',
'import-history' => 'Mewnforio hanes',
'asset_maintenance' => 'Cynnal a chadw Ased',
'asset_maintenance_report' => 'Adroddiad cynnal a chadw ased',
'asset_maintenances' => 'Cynnal a chadw Ased',
'item' => 'Eitem',
'insufficient_permissions' => 'Diffyg Hawliau!',
'language' => 'Iaith',
'last' => 'Olaf',
'last_login' => 'Mewngofnododd Diwethaf',
'last_name' => 'Enw Olaf',
'license' => 'Trwydded',
'license_report' => 'Adroddiad Trwydded',
'licenses_available' => 'trwyddedau ar gael',
'licenses' => 'Trwyddedau',
'list_all' => 'Rhestru holl',
'loading' => 'Llwytho',
'lock_passwords' => 'Nid oes modd golygu\'r maes yma.',
'feature_disabled' => 'Mae\'r nodwedd hon wedi\'i anablu ar gyfer y gosodiad demo.',
'location' => 'Lleoliad',
'locations' => 'Lleoliadau',
'logout' => 'Allgofnodi',
'lookup_by_tag' => 'Chwilio gan tag ased',
'maintenances' => 'Cynnal a Chadw',
'manufacturer' => 'Gwneuthyrwr',
'manufacturers' => 'Gwneuthyrwr',
'markdown' => 'Mae\'r maes yma yn derbyn<a href="https://help.github.com/articles/github-flavored-markdown/">markdown GitHub</a>.',
'min_amt' => 'Nifer Lleiaf',
'min_amt_help' => 'Lleiafswm yr eitemau a ddylai fod ar gael cyn i rybudd gael ei sbarduno.',
'model_no' => 'Rhif Model.',
'months' => 'misoedd',
'moreinfo' => 'Mwy o wybodaeth',
'name' => 'Enw',
'next' => 'Nesaf',
'next_audit_date' => 'Dyddiad awdit nesaf',
'last_audit' => 'Awdit diwethaf',
'new' => 'newydd!',
'no_depreciation' => 'Dim Dibrisiant',
'no_results' => 'Dim canlyniadau.',
'no' => 'Na',
'notes' => 'Nodiadau',
'order_number' => 'Rhif Archeb',
'page_menu' => 'Showing _MENU_ items',
'pagination_info' => 'Showing _START_ to _END_ of _TOTAL_ items',
'pending' => 'Yn disgwl',
'people' => 'Pobol',
'per_page' => 'Canlyniadau fesul tudalen',
'previous' => 'Blaenorol',
'processing' => 'Prosesu',
'profile' => 'Eich proffil',
'purchase_cost' => 'Cost pwrcasu',
'purchase_date' => 'Dyddiad Pwrcasu',
'qty' => 'Nifer',
'quantity' => 'Nifer',
'ready_to_deploy' => 'Barod i\'w defnyddio',
'recent_activity' => 'Gweithgareddau Diweddar',
'remove_company' => 'Dileu Cymdeithas y Cwmni',
'reports' => 'Adroddiadau',
'restored' => 'wedi adfer',
'requested' => 'Gofynnwyd amdano',
'request_canceled' => 'Cais wedi dileu',
'save' => 'Cadw',
'select' => 'Dewis',
'search' => 'Chwilio',
'select_category' => 'Dewis Categorï',
'select_department' => 'Dewsi Adran',
'select_depreciation' => 'Dewis math o dibrisiant',
'select_location' => 'Dewis lleoliad',
'select_manufacturer' => 'Dewis Gwneuthyrwr',
'select_model' => 'Dewis model',
'select_supplier' => 'Dewis Cyflenwr',
'select_user' => 'Dewiswch Defnyddiwr',
'select_date' => 'Dewis Dyddiad (YYYY-MM-DD)',
'select_statuslabel' => 'Dewis Statws',
'select_company' => 'Dewis Cwmni',
'select_asset' => 'Dewis Ased',
'settings' => 'Gosodiadau',
'show_deleted' => 'Dangos Wedi Dileu',
'show_current' => 'Dangos Cyfredol',
'sign_in' => 'Mewngofnodi',
'signature' => 'Llofnod',
'skin' => 'Skin',
'some_features_disabled' => 'MODE DEMO: Mae rhai nodweddion wedi analluogi ar gyfer y gosodiad hwn.',
'site_name' => 'Enw Safle',
'state' => 'Talaith',
'status_labels' => 'Labeli Statws',
'status' => 'Statws',
'supplier' => 'Cyflenwr',
'suppliers' => 'Cyflenwyr',
'sure_to_delete' => 'Ydych chi\'n sicr eich bod eisiau dileu',
'submit' => 'Cyflwyno',
'target' => 'Targed',
'time_and_date_display' => 'Dangos Dyddiad ac Amser',
'total_assets' => 'cyfanswm asedau',
'total_licenses' => 'cyfanswm trwyddedau',
'total_accessories' => 'cyfanswm ategolion',
'total_consumables' => 'cyfanswm nwyddau traul',
'type' => 'Math',
'undeployable' => 'Ddim modd nodi allan',
'unknown_admin' => 'Gweinydd Anhysbys',
'username_format' => 'Fformat enw defnyddiwr',
'update' => 'Diweddaru',
'upload_filetypes_help' => 'Mathau o ffeiliau a derbynnir yw png, gif, jpg, jpeg, doc, docx, pdf, xls, txt, lic, zip, a rar. Maint fwyaf yw :size.',
'uploaded' => 'Wedi Uwchlwytho',
'user' => 'Defnyddiwr',
'accepted' => 'derbynnir',
'declined' => 'gwrthod',
'unaccepted_asset_report' => 'Asedau heb ei dderbyn',
'users' => 'Defnyddwyr',
'viewassets' => 'Gweld asedau sydd wedi clustnodi',
'website' => 'Gwefan',
'welcome' => 'Croeso, :name',
'years' => 'blynyddoedd',
'yes' => 'Ie',
'zip' => 'Côd Post',
'noimage' => 'Dim delwedd wedi\'i uwchlwytho neu delwedd heb ei darganfod.',
'token_expired' => 'Mae eich sesiwn wedi dod i ben. Mewngofnodwch eto os gwelwch yn dda.',
];
+72
View File
@@ -0,0 +1,72 @@
<?php
return array(
'a_user_canceled' => 'Mae defnyddiwr wedi canslo cais am eitem ar y wefan',
'a_user_requested' => 'Mae defnyddiwr wedi gwneud cais am eitem ar y wefan',
'accessory_name' => 'Enw Ategolyn:',
'additional_notes' => 'Nodiadau ychwanegol:',
'admin_has_created' => 'Mae gweinyddwr wedi creu cyfrif i chi a yr :web wefan.',
'asset' => 'Ased:',
'asset_name' => 'Enw Ased:',
'asset_requested' => 'Gofynnwyd am ased',
'asset_tag' => 'Tag Ased:',
'assigned_to' => 'Wedi Neilltuo i',
'best_regards' => 'Cofon gorau,',
'canceled' => 'Wedi canslo:',
'checkin_date' => 'Dyddian i mewn:',
'checkout_date' => 'Dyddiad Allan:',
'click_to_confirm' => 'Cliciwch ar y ddolen ganlynol i gadarnhau eich cyfrif :gwe:',
'click_on_the_link_accessory' => 'Cliciwch ar y ddolen ar y gwaelod i gadarnhau eich bod wedi derbyn yr ategolyn.',
'click_on_the_link_asset' => 'Cliciwch ar y ddolen ar y gwaelod i gadarnhau eich bod wedi derbyn yr ased.',
'Confirm_Asset_Checkin' => 'Cadarnhau Derbyn Ased i fewn.',
'Confirm_Accessory_Checkin' => 'Cadarnhau Derbyn ategolyn i fewn.',
'Confirm_accessory_delivery' => 'Cadranhau danfon atgolyn.',
'Confirm_license_delivery' => 'Cadranhau danfon trwydded.',
'Confirm_asset_delivery' => 'Cadranhau danfon ased.',
'Confirm_consumable_delivery' => 'Cadranhau danfon nwydd traul.',
'current_QTY' => 'Nifer cyfredol',
'Days' => 'Dyddiau',
'days' => 'Dydd',
'expecting_checkin_date' => 'Dyddiad disgwl i mewn:',
'expires' => 'Dod i ben',
'Expiring_Assets_Report' => 'Adroddiad Asedau sy\'n Dod i Ben.',
'Expiring_Licenses_Report' => 'Adroddiad Trwyddedua sy\'n Dod i Ben.',
'hello' => 'Helo',
'hi' => 'Hi',
'i_have_read' => 'Rwyf wedi darllen a chytuno â\'r telerau defnyddio, ac wedi derbyn yr eitem hon.',
'item' => 'Eitem:',
'Item_Request_Canceled' => 'Cais am eitem wedi canslo',
'Item_Requested' => 'Wedi gwneud cais am eitem',
'link_to_update_password' => 'Cliciwch ar y ddolen ganlynol i gadarnhau eich cyfrinair :gwe:',
'login_first_admin' => 'Mewngofnodi i\'ch gosodiad Snipe-IT newydd gan ddefnyddio\'r manylion isod:',
'login' => 'Mewngofnodi:',
'Low_Inventory_Report' => 'Adroddiad Inventory Isel',
'min_QTY' => 'Nifer Lleiaf',
'name' => 'Enw',
'new_item_checked' => 'Mae eitem newydd wedi\'i gwirio o dan eich enw, mae\'r manylion isod.',
'password' => 'Cyfrinair:',
'password_reset' => 'Ailosod Cyfrinair',
'read_the_terms' => 'Darllenwch y telerau defnyddio isod.',
'read_the_terms_and_click' => 'Darllenwch y telerau defnyddio isod, a chliciwch ar y ddolen ar y gwaelod i gadarnhau eich bod chi\'n darllen
a chytuno i\'r telerau defnyddio, ac wedi derbyn yr ased.',
'requested' => 'Gofynnwyd amdano:',
'reset_link' => 'Eich dolen Ail-osod Cyfrinair',
'reset_password' => 'Cliciwch yma i ailosod eich cyfrinair:',
'serial' => 'Serial',
'supplier' => 'Cyflenwr',
'tag' => 'Tag',
'test_email' => 'Ebost prawf gan Snipe-IT',
'test_mail_text' => 'Prawf yw hwn o\'r System Rheoli Asedau Snipe-IT. Os cawsoch chi hwn, mae\'r ebostyn gweithio :)',
'the_following_item' => 'Mae\'r eitem yma wedi nodi i fewn: ',
'low_inventory_alert' => 'Mae yna :count eitem sy\'n is na\'r isafswm neu a fydd yn isel cyn bo hir. | Mae yna :count eitemau sy\'n is na\'r isafswm neu a fydd yn isel cyn bo hir.',
'assets_warrantee_alert' => 'Mae yna :count ased gyda gwarant yn dod i ben yn ystod y :threshold dydd nesaf | Mae :count asedau gyda gwarantau yn dod i ben yn y :threshold diwrnod nesaf.',
'license_expiring_alert' => 'Mae yna :count trwydded yn dod i ben yn ystod y :threshold diwrnod nesaf | Mae :count trwyddedau yn dod i ben yn y :threshold diwrnod nesaf.',
'to_reset' => 'I ailosod eich cyfrinair :web, cwblhewch y ffurflen hon:',
'type' => 'Math',
'user' => 'Defnyddiwr',
'username' => 'Enw defnyddiwr',
'welcome' => 'Croeso, :name',
'welcome_to' => 'Croeso i :web!',
'your_credentials' => 'Eich manylion defnyddiwr Snipe-IT',
);
+20
View File
@@ -0,0 +1,20 @@
<?php
return array(
/*
|--------------------------------------------------------------------------
| Pagination Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used by the paginator library to build
| the simple pagination links. You are free to change them to anything
| you want to customize your views to better match your application.
|
*/
'previous' => '&laquo; Yn ol',
'next' => 'Nesaf &raquo;',
);
+7
View File
@@ -0,0 +1,7 @@
<?php
return [
'sent' => 'Mae eich linc cyfrinair wedi\'i yrru!',
'user' => 'Dim defnyddiwr wedi\'i ddarganfod hefo\'r cyfeiriad ebost yna.',
];
+24
View File
@@ -0,0 +1,24 @@
<?php
return array(
/*
|--------------------------------------------------------------------------
| Password Reminder Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are the default lines which match reasons
| that are given by the password broker for a password update attempt
| has failed, such as for an invalid token or invalid new password.
|
*/
"password" => "Rhaid i cyfrineiriau fod yn chwe nod ac cyfateb i'r cadarnhad.",
"user" => "Enw defnyddiwr neu cyfrinair yn anghywir",
"token" => "Nid yw'r tocyn ail-osod cyfrinair yma yn ddilys.",
"sent" => "Os yw'r cyfeiriad ebost yn ddilys, cewch nodyn atgoffa!",
);
+10
View File
@@ -0,0 +1,10 @@
<?php
return array(
'actions' => 'Gweithredoedd',
'action' => 'Gweithred',
'by' => 'Erbyn',
'item' => 'Eitem',
);
+137
View File
@@ -0,0 +1,137 @@
<?php
return array(
/*
|--------------------------------------------------------------------------
| Validation Language Lines
|--------------------------------------------------------------------------
|
| The following language lines contain the default error messages used by
| the validator class. Some of these rules have multiple versions such
| such as the size rules. Feel free to tweak each of these messages.
|
*/
'accepted' => 'Rhaid derbyn y :attribute.',
'active_url' => 'Nid ywr :attribute yn URL dilys.',
'after' => 'Rhaid i\'r :attribute bod yn dyddiad ar ol :date.',
'after_or_equal' => 'Rhaid i\'r :attribute bod yn dyddiad ar ol neu yn hafal i :date.',
'alpha' => 'Rhaid ir :attribute cynnwys llythrennau yn unig.',
'alpha_dash' => 'Fedrith y :attribute dim ond cynnwys llythrennau, rhifau a dashes.',
'alpha_num' => 'Rhaid ir :attribute cynnwys llythrennau a rhifau yn unig.',
'array' => 'Rhaid i :attribute fod yn array.',
'before' => 'Rhaid i\'r :attribute bod yn dyddiad cyn :date.',
'before_or_equal' => 'Rhaid i\'r :attribute bod yn dyddiad cyn neu yn hafal i :date.',
'between' => [
'numeric' => 'Rhaid i\'r :attribute bod rhwng :min - :max.',
'file' => 'Rhaid i\'r :attribute bod rhwng :min - :max kilobytes.',
'string' => 'Rhaid i\'r :attribute bod rhwng :min - :max characters.',
'array' => 'Rhaid i\'r :attribute cael rhwng :min - :max o eitemau.',
],
'boolean' => 'Rhaid i :attribute fod yn wir neu ddim.',
'confirmed' => 'Dydi\'r cadarnhad :attribute ddim yn cydfynd.',
'date' => 'Nid yw\'r :attribute yn dyddiad dilys.',
'date_format' => 'Nid yw\'r :attribute yn cydfynd ar format :format.',
'different' => 'Rhaid i :attribute a :other bod yn wahanol.',
'digits' => 'Rhai i\'r :attribute bod yn :digits o ddigidau.',
'digits_between' => 'Rhaid i\'r :attribute bodrhwng :min - :max o digidau.',
'dimensions' => 'Mae\'r :attribute hefo maint annilys.',
'distinct' => 'Mae\'r :attribute hefo maes sydd wedi\'i dyblygu.',
'email' => 'Mae fformat :attribute yn annilys.',
'exists' => 'Mae\'r :attribute a dewisir yn annilys.',
'file' => 'Rhaid i\'r :attribute bod yn ffeil.',
'filled' => 'Rhaid i\'r maes :attribute cael gwerth.',
'image' => 'Rhaid i\'r :attribute bod yn delwedd.',
'in' => 'Mae\'r :attribute a dewisir yn annilys.',
'in_array' => 'Nid yw\'r maes :attribute yn bodoli yn :other.',
'integer' => 'Rhaid i\'r :attribute bod yn cyfanrif.',
'ip' => 'Rhaid i\'r :attribute bod yn cyfeiriad IP dilys.',
'ipv4' => 'Rhaid i\'r :attribute bod yn cyfeiriad IPv4 dilys.',
'ipv6' => 'Rhaid i\'r :attribute bod yn cyfeiriad IPv6 dilys.',
'json' => 'Rhaid i\'r :attribute bod yn llinyn JSON dilys.',
'max' => [
'numeric' => 'Ni ellir :attribute bod yn fwy na :max.',
'file' => 'Ni ellir :attribute bod yn fwy na :max kilobytes.',
'string' => 'Ni ellir :attribute bod yn fwy na :max chaaracters.',
'array' => 'Ni ellir :attribute cael mwy na :max o eitemau.',
],
'mimes' => 'Rhaid i\'r :attribute bod yn ffeil o\'r math :values.',
'mimetypes' => 'Rhaid i\'r :attribute bod yn ffeil o\'r math: :values.',
'min' => [
'numeric' => 'Rhaid i\'r :attribute bod o leiaf :min.',
'file' => 'Rhaid i\'r :attribute bod o leiaf :min kilobytes.',
'string' => 'Rhaid i\'r :attribute bod o leiaf :min characters.',
'array' => 'Rhaid i\'r :attribute cael o leiaf :min o eitemau.',
],
'not_in' => 'Mae\'r :attribute a dewisir yn annilys.',
'numeric' => 'Rhaid i\'r :attribute bod yn rhif.',
'present' => 'Rhaid i\'r maes :attribute bod yn presennol.',
'valid_regex' => 'Nid yw hyn yn Regex dilys. ',
'regex' => 'Mae\'r fformat :attribute yn annilys.',
'required' => 'Mae angen llenwi\'r maes :attribute.',
'required_if' => 'Mae angen y maes :attribute pan :other yw :value.',
'required_unless' => 'Mae angen y maes :attribute pan :other yn :values.',
'required_with' => 'Mae angen y maes :attribute pan mae :values yn bresennol.',
'required_with_all' => 'Mae angen y maes :attribute pan mae :values yn bresennol.',
'required_without' => 'Mae angen y maes :attribute os dydi\'r :values ddim yn bresennol.',
'required_without_all' => 'Mae angen y maes :attribute os dydi\'r un o :values yn bresennol.',
'same' => 'Rhaid i :attribute a :other cydfynd.',
'size' => [
'numeric' => 'Rhaid i\'r :attribute bod :size.',
'file' => 'Rhaid i\'r :attribute bod o leiaf :size kilobytes.',
'string' => 'Rhaid i\'r :attribute bod o leiaf :size characters.',
'array' => 'Rhaid ir :attribute cynnwys :size eitemau.',
],
'string' => 'Rhaid i\'r :attribute bod yn string.',
'timezone' => 'Rhaid i\'r :attribute bod yn barth dilys.',
'unique' => 'Mae\'r :attribute wedi cymeryd yn barod.',
'uploaded' => 'Mae\'r :attribute wedi fethu uwchlwytho.',
'url' => 'Mae fformat :attribute yn annilys.',
"unique_undeleted" => "Rhaid i'r :attribute bod yn unigryw.",
/*
|--------------------------------------------------------------------------
| Custom Validation Language Lines
|--------------------------------------------------------------------------
|
| Here you may specify custom validation messages for attributes using the
| convention "attribute.rule" to name the lines. This makes it quick to
| specify a specific custom language line for a given attribute rule.
|
*/
/*
|--------------------------------------------------------------------------
| Custom Validation Language Lines
|--------------------------------------------------------------------------
|
| Here you may specify custom validation messages for attributes using the
| convention "attribute.rule" to name the lines. This makes it quick to
| specify a specific custom language line for a given attribute rule.
|
*/
'custom' => [
'alpha_space' => "Mae'r maes :attribute yn cynnwys cymeriad na chaniateir.",
"email_array" => "Mae un neu fwy o gyfeiriadau e-bost yn annilys.",
"hashed_pass" => "Mae eich cyfrinair cyfredol yn anghywir",
'dumbpwd' => 'Mae\'r cyfrinair hwnnw\'n rhy gyffredin.',
"statuslabel_type" => "Rhaid i chi ddewis math label statws dilys",
],
/*
|--------------------------------------------------------------------------
| Custom Validation Attributes
|--------------------------------------------------------------------------
|
| The following language lines are used to swap attribute place-holders
| with something more reader friendly such as E-Mail Address instead
| of "email". This simply helps us make messages a little cleaner.
|
*/
'attributes' => [],
);
+6 -6
View File
@@ -124,8 +124,8 @@ return array(
'snipe_version' => 'Snipe-It έκδοση',
'support_footer' => 'Support Footer Links ',
'support_footer_help' => 'Specify who sees the links to the Snipe-IT Support info and Users Manual',
'version_footer' => 'Version in Footer ',
'version_footer_help' => 'Specify who sees the Snipe-IT version and build number.',
'version_footer' => 'Έκδοση στο υποσέλιδο ',
'version_footer_help' => 'Καθορίστε ποιός μπορεί να δει την έκδοση και τον αριθμό κατασκευής του Snipe-ΙΤ.',
'system' => 'Πληροφορίες συστήματος',
'update' => 'Ενημέρωση ρυθμίσεων',
'value' => 'Τιμή',
@@ -136,8 +136,8 @@ return array(
'label_dimensions' => 'Διαστάσεις ετικέτας (ίντσες)',
'next_auto_tag_base' => 'Επόμενη αυτόματη αύξηση',
'page_padding' => 'Περιθώρια σελίδας (ίντσες)',
'privacy_policy_link' => 'Link to Privacy Policy',
'privacy_policy' => 'Privacy Policy',
'privacy_policy_link' => 'Σύνδεσμος στην Πολιτική Απορρήτου',
'privacy_policy' => 'Πολιτική Απορρήτου',
'privacy_policy_link_help' => 'If a url is included here, a link to your privacy policy will be included in the app footer and in any emails that the system sends out, in compliance with GDPR. ',
'purge' => 'Καθαρισμός αρχείων που έχουν διαγραφεί',
'labels_display_bgutter' => 'Ετικέτα κάτω υδρορροή',
@@ -181,7 +181,7 @@ return array(
'bottom' => 'κάτω μέρος',
'vertical' => 'κάθετα',
'horizontal' => 'οριζόντιος',
'unique_serial' => 'Unique serial numbers',
'unique_serial_help_text' => 'Checking this box will enforce a uniqueness constraint on asset serials',
'unique_serial' => 'Μοναδικοί σειριακοί αριθμοί',
'unique_serial_help_text' => 'Με την επιλογή αυτή θα επιβληθεί ο περιορισμός μοναδικότητας σειριακού αριθμού στα πάγια',
'zerofill_count' => 'Μήκος ετικετών ενεργητικού, συμπεριλαμβανομένου του zerofill',
);
+1 -1
View File
@@ -12,5 +12,5 @@ return array(
'submit' => 'Υποβολή',
'upload' => 'Μεταφόρτωση',
'select_file' => 'Επιλέξτε Αρχείο ...',
'select_files' => 'Select Files...',
'select_files' => 'Επιλογή αρχείων...',
);
+8 -8
View File
@@ -41,10 +41,10 @@
'checkout' => 'Ολοκλήρωση αγοράς',
'checkouts_count' => 'Checkouts',
'checkins_count' => 'Checkins',
'user_requests_count' => 'Requests',
'user_requests_count' => 'Αιτήματα',
'city' => 'Πόλη',
'click_here' => 'Κάντε κλικ ΕΔΩ',
'clear_selection' => 'Clear Selection',
'clear_selection' => 'Καθαρισμός Επιλογής',
'companies' => 'Εταιρείες',
'company' => 'Εταιρεία',
'component' => 'Συστατικό',
@@ -68,14 +68,14 @@
'debug_warning' => 'Προσοχή!',
'debug_warning_text' => 'Αυτή η εφαρμογή εκτελείται σε λειτουργία παραγωγής με ενεργοποιημένο τον εντοπισμό σφαλμάτων. Αυτό μπορεί να εκθέσει τα ευαίσθητα δεδομένα, εάν η εφαρμογή σας είναι προσβάσιμη στον έξω κόσμο. Απενεργοποιήσετε την κατάσταση λειτουργίας εντοπισμού σφαλμάτων, ορίζοντας την τιμή <code>APP_DEBUG</code> στο αρχείο <code>.env</code> για να <code>false</code>.',
'delete' => 'Διαγραφή',
'delete_confirm' => 'Are you sure you wish to delete :item?',
'delete_confirm' => 'Επιθυμείτε την διαφραφή :item;',
'deleted' => 'Διαγράφηκε',
'delete_seats' => 'Διαγραμμένα καθίσματα',
'departments' => 'Τμήματα',
'department' => 'Τμήμα',
'deployed' => 'Έχουν αναπτυχθεί',
'depreciation_report' => 'Αναφορά απόσβεσης',
'details' => 'Details',
'details' => 'Λεπτομέρειες',
'download' => 'Λήψη',
'depreciation' => 'Αποσβέσεις',
'editprofile' => 'Επεξεργασία Προφίλ',
@@ -85,16 +85,16 @@
'email_domain_help' => 'Αυτό χρησιμοποιείται για τη δημιουργία διευθύνσεων ηλεκτρονικού ταχυδρομείου κατά την εισαγωγή',
'filastname_format' => 'Πρώτο αρχικό όνομα (jsmith@example.com)',
'firstname_lastname_format' => 'Όνομα Επώνυμο (jane.smith@example.com)',
'firstname_lastname_underscore_format' => 'First Name Last Name (jane_smith@example.com)',
'lastnamefirstinitial_format' => 'Last Name First Initial (smithj@example.com)',
'firstname_lastname_underscore_format' => 'Όνομα και επίθετο (jane_smith@example.com)',
'lastnamefirstinitial_format' => 'Επίθετο και πρώτο γράμμα ονόματος (smithj@example.com)',
'first' => 'Πρώτο',
'first_name' => 'Όνομα',
'first_name_format' => 'Όνομα (jane@example.com)',
'files' => 'Files',
'files' => 'Αρχεία',
'file_name' => 'Αρχείο',
'file_uploads' => 'Ανέβασμα αρχείου',
'generate' => 'Δημιουργία',
'github_markdown' => 'This field accepts <a href="https://help.github.com/articles/github-flavored-markdown/">Github flavored markdown</a>.',
'github_markdown' => 'Αυτό το πεδίο επιτρέπει <a href="https://help.github.com/articles/github-flavored-markdown/">Github flavored markdown</a>.',
'groups' => 'Ομάδες',
'gravatar_email' => 'Gravatar Email Διεύθυνση',
'history' => 'Ιστορία',

Some files were not shown because too many files have changed in this diff Show More