APP_KEY=SomeRandomString
# Application URL
-# Remove the hash below and set a URL if using BookStack behind
-# a proxy or if using a third-party authentication option.
# This must be the root URL that you want to host BookStack on.
-# All URL's in BookStack will be generated using this value.
-#APP_URL=https://example.com
+# All URLs in BookStack will be generated using this value
+# to ensure URLs generated are consistent and secure.
+# If you change this in the future you may need to run a command
+# to update stored URLs in the database. Command example:
+# php artisan bookstack:update-url https://old.example.com https://new.example.com
+APP_URL=https://example.com
# Database details
DB_HOST=localhost
# Can be 'smtp' or 'sendmail'
MAIL_DRIVER=smtp
-# Mail sender options
-MAIL_FROM_NAME=BookStack
+# Mail sender details
+MAIL_FROM_NAME="BookStack"
# SMTP mail options
DB_PASSWORD=database_user_password
# Mail system to use
-# Can be 'smtp', 'mail' or 'sendmail'
+# Can be 'smtp' or 'sendmail'
MAIL_DRIVER=smtp
# Mail sending options
LDAP_PASS=false
LDAP_USER_FILTER=false
LDAP_VERSION=false
+LDAP_START_TLS=false
LDAP_TLS_INSECURE=false
LDAP_ID_ATTRIBUTE=uid
LDAP_EMAIL_ATTRIBUTE=mail
LDAP_DISPLAY_NAME_ATTRIBUTE=cn
+LDAP_THUMBNAIL_ATTRIBUTE=null
LDAP_FOLLOW_REFERRALS=true
LDAP_DUMP_USER_DETAILS=false
SAML2_ONELOGIN_OVERRIDES=null
SAML2_DUMP_USER_DETAILS=false
SAML2_AUTOLOAD_METADATA=false
+SAML2_IDP_AUTHNCONTEXT=true
# SAML group sync configuration
# Refer to https://www.bookstackapp.com/docs/admin/saml2-auth/
DRAWIO=true
# Default item listing view
-# Used for public visitors and user's without a preference
-# Can be 'list' or 'grid'
+# Used for public visitors and user's without a preference.
+# Can be 'list' or 'grid'.
APP_VIEWS_BOOKS=list
APP_VIEWS_BOOKSHELVES=grid
+APP_VIEWS_BOOKSHELF=grid
+
+# Use dark mode by default
+# Will be overriden by any user/session preference.
+APP_DEFAULT_DARK_MODE=false
# Page revision limit
# Number of page revisions to keep in the system before deleting old revisions.
# Contents of the robots.txt file can be overridden, making this option obsolete.
ALLOW_ROBOTS=null
+# A list of hosts that BookStack can be iframed within.
+# Space separated if multiple. BookStack host domain is auto-inferred.
+# For Example: ALLOWED_IFRAME_HOSTS="https://example.com https://a.example.com"
+# Setting this option will also auto-adjust cookies to be SameSite=None.
+ALLOWED_IFRAME_HOSTS=null
+
# The default and maximum item-counts for listing API requests.
API_DEFAULT_ITEM_COUNT=100
API_MAX_ITEM_COUNT=500
--- /dev/null
+# These are supported funding model platforms
+
+github: [ssddanbrown]
--- /dev/null
+---
+name: New API Endpoint or Feature
+about: Request a new endpoint or API feature be added
+labels: ":nut_and_bolt: API Request"
+---
+
+#### API Endpoint or Feature
+
+Clearly describe what you'd like to have added to the API.
+
+#### Use-Case
+
+Explain the use-case that you're working-on that requires the above request.
+
+#### Additional Context
+
+If required, add any other context about the feature request here.
\ No newline at end of file
--- /dev/null
+blank_issues_enabled: false
+contact_links:
+ - name: Discord chat support
+ url: https://discord.gg/ztkBqR2
+ about: Realtime support / chat with the community and the team.
+
+ - name: Debugging & Common Issues
+ url: https://www.bookstackapp.com/docs/admin/debugging/
+ about: Find details on how to debug issues and view common issues with thier resolutions.
@jzoy :: Simplified Chinese
@ististudio :: Korean
@leomartinez :: Spanish Argentina
+@geins :: German
+@Ereza :: Catalan
+@benediktvolke :: German
+@Baptistou :: French
+@arcoai :: Spanish
+@Jokuna :: Korean
cipi1965 :: Italian
Mykola Ronik (Mantikor) :: Ukrainian
furkanoyk :: Turkish
Marco (cdrfun) :: German
10935336 :: Chinese Simplified
孟繁阳 (FanyangMeng) :: Chinese Simplified
+Andrej Močan (andrejm) :: Slovenian
+gilane9_ :: Arabic
+Raed alnahdi (raednahdi) :: Arabic
+Xiphoseer :: German
+MerlinSVK (merlinsvk) :: Slovak
+Kauê Sena (kaue.sena.ks) :: Portuguese, Brazilian
+MatthieuParis :: French
+Douradinho :: Portuguese, Brazilian
+Gaku Yaguchi (tama11) :: Japanese
+johnroyer :: Chinese Traditional
+jackaaa :: Chinese Traditional
+Irfan Hukama Arsyad (IrfanArsyad) :: Indonesian
+Jeff Huang (s8321414) :: Chinese Traditional
+Luís Tiago Favas (starkyller) :: Portuguese
+semirte :: Bosnian
+aarchijs :: Latvian
+Martins Pilsetnieks (pilsetnieks) :: Latvian
+Yonatan Magier (yonatanmgr) :: Hebrew
+FastHogi :: German Informal; German
+Ole Anders (Swoy) :: Norwegian Bokmal
+Atlochowski (atlochowski) :: Polish
+Simon (DefaultSimon) :: Slovenian
+Reinis Mednis (Mednis) :: Latvian
+toisho (toishoki) :: Turkish
+nikservik :: Ukrainian; Russian; Polish
+HenrijsS :: Latvian
+Pascal R-B (pborgner) :: German
+Boris (Ginfred) :: Russian
+Jonas Anker Rasmussen (jonasanker) :: Danish
+Gerwin de Keijzer (gdekeijzer) :: Dutch; German; German Informal
+kometchtech :: Japanese
+Auri (Atalonica) :: Catalan
+Francesco Franchina (ffranchina) :: Italian
+Aimrane Kds (aimrane.kds) :: Arabic
+whenwesober :: Indonesian
+Rem (remkovdhoef) :: Dutch
+syn7ax69 :: Bulgarian; Turkish
+Blaade :: French
branches:
- master
- release
+ - gh_actions_update
pull_request:
branches:
- '*'
jobs:
build:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-20.04
strategy:
matrix:
- php: [7.2, 7.4]
+ php: ['7.3', '7.4', '8.0']
steps:
- uses: actions/checkout@v1
+ - name: Setup PHP
+ uses: shivammathur/setup-php@b7d1d9c9a92d8d8463ce36d7f60da34d461724f8
+ with:
+ php-version: ${{ matrix.php }}
+ extensions: gd, mbstring, json, curl, xml, mysql, ldap
+
- name: Get Composer Cache Directory
id: composer-cache
run: |
- name: Setup Database
run: |
mysql -uroot -proot -e 'CREATE DATABASE IF NOT EXISTS `bookstack-test`;'
- mysql -uroot -proot -e "CREATE USER 'bookstack-test'@'localhost' IDENTIFIED BY 'bookstack-test';"
+ mysql -uroot -proot -e "CREATE USER 'bookstack-test'@'localhost' IDENTIFIED WITH mysql_native_password BY 'bookstack-test';"
mysql -uroot -proot -e "GRANT ALL ON \`bookstack-test\`.* TO 'bookstack-test'@'localhost';"
mysql -uroot -proot -e 'FLUSH PRIVILEGES;'
branches:
- master
- release
+ - gh_actions_update
pull_request:
branches:
- '*'
jobs:
build:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-20.04
strategy:
matrix:
- php: [7.2, 7.4]
+ php: ['7.3', '7.4', '8.0']
steps:
- uses: actions/checkout@v1
+ - name: Setup PHP
+ uses: shivammathur/setup-php@b7d1d9c9a92d8d8463ce36d7f60da34d461724f8
+ with:
+ php-version: ${{ matrix.php }}
+ extensions: gd, mbstring, json, curl, xml, mysql, ldap
+
- name: Get Composer Cache Directory
id: composer-cache
run: |
- name: Create database & user
run: |
mysql -uroot -proot -e 'CREATE DATABASE IF NOT EXISTS `bookstack-test`;'
- mysql -uroot -proot -e "CREATE USER 'bookstack-test'@'localhost' IDENTIFIED BY 'bookstack-test';"
+ mysql -uroot -proot -e "CREATE USER 'bookstack-test'@'localhost' IDENTIFIED WITH mysql_native_password BY 'bookstack-test';"
mysql -uroot -proot -e "GRANT ALL ON \`bookstack-test\`.* TO 'bookstack-test'@'localhost';"
mysql -uroot -proot -e 'FLUSH PRIVILEGES;'
use BookStack\Entities\Models\Entity;
use BookStack\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
+use Illuminate\Database\Eloquent\Relations\MorphTo;
use Illuminate\Support\Str;
/**
/**
* Get the entity for this activity.
*/
- public function entity()
+ public function entity(): MorphTo
{
if ($this->entity_type === '') {
$this->entity_type = null;
public function latest(int $count = 20, int $page = 0): array
{
$activityList = $this->permissionService
- ->filterRestrictedEntityRelations($this->activity, 'activities', 'entity_id', 'entity_type')
+ ->filterRestrictedEntityRelations($this->activity->newQuery(), 'activities', 'entity_id', 'entity_type')
->orderBy('created_at', 'desc')
->with(['user', 'entity'])
->skip($count * $page)
public function userActivity(User $user, int $count = 20, int $page = 0): array
{
$activityList = $this->permissionService
- ->filterRestrictedEntityRelations($this->activity, 'activities', 'entity_id', 'entity_type')
+ ->filterRestrictedEntityRelations($this->activity->newQuery(), 'activities', 'entity_id', 'entity_type')
->orderBy('created_at', 'desc')
->where('user_id', '=', $user->id)
->skip($count * $page)
const AUTH_PASSWORD_RESET_UPDATE = 'auth_password_reset_update';
const AUTH_LOGIN = 'auth_login';
const AUTH_REGISTER = 'auth_register';
-}
\ No newline at end of file
+}
<?php namespace BookStack\Actions;
-use BookStack\Ownable;
+use BookStack\Model;
+use BookStack\Traits\HasCreatorAndUpdater;
+use Illuminate\Database\Eloquent\Relations\MorphTo;
/**
* @property string text
* @property int|null parent_id
* @property int local_id
*/
-class Comment extends Ownable
+class Comment extends Model
{
+ use HasCreatorAndUpdater;
+
protected $fillable = ['text', 'parent_id'];
protected $appends = ['created', 'updated'];
/**
* Get the entity that this comment belongs to
- * @return \Illuminate\Database\Eloquent\Relations\MorphTo
*/
- public function entity()
+ public function entity(): MorphTo
{
return $this->morphTo('entity');
}
/**
* Check if a comment has been updated since creation.
- * @return bool
*/
- public function isUpdated()
+ public function isUpdated(): bool
{
return $this->updated_at->timestamp > $this->created_at->timestamp;
}
--- /dev/null
+<?php namespace BookStack\Actions;
+
+use BookStack\Model;
+use Illuminate\Database\Eloquent\Relations\MorphTo;
+
+class Favourite extends Model
+{
+ protected $fillable = ['user_id'];
+
+ /**
+ * Get the related model that can be favourited.
+ */
+ public function favouritable(): MorphTo
+ {
+ return $this->morphTo();
+ }
+}
<?php namespace BookStack\Actions;
use BookStack\Model;
+use Illuminate\Database\Eloquent\Relations\MorphTo;
class Tag extends Model
{
/**
* Get the entity that this tag belongs to
- * @return \Illuminate\Database\Eloquent\Relations\MorphTo
*/
- public function entity()
+ public function entity(): MorphTo
{
return $this->morphTo('entity');
}
+
+ /**
+ * Get a full URL to start a tag name search for this tag name.
+ */
+ public function nameUrl(): string
+ {
+ return url('/search?term=%5B' . urlencode($this->name) .'%5D');
+ }
+
+ /**
+ * Get a full URL to start a tag name and value search for this tag's values.
+ */
+ public function valueUrl(): string
+ {
+ return url('/search?term=%5B' . urlencode($this->name) .'%3D' . urlencode($this->value) . '%5D');
+ }
}
*/
public function getNameSuggestions(?string $searchTerm): Collection
{
- $query = $this->tag->select('*', DB::raw('count(*) as count'))->groupBy('name');
+ $query = $this->tag->newQuery()
+ ->select('*', DB::raw('count(*) as count'))
+ ->groupBy('name');
if ($searchTerm) {
$query = $query->where('name', 'LIKE', $searchTerm . '%')->orderBy('name', 'desc');
*/
public function getValueSuggestions(?string $searchTerm, ?string $tagName): Collection
{
- $query = $this->tag->select('*', DB::raw('count(*) as count'))->groupBy('value');
+ $query = $this->tag->newQuery()
+ ->select('*', DB::raw('count(*) as count'))
+ ->groupBy('value');
if ($searchTerm) {
$query = $query->where('value', 'LIKE', $searchTerm . '%')->orderBy('value', 'desc');
<?php namespace BookStack\Actions;
+use BookStack\Interfaces\Viewable;
use BookStack\Model;
+use Illuminate\Database\Eloquent\Relations\MorphTo;
+/**
+ * Class View
+ * Views are stored per-item per-person within the database.
+ * They can be used to find popular items or recently viewed items
+ * at a per-person level. They do not record every view instance as an
+ * activity. Only the latest and original view times could be recognised.
+ *
+ * @property int $views
+ * @property int $user_id
+ */
class View extends Model
{
/**
* Get all owning viewable models.
- * @return \Illuminate\Database\Eloquent\Relations\MorphTo
*/
- public function viewable()
+ public function viewable(): MorphTo
{
return $this->morphTo();
}
+
+ /**
+ * Increment the current user's view count for the given viewable model.
+ */
+ public static function incrementFor(Viewable $viewable): int
+ {
+ $user = user();
+ if (is_null($user) || $user->isDefault()) {
+ return 0;
+ }
+
+ /** @var View $view */
+ $view = $viewable->views()->firstOrNew([
+ 'user_id' => $user->id,
+ ], ['views' => 0]);
+
+ $view->forceFill(['views' => $view->views + 1])->save();
+
+ return $view->views;
+ }
+
+ /**
+ * Clear all views from the system.
+ */
+ public static function clearAll()
+ {
+ static::query()->truncate();
+ }
}
+++ /dev/null
-<?php namespace BookStack\Actions;
-
-use BookStack\Auth\Permissions\PermissionService;
-use BookStack\Entities\Models\Book;
-use BookStack\Entities\Models\Entity;
-use BookStack\Entities\EntityProvider;
-use DB;
-use Illuminate\Support\Collection;
-
-class ViewService
-{
- protected $view;
- protected $permissionService;
- protected $entityProvider;
-
- /**
- * ViewService constructor.
- * @param View $view
- * @param PermissionService $permissionService
- * @param EntityProvider $entityProvider
- */
- public function __construct(View $view, PermissionService $permissionService, EntityProvider $entityProvider)
- {
- $this->view = $view;
- $this->permissionService = $permissionService;
- $this->entityProvider = $entityProvider;
- }
-
- /**
- * Add a view to the given entity.
- * @param \BookStack\Entities\Models\Entity $entity
- * @return int
- */
- public function add(Entity $entity)
- {
- $user = user();
- if ($user === null || $user->isDefault()) {
- return 0;
- }
- $view = $entity->views()->where('user_id', '=', $user->id)->first();
- // Add view if model exists
- if ($view) {
- $view->increment('views');
- return $view->views;
- }
-
- // Otherwise create new view count
- $entity->views()->save($this->view->newInstance([
- 'user_id' => $user->id,
- 'views' => 1
- ]));
-
- return 1;
- }
-
- /**
- * Get the entities with the most views.
- * @param int $count
- * @param int $page
- * @param string|array $filterModels
- * @param string $action - used for permission checking
- * @return Collection
- */
- public function getPopular(int $count = 10, int $page = 0, array $filterModels = null, string $action = 'view')
- {
- $skipCount = $count * $page;
- $query = $this->permissionService
- ->filterRestrictedEntityRelations($this->view, 'views', 'viewable_id', 'viewable_type', $action)
- ->select('*', 'viewable_id', 'viewable_type', DB::raw('SUM(views) as view_count'))
- ->groupBy('viewable_id', 'viewable_type')
- ->orderBy('view_count', 'desc');
-
- if ($filterModels) {
- $query->whereIn('viewable_type', $this->entityProvider->getMorphClasses($filterModels));
- }
-
- return $query->with('viewable')->skip($skipCount)->take($count)->get()->pluck('viewable');
- }
-
- /**
- * Get all recently viewed entities for the current user.
- */
- public function getUserRecentlyViewed(int $count = 10, int $page = 1)
- {
- $user = user();
- if ($user === null || $user->isDefault()) {
- return collect();
- }
-
- $all = collect();
- /** @var Entity $instance */
- foreach ($this->entityProvider->all() as $name => $instance) {
- $items = $instance::visible()->withLastView()
- ->orderBy('last_viewed_at', 'desc')
- ->skip($count * ($page - 1))
- ->take($count)
- ->get();
- $all = $all->concat($items);
- }
-
- return $all->sortByDesc('last_viewed_at')->slice(0, $count);
- }
-
- /**
- * Reset all view counts by deleting all views.
- */
- public function resetAll()
- {
- $this->view->truncate();
- }
-}
];
});
}
-
-}
\ No newline at end of file
+}
{
$this->user = null;
}
-}
\ No newline at end of file
+}
use BookStack\Auth\Access\LdapService;
use BookStack\Auth\Access\RegistrationService;
use BookStack\Auth\User;
-use BookStack\Auth\UserRepo;
use BookStack\Exceptions\LdapException;
use BookStack\Exceptions\LoginAttemptException;
use BookStack\Exceptions\LoginAttemptEmailNeededException;
use BookStack\Exceptions\UserRegistrationException;
use Illuminate\Contracts\Auth\UserProvider;
use Illuminate\Contracts\Session\Session;
-use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Str;
class LdapSessionGuard extends ExternalBaseSessionGuard
/**
* LdapSessionGuard constructor.
*/
- public function __construct($name,
+ public function __construct(
+ $name,
UserProvider $provider,
Session $session,
LdapService $ldapService,
RegistrationService $registrationService
- )
- {
+ ) {
$this->ldapService = $ldapService;
parent::__construct($name, $provider, $session, $registrationService);
}
$this->ldapService->syncGroups($user, $username);
}
+ // Attach avatar if non-existent
+ if (is_null($user->avatar)) {
+ $this->ldapService->saveAndAttachAvatar($user, $userDetails);
+ }
+
$this->login($user, $remember);
return true;
}
'password' => Str::random(32),
];
- return $this->registrationService->registerUser($details, null, false);
+ $user = $this->registrationService->registerUser($details, null, false);
+ $this->ldapService->saveAndAttachAvatar($user, $ldapUserDetails);
+ return $user;
}
-
}
return ldap_set_option($ldapConnection, $option, $value);
}
+ /**
+ * Start TLS on the given LDAP connection.
+ */
+ public function startTls($ldapConnection): bool
+ {
+ return ldap_start_tls($ldapConnection);
+ }
+
/**
* Set the version number for the given ldap connection.
* @param $ldapConnection
use BookStack\Auth\User;
use BookStack\Exceptions\JsonDebugException;
use BookStack\Exceptions\LdapException;
+use BookStack\Uploads\UserAvatars;
use ErrorException;
+use Illuminate\Support\Facades\Log;
/**
* Class LdapService
protected $ldap;
protected $ldapConnection;
+ protected $userAvatars;
protected $config;
protected $enabled;
/**
* LdapService constructor.
*/
- public function __construct(Ldap $ldap)
+ public function __construct(Ldap $ldap, UserAvatars $userAvatars)
{
$this->ldap = $ldap;
+ $this->userAvatars = $userAvatars;
$this->config = config('services.ldap');
$this->enabled = config('auth.method') === 'ldap';
}
$idAttr = $this->config['id_attribute'];
$emailAttr = $this->config['email_attribute'];
$displayNameAttr = $this->config['display_name_attribute'];
+ $thumbnailAttr = $this->config['thumbnail_attribute'];
- $user = $this->getUserWithAttributes($userName, ['cn', 'dn', $idAttr, $emailAttr, $displayNameAttr]);
+ $user = $this->getUserWithAttributes($userName, array_filter([
+ 'cn', 'dn', $idAttr, $emailAttr, $displayNameAttr, $thumbnailAttr,
+ ]));
- if ($user === null) {
+ if (is_null($user)) {
return null;
}
$userCn = $this->getUserResponseProperty($user, 'cn', null);
$formatted = [
- 'uid' => $this->getUserResponseProperty($user, $idAttr, $user['dn']),
- 'name' => $this->getUserResponseProperty($user, $displayNameAttr, $userCn),
- 'dn' => $user['dn'],
+ 'uid' => $this->getUserResponseProperty($user, $idAttr, $user['dn']),
+ 'name' => $this->getUserResponseProperty($user, $displayNameAttr, $userCn),
+ 'dn' => $user['dn'],
'email' => $this->getUserResponseProperty($user, $emailAttr, null),
+ 'avatar'=> $thumbnailAttr ? $this->getUserResponseProperty($user, $thumbnailAttr, null) : null,
];
if ($this->config['dump_user_details']) {
throw new LdapException(trans('errors.ldap_extension_not_installed'));
}
- // Check if TLS_INSECURE is set. The handle is set to NULL due to the nature of
- // the LDAP_OPT_X_TLS_REQUIRE_CERT option. It can only be set globally and not per handle.
+ // Disable certificate verification.
+ // This option works globally and must be set before a connection is created.
if ($this->config['tls_insecure']) {
$this->ldap->setOption(null, LDAP_OPT_X_TLS_REQUIRE_CERT, LDAP_OPT_X_TLS_NEVER);
}
$this->ldap->setVersion($ldapConnection, $this->config['version']);
}
+ // Start and verify TLS if it's enabled
+ if ($this->config['start_tls']) {
+ $started = $this->ldap->startTls($ldapConnection);
+ if (!$started) {
+ throw new LdapException('Could not start TLS connection');
+ }
+ }
+
$this->ldapConnection = $ldapConnection;
return $this->ldapConnection;
}
$userLdapGroups = $this->getUserGroups($username);
$this->syncWithGroups($user, $userLdapGroups);
}
+
+ /**
+ * Save and attach an avatar image, if found in the ldap details, and attach
+ * to the given user model.
+ */
+ public function saveAndAttachAvatar(User $user, array $ldapUserDetails): void
+ {
+ if (is_null(config('services.ldap.thumbnail_attribute')) || is_null($ldapUserDetails['avatar'])) {
+ return;
+ }
+
+ try {
+ $imageData = $ldapUserDetails['avatar'];
+ $this->userAvatars->assignToUserFromExistingData($user, $imageData, 'jpg');
+ } catch (\Exception $exception) {
+ Log::info("Failed to use avatar image from LDAP data for user id {$user->id}");
+ }
+ }
}
use BookStack\Auth\UserRepo;
use BookStack\Exceptions\UserRegistrationException;
use BookStack\Facades\Activity;
+use BookStack\Facades\Theme;
+use BookStack\Theming\ThemeEvents;
use Exception;
class RegistrationService
}
Activity::add(ActivityType::AUTH_REGISTER, $socialAccount ?? $newUser);
+ Theme::dispatch(ThemeEvents::AUTH_REGISTER, $socialAccount ? $socialAccount->driver : auth()->getDefaultDriver(), $newUser);
// Start email confirmation flow if required
if ($this->emailConfirmationService->confirmationRequired() && !$emailConfirmed) {
$message = trans('auth.email_confirm_send_error');
throw new UserRegistrationException($message, '/register/confirm');
}
-
}
return $newUser;
throw new UserRegistrationException(trans('auth.registration_email_domain_invalid'), $redirect);
}
}
-
-}
\ No newline at end of file
+}
use BookStack\Exceptions\SamlException;
use BookStack\Exceptions\UserRegistrationException;
use BookStack\Facades\Activity;
+use BookStack\Facades\Theme;
+use BookStack\Theming\ThemeEvents;
use Exception;
use Illuminate\Support\Str;
use OneLogin\Saml2\Auth;
auth()->login($user);
Activity::add(ActivityType::AUTH_LOGIN, "saml2; {$user->logDescriptor()}");
+ Theme::dispatch(ThemeEvents::AUTH_LOGIN, 'saml2', $user);
return $user;
}
}
use BookStack\Actions\ActivityType;
use BookStack\Auth\SocialAccount;
-use BookStack\Auth\UserRepo;
+use BookStack\Auth\User;
use BookStack\Exceptions\SocialDriverNotConfigured;
use BookStack\Exceptions\SocialSignInAccountNotUsed;
use BookStack\Exceptions\UserRegistrationException;
use BookStack\Facades\Activity;
+use BookStack\Facades\Theme;
+use BookStack\Theming\ThemeEvents;
+use Illuminate\Support\Facades\Event;
use Illuminate\Support\Str;
use Laravel\Socialite\Contracts\Factory as Socialite;
use Laravel\Socialite\Contracts\Provider;
use Laravel\Socialite\Contracts\User as SocialUser;
+use SocialiteProviders\Manager\SocialiteWasCalled;
use Symfony\Component\HttpFoundation\RedirectResponse;
class SocialAuthService
{
-
- protected $userRepo;
+ /**
+ * The core socialite library used.
+ * @var Socialite
+ */
protected $socialite;
- protected $socialAccount;
- protected $validSocialDrivers = ['google', 'github', 'facebook', 'slack', 'twitter', 'azure', 'okta', 'gitlab', 'twitch', 'discord'];
+ /**
+ * The default built-in social drivers we support.
+ * @var string[]
+ */
+ protected $validSocialDrivers = [
+ 'google',
+ 'github',
+ 'facebook',
+ 'slack',
+ 'twitter',
+ 'azure',
+ 'okta',
+ 'gitlab',
+ 'twitch',
+ 'discord'
+ ];
+
+ /**
+ * Callbacks to run when configuring a social driver
+ * for an initial redirect action.
+ * Array is keyed by social driver name.
+ * Callbacks are passed an instance of the driver.
+ * @var array<string, callable>
+ */
+ protected $configureForRedirectCallbacks = [];
/**
* SocialAuthService constructor.
*/
- public function __construct(UserRepo $userRepo, Socialite $socialite, SocialAccount $socialAccount)
+ public function __construct(Socialite $socialite)
{
- $this->userRepo = $userRepo;
$this->socialite = $socialite;
- $this->socialAccount = $socialAccount;
}
-
/**
* Start the social login path.
* @throws SocialDriverNotConfigured
public function startLogIn(string $socialDriver): RedirectResponse
{
$driver = $this->validateDriver($socialDriver);
- return $this->getSocialDriver($driver)->redirect();
+ return $this->getDriverForRedirect($driver)->redirect();
}
/**
public function startRegister(string $socialDriver): RedirectResponse
{
$driver = $this->validateDriver($socialDriver);
- return $this->getSocialDriver($driver)->redirect();
+ return $this->getDriverForRedirect($driver)->redirect();
}
/**
public function handleRegistrationCallback(string $socialDriver, SocialUser $socialUser): SocialUser
{
// Check social account has not already been used
- if ($this->socialAccount->where('driver_id', '=', $socialUser->getId())->exists()) {
- throw new UserRegistrationException(trans('errors.social_account_in_use', ['socialAccount'=>$socialDriver]), '/login');
+ if (SocialAccount::query()->where('driver_id', '=', $socialUser->getId())->exists()) {
+ throw new UserRegistrationException(trans('errors.social_account_in_use', ['socialAccount' => $socialDriver]), '/login');
}
- if ($this->userRepo->getByEmail($socialUser->getEmail())) {
+ if (User::query()->where('email', '=', $socialUser->getEmail())->exists()) {
$email = $socialUser->getEmail();
throw new UserRegistrationException(trans('errors.error_user_exists_different_creds', ['email' => $email]), '/login');
}
$socialId = $socialUser->getId();
// Get any attached social accounts or users
- $socialAccount = $this->socialAccount->where('driver_id', '=', $socialId)->first();
+ $socialAccount = SocialAccount::query()->where('driver_id', '=', $socialId)->first();
$isLoggedIn = auth()->check();
$currentUser = user();
$titleCaseDriver = Str::title($socialDriver);
if (!$isLoggedIn && $socialAccount !== null) {
auth()->login($socialAccount->user);
Activity::add(ActivityType::AUTH_LOGIN, $socialAccount);
+ Theme::dispatch(ThemeEvents::AUTH_LOGIN, $socialDriver, $socialAccount->user);
return redirect()->intended('/');
}
// When a user is logged in but the social account does not exist,
// Create the social account and attach it to the user & redirect to the profile page.
if ($isLoggedIn && $socialAccount === null) {
- $this->fillSocialAccount($socialDriver, $socialUser);
- $currentUser->socialAccounts()->save($this->socialAccount);
+ $account = $this->newSocialAccount($socialDriver, $socialUser);
+ $currentUser->socialAccounts()->save($account);
session()->flash('success', trans('settings.users_social_connected', ['socialAccount' => $titleCaseDriver]));
return redirect($currentUser->getEditUrl());
}
if (setting('registration-enabled') && config('auth.method') !== 'ldap' && config('auth.method') !== 'saml2') {
$message .= trans('errors.social_account_register_instructions', ['socialAccount' => $titleCaseDriver]);
}
-
+
throw new SocialSignInAccountNotUsed($message, '/login');
}
/**
* Fill and return a SocialAccount from the given driver name and SocialUser.
*/
- public function fillSocialAccount(string $socialDriver, SocialUser $socialUser): SocialAccount
+ public function newSocialAccount(string $socialDriver, SocialUser $socialUser): SocialAccount
{
- $this->socialAccount->fill([
- 'driver' => $socialDriver,
+ return new SocialAccount([
+ 'driver' => $socialDriver,
'driver_id' => $socialUser->getId(),
- 'avatar' => $socialUser->getAvatar()
+ 'avatar' => $socialUser->getAvatar()
]);
- return $this->socialAccount;
}
/**
* Detach a social account from a user.
- * @return \Illuminate\Http\RedirectResponse|\Illuminate\Routing\Redirector
*/
- public function detachSocialAccount(string $socialDriver)
+ public function detachSocialAccount(string $socialDriver): void
{
user()->socialAccounts()->where('driver', '=', $socialDriver)->delete();
}
/**
* Provide redirect options per service for the Laravel Socialite driver
*/
- public function getSocialDriver(string $driverName): Provider
+ protected function getDriverForRedirect(string $driverName): Provider
{
$driver = $this->socialite->driver($driverName);
$driver->with(['resource' => 'https://graph.windows.net']);
}
+ if (isset($this->configureForRedirectCallbacks[$driverName])) {
+ $this->configureForRedirectCallbacks[$driverName]($driver);
+ }
+
return $driver;
}
+
+ /**
+ * Add a custom socialite driver to be used.
+ * Driver name should be lower_snake_case.
+ * Config array should mirror the structure of a service
+ * within the `Config/services.php` file.
+ * Handler should be a Class@method handler to the SocialiteWasCalled event.
+ */
+ public function addSocialDriver(
+ string $driverName,
+ array $config,
+ string $socialiteHandler,
+ callable $configureForRedirect = null
+ ) {
+ $this->validSocialDrivers[] = $driverName;
+ config()->set('services.' . $driverName, $config);
+ config()->set('services.' . $driverName . '.redirect', url('/login/service/' . $driverName . '/callback'));
+ config()->set('services.' . $driverName . '.name', $config['name'] ?? $driverName);
+ Event::listen(SocialiteWasCalled::class, $socialiteHandler);
+ if (!is_null($configureForRedirect)) {
+ $this->configureForRedirectCallbacks[$driverName] = $configureForRedirect;
+ }
+ }
}
<?php namespace BookStack\Auth\Permissions;
-use BookStack\Auth\Permissions;
use BookStack\Auth\Role;
+use BookStack\Auth\User;
use BookStack\Entities\Models\Book;
+use BookStack\Entities\Models\BookChild;
+use BookStack\Entities\Models\Bookshelf;
+use BookStack\Entities\Models\Chapter;
use BookStack\Entities\Models\Entity;
-use BookStack\Entities\EntityProvider;
-use BookStack\Ownable;
+use BookStack\Entities\Models\Page;
+use BookStack\Model;
+use BookStack\Traits\HasCreatorAndUpdater;
+use BookStack\Traits\HasOwner;
use Illuminate\Database\Connection;
use Illuminate\Database\Eloquent\Builder;
+use Illuminate\Database\Eloquent\Collection as EloquentCollection;
use Illuminate\Database\Query\Builder as QueryBuilder;
-use Illuminate\Support\Collection;
+use Throwable;
class PermissionService
{
-
- protected $currentAction;
- protected $isAdminUser;
- protected $userRoles = false;
- protected $currentUserModel = false;
-
- /**
- * @var Connection
- */
- protected $db;
-
/**
- * @var JointPermission
+ * @var ?array
*/
- protected $jointPermission;
+ protected $userRoles = null;
/**
- * @var Role
+ * @var ?User
*/
- protected $role;
+ protected $currentUserModel = null;
/**
- * @var EntityPermission
+ * @var Connection
*/
- protected $entityPermission;
+ protected $db;
/**
- * @var EntityProvider
+ * @var array
*/
- protected $entityProvider;
-
protected $entityCache;
/**
* PermissionService constructor.
*/
- public function __construct(
- JointPermission $jointPermission,
- Permissions\EntityPermission $entityPermission,
- Role $role,
- Connection $db,
- EntityProvider $entityProvider
- ) {
+ public function __construct(Connection $db)
+ {
$this->db = $db;
- $this->jointPermission = $jointPermission;
- $this->entityPermission = $entityPermission;
- $this->role = $role;
- $this->entityProvider = $entityProvider;
}
/**
* Set the database connection
- * @param Connection $connection
*/
public function setConnection(Connection $connection)
{
/**
* Prepare the local entity cache and ensure it's empty
- * @param \BookStack\Entities\Models\Entity[] $entities
+ * @param Entity[] $entities
*/
- protected function readyEntityCache($entities = [])
+ protected function readyEntityCache(array $entities = [])
{
$this->entityCache = [];
foreach ($entities as $entity) {
- $type = $entity->getType();
- if (!isset($this->entityCache[$type])) {
- $this->entityCache[$type] = collect();
+ $class = get_class($entity);
+ if (!isset($this->entityCache[$class])) {
+ $this->entityCache[$class] = collect();
}
- $this->entityCache[$type]->put($entity->id, $entity);
+ $this->entityCache[$class]->put($entity->id, $entity);
}
}
/**
* Get a book via ID, Checks local cache
- * @param $bookId
- * @return Book
*/
- protected function getBook($bookId)
+ protected function getBook(int $bookId): ?Book
{
- if (isset($this->entityCache['book']) && $this->entityCache['book']->has($bookId)) {
- return $this->entityCache['book']->get($bookId);
- }
-
- $book = $this->entityProvider->book->find($bookId);
- if ($book === null) {
- $book = false;
+ if (isset($this->entityCache[Book::class]) && $this->entityCache[Book::class]->has($bookId)) {
+ return $this->entityCache[Book::class]->get($bookId);
}
- return $book;
+ return Book::query()->withTrashed()->find($bookId);
}
/**
* Get a chapter via ID, Checks local cache
- * @param $chapterId
- * @return \BookStack\Entities\Models\Book
*/
- protected function getChapter($chapterId)
+ protected function getChapter(int $chapterId): ?Chapter
{
- if (isset($this->entityCache['chapter']) && $this->entityCache['chapter']->has($chapterId)) {
- return $this->entityCache['chapter']->get($chapterId);
+ if (isset($this->entityCache[Chapter::class]) && $this->entityCache[Chapter::class]->has($chapterId)) {
+ return $this->entityCache[Chapter::class]->get($chapterId);
}
- $chapter = $this->entityProvider->chapter->find($chapterId);
- if ($chapter === null) {
- $chapter = false;
- }
-
- return $chapter;
+ return Chapter::query()
+ ->withTrashed()
+ ->find($chapterId);
}
/**
- * Get the roles for the current user;
- * @return array|bool
+ * Get the roles for the current logged in user.
*/
- protected function getRoles()
+ protected function getCurrentUserRoles(): array
{
- if ($this->userRoles !== false) {
+ if (!is_null($this->userRoles)) {
return $this->userRoles;
}
- $roles = [];
-
if (auth()->guest()) {
- $roles[] = $this->role->getSystemRole('public')->id;
- return $roles;
+ $this->userRoles = [Role::getSystemRole('public')->id];
+ } else {
+ $this->userRoles = $this->currentUser()->roles->pluck('id')->values()->all();
}
-
- foreach ($this->currentUser()->roles as $role) {
- $roles[] = $role->id;
- }
- return $roles;
+ return $this->userRoles;
}
/**
*/
public function buildJointPermissions()
{
- $this->jointPermission->truncate();
+ JointPermission::query()->truncate();
$this->readyEntityCache();
// Get all roles (Should be the most limited dimension)
- $roles = $this->role->with('permissions')->get()->all();
+ $roles = Role::query()->with('permissions')->get()->all();
// Chunk through all books
- $this->bookFetchQuery()->chunk(5, function ($books) use ($roles) {
+ $this->bookFetchQuery()->chunk(5, function (EloquentCollection $books) use ($roles) {
$this->buildJointPermissionsForBooks($books, $roles);
});
// Chunk through all bookshelves
- $this->entityProvider->bookshelf->newQuery()->withTrashed()->select(['id', 'restricted', 'created_by'])
- ->chunk(50, function ($shelves) use ($roles) {
+ Bookshelf::query()->withTrashed()->select(['id', 'restricted', 'owned_by'])
+ ->chunk(50, function (EloquentCollection $shelves) use ($roles) {
$this->buildJointPermissionsForShelves($shelves, $roles);
});
}
/**
* Get a query for fetching a book with it's children.
- * @return QueryBuilder
*/
- protected function bookFetchQuery()
+ protected function bookFetchQuery(): Builder
{
- return $this->entityProvider->book->withTrashed()->newQuery()
- ->select(['id', 'restricted', 'created_by'])->with(['chapters' => function ($query) {
- $query->withTrashed()->select(['id', 'restricted', 'created_by', 'book_id']);
- }, 'pages' => function ($query) {
- $query->withTrashed()->select(['id', 'restricted', 'created_by', 'book_id', 'chapter_id']);
- }]);
+ return Book::query()->withTrashed()
+ ->select(['id', 'restricted', 'owned_by'])->with([
+ 'chapters' => function ($query) {
+ $query->withTrashed()->select(['id', 'restricted', 'owned_by', 'book_id']);
+ },
+ 'pages' => function ($query) {
+ $query->withTrashed()->select(['id', 'restricted', 'owned_by', 'book_id', 'chapter_id']);
+ }
+ ]);
}
/**
- * @param Collection $shelves
- * @param array $roles
- * @param bool $deleteOld
- * @throws \Throwable
+ * Build joint permissions for the given shelf and role combinations.
+ * @throws Throwable
*/
- protected function buildJointPermissionsForShelves($shelves, $roles, $deleteOld = false)
+ protected function buildJointPermissionsForShelves(EloquentCollection $shelves, array $roles, bool $deleteOld = false)
{
if ($deleteOld) {
$this->deleteManyJointPermissionsForEntities($shelves->all());
}
- $this->createManyJointPermissions($shelves, $roles);
+ $this->createManyJointPermissions($shelves->all(), $roles);
}
/**
- * Build joint permissions for an array of books
- * @param Collection $books
- * @param array $roles
- * @param bool $deleteOld
+ * Build joint permissions for the given book and role combinations.
+ * @throws Throwable
*/
- protected function buildJointPermissionsForBooks($books, $roles, $deleteOld = false)
+ protected function buildJointPermissionsForBooks(EloquentCollection $books, array $roles, bool $deleteOld = false)
{
$entities = clone $books;
if ($deleteOld) {
$this->deleteManyJointPermissionsForEntities($entities->all());
}
- $this->createManyJointPermissions($entities, $roles);
+ $this->createManyJointPermissions($entities->all(), $roles);
}
/**
* Rebuild the entity jointPermissions for a particular entity.
- * @param \BookStack\Entities\Models\Entity $entity
- * @throws \Throwable
+ * @throws Throwable
*/
public function buildJointPermissionsForEntity(Entity $entity)
{
$entities = [$entity];
- if ($entity->isA('book')) {
+ if ($entity instanceof Book) {
$books = $this->bookFetchQuery()->where('id', '=', $entity->id)->get();
- $this->buildJointPermissionsForBooks($books, $this->role->newQuery()->get(), true);
+ $this->buildJointPermissionsForBooks($books, Role::query()->get()->all(), true);
return;
}
+ /** @var BookChild $entity */
if ($entity->book) {
$entities[] = $entity->book;
}
- if ($entity->isA('page') && $entity->chapter_id) {
+ if ($entity instanceof Page && $entity->chapter_id) {
$entities[] = $entity->chapter;
}
- if ($entity->isA('chapter')) {
+ if ($entity instanceof Chapter) {
foreach ($entity->pages as $page) {
$entities[] = $page;
}
}
- $this->buildJointPermissionsForEntities(collect($entities));
+ $this->buildJointPermissionsForEntities($entities);
}
/**
* Rebuild the entity jointPermissions for a collection of entities.
- * @param Collection $entities
- * @throws \Throwable
+ * @throws Throwable
*/
- public function buildJointPermissionsForEntities(Collection $entities)
+ public function buildJointPermissionsForEntities(array $entities)
{
- $roles = $this->role->newQuery()->get();
- $this->deleteManyJointPermissionsForEntities($entities->all());
+ $roles = Role::query()->get()->values()->all();
+ $this->deleteManyJointPermissionsForEntities($entities);
$this->createManyJointPermissions($entities, $roles);
}
/**
* Build the entity jointPermissions for a particular role.
- * @param Role $role
*/
public function buildJointPermissionForRole(Role $role)
{
});
// Chunk through all bookshelves
- $this->entityProvider->bookshelf->newQuery()->select(['id', 'restricted', 'created_by'])
+ Bookshelf::query()->select(['id', 'restricted', 'owned_by'])
->chunk(50, function ($shelves) use ($roles) {
$this->buildJointPermissionsForShelves($shelves, $roles);
});
/**
* Delete the entity jointPermissions attached to a particular role.
- * @param Role $role
*/
public function deleteJointPermissionsForRole(Role $role)
{
$roleIds = array_map(function ($role) {
return $role->id;
}, $roles);
- $this->jointPermission->newQuery()->whereIn('role_id', $roleIds)->delete();
+ JointPermission::query()->whereIn('role_id', $roleIds)->delete();
}
/**
* Delete the entity jointPermissions for a particular entity.
* @param Entity $entity
- * @throws \Throwable
+ * @throws Throwable
*/
public function deleteJointPermissionsForEntity(Entity $entity)
{
/**
* Delete all of the entity jointPermissions for a list of entities.
- * @param \BookStack\Entities\Models\Entity[] $entities
- * @throws \Throwable
+ * @param Entity[] $entities
+ * @throws Throwable
*/
- protected function deleteManyJointPermissionsForEntities($entities)
+ protected function deleteManyJointPermissionsForEntities(array $entities)
{
if (count($entities) === 0) {
return;
}
/**
- * Create & Save entity jointPermissions for many entities and jointPermissions.
- * @param Collection $entities
- * @param array $roles
- * @throws \Throwable
+ * Create & Save entity jointPermissions for many entities and roles.
+ * @param Entity[] $entities
+ * @param Role[] $roles
+ * @throws Throwable
*/
- protected function createManyJointPermissions($entities, $roles)
+ protected function createManyJointPermissions(array $entities, array $roles)
{
$this->readyEntityCache($entities);
$jointPermissions = [];
// Fetch Entity Permissions and create a mapping of entity restricted statuses
$entityRestrictedMap = [];
- $permissionFetch = $this->entityPermission->newQuery();
+ $permissionFetch = EntityPermission::query();
foreach ($entities as $entity) {
$entityRestrictedMap[$entity->getMorphClass() . ':' . $entity->id] = boolval($entity->getRawAttribute('restricted'));
$permissionFetch->orWhere(function ($query) use ($entity) {
/**
* Get the actions related to an entity.
- * @param \BookStack\Entities\Models\Entity $entity
- * @return array
*/
- protected function getActions(Entity $entity)
+ protected function getActions(Entity $entity): array
{
$baseActions = ['view', 'update', 'delete'];
- if ($entity->isA('chapter') || $entity->isA('book')) {
+ if ($entity instanceof Chapter || $entity instanceof Book) {
$baseActions[] = 'page-create';
}
- if ($entity->isA('book')) {
+ if ($entity instanceof Book) {
$baseActions[] = 'chapter-create';
}
return $baseActions;
/**
* Create entity permission data for an entity and role
* for a particular action.
- * @param Entity $entity
- * @param Role $role
- * @param string $action
- * @param array $permissionMap
- * @param array $rolePermissionMap
- * @return array
*/
- protected function createJointPermissionData(Entity $entity, Role $role, $action, $permissionMap, $rolePermissionMap)
+ protected function createJointPermissionData(Entity $entity, Role $role, string $action, array $permissionMap, array $rolePermissionMap): array
{
$permissionPrefix = (strpos($action, '-') === false ? ($entity->getType() . '-') : '') . $action;
$roleHasPermission = isset($rolePermissionMap[$role->getRawAttribute('id') . ':' . $permissionPrefix . '-all']);
return $this->createJointPermissionDataArray($entity, $role, $action, $hasAccess, $hasAccess);
}
- if ($entity->isA('book') || $entity->isA('bookshelf')) {
+ if ($entity instanceof Book || $entity instanceof Bookshelf) {
return $this->createJointPermissionDataArray($entity, $role, $action, $roleHasPermission, $roleHasPermissionOwn);
}
$hasPermissiveAccessToParents = !$book->restricted;
// For pages with a chapter, Check if explicit permissions are set on the Chapter
- if ($entity->isA('page') && $entity->chapter_id !== 0 && $entity->chapter_id !== '0') {
+ if ($entity instanceof Page && intval($entity->chapter_id) !== 0) {
$chapter = $this->getChapter($entity->chapter_id);
$hasPermissiveAccessToParents = $hasPermissiveAccessToParents && !$chapter->restricted;
if ($chapter->restricted) {
/**
* Check for an active restriction in an entity map.
- * @param $entityMap
- * @param Entity $entity
- * @param Role $role
- * @param $action
- * @return bool
*/
- protected function mapHasActiveRestriction($entityMap, Entity $entity, Role $role, $action)
+ protected function mapHasActiveRestriction(array $entityMap, Entity $entity, Role $role, string $action): bool
{
$key = $entity->getMorphClass() . ':' . $entity->getRawAttribute('id') . ':' . $role->getRawAttribute('id') . ':' . $action;
- return isset($entityMap[$key]) ? $entityMap[$key] : false;
+ return $entityMap[$key] ?? false;
}
/**
* Create an array of data with the information of an entity jointPermissions.
* Used to build data for bulk insertion.
- * @param \BookStack\Entities\Models\Entity $entity
- * @param Role $role
- * @param $action
- * @param $permissionAll
- * @param $permissionOwn
- * @return array
*/
- protected function createJointPermissionDataArray(Entity $entity, Role $role, $action, $permissionAll, $permissionOwn)
+ protected function createJointPermissionDataArray(Entity $entity, Role $role, string $action, bool $permissionAll, bool $permissionOwn): array
{
return [
- 'role_id' => $role->getRawAttribute('id'),
- 'entity_id' => $entity->getRawAttribute('id'),
- 'entity_type' => $entity->getMorphClass(),
- 'action' => $action,
- 'has_permission' => $permissionAll,
+ 'role_id' => $role->getRawAttribute('id'),
+ 'entity_id' => $entity->getRawAttribute('id'),
+ 'entity_type' => $entity->getMorphClass(),
+ 'action' => $action,
+ 'has_permission' => $permissionAll,
'has_permission_own' => $permissionOwn,
- 'created_by' => $entity->getRawAttribute('created_by')
+ 'owned_by' => $entity->getRawAttribute('owned_by'),
];
}
/**
* Checks if an entity has a restriction set upon it.
- * @param Ownable $ownable
- * @param $permission
- * @return bool
+ * @param HasCreatorAndUpdater|HasOwner $ownable
*/
- public function checkOwnableUserAccess(Ownable $ownable, $permission)
+ public function checkOwnableUserAccess(Model $ownable, string $permission): bool
{
$explodedPermission = explode('-', $permission);
- $baseQuery = $ownable->where('id', '=', $ownable->id);
+ $baseQuery = $ownable->newQuery()->where('id', '=', $ownable->id);
$action = end($explodedPermission);
- $this->currentAction = $action;
+ $user = $this->currentUser();
$nonJointPermissions = ['restrictions', 'image', 'attachment', 'comment'];
// Handle non entity specific jointPermissions
if (in_array($explodedPermission[0], $nonJointPermissions)) {
- $allPermission = $this->currentUser() && $this->currentUser()->can($permission . '-all');
- $ownPermission = $this->currentUser() && $this->currentUser()->can($permission . '-own');
- $this->currentAction = 'view';
- $isOwner = $this->currentUser() && $this->currentUser()->id === $ownable->created_by;
+ $allPermission = $user && $user->can($permission . '-all');
+ $ownPermission = $user && $user->can($permission . '-own');
+ $ownerField = ($ownable instanceof Entity) ? 'owned_by' : 'created_by';
+ $isOwner = $user && $user->id === $ownable->$ownerField;
return ($allPermission || ($isOwner && $ownPermission));
}
// Handle abnormal create jointPermissions
if ($action === 'create') {
- $this->currentAction = $permission;
+ $action = $permission;
}
- $q = $this->entityRestrictionQuery($baseQuery)->count() > 0;
+ $hasAccess = $this->entityRestrictionQuery($baseQuery, $action)->count() > 0;
$this->clean();
- return $q;
+ return $hasAccess;
}
/**
* Checks if a user has the given permission for any items in the system.
* Can be passed an entity instance to filter on a specific type.
- * @param string $permission
- * @param string $entityClass
- * @return bool
*/
- public function checkUserHasPermissionOnAnything(string $permission, string $entityClass = null)
+ public function checkUserHasPermissionOnAnything(string $permission, ?string $entityClass = null): bool
{
$userRoleIds = $this->currentUser()->roles()->select('id')->pluck('id')->toArray();
$userId = $this->currentUser()->id;
- $permissionQuery = $this->db->table('joint_permissions')
+ $permissionQuery = JointPermission::query()
->where('action', '=', $permission)
->whereIn('role_id', $userRoleIds)
- ->where(function ($query) use ($userId) {
- $query->where('has_permission', '=', 1)
- ->orWhere(function ($query2) use ($userId) {
- $query2->where('has_permission_own', '=', 1)
- ->where('created_by', '=', $userId);
- });
+ ->where(function (Builder $query) use ($userId) {
+ $this->addJointHasPermissionCheck($query, $userId);
});
if (!is_null($entityClass)) {
- $entityInstance = app()->make($entityClass);
+ $entityInstance = app($entityClass);
$permissionQuery = $permissionQuery->where('entity_type', '=', $entityInstance->getMorphClass());
}
return $hasPermission;
}
- /**
- * Check if an entity has restrictions set on itself or its
- * parent tree.
- * @param \BookStack\Entities\Models\Entity $entity
- * @param $action
- * @return bool|mixed
- */
- public function checkIfRestrictionsSet(Entity $entity, $action)
- {
- $this->currentAction = $action;
- if ($entity->isA('page')) {
- return $entity->restricted || ($entity->chapter && $entity->chapter->restricted) || $entity->book->restricted;
- } elseif ($entity->isA('chapter')) {
- return $entity->restricted || $entity->book->restricted;
- } elseif ($entity->isA('book')) {
- return $entity->restricted;
- }
- }
-
/**
* The general query filter to remove all entities
* that the current user does not have access to.
- * @param $query
- * @return mixed
- */
- protected function entityRestrictionQuery($query)
- {
- $q = $query->where(function ($parentQuery) {
- $parentQuery->whereHas('jointPermissions', function ($permissionQuery) {
- $permissionQuery->whereIn('role_id', $this->getRoles())
- ->where('action', '=', $this->currentAction)
- ->where(function ($query) {
- $query->where('has_permission', '=', true)
- ->orWhere(function ($query) {
- $query->where('has_permission_own', '=', true)
- ->where('created_by', '=', $this->currentUser()->id);
- });
+ */
+ protected function entityRestrictionQuery(Builder $query, string $action): Builder
+ {
+ $q = $query->where(function ($parentQuery) use ($action) {
+ $parentQuery->whereHas('jointPermissions', function ($permissionQuery) use ($action) {
+ $permissionQuery->whereIn('role_id', $this->getCurrentUserRoles())
+ ->where('action', '=', $action)
+ ->where(function (Builder $query) {
+ $this->addJointHasPermissionCheck($query, $this->currentUser()->id);
});
});
});
+
$this->clean();
return $q;
}
$this->clean();
return $query->where(function (Builder $parentQuery) use ($ability) {
$parentQuery->whereHas('jointPermissions', function (Builder $permissionQuery) use ($ability) {
- $permissionQuery->whereIn('role_id', $this->getRoles())
+ $permissionQuery->whereIn('role_id', $this->getCurrentUserRoles())
->where('action', '=', $ability)
->where(function (Builder $query) {
- $query->where('has_permission', '=', true)
- ->orWhere(function (Builder $query) {
- $query->where('has_permission_own', '=', true)
- ->where('created_by', '=', $this->currentUser()->id);
- });
+ $this->addJointHasPermissionCheck($query, $this->currentUser()->id);
});
});
});
* Extend the given page query to ensure draft items are not visible
* unless created by the given user.
*/
- public function enforceDraftVisiblityOnQuery(Builder $query): Builder
+ public function enforceDraftVisibilityOnQuery(Builder $query): Builder
{
return $query->where(function (Builder $query) {
$query->where('draft', '=', false)
->orWhere(function (Builder $query) {
$query->where('draft', '=', true)
- ->where('created_by', '=', $this->currentUser()->id);
+ ->where('owned_by', '=', $this->currentUser()->id);
});
});
}
/**
- * Add restrictions for a generic entity
- * @param string $entityType
- * @param Builder|\BookStack\Entities\Models\Entity $query
- * @param string $action
- * @return Builder
+ * Add restrictions for a generic entity.
*/
- public function enforceEntityRestrictions($entityType, $query, $action = 'view')
+ public function enforceEntityRestrictions(Entity $entity, Builder $query, string $action = 'view'): Builder
{
- if (strtolower($entityType) === 'page') {
+ if ($entity instanceof Page) {
// Prevent drafts being visible to others.
- $query = $query->where(function ($query) {
- $query->where('draft', '=', false)
- ->orWhere(function ($query) {
- $query->where('draft', '=', true)
- ->where('created_by', '=', $this->currentUser()->id);
- });
- });
+ $this->enforceDraftVisibilityOnQuery($query);
}
- $this->currentAction = $action;
- return $this->entityRestrictionQuery($query);
+ return $this->entityRestrictionQuery($query, $action);
}
/**
* Filter items that have entities set as a polymorphic relation.
- * @param $query
- * @param string $tableName
- * @param string $entityIdColumn
- * @param string $entityTypeColumn
- * @param string $action
- * @return QueryBuilder
+ * @param Builder|\Illuminate\Database\Query\Builder $query
*/
- public function filterRestrictedEntityRelations($query, $tableName, $entityIdColumn, $entityTypeColumn, $action = 'view')
+ public function filterRestrictedEntityRelations($query, string $tableName, string $entityIdColumn, string $entityTypeColumn, string $action = 'view')
{
-
- $this->currentAction = $action;
$tableDetails = ['tableName' => $tableName, 'entityIdColumn' => $entityIdColumn, 'entityTypeColumn' => $entityTypeColumn];
- $q = $query->where(function ($query) use ($tableDetails) {
- $query->whereExists(function ($permissionQuery) use (&$tableDetails) {
- $permissionQuery->select('id')->from('joint_permissions')
+ $q = $query->where(function ($query) use ($tableDetails, $action) {
+ $query->whereExists(function ($permissionQuery) use (&$tableDetails, $action) {
+ $permissionQuery->select(['role_id'])->from('joint_permissions')
->whereRaw('joint_permissions.entity_id=' . $tableDetails['tableName'] . '.' . $tableDetails['entityIdColumn'])
->whereRaw('joint_permissions.entity_type=' . $tableDetails['tableName'] . '.' . $tableDetails['entityTypeColumn'])
- ->where('action', '=', $this->currentAction)
- ->whereIn('role_id', $this->getRoles())
- ->where(function ($query) {
- $query->where('has_permission', '=', true)->orWhere(function ($query) {
- $query->where('has_permission_own', '=', true)
- ->where('created_by', '=', $this->currentUser()->id);
- });
+ ->where('action', '=', $action)
+ ->whereIn('role_id', $this->getCurrentUserRoles())
+ ->where(function (QueryBuilder $query) {
+ $this->addJointHasPermissionCheck($query, $this->currentUser()->id);
});
});
});
+
$this->clean();
return $q;
}
/**
* Add conditions to a query to filter the selection to related entities
- * where permissions are granted.
- * @param $entityType
- * @param $query
- * @param $tableName
- * @param $entityIdColumn
- * @return mixed
+ * where view permissions are granted.
*/
- public function filterRelatedEntity($entityType, $query, $tableName, $entityIdColumn)
+ public function filterRelatedEntity(string $entityClass, Builder $query, string $tableName, string $entityIdColumn): Builder
{
- $this->currentAction = 'view';
$tableDetails = ['tableName' => $tableName, 'entityIdColumn' => $entityIdColumn];
+ $morphClass = app($entityClass)->getMorphClass();
- $pageMorphClass = $this->entityProvider->get($entityType)->getMorphClass();
-
- $q = $query->where(function ($query) use ($tableDetails, $pageMorphClass) {
- $query->where(function ($query) use (&$tableDetails, $pageMorphClass) {
- $query->whereExists(function ($permissionQuery) use (&$tableDetails, $pageMorphClass) {
+ $q = $query->where(function ($query) use ($tableDetails, $morphClass) {
+ $query->where(function ($query) use (&$tableDetails, $morphClass) {
+ $query->whereExists(function ($permissionQuery) use (&$tableDetails, $morphClass) {
$permissionQuery->select('id')->from('joint_permissions')
->whereRaw('joint_permissions.entity_id=' . $tableDetails['tableName'] . '.' . $tableDetails['entityIdColumn'])
- ->where('entity_type', '=', $pageMorphClass)
- ->where('action', '=', $this->currentAction)
- ->whereIn('role_id', $this->getRoles())
- ->where(function ($query) {
- $query->where('has_permission', '=', true)->orWhere(function ($query) {
- $query->where('has_permission_own', '=', true)
- ->where('created_by', '=', $this->currentUser()->id);
- });
+ ->where('entity_type', '=', $morphClass)
+ ->where('action', '=', 'view')
+ ->whereIn('role_id', $this->getCurrentUserRoles())
+ ->where(function (QueryBuilder $query) {
+ $this->addJointHasPermissionCheck($query, $this->currentUser()->id);
});
});
})->orWhere($tableDetails['entityIdColumn'], '=', 0);
});
$this->clean();
-
return $q;
}
+ /**
+ * Add the query for checking the given user id has permission
+ * within the join_permissions table.
+ * @param QueryBuilder|Builder $query
+ */
+ protected function addJointHasPermissionCheck($query, int $userIdToCheck)
+ {
+ $query->where('has_permission', '=', true)->orWhere(function ($query) use ($userIdToCheck) {
+ $query->where('has_permission_own', '=', true)
+ ->where('owned_by', '=', $userIdToCheck);
+ });
+ }
+
/**
* Get the current user
- * @return \BookStack\Auth\User
*/
- private function currentUser()
+ private function currentUser(): User
{
- if ($this->currentUserModel === false) {
+ if (is_null($this->currentUserModel)) {
$this->currentUserModel = user();
}
/**
* Clean the cached user elements.
*/
- private function clean()
+ private function clean(): void
{
- $this->currentUserModel = false;
- $this->userRoles = false;
- $this->isAdminUser = null;
+ $this->currentUserModel = null;
+ $this->userRoles = null;
}
}
use BookStack\Interfaces\Loggable;
use BookStack\Model;
use Illuminate\Database\Eloquent\Collection;
+use Illuminate\Database\Eloquent\Relations\BelongsToMany;
use Illuminate\Database\Eloquent\Relations\HasMany;
/**
/**
* The roles that belong to the role.
*/
- public function users()
+ public function users(): BelongsToMany
{
return $this->belongsToMany(User::class)->orderBy('name', 'asc');
}
/**
* The RolePermissions that belong to the role.
*/
- public function permissions()
+ public function permissions(): BelongsToMany
{
return $this->belongsToMany(RolePermission::class, 'permission_role', 'role_id', 'permission_id');
}
}
/**
- * Get all visible roles
+ * Get all visible roles.
*/
public static function visible(): Collection
{
*/
public static function restrictable(): Collection
{
- return static::query()->where('system_name', '!=', 'admin')->get();
+ return static::query()
+ ->where('system_name', '!=', 'admin')
+ ->orderBy('display_name', 'asc')
+ ->get();
}
/**
<?php namespace BookStack\Auth;
-use BookStack\Actions\Activity;
+use BookStack\Actions\Favourite;
use BookStack\Api\ApiToken;
+use BookStack\Entities\Tools\SlugGenerator;
use BookStack\Interfaces\Loggable;
+use BookStack\Interfaces\Sluggable;
use BookStack\Model;
use BookStack\Notifications\ResetPassword;
use BookStack\Uploads\Image;
use Carbon\Carbon;
+use Exception;
use Illuminate\Auth\Authenticatable;
use Illuminate\Auth\Passwords\CanResetPassword;
use Illuminate\Contracts\Auth\Authenticatable as AuthenticatableContract;
use Illuminate\Contracts\Auth\CanResetPassword as CanResetPasswordContract;
+use Illuminate\Database\Eloquent\Builder;
+use Illuminate\Database\Eloquent\Relations\BelongsTo;
use Illuminate\Database\Eloquent\Relations\BelongsToMany;
use Illuminate\Database\Eloquent\Relations\HasMany;
-use Illuminate\Database\Eloquent\Relations\HasOne;
use Illuminate\Notifications\Notifiable;
+use Illuminate\Support\Collection;
/**
* Class User
* @property string $id
* @property string $name
+ * @property string $slug
* @property string $email
* @property string $password
* @property Carbon $created_at
* @property int $image_id
* @property string $external_auth_id
* @property string $system_name
+ * @property Collection $roles
*/
-class User extends Model implements AuthenticatableContract, CanResetPasswordContract, Loggable
+class User extends Model implements AuthenticatableContract, CanResetPasswordContract, Loggable, Sluggable
{
use Authenticatable, CanResetPassword, Notifiable;
*/
protected $fillable = ['name', 'email'];
+ protected $casts = ['last_activity_at' => 'datetime'];
+
/**
* The attributes excluded from the model's JSON form.
* @var array
/**
* This holds the user's permissions when loaded.
- * @var array
+ * @var ?Collection
*/
protected $permissions;
/**
* Returns the default public user.
- * @return User
*/
- public static function getDefault()
+ public static function getDefault(): User
{
if (!is_null(static::$defaultUser)) {
return static::$defaultUser;
}
- static::$defaultUser = static::where('system_name', '=', 'public')->first();
+ static::$defaultUser = static::query()->where('system_name', '=', 'public')->first();
return static::$defaultUser;
}
/**
* Check if the user is the default public user.
- * @return bool
*/
- public function isDefault()
+ public function isDefault(): bool
{
return $this->system_name === 'public';
}
/**
* Check if the user has a role.
- * @param $role
- * @return mixed
*/
- public function hasSystemRole($role)
+ public function hasSystemRole(string $roleSystemName): bool
{
- return $this->roles->pluck('system_name')->contains($role);
+ return $this->roles->pluck('system_name')->contains($roleSystemName);
}
/**
}
}
+ /**
+ * Check if the user has a particular permission.
+ */
+ public function can(string $permissionName): bool
+ {
+ if ($this->email === 'guest') {
+ return false;
+ }
+
+ return $this->permissions()->contains($permissionName);
+ }
+
/**
* Get all permissions belonging to a the current user.
- * @param bool $cache
- * @return \Illuminate\Database\Eloquent\Relations\HasManyThrough
*/
- public function permissions($cache = true)
+ protected function permissions(): Collection
{
- if (isset($this->permissions) && $cache) {
+ if (isset($this->permissions)) {
return $this->permissions;
}
- $this->load('roles.permissions');
- $permissions = $this->roles->map(function ($role) {
- return $role->permissions;
- })->flatten()->unique();
- $this->permissions = $permissions;
- return $permissions;
+
+ $this->permissions = $this->newQuery()->getConnection()->table('role_user', 'ru')
+ ->select('role_permissions.name as name')->distinct()
+ ->leftJoin('permission_role', 'ru.role_id', '=', 'permission_role.role_id')
+ ->leftJoin('role_permissions', 'permission_role.permission_id', '=', 'role_permissions.id')
+ ->where('ru.user_id', '=', $this->id)
+ ->get()
+ ->pluck('name');
+
+ return $this->permissions;
}
/**
- * Check if the user has a particular permission.
- * @param $permissionName
- * @return bool
+ * Clear any cached permissions on this instance.
*/
- public function can($permissionName)
+ public function clearPermissionCache()
{
- if ($this->email === 'guest') {
- return false;
- }
- return $this->permissions()->pluck('name')->contains($permissionName);
+ $this->permissions = null;
}
/**
/**
* Get the social account associated with this user.
- * @return \Illuminate\Database\Eloquent\Relations\HasMany
*/
- public function socialAccounts()
+ public function socialAccounts(): HasMany
{
return $this->hasMany(SocialAccount::class);
}
}
/**
- * Returns the user's avatar,
- * @param int $size
- * @return string
+ * Returns a URL to the user's avatar
*/
- public function getAvatar($size = 50)
+ public function getAvatar(int $size = 50): string
{
$default = url('/user_avatar.png');
$imageId = $this->image_id;
try {
$avatar = $this->avatar ? url($this->avatar->getThumb($size, $size, false)) : $default;
- } catch (\Exception $err) {
+ } catch (Exception $err) {
$avatar = $default;
}
return $avatar;
/**
* Get the avatar for the user.
- * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
*/
- public function avatar()
+ public function avatar(): BelongsTo
{
return $this->belongsTo(Image::class, 'image_id');
}
}
/**
- * Get the latest activity instance for this user.
+ * Get the favourite instances for this user.
*/
- public function latestActivity(): HasOne
+ public function favourites(): HasMany
{
- return $this->hasOne(Activity::class)->latest();
+ return $this->hasMany(Favourite::class);
+ }
+
+ /**
+ * Get the last activity time for this user.
+ */
+ public function scopeWithLastActivityAt(Builder $query)
+ {
+ $query->addSelect(['activities.created_at as last_activity_at'])
+ ->leftJoinSub(function (\Illuminate\Database\Query\Builder $query) {
+ $query->from('activities')->select('user_id')
+ ->selectRaw('max(created_at) as created_at')
+ ->groupBy('user_id');
+ }, 'activities', 'users.id', '=', 'activities.user_id');
}
/**
*/
public function getProfileUrl(): string
{
- return url('/user/' . $this->id);
+ return url('/user/' . $this->slug);
}
/**
* Get a shortened version of the user's name.
- * @param int $chars
- * @return string
*/
- public function getShortName($chars = 8)
+ public function getShortName(int $chars = 8): string
{
if (mb_strlen($this->name) <= $chars) {
return $this->name;
{
return "({$this->id}) {$this->name}";
}
+
+ /**
+ * @inheritDoc
+ */
+ public function refreshSlug(): string
+ {
+ $this->slug = app(SlugGenerator::class)->generate($this);
+ return $this->slug;
+ }
}
<?php namespace BookStack\Auth;
use Activity;
+use BookStack\Entities\EntityProvider;
use BookStack\Entities\Models\Book;
use BookStack\Entities\Models\Bookshelf;
use BookStack\Entities\Models\Chapter;
use BookStack\Entities\Models\Page;
use BookStack\Exceptions\NotFoundException;
use BookStack\Exceptions\UserUpdateException;
-use BookStack\Uploads\Image;
+use BookStack\Uploads\UserAvatars;
use Exception;
use Illuminate\Database\Eloquent\Builder;
+use Illuminate\Database\Eloquent\Collection;
use Illuminate\Pagination\LengthAwarePaginator;
-use Images;
use Log;
class UserRepo
{
-
- protected $user;
- protected $role;
+ protected $userAvatar;
/**
* UserRepo constructor.
*/
- public function __construct(User $user, Role $role)
+ public function __construct(UserAvatars $userAvatar)
{
- $this->user = $user;
- $this->role = $role;
+ $this->userAvatar = $userAvatar;
}
/**
*/
public function getByEmail(string $email): ?User
{
- return $this->user->where('email', '=', $email)->first();
+ return User::query()->where('email', '=', $email)->first();
+ }
+
+ /**
+ * Get a user by their ID.
+ */
+ public function getById(int $id): User
+ {
+ return User::query()->findOrFail($id);
}
/**
- * @param int $id
- * @return User
+ * Get a user by their slug.
*/
- public function getById($id)
+ public function getBySlug(string $slug): User
{
- return $this->user->newQuery()->findOrFail($id);
+ return User::query()->where('slug', '=', $slug)->firstOrFail();
}
/**
* Get all the users with their permissions.
- * @return Builder|static
*/
- public function getAllUsers()
+ public function getAllUsers(): Collection
{
- return $this->user->with('roles', 'avatar')->orderBy('name', 'asc')->get();
+ return User::query()->with('roles', 'avatar')->orderBy('name', 'asc')->get();
}
/**
public function getAllUsersPaginatedAndSorted(int $count, array $sortData): LengthAwarePaginator
{
$sort = $sortData['sort'];
- if ($sort === 'latest_activity') {
- $sort = \BookStack\Actions\Activity::query()->select('created_at')
- ->whereColumn('activities.user_id', 'users.id')
- ->latest()
- ->take(1);
- }
- $query = $this->user->with(['roles', 'avatar', 'latestActivity'])
+ $query = User::query()->select(['*'])
+ ->withLastActivityAt()
+ ->with(['roles', 'avatar'])
->orderBy($sort, $sortData['order']);
if ($sortData['search']) {
/**
* Assign a user to a system-level role.
- * @param User $user
- * @param $systemRoleName
* @throws NotFoundException
*/
- public function attachSystemRole(User $user, $systemRoleName)
+ public function attachSystemRole(User $user, string $systemRoleName)
{
- $role = $this->role->newQuery()->where('system_name', '=', $systemRoleName)->first();
- if ($role === null) {
+ $role = Role::getSystemRole($systemRoleName);
+ if (is_null($role)) {
throw new NotFoundException("Role '{$systemRoleName}' not found");
}
$user->attachRole($role);
/**
* Checks if the give user is the only admin.
- * @param User $user
- * @return bool
*/
- public function isOnlyAdmin(User $user)
+ public function isOnlyAdmin(User $user): bool
{
if (!$user->hasSystemRole('admin')) {
return false;
}
- $adminRole = $this->role->getSystemRole('admin');
- if ($adminRole->users->count() > 1) {
+ $adminRole = Role::getSystemRole('admin');
+ if ($adminRole->users()->count() > 1) {
return false;
}
+
return true;
}
/**
* Set the assigned user roles via an array of role IDs.
- * @param User $user
- * @param array $roles
* @throws UserUpdateException
*/
public function setUserRoles(User $user, array $roles)
/**
* Check if the given user is the last admin and their new roles no longer
* contains the admin role.
- * @param User $user
- * @param array $newRoles
- * @return bool
*/
protected function demotingLastAdmin(User $user, array $newRoles) : bool
{
if ($this->isOnlyAdmin($user)) {
- $adminRole = $this->role->getSystemRole('admin');
+ $adminRole = Role::getSystemRole('admin');
if (!in_array(strval($adminRole->id), $newRoles)) {
return true;
}
*/
public function create(array $data, bool $emailConfirmed = false): User
{
- return $this->user->forceCreate([
+ $details = [
'name' => $data['name'],
'email' => $data['email'],
'password' => bcrypt($data['password']),
'email_confirmed' => $emailConfirmed,
'external_auth_id' => $data['external_auth_id'] ?? '',
- ]);
+ ];
+
+ $user = new User();
+ $user->forceFill($details);
+ $user->refreshSlug();
+ $user->save();
+
+ return $user;
}
/**
* Remove the given user from storage, Delete all related content.
- * @param User $user
* @throws Exception
*/
- public function destroy(User $user)
+ public function destroy(User $user, ?int $newOwnerId = null)
{
$user->socialAccounts()->delete();
$user->apiTokens()->delete();
+ $user->favourites()->delete();
$user->delete();
// Delete user profile images
- $profileImages = Image::where('type', '=', 'user')->where('uploaded_to', '=', $user->id)->get();
- foreach ($profileImages as $image) {
- Images::destroy($image);
+ $this->userAvatar->destroyAllForUser($user);
+
+ if (!empty($newOwnerId)) {
+ $newOwner = User::query()->find($newOwnerId);
+ if (!is_null($newOwner)) {
+ $this->migrateOwnership($user, $newOwner);
+ }
+ }
+ }
+
+ /**
+ * Migrate ownership of items in the system from one user to another.
+ */
+ protected function migrateOwnership(User $fromUser, User $toUser)
+ {
+ $entities = (new EntityProvider)->all();
+ foreach ($entities as $instance) {
+ $instance->newQuery()->where('owned_by', '=', $fromUser->id)
+ ->update(['owned_by' => $toUser->id]);
}
}
/**
* Get the latest activity for a user.
- * @param User $user
- * @param int $count
- * @param int $page
- * @return array
*/
- public function getActivity(User $user, $count = 20, $page = 0)
+ public function getActivity(User $user, int $count = 20, int $page = 0): array
{
return Activity::userActivity($user, $count, $page);
}
/**
* Get the roles in the system that are assignable to a user.
- * @return mixed
*/
- public function getAllRoles()
+ public function getAllRoles(): Collection
{
- return $this->role->newQuery()->orderBy('display_name', 'asc')->get();
+ return Role::query()->orderBy('display_name', 'asc')->get();
}
/**
* Get an avatar image for a user and set it as their avatar.
* Returns early if avatars disabled or not set in config.
- * @param User $user
- * @return bool
*/
- public function downloadAndAssignUserAvatar(User $user)
+ public function downloadAndAssignUserAvatar(User $user): void
{
- if (!Images::avatarFetchEnabled()) {
- return false;
- }
-
try {
- $avatar = Images::saveUserAvatar($user);
- $user->avatar()->associate($avatar);
- $user->save();
- return true;
+ $this->userAvatar->fetchAndAssignToUser($user);
} catch (Exception $e) {
Log::error('Failed to save user avatar image');
- return false;
}
}
}
// private configuration variables so should remain disabled in public.
'debug' => env('APP_DEBUG', false),
- // Set the default view type for various lists. Can be overridden by user preferences.
- // These will be used for public viewers and users that have not set a preference.
- 'views' => [
- 'books' => env('APP_VIEWS_BOOKS', 'list'),
- 'bookshelves' => env('APP_VIEWS_BOOKSHELVES', 'grid'),
- ],
-
// The number of revisions to keep in the database.
// Once this limit is reached older revisions will be deleted.
// If set to false then a limit will not be enforced.
// and used by BookStack in URL generation.
'url' => env('APP_URL', '') === 'http://bookstack.dev' ? '' : env('APP_URL', ''),
+ // A list of hosts that BookStack can be iframed within.
+ // Space separated if multiple. BookStack host domain is auto-inferred.
+ 'iframe_hosts' => env('ALLOWED_IFRAME_HOSTS', null),
+
// Application timezone for back-end date functions.
'timezone' => env('APP_TIMEZONE', 'UTC'),
'locale' => env('APP_LANG', 'en'),
// Locales available
- 'locales' => ['en', 'ar', 'bg', 'cs', 'da', 'de', 'de_informal', 'es', 'es_AR', 'fa', 'fr', 'he', 'hu', 'it', 'ja', 'ko', 'nl', 'pt', 'pt_BR', 'sk', 'sl', 'sv', 'pl', 'ru', 'th', 'tr', 'uk', 'vi', 'zh_CN', 'zh_TW',],
+ 'locales' => ['en', 'ar', 'bg', 'bs', 'ca', 'cs', 'da', 'de', 'de_informal', 'es', 'es_AR', 'fa', 'fr', 'he', 'hr', 'hu', 'id', 'it', 'ja', 'ko', 'lv', 'nl', 'nb', 'pt', 'pt_BR', 'sk', 'sl', 'sv', 'pl', 'ru', 'th', 'tr', 'uk', 'vi', 'zh_CN', 'zh_TW',],
// Application Fallback Locale
'fallback_locale' => 'en',
BookStack\Providers\TranslationServiceProvider::class,
// BookStack custom service providers
+ BookStack\Providers\ThemeServiceProvider::class,
BookStack\Providers\AuthServiceProvider::class,
BookStack\Providers\AppServiceProvider::class,
BookStack\Providers\BroadcastServiceProvider::class,
// Custom BookStack
'Activity' => BookStack\Facades\Activity::class,
- 'Setting' => BookStack\Facades\Setting::class,
- 'Views' => BookStack\Facades\Views::class,
- 'Images' => BookStack\Facades\Images::class,
'Permissions' => BookStack\Facades\Permissions::class,
-
+ 'Theme' => BookStack\Facades\Theme::class,
],
// Proxy configuration
'database' => 'bookstack-test',
'username' => env('MYSQL_USER', 'bookstack-test'),
'password' => env('MYSQL_PASSWORD', 'bookstack-test'),
+ 'port' => $mysql_port,
'charset' => 'utf8mb4',
'collation' => 'utf8mb4_unicode_ci',
'prefix' => '',
* Times-Roman, Times-Bold, Times-BoldItalic, Times-Italic,
* Symbol, ZapfDingbats.
*/
- "DOMPDF_FONT_DIR" => app_path('vendor/dompdf/dompdf/lib/fonts/'), //storage_path('fonts/'), // advised by dompdf (https://github.com/dompdf/dompdf/pull/782)
+ "DOMPDF_FONT_DIR" => storage_path('fonts/'), // advised by dompdf (https://github.com/dompdf/dompdf/pull/782)
/**
* The location of the DOMPDF font cache directory
*
* @var bool
*/
- "DOMPDF_ENABLE_JAVASCRIPT" => true,
+ "DOMPDF_ENABLE_JAVASCRIPT" => false,
/**
* Enable remote file access
'root' => storage_path(),
],
- 'ftp' => [
- 'driver' => 'ftp',
- 'host' => 'ftp.example.com',
- 'username' => 'your-username',
- 'password' => 'your-password',
- ],
-
's3' => [
'driver' => 's3',
'key' => env('STORAGE_S3_KEY', 'your-key'),
'use_path_style_endpoint' => env('STORAGE_S3_ENDPOINT', null) !== null,
],
- 'rackspace' => [
- 'driver' => 'rackspace',
- 'username' => 'your-username',
- 'key' => 'your-key',
- 'container' => 'your-container',
- 'endpoint' => 'https://identity.api.rackspacecloud.com/v2.0/',
- 'region' => 'IAD',
- 'url_type' => 'publicURL',
- ],
-
],
];
return [
// Mail driver to use.
- // Options: smtp, mail, sendmail, log
+ // Options: smtp, sendmail, log, array
'driver' => env('MAIL_DRIVER', 'smtp'),
// SMTP host address
<?php
+$SAML2_IDP_AUTHNCONTEXT = env('SAML2_IDP_AUTHNCONTEXT', true);
+
return [
// Display name, shown to users, for SAML2 option
// )
// ),
],
+ 'security' => [
+ // SAML2 Authn context
+ // When set to false no AuthContext will be sent in the AuthNRequest,
+ // When set to true (Default) you will get an AuthContext 'exact' 'urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport'.
+ // Multiple forced values can be passed via a space separated array, For example:
+ // SAML2_IDP_AUTHNCONTEXT="urn:federation:authentication:windows urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport"
+ 'requestedAuthnContext' => is_string($SAML2_IDP_AUTHNCONTEXT) ? explode(' ', $SAML2_IDP_AUTHNCONTEXT) : $SAML2_IDP_AUTHNCONTEXT,
+ ],
],
];
'group_attribute' => env('LDAP_GROUP_ATTRIBUTE', 'memberOf'),
'remove_from_groups' => env('LDAP_REMOVE_FROM_GROUPS', false),
'tls_insecure' => env('LDAP_TLS_INSECURE', false),
+ 'start_tls' => env('LDAP_START_TLS', false),
+ 'thumbnail_attribute' => env('LDAP_THUMBNAIL_ATTRIBUTE', null),
],
];
<?php
+use \Illuminate\Support\Str;
+
/**
* Session configuration options.
*
// The session cookie path determines the path for which the cookie will
// be regarded as available. Typically, this will be the root path of
// your application but you are free to change this when necessary.
- 'path' => '/',
+ 'path' => '/' . (explode('/', env('APP_URL', ''), 4)[3] ?? ''),
// Session Cookie Domain
// Here you may change the domain of the cookie used to identify a session
// By setting this option to true, session cookies will only be sent back
// to the server if the browser has a HTTPS connection. This will keep
// the cookie from being sent to you if it can not be done securely.
- 'secure' => env('SESSION_SECURE_COOKIE', false),
+ 'secure' => env('SESSION_SECURE_COOKIE', null)
+ ?? Str::startsWith(env('APP_URL'), 'https:'),
// HTTP Access Only
// Setting this value to true will prevent JavaScript from accessing the
// This option determines how your cookies behave when cross-site requests
// take place, and can be used to mitigate CSRF attacks. By default, we
// do not enable this as other CSRF protection services are in place.
- // Options: lax, strict
- 'same_site' => null,
+ // Options: lax, strict, none
+ 'same_site' => 'lax',
];
'app-custom-head' => false,
'registration-enabled' => false,
+ // User-level default settings
+ 'user' => [
+ 'dark-mode-enabled' => env('APP_DEFAULT_DARK_MODE', false),
+ 'bookshelves_view_type' => env('APP_VIEWS_BOOKSHELVES', 'grid'),
+ 'bookshelf_view_type' =>env('APP_VIEWS_BOOKSHELF', 'grid'),
+ 'books_view_type' => env('APP_VIEWS_BOOKS', 'grid'),
+ ],
+
];
* @var string
*/
protected $signature = 'bookstack:cleanup-images
- {--a|all : Include images that are used in page revisions}
- {--f|force : Actually run the deletions}
+ {--a|all : Also delete images that are only used in old revisions}
+ {--f|force : Actually run the deletions, Defaults to a dry-run}
';
/**
namespace BookStack\Console\Commands;
+use BookStack\Actions\View;
use Illuminate\Console\Command;
class ClearViews extends Command
*/
public function handle()
{
- \Views::resetAll();
+ View::clearAll();
$this->comment('Views cleared');
}
}
/**
* Create a new command instance.
- *
- * @param UserRepo $userRepo
*/
public function __construct(UserRepo $userRepo)
{
use Illuminate\Console\Command;
use Illuminate\Database\Connection;
+use Illuminate\Support\Facades\DB;
class UpdateUrl extends Command
{
"attachments" => ["path"],
"pages" => ["html", "text", "markdown"],
"images" => ["url"],
+ "settings" => ["value"],
"comments" => ["html", "text"],
];
foreach ($columnsToUpdateByTable as $table => $columns) {
foreach ($columns as $column) {
- $changeCount = $this->db->table($table)->update([
- $column => $this->db->raw("REPLACE({$column}, '{$oldUrl}', '{$newUrl}')")
- ]);
+ $changeCount = $this->replaceValueInTable($table, $column, $oldUrl, $newUrl);
$this->info("Updated {$changeCount} rows in {$table}->{$column}");
}
}
+ $jsonColumnsToUpdateByTable = [
+ "settings" => ["value"],
+ ];
+
+ foreach ($jsonColumnsToUpdateByTable as $table => $columns) {
+ foreach ($columns as $column) {
+ $oldJson = trim(json_encode($oldUrl), '"');
+ $newJson = trim(json_encode($newUrl), '"');
+ $changeCount = $this->replaceValueInTable($table, $column, $oldJson, $newJson);
+ $this->info("Updated {$changeCount} JSON encoded rows in {$table}->{$column}");
+ }
+ }
+
$this->info("URL update procedure complete.");
+ $this->info('============================================================================');
+ $this->info('Be sure to run "php artisan cache:clear" to clear any old URLs in the cache.');
+ $this->info('============================================================================');
return 0;
}
+ /**
+ * Perform a find+replace operations in the provided table and column.
+ * Returns the count of rows changed.
+ */
+ protected function replaceValueInTable(string $table, string $column, string $oldUrl, string $newUrl): int
+ {
+ $oldQuoted = $this->db->getPdo()->quote($oldUrl);
+ $newQuoted = $this->db->getPdo()->quote($newUrl);
+ return $this->db->table($table)->update([
+ $column => $this->db->raw("REPLACE({$column}, {$oldQuoted}, {$newQuoted})")
+ ]);
+ }
+
/**
* Warn the user of the dangers of this operation.
* Returns a boolean indicating if they've accepted the warnings.
/**
* Fetch all core entity types as an associated array
* with their basic names as the keys.
- * @return [string => Entity]
+ * @return array<Entity>
*/
public function all(): array
{
<?php namespace BookStack\Entities\Models;
-use BookStack\Entities\Models\Chapter;
-use BookStack\Entities\Models\Entity;
-use BookStack\Entities\Models\Book;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
/**
* Get the book this page sits in.
- * @return BelongsTo
*/
public function book(): BelongsTo
{
- return $this->belongsTo(Book::class);
+ return $this->belongsTo(Book::class)->withTrashed();
}
/**
// Update all child pages if a chapter
if ($this instanceof Chapter) {
- foreach ($this->pages as $page) {
+ foreach ($this->pages()->withTrashed()->get() as $page) {
$page->changeBook($newBookId);
}
}
/**
* Class Chapter
* @property Collection<Page> $pages
+ * @property mixed description
*/
class Chapter extends BookChild
{
return url('/' . implode('/', $parts));
}
- /**
- * Check if this chapter has any child pages.
- * @return bool
- */
- public function hasChildren()
- {
- return count($this->pages) > 0;
- }
-
/**
* Get the visible pages in this chapter.
*/
use BookStack\Actions\Activity;
use BookStack\Actions\Comment;
+use BookStack\Actions\Favourite;
use BookStack\Actions\Tag;
use BookStack\Actions\View;
use BookStack\Auth\Permissions\EntityPermission;
use BookStack\Entities\Tools\SearchIndex;
use BookStack\Entities\Tools\SlugGenerator;
use BookStack\Facades\Permissions;
-use BookStack\Ownable;
+use BookStack\Interfaces\Favouritable;
+use BookStack\Interfaces\Sluggable;
+use BookStack\Interfaces\Viewable;
+use BookStack\Model;
+use BookStack\Traits\HasCreatorAndUpdater;
+use BookStack\Traits\HasOwner;
use Carbon\Carbon;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\Collection;
* @method static Builder withLastView()
* @method static Builder withViewCount()
*/
-abstract class Entity extends Ownable
+abstract class Entity extends Model implements Sluggable, Favouritable, Viewable
{
use SoftDeletes;
+ use HasCreatorAndUpdater;
+ use HasOwner;
/**
* @var string - Name of property where the main text content is found
}
/**
- * Get entity type.
- * @return mixed
+ * Get the entity type as a simple lowercase word.
*/
- public static function getType()
+ public static function getType(): string
{
- return strtolower(static::getClassName());
+ $className = array_slice(explode('\\', static::class), -1, 1)[0];
+ return strtolower($className);
}
/**
}
/**
- * Generate and set a new URL slug for this model.
+ * @inheritdoc
*/
public function refreshSlug(): string
{
- $this->slug = (new SlugGenerator)->generate($this);
+ $this->slug = app(SlugGenerator::class)->generate($this);
return $this->slug;
}
+
+ /**
+ * @inheritdoc
+ */
+ public function favourites(): MorphMany
+ {
+ return $this->morphMany(Favourite::class, 'favouritable');
+ }
+
+ /**
+ * Check if the entity is a favourite of the current user.
+ */
+ public function isFavourite(): bool
+ {
+ return $this->favourites()
+ ->where('user_id', '=', user()->id)
+ ->exists();
+ }
}
*/
public function scopeVisible(Builder $query): Builder
{
- $query = Permissions::enforceDraftVisiblityOnQuery($query);
+ $query = Permissions::enforceDraftVisibilityOnQuery($query);
return parent::scopeVisible($query);
}
/**
* Get the associated page revisions, ordered by created date.
- * @return mixed
+ * Only provides actual saved page revision instances, Not drafts.
+ */
+ public function revisions(): HasMany
+ {
+ return $this->allRevisions()
+ ->where('type', '=', 'version')
+ ->orderBy('created_at', 'desc')
+ ->orderBy('id', 'desc');
+ }
+
+ /**
+ * Get all revision instances assigned to this page.
+ * Includes all types of revisions.
*/
- public function revisions()
+ public function allRevisions(): HasMany
{
- return $this->hasMany(PageRevision::class)->where('type', '=', 'version')->orderBy('created_at', 'desc')->orderBy('id', 'desc');
+ return $this->hasMany(PageRevision::class);
}
/**
*/
public function forJsonDisplay(): Page
{
- $refreshed = $this->refresh()->unsetRelations()->load(['tags', 'createdBy', 'updatedBy']);
+ $refreshed = $this->refresh()->unsetRelations()->load(['tags', 'createdBy', 'updatedBy', 'ownedBy']);
$refreshed->setHidden(array_diff($refreshed->getHidden(), ['html', 'markdown']));
$refreshed->html = (new PageContent($refreshed))->render();
return $refreshed;
--- /dev/null
+<?php namespace BookStack\Entities\Queries;
+
+use BookStack\Auth\Permissions\PermissionService;
+use BookStack\Entities\EntityProvider;
+
+abstract class EntityQuery
+{
+ protected function permissionService(): PermissionService
+ {
+ return app()->make(PermissionService::class);
+ }
+
+ protected function entityProvider(): EntityProvider
+ {
+ return app()->make(EntityProvider::class);
+ }
+}
\ No newline at end of file
--- /dev/null
+<?php namespace BookStack\Entities\Queries;
+
+
+use BookStack\Actions\View;
+use Illuminate\Support\Facades\DB;
+
+class Popular extends EntityQuery
+{
+ public function run(int $count, int $page, array $filterModels = null, string $action = 'view')
+ {
+ $query = $this->permissionService()
+ ->filterRestrictedEntityRelations(View::query(), 'views', 'viewable_id', 'viewable_type', $action)
+ ->select('*', 'viewable_id', 'viewable_type', DB::raw('SUM(views) as view_count'))
+ ->groupBy('viewable_id', 'viewable_type')
+ ->orderBy('view_count', 'desc');
+
+ if ($filterModels) {
+ $query->whereIn('viewable_type', $this->entityProvider()->getMorphClasses($filterModels));
+ }
+
+ return $query->with('viewable')
+ ->skip($count * ($page - 1))
+ ->take($count)
+ ->get()
+ ->pluck('viewable')
+ ->filter();
+ }
+
+}
\ No newline at end of file
--- /dev/null
+<?php namespace BookStack\Entities\Queries;
+
+use BookStack\Actions\View;
+use Illuminate\Support\Collection;
+
+class RecentlyViewed extends EntityQuery
+{
+ public function run(int $count, int $page): Collection
+ {
+ $user = user();
+ if ($user === null || $user->isDefault()) {
+ return collect();
+ }
+
+ $query = $this->permissionService()->filterRestrictedEntityRelations(
+ View::query(),
+ 'views',
+ 'viewable_id',
+ 'viewable_type',
+ 'view'
+ )
+ ->orderBy('views.updated_at', 'desc')
+ ->where('user_id', '=', user()->id);
+
+ return $query->with('viewable')
+ ->skip(($page - 1) * $count)
+ ->take($count)
+ ->get()
+ ->pluck('viewable')
+ ->filter();
+ }
+}
--- /dev/null
+<?php namespace BookStack\Entities\Queries;
+
+use BookStack\Actions\Favourite;
+use Illuminate\Database\Query\JoinClause;
+
+class TopFavourites extends EntityQuery
+{
+ public function run(int $count, int $skip = 0)
+ {
+ $user = user();
+ if (is_null($user) || $user->isDefault()) {
+ return collect();
+ }
+
+ $query = $this->permissionService()
+ ->filterRestrictedEntityRelations(Favourite::query(), 'favourites', 'favouritable_id', 'favouritable_type', 'view')
+ ->select('favourites.*')
+ ->leftJoin('views', function (JoinClause $join) {
+ $join->on('favourites.favouritable_id', '=', 'views.viewable_id');
+ $join->on('favourites.favouritable_type', '=', 'views.viewable_type');
+ $join->where('views.user_id', '=', user()->id);
+ })
+ ->orderBy('views.views', 'desc')
+ ->where('favourites.user_id', '=', user()->id);
+
+ return $query->with('favouritable')
+ ->skip($skip)
+ ->take($count)
+ ->get()
+ ->pluck('favouritable')
+ ->filter();
+ }
+}
use BookStack\Actions\ActivityType;
use BookStack\Actions\TagRepo;
+use BookStack\Auth\User;
use BookStack\Entities\Models\Entity;
use BookStack\Entities\Models\HasCoverImage;
use BookStack\Exceptions\ImageUploadException;
$entity->forceFill([
'created_by' => user()->id,
'updated_by' => user()->id,
+ 'owned_by' => user()->id,
]);
$entity->refreshSlug();
$entity->save();
$entity->save();
}
}
-
- /**
- * Update the permissions of an entity.
- */
- public function updatePermissions(Entity $entity, bool $restricted, Collection $permissions = null)
- {
- $entity->restricted = $restricted;
- $entity->permissions()->delete();
-
- if (!is_null($permissions)) {
- $entityPermissionData = $permissions->flatMap(function ($restrictions, $roleId) {
- return collect($restrictions)->keys()->map(function ($action) use ($roleId) {
- return [
- 'role_id' => $roleId,
- 'action' => strtolower($action),
- ] ;
- });
- });
-
- $entity->permissions()->createMany($entityPermissionData);
- }
-
- $entity->save();
- $entity->rebuildPermissions();
- Activity::addForEntity($entity, ActivityType::PERMISSIONS_UPDATE);
- }
}
*/
public function getAllPaginated(int $count = 20, string $sort = 'name', string $order = 'asc'): LengthAwarePaginator
{
- return Book::visible()->orderBy($sort, $order)->paginate($count);
+ return Book::visible()->with('cover')->orderBy($sort, $order)->paginate($count);
}
/**
$this->baseRepo->updateCoverImage($book, $coverImage, $removeImage);
}
- /**
- * Update the permissions of a book.
- */
- public function updatePermissions(Book $book, bool $restricted, Collection $permissions = null)
- {
- $this->baseRepo->updatePermissions($book, $restricted, $permissions);
- }
-
/**
* Remove a book from the system.
* @throws Exception
public function getAllPaginated(int $count = 20, string $sort = 'name', string $order = 'asc'): LengthAwarePaginator
{
return Bookshelf::visible()
- ->with('visibleBooks')
+ ->with(['visibleBooks', 'cover'])
->orderBy($sort, $order)
->paginate($count);
}
$this->baseRepo->updateCoverImage($shelf, $coverImage, $removeImage);
}
- /**
- * Update the permissions of a bookshelf.
- */
- public function updatePermissions(Bookshelf $shelf, bool $restricted, Collection $permissions = null)
- {
- $this->baseRepo->updatePermissions($shelf, $restricted, $permissions);
- }
-
/**
* Copy down the permissions of the given shelf to all child books.
*/
return $chapter;
}
- /**
- * Update the permissions of a chapter.
- */
- public function updatePermissions(Chapter $chapter, bool $restricted, Collection $permissions = null)
- {
- $this->baseRepo->updatePermissions($chapter, $restricted, $permissions);
- }
-
/**
* Remove a chapter from the system.
* @throws Exception
$page = (new Page())->forceFill([
'name' => trans('entities.pages_initial_name'),
'created_by' => user()->id,
+ 'owned_by' => user()->id,
'updated_by' => user()->id,
'draft' => true,
]);
// Hold the old details to compare later
$oldHtml = $page->html;
$oldName = $page->name;
+ $oldMarkdown = $page->markdown;
$this->updateTemplateStatusAndContentFromInput($page, $input);
$this->baseRepo->update($page, $input);
// Update with new details
$page->revision_count++;
-
- if (setting('app-editor') !== 'markdown') {
- $page->markdown = '';
- }
-
$page->save();
// Remove all update drafts for this user & page.
$this->getUserDraftQuery($page)->delete();
// Save a revision after updating
- $summary = $input['summary'] ?? null;
- if ($oldHtml !== $input['html'] || $oldName !== $input['name'] || $summary !== null) {
+ $summary = trim($input['summary'] ?? "");
+ $htmlChanged = isset($input['html']) && $input['html'] !== $oldHtml;
+ $nameChanged = isset($input['name']) && $input['name'] !== $oldName;
+ $markdownChanged = isset($input['markdown']) && $input['markdown'] !== $oldMarkdown;
+ if ($htmlChanged || $nameChanged || $markdownChanged || $summary) {
$this->savePageRevision($page, $summary);
}
}
$pageContent = new PageContent($page);
- if (isset($input['html'])) {
- $pageContent->setNewHTML($input['html']);
- } else {
+ if (!empty($input['markdown'] ?? '')) {
$pageContent->setNewMarkdown($input['markdown']);
+ } else {
+ $pageContent->setNewHTML($input['html'] ?? '');
}
}
/**
* Saves a page revision into the system.
*/
- protected function savePageRevision(Page $page, string $summary = null)
+ protected function savePageRevision(Page $page, string $summary = null): PageRevision
{
$revision = new PageRevision($page->getAttributes());
- if (setting('app-editor') !== 'markdown') {
- $revision->markdown = '';
- }
-
$revision->page_id = $page->id;
$revision->slug = $page->slug;
$revision->book_slug = $page->book->slug;
public function restoreRevision(Page $page, int $revisionId): Page
{
$page->revision_count++;
- $this->savePageRevision($page);
-
$revision = $page->revisions()->where('id', '=', $revisionId)->first();
+
$page->fill($revision->toArray());
$content = new PageContent($page);
- $content->setNewHTML($revision->html);
+
+ if (!empty($revision->markdown)) {
+ $content->setNewMarkdown($revision->markdown);
+ } else {
+ $content->setNewHTML($revision->html);
+ }
+
$page->updated_by = user()->id;
$page->refreshSlug();
$page->save();
-
$page->indexForSearch();
+
+ $summary = trans('entities.pages_revision_restored_from', ['id' => strval($revisionId), 'summary' => $revision->summary]);
+ $this->savePageRevision($page, $summary);
+
Activity::addForEntity($page, ActivityType::PAGE_RESTORE);
return $page;
}
return $parentClass::visible()->where('id', '=', $entityId)->first();
}
- /**
- * Update the permissions of a page.
- */
- public function updatePermissions(Page $page, bool $restricted, Collection $permissions = null)
- {
- $this->baseRepo->updatePermissions($page, $restricted, $permissions);
- }
-
/**
* Change the page's parent to the given entity.
*/
$pages->groupBy('chapter_id')->each(function ($pages, $chapter_id) use ($chapterMap, &$lonePages) {
$chapter = $chapterMap->get($chapter_id);
if ($chapter) {
- $chapter->setAttribute('pages', collect($pages)->sortBy($this->bookChildSortFunc()));
+ $chapter->setAttribute('visible_pages', collect($pages)->sortBy($this->bookChildSortFunc()));
} else {
$lonePages = $lonePages->concat($pages);
}
});
+ $chapters->whereNull('visible_pages')->each(function (Chapter $chapter) {
+ $chapter->setAttribute('visible_pages', collect([]));
+ });
+
$all->each(function (Entity $entity) use ($renderPages) {
$entity->setRelation('book', $this->book);
use BookStack\Entities\Models\Book;
use BookStack\Entities\Models\Chapter;
use BookStack\Entities\Models\Page;
+use BookStack\Entities\Tools\Markdown\HtmlToMarkdown;
use BookStack\Uploads\ImageService;
use DomPDF;
use Exception;
protected function containHtml(string $htmlContent): string
{
$imageTagsOutput = [];
- preg_match_all("/\<img.*src\=(\'|\")(.*?)(\'|\").*?\>/i", $htmlContent, $imageTagsOutput);
+ preg_match_all("/\<img.*?src\=(\'|\")(.*?)(\'|\").*?\>/i", $htmlContent, $imageTagsOutput);
// Replace image src with base64 encoded image strings
if (isset($imageTagsOutput[0]) && count($imageTagsOutput[0]) > 0) {
{
$text = $chapter->name . "\n\n";
$text .= $chapter->description . "\n\n";
- foreach ($chapter->pages as $page) {
+ foreach ($chapter->getVisiblePages() as $page) {
$text .= $this->pageToPlainText($page);
}
return $text;
*/
public function bookToPlainText(Book $book): string
{
- $bookTree = (new BookContents($book))->getTree(false, true);
+ $bookTree = (new BookContents($book))->getTree(false, false);
$text = $book->name . "\n\n";
foreach ($bookTree as $bookChild) {
if ($bookChild->isA('chapter')) {
}
return $text;
}
+
+ /**
+ * Convert a page to a Markdown file.
+ */
+ public function pageToMarkdown(Page $page): string
+ {
+ if ($page->markdown) {
+ return "# " . $page->name . "\n\n" . $page->markdown;
+ }
+
+ return "# " . $page->name . "\n\n" . (new HtmlToMarkdown($page->html))->convert();
+ }
+
+ /**
+ * Convert a chapter to a Markdown file.
+ */
+ public function chapterToMarkdown(Chapter $chapter): string
+ {
+ $text = "# " . $chapter->name . "\n\n";
+ $text .= $chapter->description . "\n\n";
+ foreach ($chapter->pages as $page) {
+ $text .= $this->pageToMarkdown($page) . "\n\n";
+ }
+ return $text;
+ }
+
+ /**
+ * Convert a book into a plain text string.
+ */
+ public function bookToMarkdown(Book $book): string
+ {
+ $bookTree = (new BookContents($book))->getTree(false, true);
+ $text = "# " . $book->name . "\n\n";
+ foreach ($bookTree as $bookChild) {
+ if ($bookChild instanceof Chapter) {
+ $text .= $this->chapterToMarkdown($bookChild);
+ } else {
+ $text .= $this->pageToMarkdown($bookChild);
+ }
+ }
+ return $text;
+ }
}
--- /dev/null
+<?php namespace BookStack\Entities\Tools\Markdown;
+
+use League\HTMLToMarkdown\Converter\ParagraphConverter;
+use League\HTMLToMarkdown\ElementInterface;
+
+class CustomParagraphConverter extends ParagraphConverter
+{
+ public function convert(ElementInterface $element): string
+ {
+ $class = $element->getAttribute('class');
+ if (strpos($class, 'callout') !== false) {
+ return "<{$element->getTagName()} class=\"{$class}\">{$element->getValue()}</{$element->getTagName()}>\n\n";
+ }
+
+ return parent::convert($element);
+ }
+}
--- /dev/null
+<?php namespace BookStack\Entities\Tools\Markdown;
+
+use League\CommonMark\ConfigurableEnvironmentInterface;
+use League\CommonMark\Extension\ExtensionInterface;
+use League\CommonMark\Extension\Strikethrough\Strikethrough;
+use League\CommonMark\Extension\Strikethrough\StrikethroughDelimiterProcessor;
+
+class CustomStrikeThroughExtension implements ExtensionInterface
+{
+
+ public function register(ConfigurableEnvironmentInterface $environment)
+ {
+ $environment->addDelimiterProcessor(new StrikethroughDelimiterProcessor());
+ $environment->addInlineRenderer(Strikethrough::class, new CustomStrikethroughRenderer());
+ }
+}
--- /dev/null
+<?php namespace BookStack\Entities\Tools\Markdown;
+
+use League\CommonMark\ElementRendererInterface;
+use League\CommonMark\Extension\Strikethrough\Strikethrough;
+use League\CommonMark\HtmlElement;
+use League\CommonMark\Inline\Element\AbstractInline;
+use League\CommonMark\Inline\Renderer\InlineRendererInterface;
+
+/**
+ * This is a somewhat clone of the League\CommonMark\Extension\Strikethrough\StrikethroughRender
+ * class but modified slightly to use <s> HTML tags instead of <del> in order to
+ * match front-end markdown-it rendering.
+ */
+class CustomStrikethroughRenderer implements InlineRendererInterface
+{
+ public function render(AbstractInline $inline, ElementRendererInterface $htmlRenderer)
+ {
+ if (!($inline instanceof Strikethrough)) {
+ throw new \InvalidArgumentException('Incompatible inline type: ' . get_class($inline));
+ }
+
+ return new HtmlElement('s', $inline->getData('attributes', []), $htmlRenderer->renderInlines($inline->children()));
+ }
+}
--- /dev/null
+<?php namespace BookStack\Entities\Tools\Markdown;
+
+use League\HTMLToMarkdown\Converter\BlockquoteConverter;
+use League\HTMLToMarkdown\Converter\CodeConverter;
+use League\HTMLToMarkdown\Converter\CommentConverter;
+use League\HTMLToMarkdown\Converter\DivConverter;
+use League\HTMLToMarkdown\Converter\EmphasisConverter;
+use League\HTMLToMarkdown\Converter\HardBreakConverter;
+use League\HTMLToMarkdown\Converter\HeaderConverter;
+use League\HTMLToMarkdown\Converter\HorizontalRuleConverter;
+use League\HTMLToMarkdown\Converter\ImageConverter;
+use League\HTMLToMarkdown\Converter\LinkConverter;
+use League\HTMLToMarkdown\Converter\ListBlockConverter;
+use League\HTMLToMarkdown\Converter\ListItemConverter;
+use League\HTMLToMarkdown\Converter\PreformattedConverter;
+use League\HTMLToMarkdown\Converter\TextConverter;
+use League\HTMLToMarkdown\Environment;
+use League\HTMLToMarkdown\HtmlConverter;
+
+class HtmlToMarkdown
+{
+ protected $html;
+
+ public function __construct(string $html)
+ {
+ $this->html = $html;
+ }
+
+ /**
+ * Run the conversion
+ */
+ public function convert(): string
+ {
+ $converter = new HtmlConverter($this->getConverterEnvironment());
+ $html = $this->prepareHtml($this->html);
+ return $converter->convert($html);
+ }
+
+ /**
+ * Run any pre-processing to the HTML to clean it up manually before conversion.
+ */
+ protected function prepareHtml(string $html): string
+ {
+ // Carriage returns can cause whitespace issues in output
+ $html = str_replace("\r\n", "\n", $html);
+ // Attributes on the pre tag can cause issues with conversion
+ return preg_replace('/<pre .*?>/', '<pre>', $html);
+ }
+
+ /**
+ * Get the HTML to Markdown customized environment.
+ * Extends the default provided environment with some BookStack specific tweaks.
+ */
+ protected function getConverterEnvironment(): Environment
+ {
+ $environment = new Environment([
+ 'header_style' => 'atx', // Set to 'atx' to output H1 and H2 headers as # Header1 and ## Header2
+ 'suppress_errors' => true, // Set to false to show warnings when loading malformed HTML
+ 'strip_tags' => false, // Set to true to strip tags that don't have markdown equivalents. N.B. Strips tags, not their content. Useful to clean MS Word HTML output.
+ 'strip_placeholder_links' => false, // Set to true to remove <a> that doesn't have href.
+ 'bold_style' => '**', // DEPRECATED: Set to '__' if you prefer the underlined style
+ 'italic_style' => '*', // DEPRECATED: Set to '_' if you prefer the underlined style
+ 'remove_nodes' => '', // space-separated list of dom nodes that should be removed. example: 'meta style script'
+ 'hard_break' => false, // Set to true to turn <br> into `\n` instead of ` \n`
+ 'list_item_style' => '-', // Set the default character for each <li> in a <ul>. Can be '-', '*', or '+'
+ 'preserve_comments' => false, // Set to true to preserve comments, or set to an array of strings to preserve specific comments
+ 'use_autolinks' => false, // Set to true to use simple link syntax if possible. Will always use []() if set to false
+ 'table_pipe_escape' => '\|', // Replacement string for pipe characters inside markdown table cells
+ 'table_caption_side' => 'top', // Set to 'top' or 'bottom' to show <caption> content before or after table, null to suppress
+ ]);
+
+ $environment->addConverter(new BlockquoteConverter());
+ $environment->addConverter(new CodeConverter());
+ $environment->addConverter(new CommentConverter());
+ $environment->addConverter(new DivConverter());
+ $environment->addConverter(new EmphasisConverter());
+ $environment->addConverter(new HardBreakConverter());
+ $environment->addConverter(new HeaderConverter());
+ $environment->addConverter(new HorizontalRuleConverter());
+ $environment->addConverter(new ImageConverter());
+ $environment->addConverter(new LinkConverter());
+ $environment->addConverter(new ListBlockConverter());
+ $environment->addConverter(new ListItemConverter());
+ $environment->addConverter(new CustomParagraphConverter());
+ $environment->addConverter(new PreformattedConverter());
+ $environment->addConverter(new TextConverter());
+
+ return $environment;
+ }
+}
--- /dev/null
+<?php namespace BookStack\Entities\Tools;
+
+use BookStack\Entities\Models\BookChild;
+use BookStack\Entities\Models\Entity;
+use Illuminate\Support\Collection;
+
+/**
+ * Finds the next or previous content of a book element (page or chapter).
+ */
+class NextPreviousContentLocator
+{
+ protected $relativeBookItem;
+ protected $flatTree;
+ protected $currentIndex = null;
+
+ /**
+ * NextPreviousContentLocator constructor.
+ */
+ public function __construct(BookChild $relativeBookItem, Collection $bookTree)
+ {
+ $this->relativeBookItem = $relativeBookItem;
+ $this->flatTree = $this->treeToFlatOrderedCollection($bookTree);
+ $this->currentIndex = $this->getCurrentIndex();
+ }
+
+ /**
+ * Get the next logical entity within the book hierarchy.
+ */
+ public function getNext(): ?Entity
+ {
+ return $this->flatTree->get($this->currentIndex + 1);
+ }
+
+ /**
+ * Get the next logical entity within the book hierarchy.
+ */
+ public function getPrevious(): ?Entity
+ {
+ return $this->flatTree->get($this->currentIndex - 1);
+ }
+
+ /**
+ * Get the index of the current relative item.
+ */
+ protected function getCurrentIndex(): ?int
+ {
+ $index = $this->flatTree->search(function (Entity $entity) {
+ return get_class($entity) === get_class($this->relativeBookItem)
+ && $entity->id === $this->relativeBookItem->id;
+ });
+ return $index === false ? null : $index;
+ }
+
+ /**
+ * Convert a book tree collection to a flattened version
+ * where all items follow the expected order of user flow.
+ */
+ protected function treeToFlatOrderedCollection(Collection $bookTree): Collection
+ {
+ $flatOrdered = collect();
+ /** @var Entity $item */
+ foreach ($bookTree->all() as $item) {
+ $flatOrdered->push($item);
+ $childPages = $item->visible_pages ?? [];
+ $flatOrdered = $flatOrdered->concat($childPages);
+ }
+ return $flatOrdered;
+ }
+}
<?php namespace BookStack\Entities\Tools;
use BookStack\Entities\Models\Page;
+use BookStack\Entities\Tools\Markdown\CustomStrikeThroughExtension;
+use BookStack\Exceptions\ImageUploadException;
+use BookStack\Facades\Theme;
+use BookStack\Theming\ThemeEvents;
+use BookStack\Util\HtmlContentFilter;
+use BookStack\Uploads\ImageRepo;
use DOMDocument;
use DOMNodeList;
use DOMXPath;
+use Illuminate\Support\Str;
use League\CommonMark\CommonMarkConverter;
+use League\CommonMark\Environment;
+use League\CommonMark\Extension\Table\TableExtension;
+use League\CommonMark\Extension\TaskList\TaskListExtension;
class PageContent
{
*/
public function setNewHTML(string $html)
{
+ $html = $this->extractBase64Images($this->page, $html);
$this->page->html = $this->formatHtml($html);
$this->page->text = $this->toPlainText();
$this->page->markdown = '';
*/
protected function markdownToHtml(string $markdown): string
{
- $converter = new CommonMarkConverter();
+ $environment = Environment::createCommonMarkEnvironment();
+ $environment->addExtension(new TableExtension());
+ $environment->addExtension(new TaskListExtension());
+ $environment->addExtension(new CustomStrikeThroughExtension());
+ $environment = Theme::dispatch(ThemeEvents::COMMONMARK_ENVIRONMENT_CONFIGURE, $environment) ?? $environment;
+ $converter = new CommonMarkConverter([], $environment);
return $converter->convertToHtml($markdown);
}
+ /**
+ * Convert all base64 image data to saved images
+ */
+ public function extractBase64Images(Page $page, string $htmlText): string
+ {
+ if (empty($htmlText) || strpos($htmlText, 'data:image') === false) {
+ return $htmlText;
+ }
+
+ $doc = $this->loadDocumentFromHtml($htmlText);
+ $container = $doc->documentElement;
+ $body = $container->childNodes->item(0);
+ $childNodes = $body->childNodes;
+ $xPath = new DOMXPath($doc);
+ $imageRepo = app()->make(ImageRepo::class);
+ $allowedExtensions = ['jpg', 'jpeg', 'png', 'gif', 'webp'];
+
+ // Get all img elements with image data blobs
+ $imageNodes = $xPath->query('//img[contains(@src, \'data:image\')]');
+ foreach ($imageNodes as $imageNode) {
+ $imageSrc = $imageNode->getAttribute('src');
+ [$dataDefinition, $base64ImageData] = explode(',', $imageSrc, 2);
+ $extension = strtolower(preg_split('/[\/;]/', $dataDefinition)[1] ?? 'png');
+
+ // Validate extension
+ if (!in_array($extension, $allowedExtensions)) {
+ $imageNode->setAttribute('src', '');
+ continue;
+ }
+
+ // Save image from data with a random name
+ $imageName = 'embedded-image-' . Str::random(8) . '.' . $extension;
+ try {
+ $image = $imageRepo->saveNewFromData($imageName, base64_decode($base64ImageData), 'gallery', $page->id);
+ $imageNode->setAttribute('src', $image->url);
+ } catch (ImageUploadException $exception) {
+ $imageNode->setAttribute('src', '');
+ }
+ }
+
+ // Generate inner html as a string
+ $html = '';
+ foreach ($childNodes as $childNode) {
+ $html .= $doc->saveHTML($childNode);
+ }
+
+ return $html;
+ }
+
/**
* Formats a page's html to be tagged correctly within the system.
*/
protected function formatHtml(string $htmlText): string
{
- if ($htmlText == '') {
+ if (empty($htmlText)) {
return $htmlText;
}
- libxml_use_internal_errors(true);
- $doc = new DOMDocument();
- $doc->loadHTML(mb_convert_encoding($htmlText, 'HTML-ENTITIES', 'UTF-8'));
-
+ $doc = $this->loadDocumentFromHtml($htmlText);
$container = $doc->documentElement;
$body = $container->childNodes->item(0);
$childNodes = $body->childNodes;
protected function updateLinks(DOMXPath $xpath, string $old, string $new)
{
$old = str_replace('"', '', $old);
- $matchingLinks = $xpath->query('//body//*//*[@href="'.$old.'"]');
+ $matchingLinks = $xpath->query('//body//*//*[@href="' . $old . '"]');
foreach ($matchingLinks as $domElem) {
$domElem->setAttribute('href', $new);
}
/**
* Render the page for viewing
*/
- public function render(bool $blankIncludes = false) : string
+ public function render(bool $blankIncludes = false): string
{
$content = $this->page->html;
if (!config('app.allow_content_scripts')) {
- $content = $this->escapeScripts($content);
+ $content = HtmlContentFilter::removeScripts($content);
}
if ($blankIncludes) {
return [];
}
- libxml_use_internal_errors(true);
- $doc = new DOMDocument();
- $doc->loadHTML(mb_convert_encoding($htmlContent, 'HTML-ENTITIES', 'UTF-8'));
+ $doc = $this->loadDocumentFromHtml($htmlContent);
$xPath = new DOMXPath($doc);
$headers = $xPath->query("//h1|//h2|//h3|//h4|//h5|//h6");
/**
* Remove any page include tags within the given HTML.
*/
- protected function blankPageIncludes(string $html) : string
+ protected function blankPageIncludes(string $html): string
{
return preg_replace("/{{@\s?([0-9].*?)}}/", '', $html);
}
/**
* Parse any include tags "{{@<page_id>#section}}" to be part of the page.
*/
- protected function parsePageIncludes(string $html) : string
+ protected function parsePageIncludes(string $html): string
{
$matches = [];
preg_match_all("/{{@\s?([0-9].*?)}}/", $html, $matches);
protected function fetchSectionOfPage(Page $page, string $sectionId): string
{
$topLevelTags = ['table', 'ul', 'ol'];
- $doc = new DOMDocument();
- libxml_use_internal_errors(true);
- $doc->loadHTML(mb_convert_encoding('<body>'.$page->html.'</body>', 'HTML-ENTITIES', 'UTF-8'));
+ $doc = $this->loadDocumentFromHtml($page->html);
// Search included content for the id given and blank out if not exists.
$matchingElem = $doc->getElementById($sectionId);
}
/**
- * Escape script tags within HTML content.
+ * Create and load a DOMDocument from the given html content.
*/
- protected function escapeScripts(string $html) : string
+ protected function loadDocumentFromHtml(string $html): DOMDocument
{
- if (empty($html)) {
- return $html;
- }
-
libxml_use_internal_errors(true);
$doc = new DOMDocument();
+ $html = '<body>' . $html . '</body>';
$doc->loadHTML(mb_convert_encoding($html, 'HTML-ENTITIES', 'UTF-8'));
- $xPath = new DOMXPath($doc);
-
- // Remove standard script tags
- $scriptElems = $xPath->query('//script');
- foreach ($scriptElems as $scriptElem) {
- $scriptElem->parentNode->removeChild($scriptElem);
- }
-
- // Remove clickable links to JavaScript URI
- $badLinks = $xPath->query('//*[contains(@href, \'javascript:\')]');
- foreach ($badLinks as $badLink) {
- $badLink->parentNode->removeChild($badLink);
- }
-
- // Remove forms with calls to JavaScript URI
- $badForms = $xPath->query('//*[contains(@action, \'javascript:\')] | //*[contains(@formaction, \'javascript:\')]');
- foreach ($badForms as $badForm) {
- $badForm->parentNode->removeChild($badForm);
- }
-
- // Remove meta tag to prevent external redirects
- $metaTags = $xPath->query('//meta[contains(@content, \'url\')]');
- foreach ($metaTags as $metaTag) {
- $metaTag->parentNode->removeChild($metaTag);
- }
-
- // Remove data or JavaScript iFrames
- $badIframes = $xPath->query('//*[contains(@src, \'data:\')] | //*[contains(@src, \'javascript:\')] | //*[@srcdoc]');
- foreach ($badIframes as $badIframe) {
- $badIframe->parentNode->removeChild($badIframe);
- }
-
- // Remove 'on*' attributes
- $onAttributes = $xPath->query('//@*[starts-with(name(), \'on\')]');
- foreach ($onAttributes as $attr) {
- /** @var \DOMAttr $attr*/
- $attrName = $attr->nodeName;
- $attr->parentNode->removeAttribute($attrName);
- }
-
- $html = '';
- $topElems = $doc->documentElement->childNodes->item(0)->childNodes;
- foreach ($topElems as $child) {
- $html .= $doc->saveHTML($child);
- }
-
- return $html;
+ return $doc;
}
/**
--- /dev/null
+<?php namespace BookStack\Entities\Tools;
+
+use BookStack\Actions\ActivityType;
+use BookStack\Auth\User;
+use BookStack\Entities\Models\Entity;
+use BookStack\Facades\Activity;
+use Illuminate\Http\Request;
+use Illuminate\Support\Collection;
+
+class PermissionsUpdater
+{
+
+ /**
+ * Update an entities permissions from a permission form submit request.
+ */
+ public function updateFromPermissionsForm(Entity $entity, Request $request)
+ {
+ $restricted = $request->get('restricted') === 'true';
+ $permissions = $request->get('restrictions', null);
+ $ownerId = $request->get('owned_by', null);
+
+ $entity->restricted = $restricted;
+ $entity->permissions()->delete();
+
+ if (!is_null($permissions)) {
+ $entityPermissionData = $this->formatPermissionsFromRequestToEntityPermissions($permissions);
+ $entity->permissions()->createMany($entityPermissionData);
+ }
+
+ if (!is_null($ownerId)) {
+ $this->updateOwnerFromId($entity, intval($ownerId));
+ }
+
+ $entity->save();
+ $entity->rebuildPermissions();
+
+ Activity::addForEntity($entity, ActivityType::PERMISSIONS_UPDATE);
+ }
+
+ /**
+ * Update the owner of the given entity.
+ * Checks the user exists in the system first.
+ * Does not save the model, just updates it.
+ */
+ protected function updateOwnerFromId(Entity $entity, int $newOwnerId)
+ {
+ $newOwner = User::query()->find($newOwnerId);
+ if (!is_null($newOwner)) {
+ $entity->owned_by = $newOwner->id;
+ }
+ }
+
+ /**
+ * Format permissions provided from a permission form to be
+ * EntityPermission data.
+ */
+ protected function formatPermissionsFromRequestToEntityPermissions(array $permissions): Collection
+ {
+ return collect($permissions)->flatMap(function ($restrictions, $roleId) {
+ return collect($restrictions)->keys()->map(function ($action) use ($roleId) {
+ return [
+ 'role_id' => $roleId,
+ 'action' => strtolower($action),
+ ] ;
+ });
+ });
+ }
+}
return $string;
}
-
-}
\ No newline at end of file
+}
<?php namespace BookStack\Entities\Tools;
use BookStack\Auth\Permissions\PermissionService;
+use BookStack\Auth\User;
use BookStack\Entities\EntityProvider;
use BookStack\Entities\Models\Entity;
use Illuminate\Database\Connection;
}
}
- return $this->permissionService->enforceEntityRestrictions($entityType, $entitySelect, $action);
+ return $this->permissionService->enforceEntityRestrictions($entity, $entitySelect, $action);
}
/**
protected function filterCreatedBy(EloquentBuilder $query, Entity $model, $input)
{
- if (!is_numeric($input) && $input !== 'me') {
- return;
- }
- if ($input === 'me') {
- $input = user()->id;
+ $userSlug = $input === 'me' ? user()->slug : trim($input);
+ $user = User::query()->where('slug', '=', $userSlug)->first(['id']);
+ if ($user) {
+ $query->where('created_by', '=', $user->id);
}
- $query->where('created_by', '=', $input);
}
protected function filterUpdatedBy(EloquentBuilder $query, Entity $model, $input)
{
- if (!is_numeric($input) && $input !== 'me') {
- return;
+ $userSlug = $input === 'me' ? user()->slug : trim($input);
+ $user = User::query()->where('slug', '=', $userSlug)->first(['id']);
+ if ($user) {
+ $query->where('updated_by', '=', $user->id);
}
- if ($input === 'me') {
- $input = user()->id;
+ }
+
+ protected function filterOwnedBy(EloquentBuilder $query, Entity $model, $input)
+ {
+ $userSlug = $input === 'me' ? user()->slug : trim($input);
+ $user = User::query()->where('slug', '=', $userSlug)->first(['id']);
+ if ($user) {
+ $query->where('owned_by', '=', $user->id);
}
- $query->where('updated_by', '=', $input);
}
protected function filterInName(EloquentBuilder $query, Entity $model, $input)
<?php namespace BookStack\Entities\Tools;
-use BookStack\Entities\Models\Entity;
+use BookStack\Entities\Models\BookChild;
+use BookStack\Interfaces\Sluggable;
use Illuminate\Support\Str;
class SlugGenerator
* Generate a fresh slug for the given entity.
* The slug will generated so it does not conflict within the same parent item.
*/
- public function generate(Entity $entity): string
+ public function generate(Sluggable $model): string
{
- $slug = $this->formatNameAsSlug($entity->name);
- while ($this->slugInUse($slug, $entity)) {
- $slug .= '-' . substr(md5(rand(1, 500)), 0, 3);
+ $slug = $this->formatNameAsSlug($model->name);
+ while ($this->slugInUse($slug, $model)) {
+ $slug .= '-' . Str::random(3);
}
return $slug;
}
* Check if a slug is already in-use for this
* type of model within the same parent.
*/
- protected function slugInUse(string $slug, Entity $entity): bool
+ protected function slugInUse(string $slug, Sluggable $model): bool
{
- $query = $entity->newQuery()->where('slug', '=', $slug);
+ $query = $model->newQuery()->where('slug', '=', $slug);
- if ($entity instanceof BookChild) {
- $query->where('book_id', '=', $entity->book_id);
+ if ($model instanceof BookChild) {
+ $query->where('book_id', '=', $model->book_id);
}
- if ($entity->id) {
- $query->where('id', '!=', $entity->id);
+ if ($model->id) {
+ $query->where('id', '!=', $model->id);
}
return $query->count() > 0;
protected function destroyPage(Page $page): int
{
$this->destroyCommonRelations($page);
+ $page->allRevisions()->delete();
// Delete Attached Files
$attachmentService = app(AttachmentService::class);
$count++;
};
- if ($entity->isA('chapter') || $entity->isA('book')) {
+ if ($entity instanceof Chapter || $entity instanceof Book) {
$entity->pages()->withTrashed()->withCount('deletions')->get()->each($restoreAction);
}
- if ($entity->isA('book')) {
+ if ($entity instanceof Book) {
$entity->chapters()->withTrashed()->withCount('deletions')->get()->each($restoreAction);
}
/**
* Destroy the given entity.
+ * @throws Exception
*/
protected function destroyEntity(Entity $entity): int
{
- if ($entity->isA('page')) {
+ if ($entity instanceof Page) {
return $this->destroyPage($entity);
}
- if ($entity->isA('chapter')) {
+ if ($entity instanceof Chapter) {
return $this->destroyChapter($entity);
}
- if ($entity->isA('book')) {
+ if ($entity instanceof Book) {
return $this->destroyBook($entity);
}
- if ($entity->isA('shelf')) {
+ if ($entity instanceof Bookshelf) {
return $this->destroyShelf($entity);
}
}
$entity->jointPermissions()->delete();
$entity->searchTerms()->delete();
$entity->deletions()->delete();
+ $entity->favourites()->delete();
if ($entity instanceof HasCoverImage && $entity->cover) {
$imageService = app()->make(ImageService::class);
namespace BookStack\Exceptions;
-class ApiAuthException extends UnauthorizedException {
+class ApiAuthException extends UnauthorizedException
+{
-}
\ No newline at end of file
+}
namespace BookStack\Exceptions;
use Exception;
-use Illuminate\Auth\Access\AuthorizationException;
use Illuminate\Auth\AuthenticationException;
-use Illuminate\Database\Eloquent\ModelNotFoundException;
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;
use Illuminate\Validation\ValidationException;
use Symfony\Component\HttpKernel\Exception\HttpException;
-use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
class Handler extends ExceptionHandler
{
/**
- * A list of the exception types that should not be reported.
+ * A list of the exception types that are not reported.
*
* @var array
*/
protected $dontReport = [
- AuthorizationException::class,
- HttpException::class,
- ModelNotFoundException::class,
- ValidationException::class,
NotFoundException::class,
];
+ /**
+ * A list of the inputs that are never flashed for validation exceptions.
+ *
+ * @var array
+ */
+ protected $dontFlash = [
+ 'password',
+ 'password_confirmation',
+ ];
+
/**
* Report or log an exception.
- * This is a great spot to send exceptions to Sentry, Bugsnag, etc.
*
- * @param \Exception $e
- * @return mixed
+ * @param Exception $exception
+ * @return void
+ *
* @throws Exception
*/
- public function report(Exception $e)
+ public function report(Exception $exception)
{
- return parent::report($e);
+ parent::report($exception);
}
/**
* Render an exception into an HTTP response.
*
* @param \Illuminate\Http\Request $request
- * @param \Exception $e
+ * @param Exception $e
* @return \Illuminate\Http\Response
*/
public function render($request, Exception $e)
return $this->renderApiException($e);
}
- // Handle notify exceptions which will redirect to the
- // specified location then show a notification message.
- if ($this->isExceptionType($e, NotifyException::class)) {
- $message = $this->getOriginalMessage($e);
- if (!empty($message)) {
- session()->flash('error', $message);
- }
- return redirect($e->redirectLocation);
- }
-
- // Handle pretty exceptions which will show a friendly application-fitting page
- // Which will include the basic message to point the user roughly to the cause.
- if ($this->isExceptionType($e, PrettyException::class) && !config('app.debug')) {
- $message = $this->getOriginalMessage($e);
- $code = ($e->getCode() === 0) ? 500 : $e->getCode();
- return response()->view('errors/' . $code, ['message' => $message], $code);
- }
-
- // Handle 404 errors with a loaded session to enable showing user-specific information
- if ($this->isExceptionType($e, NotFoundHttpException::class)) {
- return \Route::respondWithRoute('fallback');
- }
-
return parent::render($request, $e);
}
return new JsonResponse($responseData, $code, $headers);
}
- /**
- * Check the exception chain to compare against the original exception type.
- * @param Exception $e
- * @param $type
- * @return bool
- */
- protected function isExceptionType(Exception $e, $type)
- {
- do {
- if (is_a($e, $type)) {
- return true;
- }
- } while ($e = $e->getPrevious());
- return false;
- }
-
- /**
- * Get original exception message.
- * @param Exception $e
- * @return string
- */
- protected function getOriginalMessage(Exception $e)
- {
- do {
- $message = $e->getMessage();
- } while ($e = $e->getPrevious());
- return $message;
- }
-
/**
* Convert an authentication exception into an unauthenticated response.
*
{
return response()->json($this->data);
}
-}
\ No newline at end of file
+}
/**
* NotFoundException constructor.
- * @param string $message
*/
public function __construct($message = 'Item not found')
{
<?php namespace BookStack\Exceptions;
-class NotifyException extends \Exception
-{
+use Exception;
+use Illuminate\Contracts\Support\Responsable;
+class NotifyException extends Exception implements Responsable
+{
public $message;
public $redirectLocation;
$this->redirectLocation = $redirectLocation;
parent::__construct();
}
+
+ /**
+ * Send the response for this type of exception.
+ * @inheritdoc
+ */
+ public function toResponse($request)
+ {
+ $message = $this->getMessage();
+
+ if (!empty($message)) {
+ session()->flash('error', $message);
+ }
+
+ return redirect($this->redirectLocation);
+ }
}
<?php namespace BookStack\Exceptions;
-class PrettyException extends \Exception
+use Exception;
+use Illuminate\Contracts\Support\Responsable;
+
+class PrettyException extends Exception implements Responsable
{
+ /**
+ * @var ?string
+ */
+ protected $subtitle = null;
+
+ /**
+ * @var ?string
+ */
+ protected $details = null;
+
+ /**
+ * Render a response for when this exception occurs.
+ * @inheritdoc
+ */
+ public function toResponse($request)
+ {
+ $code = ($this->getCode() === 0) ? 500 : $this->getCode();
+ return response()->view('errors.' . $code, [
+ 'message' => $this->getMessage(),
+ 'subtitle' => $this->subtitle,
+ 'details' => $this->details,
+ ], $code);
+ }
+
+ public function setSubtitle(string $subtitle): self
+ {
+ $this->subtitle = $subtitle;
+ return $this;
+ }
+ public function setDetails(string $details): self
+ {
+ $this->details = $details;
+ return $this;
+ }
}
{
parent::__construct($message, $code);
}
-}
\ No newline at end of file
+}
+++ /dev/null
-<?php namespace BookStack\Facades;
-
-use Illuminate\Support\Facades\Facade;
-
-class Setting extends Facade
-{
- /**
- * Get the registered name of the component.
- *
- * @return string
- */
- protected static function getFacadeAccessor()
- {
- return 'setting';
- }
-}
<?php namespace BookStack\Facades;
+use BookStack\Theming\ThemeService;
use Illuminate\Support\Facades\Facade;
-class Images extends Facade
+class Theme extends Facade
{
/**
* Get the registered name of the component.
*/
protected static function getFacadeAccessor()
{
- return 'images';
+ return ThemeService::class;
}
}
+++ /dev/null
-<?php namespace BookStack\Facades;
-
-use Illuminate\Support\Facades\Facade;
-
-class Views extends Facade
-{
- /**
- * Get the registered name of the component.
- *
- * @return string
- */
- protected static function getFacadeAccessor()
- {
- return 'views';
- }
-}
{
return $this->rules;
}
-}
\ No newline at end of file
+}
$docs = ApiDocsGenerator::generateConsideringCache();
return response()->json($docs);
}
-
}
{
$books = Book::visible();
return $this->apiListingResponse($books, [
- 'id', 'name', 'slug', 'description', 'created_at', 'updated_at', 'created_by', 'updated_by', 'image_id',
+ 'id', 'name', 'slug', 'description', 'created_at', 'updated_at', 'created_by', 'updated_by', 'owned_by', 'image_id',
]);
}
*/
public function read(string $id)
{
- $book = Book::visible()->with(['tags', 'cover', 'createdBy', 'updatedBy'])->findOrFail($id);
+ $book = Book::visible()->with(['tags', 'cover', 'createdBy', 'updatedBy', 'ownedBy'])->findOrFail($id);
return response()->json($book);
}
$this->bookRepo->destroy($book);
return response('', 204);
}
-}
\ No newline at end of file
+}
$textContent = $this->exportFormatter->bookToPlainText($book);
return $this->downloadResponse($textContent, $book->slug . '.txt');
}
+
+ /**
+ * Export a book as a markdown file.
+ */
+ public function exportMarkdown(int $id)
+ {
+ $book = Book::visible()->findOrFail($id);
+ $markdown = $this->exportFormatter->bookToMarkdown($book);
+ return $this->downloadResponse($markdown, $book->slug . '.md');
+ }
}
{
$shelves = Bookshelf::visible();
return $this->apiListingResponse($shelves, [
- 'id', 'name', 'slug', 'description', 'created_at', 'updated_at', 'created_by', 'updated_by', 'image_id',
+ 'id', 'name', 'slug', 'description', 'created_at', 'updated_at', 'created_by', 'updated_by', 'owned_by', 'image_id',
]);
}
public function read(string $id)
{
$shelf = Bookshelf::visible()->with([
- 'tags', 'cover', 'createdBy', 'updatedBy',
+ 'tags', 'cover', 'createdBy', 'updatedBy', 'ownedBy',
'books' => function (BelongsToMany $query) {
$query->visible()->get(['id', 'name', 'slug']);
}
$this->bookshelfRepo->destroy($shelf);
return response('', 204);
}
-}
\ No newline at end of file
+}
$chapters = Chapter::visible();
return $this->apiListingResponse($chapters, [
'id', 'book_id', 'name', 'slug', 'description', 'priority',
- 'created_at', 'updated_at', 'created_by', 'updated_by',
+ 'created_at', 'updated_at', 'created_by', 'updated_by', 'owned_by',
]);
}
*/
public function read(string $id)
{
- $chapter = Chapter::visible()->with(['tags', 'createdBy', 'updatedBy', 'pages' => function (HasMany $query) {
+ $chapter = Chapter::visible()->with(['tags', 'createdBy', 'updatedBy', 'ownedBy', 'pages' => function (HasMany $query) {
$query->visible()->get(['id', 'name', 'slug']);
}])->findOrFail($id);
return response()->json($chapter);
use BookStack\Entities\Models\Chapter;
use BookStack\Entities\Tools\ExportFormatter;
-use BookStack\Entities\Repos\BookRepo;
use Throwable;
class ChapterExportApiController extends ApiController
$textContent = $this->exportFormatter->chapterToPlainText($chapter);
return $this->downloadResponse($textContent, $chapter->slug . '.txt');
}
+
+ /**
+ * Export a chapter as a markdown file.
+ */
+ public function exportMarkdown(int $id)
+ {
+ $chapter = Chapter::visible()->findOrFail($id);
+ $markdown = $this->exportFormatter->chapterToMarkdown($chapter);
+ return $this->downloadResponse($markdown, $chapter->slug . '.md');
+ }
}
return $this->apiListingResponse($pages, [
'id', 'book_id', 'chapter_id', 'name', 'slug', 'priority',
'draft', 'template',
- 'created_at', 'updated_at', 'created_by', 'updated_by',
+ 'created_at', 'updated_at',
+ 'created_by', 'updated_by', 'owned_by',
]);
}
*
* Any HTML content provided should be kept to a single-block depth of plain HTML
* elements to remain compatible with the BookStack front-end and editors.
+ * Any images included via base64 data URIs will be extracted and saved as gallery
+ * images against the page during upload.
*/
public function create(Request $request)
{
$textContent = $this->exportFormatter->pageToPlainText($page);
return $this->downloadResponse($textContent, $page->slug . '.txt');
}
+
+ /**
+ * Export a page as a markdown file.
+ */
+ public function exportMarkdown(int $id)
+ {
+ $page = Page::visible()->findOrFail($id);
+ $markdown = $this->exportFormatter->pageToMarkdown($page);
+ return $this->downloadResponse($markdown, $page->slug . '.md');
+ }
}
class AttachmentController extends Controller
{
protected $attachmentService;
- protected $attachment;
protected $pageRepo;
/**
* AttachmentController constructor.
*/
- public function __construct(AttachmentService $attachmentService, Attachment $attachment, PageRepo $pageRepo)
+ public function __construct(AttachmentService $attachmentService, PageRepo $pageRepo)
{
$this->attachmentService = $attachmentService;
- $this->attachment = $attachment;
$this->pageRepo = $pageRepo;
}
'file' => 'required|file'
]);
- $attachment = $this->attachment->newQuery()->findOrFail($attachmentId);
+ $attachment = Attachment::query()->findOrFail($attachmentId);
$this->checkOwnablePermission('view', $attachment->page);
$this->checkOwnablePermission('page-update', $attachment->page);
$this->checkOwnablePermission('attachment-create', $attachment);
*/
public function getUpdateForm(string $attachmentId)
{
- $attachment = $this->attachment->findOrFail($attachmentId);
+ $attachment = Attachment::query()->findOrFail($attachmentId);
$this->checkOwnablePermission('page-update', $attachment->page);
$this->checkOwnablePermission('attachment-create', $attachment);
*/
public function update(Request $request, string $attachmentId)
{
- $attachment = $this->attachment->newQuery()->findOrFail($attachmentId);
-
+ /** @var Attachment $attachment */
+ $attachment = Attachment::query()->findOrFail($attachmentId);
try {
$this->validate($request, [
'attachment_edit_name' => 'required|string|min:1|max:255',
$attachmentName = $request->get('attachment_link_name');
$link = $request->get('attachment_link_url');
- $attachment = $this->attachmentService->saveNewFromLink($attachmentName, $link, intval($pageId));
+ $this->attachmentService->saveNewFromLink($attachmentName, $link, intval($pageId));
return view('attachments.manager-link-form', [
'pageId' => $pageId,
* @throws FileNotFoundException
* @throws NotFoundException
*/
- public function get(string $attachmentId)
+ public function get(Request $request, string $attachmentId)
{
- $attachment = $this->attachment->findOrFail($attachmentId);
+ /** @var Attachment $attachment */
+ $attachment = Attachment::query()->findOrFail($attachmentId);
try {
$page = $this->pageRepo->getById($attachment->uploaded_to);
} catch (NotFoundException $exception) {
return redirect($attachment->path);
}
+ $fileName = $attachment->getFileName();
$attachmentContents = $this->attachmentService->getAttachmentFromStorage($attachment);
- return $this->downloadResponse($attachmentContents, $attachment->getFileName());
+
+ if ($request->get('open') === 'true') {
+ return $this->inlineDownloadResponse($attachmentContents, $fileName);
+ }
+ return $this->downloadResponse($attachmentContents, $fileName);
}
/**
*/
public function delete(string $attachmentId)
{
- $attachment = $this->attachment->findOrFail($attachmentId);
+ /** @var Attachment $attachment */
+ $attachment = Attachment::query()->findOrFail($attachmentId);
$this->checkOwnablePermission('attachment-delete', $attachment);
$this->attachmentService->deleteFile($attachment);
return response()->json(['message' => trans('entities.attachments_deleted')]);
'sort' => $request->get('sort', 'created_at'),
'date_from' => $request->get('date_from', ''),
'date_to' => $request->get('date_to', ''),
+ 'user' => $request->get('user', ''),
];
$query = Activity::query()
if ($listDetails['event']) {
$query->where('type', '=', $listDetails['event']);
}
+ if ($listDetails['user']) {
+ $query->where('user_id', '=', $listDetails['user']);
+ }
if ($listDetails['date_from']) {
$query->where('created_at', '>=', $listDetails['date_from']);
namespace BookStack\Http\Controllers\Auth;
+use BookStack\Actions\ActivityType;
use BookStack\Auth\Access\EmailConfirmationService;
use BookStack\Auth\UserRepo;
use BookStack\Exceptions\ConfirmationEmailException;
use BookStack\Exceptions\UserTokenExpiredException;
use BookStack\Exceptions\UserTokenNotFoundException;
+use BookStack\Facades\Theme;
use BookStack\Http\Controllers\Controller;
+use BookStack\Theming\ThemeEvents;
use Exception;
use Illuminate\Http\RedirectResponse;
use Illuminate\Http\Request;
$user->save();
auth()->login($user);
+ Theme::dispatch(ThemeEvents::AUTH_LOGIN, auth()->getDefaultDriver(), $user);
+ $this->logActivity(ActivityType::AUTH_LOGIN, $user);
$this->showSuccessNotification(trans('auth.email_confirm_success'));
$this->emailConfirmationService->deleteByUser($user);
use BookStack\Auth\Access\SocialAuthService;
use BookStack\Exceptions\LoginAttemptEmailNeededException;
use BookStack\Exceptions\LoginAttemptException;
+use BookStack\Facades\Theme;
use BookStack\Http\Controllers\Controller;
+use BookStack\Theming\ThemeEvents;
use Illuminate\Foundation\Auth\AuthenticatesUsers;
use Illuminate\Http\Request;
+use Illuminate\Validation\ValidationException;
class LoginController extends Controller
{
}
}
+ Theme::dispatch(ThemeEvents::AUTH_LOGIN, auth()->getDefaultDriver(), $user);
$this->logActivity(ActivityType::AUTH_LOGIN, $user);
return redirect()->intended($this->redirectPath());
}
return redirect('/login');
}
+ /**
+ * Get the failed login response instance.
+ *
+ * @param \Illuminate\Http\Request $request
+ * @return \Symfony\Component\HttpFoundation\Response
+ *
+ * @throws \Illuminate\Validation\ValidationException
+ */
+ protected function sendFailedLoginResponse(Request $request)
+ {
+ throw ValidationException::withMessages([
+ $this->username() => [trans('auth.failed')],
+ ])->redirectTo('/login');
+ }
}
namespace BookStack\Http\Controllers\Auth;
+use BookStack\Actions\ActivityType;
use BookStack\Auth\Access\RegistrationService;
use BookStack\Auth\Access\SocialAuthService;
use BookStack\Auth\User;
use BookStack\Exceptions\UserRegistrationException;
+use BookStack\Facades\Theme;
use BookStack\Http\Controllers\Controller;
+use BookStack\Theming\ThemeEvents;
use Illuminate\Foundation\Auth\RegistersUsers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Hash;
try {
$user = $this->registrationService->registerUser($userData);
auth()->login($user);
+ Theme::dispatch(ThemeEvents::AUTH_LOGIN, auth()->getDefaultDriver(), $user);
+ $this->logActivity(ActivityType::AUTH_LOGIN, $user);
} catch (UserRegistrationException $exception) {
if ($exception->getMessage()) {
$this->showErrorNotification($exception->getMessage());
'password' => Hash::make($data['password']),
]);
}
-
}
return redirect()->intended();
}
-
}
namespace BookStack\Http\Controllers\Auth;
+use BookStack\Actions\ActivityType;
use BookStack\Auth\Access\RegistrationService;
use BookStack\Auth\Access\SocialAuthService;
use BookStack\Exceptions\SocialDriverNotConfigured;
use BookStack\Exceptions\SocialSignInAccountNotUsed;
use BookStack\Exceptions\SocialSignInException;
use BookStack\Exceptions\UserRegistrationException;
+use BookStack\Facades\Theme;
use BookStack\Http\Controllers\Controller;
-use Illuminate\Http\RedirectResponse;
+use BookStack\Theming\ThemeEvents;
use Illuminate\Http\Request;
-use Illuminate\Routing\Redirector;
use Illuminate\Support\Str;
use Laravel\Socialite\Contracts\User as SocialUser;
$this->registrationService = $registrationService;
}
-
/**
* Redirect to the relevant social site.
- * @throws \BookStack\Exceptions\SocialDriverNotConfigured
+ * @throws SocialDriverNotConfigured
*/
- public function getSocialLogin(string $socialDriver)
+ public function login(string $socialDriver)
{
session()->put('social-callback', 'login');
return $this->socialAuthService->startLogIn($socialDriver);
* @throws SocialDriverNotConfigured
* @throws UserRegistrationException
*/
- public function socialRegister(string $socialDriver)
+ public function register(string $socialDriver)
{
$this->registrationService->ensureRegistrationAllowed();
session()->put('social-callback', 'register');
* @throws SocialDriverNotConfigured
* @throws UserRegistrationException
*/
- public function socialCallback(Request $request, string $socialDriver)
+ public function callback(Request $request, string $socialDriver)
{
if (!session()->has('social-callback')) {
throw new SocialSignInException(trans('errors.social_no_action_defined'), '/login');
/**
* Detach a social account from a user.
*/
- public function detachSocialAccount(string $socialDriver)
+ public function detach(string $socialDriver)
{
$this->socialAuthService->detachSocialAccount($socialDriver);
session()->flash('success', trans('settings.users_social_disconnected', ['socialAccount' => Str::title($socialDriver)]));
protected function socialRegisterCallback(string $socialDriver, SocialUser $socialUser)
{
$socialUser = $this->socialAuthService->handleRegistrationCallback($socialDriver, $socialUser);
- $socialAccount = $this->socialAuthService->fillSocialAccount($socialDriver, $socialUser);
+ $socialAccount = $this->socialAuthService->newSocialAccount($socialDriver, $socialUser);
$emailVerified = $this->socialAuthService->driverAutoConfirmEmailEnabled($socialDriver);
// Create an array of the user data to create a new user instance
$user = $this->registrationService->registerUser($userData, $socialAccount, $emailVerified);
auth()->login($user);
+ Theme::dispatch(ThemeEvents::AUTH_LOGIN, $socialDriver, $user);
+ $this->logActivity(ActivityType::AUTH_LOGIN, $user);
$this->showSuccessNotification(trans('auth.register_success'));
return redirect('/');
namespace BookStack\Http\Controllers\Auth;
+use BookStack\Actions\ActivityType;
use BookStack\Auth\Access\UserInviteService;
use BookStack\Auth\UserRepo;
use BookStack\Exceptions\UserTokenExpiredException;
use BookStack\Exceptions\UserTokenNotFoundException;
+use BookStack\Facades\Theme;
use BookStack\Http\Controllers\Controller;
+use BookStack\Theming\ThemeEvents;
use Exception;
use Illuminate\Http\RedirectResponse;
use Illuminate\Http\Request;
$user->save();
auth()->login($user);
+ Theme::dispatch(ThemeEvents::AUTH_LOGIN, auth()->getDefaultDriver(), $user);
+ $this->logActivity(ActivityType::AUTH_LOGIN, $user);
$this->showSuccessNotification(trans('auth.user_invite_success', ['appName' => setting('app-name')]));
$this->inviteService->deleteByUser($user);
use Activity;
use BookStack\Actions\ActivityType;
+use BookStack\Actions\View;
use BookStack\Entities\Tools\BookContents;
use BookStack\Entities\Models\Bookshelf;
+use BookStack\Entities\Tools\PermissionsUpdater;
use BookStack\Entities\Tools\ShelfContext;
use BookStack\Entities\Repos\BookRepo;
use BookStack\Exceptions\ImageUploadException;
use Illuminate\Http\Request;
use Illuminate\Validation\ValidationException;
use Throwable;
-use Views;
class BookController extends Controller
{
*/
public function index()
{
- $view = setting()->getForCurrentUser('books_view_type', config('app.views.books'));
+ $view = setting()->getForCurrentUser('books_view_type');
$sort = setting()->getForCurrentUser('books_sort', 'name');
$order = setting()->getForCurrentUser('books_sort_order', 'asc');
$bookChildren = (new BookContents($book))->getTree(true);
$bookParentShelves = $book->shelves()->visible()->get();
- Views::add($book);
+ View::incrementFor($book);
if ($request->has('shelf')) {
$this->entityContextManager->setShelfContext(intval($request->get('shelf')));
}
* Set the restrictions for this book.
* @throws Throwable
*/
- public function permissions(Request $request, string $bookSlug)
+ public function permissions(Request $request, PermissionsUpdater $permissionsUpdater, string $bookSlug)
{
$book = $this->bookRepo->getBySlug($bookSlug);
$this->checkOwnablePermission('restrictions-manage', $book);
- $restricted = $request->get('restricted') === 'true';
- $permissions = $request->filled('restrictions') ? collect($request->get('restrictions')) : null;
- $this->bookRepo->updatePermissions($book, $restricted, $permissions);
+ $permissionsUpdater->updateFromPermissionsForm($book, $request);
$this->showSuccessNotification(trans('entities.books_permissions_updated'));
return redirect($book->getUrl());
$textContent = $this->exportFormatter->bookToPlainText($book);
return $this->downloadResponse($textContent, $bookSlug . '.txt');
}
+
+ /**
+ * Export a book as a markdown file.
+ */
+ public function markdown(string $bookSlug)
+ {
+ $book = $this->bookRepo->getBySlug($bookSlug);
+ $textContent = $this->exportFormatter->bookToMarkdown($book);
+ return $this->downloadResponse($textContent, $bookSlug . '.md');
+ }
}
<?php namespace BookStack\Http\Controllers;
use Activity;
+use BookStack\Actions\View;
use BookStack\Entities\Models\Book;
+use BookStack\Entities\Tools\PermissionsUpdater;
use BookStack\Entities\Tools\ShelfContext;
use BookStack\Entities\Repos\BookshelfRepo;
use BookStack\Exceptions\ImageUploadException;
protected $entityContextManager;
protected $imageRepo;
- /**
- * BookController constructor.
- */
public function __construct(BookshelfRepo $bookshelfRepo, ShelfContext $entityContextManager, ImageRepo $imageRepo)
{
$this->bookshelfRepo = $bookshelfRepo;
*/
public function index()
{
- $view = setting()->getForCurrentUser('bookshelves_view_type', config('app.views.bookshelves', 'grid'));
+ $view = setting()->getForCurrentUser('bookshelves_view_type');
$sort = setting()->getForCurrentUser('bookshelves_sort', 'name');
$order = setting()->getForCurrentUser('bookshelves_sort_order', 'asc');
$sortOptions = [
$shelf = $this->bookshelfRepo->getBySlug($slug);
$this->checkOwnablePermission('book-view', $shelf);
- Views::add($shelf);
+ $sort = setting()->getForCurrentUser('shelf_books_sort', 'default');
+ $order = setting()->getForCurrentUser('shelf_books_sort_order', 'asc');
+
+ $sortedVisibleShelfBooks = $shelf->visibleBooks()->get()
+ ->sortBy($sort === 'default' ? 'pivot.order' : $sort, SORT_REGULAR, $order === 'desc')
+ ->values()
+ ->all();
+
+ View::incrementFor($shelf);
$this->entityContextManager->setShelfContext($shelf->id);
- $view = setting()->getForCurrentUser('bookshelf_view_type', config('app.views.books'));
+ $view = setting()->getForCurrentUser('bookshelf_view_type');
$this->setPageTitle($shelf->getShortName());
return view('shelves.show', [
'shelf' => $shelf,
+ 'sortedVisibleShelfBooks' => $sortedVisibleShelfBooks,
'view' => $view,
- 'activity' => Activity::entityActivity($shelf, 20, 1)
+ 'activity' => Activity::entityActivity($shelf, 20, 1),
+ 'order' => $order,
+ 'sort' => $sort
]);
}
/**
* Set the permissions for this bookshelf.
*/
- public function permissions(Request $request, string $slug)
+ public function permissions(Request $request, PermissionsUpdater $permissionsUpdater, string $slug)
{
$shelf = $this->bookshelfRepo->getBySlug($slug);
$this->checkOwnablePermission('restrictions-manage', $shelf);
- $restricted = $request->get('restricted') === 'true';
- $permissions = $request->filled('restrictions') ? collect($request->get('restrictions')) : null;
- $this->bookshelfRepo->updatePermissions($shelf, $restricted, $permissions);
+ $permissionsUpdater->updateFromPermissionsForm($shelf, $request);
$this->showSuccessNotification(trans('entities.shelves_permissions_updated'));
return redirect($shelf->getUrl());
<?php namespace BookStack\Http\Controllers;
+use BookStack\Actions\View;
use BookStack\Entities\Models\Book;
use BookStack\Entities\Tools\BookContents;
use BookStack\Entities\Repos\ChapterRepo;
+use BookStack\Entities\Tools\NextPreviousContentLocator;
+use BookStack\Entities\Tools\PermissionsUpdater;
use BookStack\Exceptions\MoveOperationException;
use BookStack\Exceptions\NotFoundException;
use Illuminate\Http\Request;
use Illuminate\Validation\ValidationException;
use Throwable;
-use Views;
class ChapterController extends Controller
{
$sidebarTree = (new BookContents($chapter->book))->getTree();
$pages = $chapter->getVisiblePages();
- Views::add($chapter);
+ $nextPreviousLocator = new NextPreviousContentLocator($chapter, $sidebarTree);
+ View::incrementFor($chapter);
$this->setPageTitle($chapter->getShortName());
return view('chapters.show', [
'chapter' => $chapter,
'current' => $chapter,
'sidebarTree' => $sidebarTree,
- 'pages' => $pages
+ 'pages' => $pages,
+ 'next' => $nextPreviousLocator->getNext(),
+ 'previous' => $nextPreviousLocator->getPrevious(),
]);
}
* Set the restrictions for this chapter.
* @throws NotFoundException
*/
- public function permissions(Request $request, string $bookSlug, string $chapterSlug)
+ public function permissions(Request $request, PermissionsUpdater $permissionsUpdater, string $bookSlug, string $chapterSlug)
{
$chapter = $this->chapterRepo->getBySlug($bookSlug, $chapterSlug);
$this->checkOwnablePermission('restrictions-manage', $chapter);
- $restricted = $request->get('restricted') === 'true';
- $permissions = $request->filled('restrictions') ? collect($request->get('restrictions')) : null;
- $this->chapterRepo->updatePermissions($chapter, $restricted, $permissions);
+ $permissionsUpdater->updateFromPermissionsForm($chapter, $request);
$this->showSuccessNotification(trans('entities.chapters_permissions_success'));
return redirect($chapter->getUrl());
$chapterText = $this->exportFormatter->chapterToPlainText($chapter);
return $this->downloadResponse($chapterText, $chapterSlug . '.txt');
}
+
+ /**
+ * Export a chapter to a simple markdown file.
+ * @throws NotFoundException
+ */
+ public function markdown(string $bookSlug, string $chapterSlug)
+ {
+ // TODO: This should probably export to a zip file.
+ $chapter = $this->chapterRepo->getBySlug($bookSlug, $chapterSlug);
+ $chapterText = $this->exportFormatter->chapterToMarkdown($chapter);
+ return $this->downloadResponse($chapterText, $chapterSlug . '.md');
+ }
}
use BookStack\Facades\Activity;
use BookStack\Interfaces\Loggable;
-use BookStack\Ownable;
+use BookStack\HasCreatorAndUpdater;
+use BookStack\Model;
+use finfo;
use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Http\Exceptions\HttpResponseException;
/**
* Check the current user's permissions against an ownable item otherwise throw an exception.
*/
- protected function checkOwnablePermission(string $permission, Ownable $ownable): void
+ protected function checkOwnablePermission(string $permission, Model $ownable): void
{
if (!userCan($permission, $ownable)) {
$this->showPermissionError();
]);
}
+ /**
+ * Create a file download response that provides the file with a content-type
+ * correct for the file, in a way so the browser can show the content in browser.
+ */
+ protected function inlineDownloadResponse(string $content, string $fileName): Response
+ {
+ $finfo = new finfo(FILEINFO_MIME_TYPE);
+ $mime = $finfo->buffer($content) ?: 'application/octet-stream';
+ return response()->make($content, 200, [
+ 'Content-Type' => $mime,
+ 'Content-Disposition' => 'inline; filename="' . $fileName . '"'
+ ]);
+ }
+
/**
* Show a positive, successful notification to the user on next view load.
*/
*/
protected function getImageValidationRules(): string
{
- return 'image_extension|no_double_extension|mimes:jpeg,png,gif,webp';
+ return 'image_extension|mimes:jpeg,png,gif,webp';
}
}
--- /dev/null
+<?php
+
+namespace BookStack\Http\Controllers;
+
+use BookStack\Entities\Models\Entity;
+use BookStack\Entities\Queries\TopFavourites;
+use BookStack\Interfaces\Favouritable;
+use BookStack\Model;
+use Illuminate\Http\Request;
+
+class FavouriteController extends Controller
+{
+ /**
+ * Show a listing of all favourite items for the current user.
+ */
+ public function index(Request $request)
+ {
+ $viewCount = 20;
+ $page = intval($request->get('page', 1));
+ $favourites = (new TopFavourites)->run($viewCount + 1, (($page - 1) * $viewCount));
+
+ $hasMoreLink = ($favourites->count() > $viewCount) ? url("/favourites?page=" . ($page+1)) : null;
+
+ return view('common.detailed-listing-with-more', [
+ 'title' => trans('entities.my_favourites'),
+ 'entities' => $favourites->slice(0, $viewCount),
+ 'hasMoreLink' => $hasMoreLink,
+ ]);
+ }
+
+ /**
+ * Add a new item as a favourite.
+ */
+ public function add(Request $request)
+ {
+ $favouritable = $this->getValidatedModelFromRequest($request);
+ $favouritable->favourites()->firstOrCreate([
+ 'user_id' => user()->id,
+ ]);
+
+ $this->showSuccessNotification(trans('activities.favourite_add_notification', [
+ 'name' => $favouritable->name,
+ ]));
+ return redirect()->back();
+ }
+
+ /**
+ * Remove an item as a favourite.
+ */
+ public function remove(Request $request)
+ {
+ $favouritable = $this->getValidatedModelFromRequest($request);
+ $favouritable->favourites()->where([
+ 'user_id' => user()->id,
+ ])->delete();
+
+ $this->showSuccessNotification(trans('activities.favourite_remove_notification', [
+ 'name' => $favouritable->name,
+ ]));
+ return redirect()->back();
+ }
+
+ /**
+ * @throws \Illuminate\Validation\ValidationException
+ * @throws \Exception
+ */
+ protected function getValidatedModelFromRequest(Request $request): Favouritable
+ {
+ $modelInfo = $this->validate($request, [
+ 'type' => 'required|string',
+ 'id' => 'required|integer',
+ ]);
+
+ if (!class_exists($modelInfo['type'])) {
+ throw new \Exception('Model not found');
+ }
+
+ /** @var Model $model */
+ $model = new $modelInfo['type'];
+ if (! $model instanceof Favouritable) {
+ throw new \Exception('Model not favouritable');
+ }
+
+ $modelInstance = $model->newQuery()
+ ->where('id', '=', $modelInfo['id'])
+ ->first(['id', 'name']);
+
+ $inaccessibleEntity = ($modelInstance instanceof Entity && !userCan('view', $modelInstance));
+ if (is_null($modelInstance) || $inaccessibleEntity) {
+ throw new \Exception('Model instance not found');
+ }
+
+ return $modelInstance;
+ }
+}
use Activity;
use BookStack\Entities\Models\Book;
+use BookStack\Entities\Queries\RecentlyViewed;
+use BookStack\Entities\Queries\TopFavourites;
use BookStack\Entities\Tools\PageContent;
use BookStack\Entities\Models\Page;
use BookStack\Entities\Repos\BookRepo;
use BookStack\Entities\Repos\BookshelfRepo;
-use Illuminate\Http\Response;
use Views;
class HomeController extends Controller
->where('draft', '=', true)
->where('created_by', '=', user()->id)
->orderBy('updated_at', 'desc')
+ ->with('book')
->take(6)
->get();
}
$recentFactor = count($draftPages) > 0 ? 0.5 : 1;
$recents = $this->isSignedIn() ?
- Views::getUserRecentlyViewed(12*$recentFactor, 1)
+ (new RecentlyViewed)->run(12*$recentFactor, 1)
: Book::visible()->orderBy('created_at', 'desc')->take(12 * $recentFactor)->get();
- $recentlyUpdatedPages = Page::visible()->where('draft', false)
- ->orderBy('updated_at', 'desc')->take(12)->get();
+ $favourites = (new TopFavourites)->run(6);
+ $recentlyUpdatedPages = Page::visible()->with('book')
+ ->where('draft', false)
+ ->orderBy('updated_at', 'desc')
+ ->take($favourites->count() > 0 ? 6 : 12)
+ ->get();
$homepageOptions = ['default', 'books', 'bookshelves', 'page'];
$homepageOption = setting('app-homepage-type', 'default');
'recents' => $recents,
'recentlyUpdatedPages' => $recentlyUpdatedPages,
'draftPages' => $draftPages,
+ 'favourites' => $favourites,
];
// Add required list ordering & sorting for books & shelves views.
if ($homepageOption === 'bookshelves' || $homepageOption === 'books') {
$key = $homepageOption;
- $view = setting()->getForCurrentUser($key . '_view_type', config('app.views.' . $key));
+ $view = setting()->getForCurrentUser($key . '_view_type');
$sort = setting()->getForCurrentUser($key . '_sort', 'name');
$order = setting()->getForCurrentUser($key . '_sort_order', 'asc');
*/
public function customHeadContent()
{
- return view('partials.custom-head-content');
+ return view('partials.custom-head');
}
/**
* Show the view for /robots.txt
- * @return $this
*/
public function getRobots()
{
$sitePublic = setting('app-public', false);
$allowRobots = config('app.allow_robots');
+
if ($allowRobots === null) {
$allowRobots = $sitePublic;
}
+
return response()
->view('common.robots', ['allowRobots' => $allowRobots])
->header('Content-Type', 'text/plain');
<?php namespace BookStack\Http\Controllers\Images;
use BookStack\Exceptions\ImageUploadException;
+use BookStack\Exceptions\NotFoundException;
use BookStack\Http\Controllers\Controller;
use BookStack\Uploads\Image;
use BookStack\Uploads\ImageRepo;
/**
* Provide an image file from storage.
+ * @throws NotFoundException
*/
public function showImage(string $path)
{
$path = storage_path('uploads/images/' . $path);
if (!file_exists($path)) {
- abort(404);
+ throw (new NotFoundException(trans('errors.image_not_found')))
+ ->setSubtitle(trans('errors.image_not_found_subtitle'))
+ ->setDetails(trans('errors.image_not_found_details'));
}
return response()->file($path);
<?php namespace BookStack\Http\Controllers;
+use BookStack\Actions\View;
use BookStack\Entities\Tools\BookContents;
+use BookStack\Entities\Tools\NextPreviousContentLocator;
use BookStack\Entities\Tools\PageContent;
use BookStack\Entities\Tools\PageEditActivity;
use BookStack\Entities\Models\Page;
use BookStack\Entities\Repos\PageRepo;
+use BookStack\Entities\Tools\PermissionsUpdater;
use BookStack\Exceptions\NotFoundException;
-use BookStack\Exceptions\NotifyException;
use BookStack\Exceptions\PermissionsException;
use Exception;
use Illuminate\Http\Request;
use Illuminate\Validation\ValidationException;
use Throwable;
-use Views;
class PageController extends Controller
{
$page->load(['comments.createdBy']);
}
- Views::add($page);
+ $nextPreviousLocator = new NextPreviousContentLocator($page, $sidebarTree);
+
+ View::incrementFor($page);
$this->setPageTitle($page->getShortName());
return view('pages.show', [
'page' => $page,
'current' => $page,
'sidebarTree' => $sidebarTree,
'commentsEnabled' => $commentsEnabled,
- 'pageNav' => $pageNav
+ 'pageNav' => $pageNav,
+ 'next' => $nextPreviousLocator->getNext(),
+ 'previous' => $nextPreviousLocator->getPrevious(),
]);
}
$updateTime = $draft->updated_at->timestamp;
return response()->json([
- 'status' => 'success',
- 'message' => trans('entities.pages_edit_draft_save_at'),
+ 'status' => 'success',
+ 'message' => trans('entities.pages_edit_draft_save_at'),
'timestamp' => $updateTime
]);
}
{
$page = $this->pageRepo->getBySlug($bookSlug, $pageSlug);
$this->checkOwnablePermission('page-delete', $page);
- $this->setPageTitle(trans('entities.pages_delete_named', ['pageName'=>$page->getShortName()]));
+ $this->setPageTitle(trans('entities.pages_delete_named', ['pageName' => $page->getShortName()]));
return view('pages.delete', [
'book' => $page->book,
'page' => $page,
{
$page = $this->pageRepo->getById($pageId);
$this->checkOwnablePermission('page-update', $page);
- $this->setPageTitle(trans('entities.pages_delete_draft_named', ['pageName'=>$page->getShortName()]));
+ $this->setPageTitle(trans('entities.pages_delete_draft_named', ['pageName' => $page->getShortName()]));
return view('pages.delete', [
'book' => $page->book,
'page' => $page,
* Remove the specified page from storage.
* @throws NotFoundException
* @throws Throwable
- * @throws NotifyException
*/
public function destroy(string $bookSlug, string $pageSlug)
{
/**
* Remove the specified draft page from storage.
* @throws NotFoundException
- * @throws NotifyException
* @throws Throwable
*/
public function destroyDraft(string $bookSlug, int $pageId)
->paginate(20)
->setPath(url('/pages/recently-updated'));
- return view('pages.detailed-listing', [
+ return view('common.detailed-listing-paginated', [
'title' => trans('entities.recently_updated_pages'),
- 'pages' => $pages
+ 'entities' => $pages
]);
}
try {
$parent = $this->pageRepo->move($page, $entitySelection);
} catch (Exception $exception) {
- if ($exception instanceof PermissionsException) {
+ if ($exception instanceof PermissionsException) {
$this->showPermissionError();
}
try {
$pageCopy = $this->pageRepo->copy($page, $entitySelection, $newName);
} catch (Exception $exception) {
- if ($exception instanceof PermissionsException) {
+ if ($exception instanceof PermissionsException) {
$this->showPermissionError();
}
$page = $this->pageRepo->getBySlug($bookSlug, $pageSlug);
$this->checkOwnablePermission('restrictions-manage', $page);
return view('pages.permissions', [
- 'page' => $page,
+ 'page' => $page,
]);
}
* @throws NotFoundException
* @throws Throwable
*/
- public function permissions(Request $request, string $bookSlug, string $pageSlug)
+ public function permissions(Request $request, PermissionsUpdater $permissionsUpdater, string $bookSlug, string $pageSlug)
{
$page = $this->pageRepo->getBySlug($bookSlug, $pageSlug);
$this->checkOwnablePermission('restrictions-manage', $page);
- $restricted = $request->get('restricted') === 'true';
- $permissions = $request->filled('restrictions') ? collect($request->get('restrictions')) : null;
- $this->pageRepo->updatePermissions($page, $restricted, $permissions);
+ $permissionsUpdater->updateFromPermissionsForm($page, $request);
$this->showSuccessNotification(trans('entities.pages_permissions_success'));
return redirect($page->getUrl());
$pageText = $this->exportFormatter->pageToPlainText($page);
return $this->downloadResponse($pageText, $pageSlug . '.txt');
}
+
+ /**
+ * Export a page to a simple markdown .md file.
+ * @throws NotFoundException
+ */
+ public function markdown(string $bookSlug, string $pageSlug)
+ {
+ $page = $this->pageRepo->getBySlug($bookSlug, $pageSlug);
+ $pageText = $this->exportFormatter->pageToMarkdown($page);
+ return $this->downloadResponse($pageText, $pageSlug . '.md');
+ }
}
<?php namespace BookStack\Http\Controllers;
-use BookStack\Actions\ViewService;
-use BookStack\Entities\Models\Book;
-use BookStack\Entities\Models\Bookshelf;
-use BookStack\Entities\Models\Entity;
+use BookStack\Entities\Queries\Popular;
use BookStack\Entities\Tools\SearchRunner;
use BookStack\Entities\Tools\ShelfContext;
use BookStack\Entities\Tools\SearchOptions;
class SearchController extends Controller
{
- protected $viewService;
protected $searchRunner;
protected $entityContextManager;
public function __construct(
- ViewService $viewService,
SearchRunner $searchRunner,
ShelfContext $entityContextManager
) {
- $this->viewService = $viewService;
$this->searchRunner = $searchRunner;
$this->entityContextManager = $entityContextManager;
}
$searchTerm .= ' {type:'. implode('|', $entityTypes) .'}';
$entities = $this->searchRunner->searchEntities(SearchOptions::fromString($searchTerm), 'all', 1, 20, $permission)['results'];
} else {
- $entities = $this->viewService->getPopular(20, 0, $entityTypes, $permission);
+ $entities = (new Popular)->run(20, 0, $entityTypes, $permission);
}
return view('search.entity-ajax-list', ['entities' => $entities]);
--- /dev/null
+<?php namespace BookStack\Http\Controllers;
+
+use Illuminate\Support\Facades\Cache;
+use Illuminate\Support\Facades\DB;
+use Illuminate\Support\Facades\Session;
+use Illuminate\Support\Str;
+
+class StatusController extends Controller
+{
+
+ /**
+ * Show the system status as a simple json page.
+ */
+ public function show()
+ {
+ $statuses = [
+ 'database' => $this->trueWithoutError(function () {
+ return DB::table('migrations')->count() > 0;
+ }),
+ 'cache' => $this->trueWithoutError(function () {
+ $rand = Str::random();
+ Cache::set('status_test', $rand);
+ return Cache::get('status_test') === $rand;
+ }),
+ 'session' => $this->trueWithoutError(function () {
+ $rand = Str::random();
+ Session::put('status_test', $rand);
+ return Session::get('status_test') === $rand;
+ }),
+ ];
+
+ $hasError = in_array(false, $statuses);
+ return response()->json($statuses, $hasError ? 500 : 200);
+ }
+
+ /**
+ * Check the callable passed returns true and does not throw an exception.
+ */
+ protected function trueWithoutError(callable $test): bool
+ {
+ try {
+ return $test() === true;
+ } catch (\Exception $e) {
+ return false;
+ }
+ }
+}
$token = ApiToken::query()->where('user_id', '=', $user->id)->where('id', '=', $tokenId)->firstOrFail();
return [$user, $token];
}
-
}
use BookStack\Auth\Access\UserInviteService;
use BookStack\Auth\User;
use BookStack\Auth\UserRepo;
+use BookStack\Exceptions\ImageUploadException;
use BookStack\Exceptions\UserUpdateException;
use BookStack\Uploads\ImageRepo;
+use Exception;
use Illuminate\Http\Request;
use Illuminate\Support\Str;
+use Illuminate\Validation\ValidationException;
class UserController extends Controller
{
'sort' => $request->get('sort', 'name'),
];
$users = $this->userRepo->getAllUsersPaginatedAndSorted(20, $listDetails);
+
$this->setPageTitle(trans('settings.users'));
$users->appends($listDetails);
return view('users.index', ['users' => $users, 'listDetails' => $listDetails]);
/**
* Store a newly created user in storage.
* @throws UserUpdateException
- * @throws \Illuminate\Validation\ValidationException
+ * @throws ValidationException
*/
public function store(Request $request)
{
$user->external_auth_id = $request->get('external_auth_id');
}
+ $user->refreshSlug();
$user->save();
if ($sendInvite) {
/**
* Update the specified user in storage.
* @throws UserUpdateException
- * @throws \BookStack\Exceptions\ImageUploadException
- * @throws \Illuminate\Validation\ValidationException
+ * @throws ImageUploadException
+ * @throws ValidationException
*/
public function update(Request $request, int $id)
{
$user->email = $request->get('email');
}
+ // Refresh the slug if the user's name has changed
+ if ($user->isDirty('name')) {
+ $user->refreshSlug();
+ }
+
// Role updates
if (userCan('users-manage') && $request->filled('roles')) {
$roles = $request->get('roles');
$user->image_id = $image->id;
}
- // Delete the profile image if set to
+ // Delete the profile image if reset option is in request
if ($request->has('profile_image_reset')) {
$this->imageRepo->destroyImage($user->avatar);
}
/**
* Remove the specified user from storage.
- * @throws \Exception
+ * @throws Exception
*/
- public function destroy(int $id)
+ public function destroy(Request $request, int $id)
{
$this->preventAccessInDemoMode();
$this->checkPermissionOrCurrentUser('users-manage', $id);
$user = $this->userRepo->getById($id);
+ $newOwnerId = $request->get('new_owner_id', null);
if ($this->userRepo->isOnlyAdmin($user)) {
$this->showErrorNotification(trans('errors.users_cannot_delete_only_admin'));
return redirect($user->getEditUrl());
}
- $this->userRepo->destroy($user);
+ $this->userRepo->destroy($user, $newOwnerId);
$this->showSuccessNotification(trans('settings.users_delete_success'));
$this->logActivity(ActivityType::USER_DELETE, $user);
return redirect('/settings/users');
}
- /**
- * Show the user profile page
- */
- public function showProfilePage($id)
- {
- $user = $this->userRepo->getById($id);
-
- $userActivity = $this->userRepo->getActivity($user);
- $recentlyCreated = $this->userRepo->getRecentlyCreated($user, 5);
- $assetCounts = $this->userRepo->getAssetCounts($user);
-
- return view('users.profile', [
- 'user' => $user,
- 'activity' => $userActivity,
- 'recentlyCreated' => $recentlyCreated,
- 'assetCounts' => $assetCounts
- ]);
- }
-
/**
* Update the user's preferred book-list display setting.
*/
*/
public function changeSort(Request $request, string $id, string $type)
{
- $validSortTypes = ['books', 'bookshelves'];
+ $validSortTypes = ['books', 'bookshelves', 'shelf_books'];
if (!in_array($type, $validSortTypes)) {
return redirect()->back(500);
}
$this->checkPermissionOrCurrentUser('users-manage', $userId);
$sort = $request->get('sort');
- if (!in_array($sort, ['name', 'created_at', 'updated_at'])) {
+ if (!in_array($sort, ['name', 'created_at', 'updated_at', 'default'])) {
$sort = 'name';
}
--- /dev/null
+<?php namespace BookStack\Http\Controllers;
+
+use BookStack\Auth\UserRepo;
+
+class UserProfileController extends Controller
+{
+ /**
+ * Show the user profile page
+ */
+ public function show(UserRepo $repo, string $slug)
+ {
+ $user = $repo->getBySlug($slug);
+
+ $userActivity = $repo->getActivity($user);
+ $recentlyCreated = $repo->getRecentlyCreated($user, 5);
+ $assetCounts = $repo->getAssetCounts($user);
+
+ return view('users.profile', [
+ 'user' => $user,
+ 'activity' => $userActivity,
+ 'recentlyCreated' => $recentlyCreated,
+ 'assetCounts' => $assetCounts
+ ]);
+ }
+}
--- /dev/null
+<?php
+
+namespace BookStack\Http\Controllers;
+
+use BookStack\Auth\User;
+use Illuminate\Database\Eloquent\Builder;
+use Illuminate\Http\Request;
+
+class UserSearchController extends Controller
+{
+ /**
+ * Search users in the system, with the response formatted
+ * for use in a select-style list.
+ */
+ public function forSelect(Request $request)
+ {
+ $search = $request->get('search', '');
+ $query = User::query()->orderBy('name', 'desc')
+ ->take(20);
+
+ if (!empty($search)) {
+ $query->where(function (Builder $query) use ($search) {
+ $query->where('email', 'like', '%' . $search . '%')
+ ->orWhere('name', 'like', '%' . $search . '%');
+ });
+ }
+
+ $users = $query->get();
+ return view('components.user-select-list', compact('users'));
+ }
+}
*/
protected $middlewareGroups = [
'web' => [
+ \BookStack\Http\Middleware\ControlIframeSecurity::class,
\BookStack\Http\Middleware\EncryptCookies::class,
\Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
\Illuminate\Session\Middleware\StartSession::class,
\Illuminate\View\Middleware\ShareErrorsFromSession::class,
\BookStack\Http\Middleware\VerifyCsrfToken::class,
+ \BookStack\Http\Middleware\RunThemeActions::class,
\BookStack\Http\Middleware\Localization::class,
- \BookStack\Http\Middleware\GlobalViewData::class,
],
'api' => [
\BookStack\Http\Middleware\ThrottleApiRequests::class,
return false;
}
-}
\ No newline at end of file
+}
--- /dev/null
+<?php
+
+namespace BookStack\Http\Middleware;
+
+use Closure;
+use Symfony\Component\HttpFoundation\Response;
+
+/**
+ * Sets CSP headers to restrict the hosts that BookStack can be
+ * iframed within. Also adjusts the cookie samesite options
+ * so that cookies will operate in the third-party context.
+ */
+class ControlIframeSecurity
+{
+ /**
+ * Handle an incoming request.
+ *
+ * @param \Illuminate\Http\Request $request
+ * @param \Closure $next
+ * @return mixed
+ */
+ public function handle($request, Closure $next)
+ {
+ $iframeHosts = collect(explode(' ', config('app.iframe_hosts', '')))->filter();
+ if ($iframeHosts->count() > 0) {
+ config()->set('session.same_site', 'none');
+ }
+
+ $iframeHosts->prepend("'self'");
+
+ $response = $next($request);
+ $cspValue = 'frame-ancestors ' . $iframeHosts->join(' ');
+ $response->headers->set('Content-Security-Policy', $cspValue);
+ return $response;
+ }
+}
+++ /dev/null
-<?php namespace BookStack\Http\Middleware;
-
-use Closure;
-use Illuminate\Http\Request;
-
-/**
- * Class GlobalViewData
- * Sets up data that is accessible to any view rendered by the web routes.
- */
-class GlobalViewData
-{
-
- /**
- * Handle an incoming request.
- *
- * @param Request $request
- * @param Closure $next
- * @return mixed
- */
- public function handle(Request $request, Closure $next)
- {
- view()->share('signedIn', auth()->check());
- view()->share('currentUser', user());
-
- return $next($request);
- }
-}
/**
* Array of right-to-left locales
- * @var array
*/
protected $rtlLocales = ['ar', 'he'];
/**
* Map of BookStack locale names to best-estimate system locale names.
- * @var array
*/
protected $localeMap = [
'ar' => 'ar',
'bg' => 'bg_BG',
+ 'bs' => 'bs_BA',
+ 'ca' => 'ca',
'da' => 'da_DK',
'de' => 'de_DE',
'de_informal' => 'de_DE',
'es_AR' => 'es_AR',
'fr' => 'fr_FR',
'he' => 'he_IL',
+ 'hr' => 'hr_HR',
+ 'id' => 'id_ID',
'it' => 'it_IT',
'ja' => 'ja',
'ko' => 'ko_KR',
+ 'lv' => 'lv_LV',
'nl' => 'nl_NL',
+ 'nb' => 'nb_NO',
'pl' => 'pl_PL',
- 'pt' => 'pl_PT',
+ 'pt' => 'pt_PT',
'pt_BR' => 'pt_BR',
'ru' => 'ru',
'sk' => 'sk_SK',
$defaultLang = config('app.locale');
config()->set('app.default_locale', $defaultLang);
- if (user()->isDefault() && config('app.auto_detect_locale')) {
- $locale = $this->autoDetectLocale($request, $defaultLang);
- } else {
- $locale = setting()->getUser(user(), 'language', $defaultLang);
- }
-
+ $locale = $this->getUserLocale($request, $defaultLang);
config()->set('app.lang', str_replace('_', '-', $this->getLocaleIso($locale)));
// Set text direction
return $next($request);
}
+ /**
+ * Get the locale specifically for the currently logged in user if available.
+ */
+ protected function getUserLocale(Request $request, string $default): string
+ {
+ try {
+ $user = user();
+ } catch (\Exception $exception) {
+ return $default;
+ }
+
+ if ($user->isDefault() && config('app.auto_detect_locale')) {
+ return $this->autoDetectLocale($request, $default);
+ }
+
+ return setting()->getUser($user, 'language', $default);
+ }
+
/**
* Autodetect the visitors locale by matching locales in their headers
* against the locales supported by BookStack.
- * @param Request $request
- * @param string $default
- * @return string
*/
- protected function autoDetectLocale(Request $request, string $default)
+ protected function autoDetectLocale(Request $request, string $default): string
{
$availableLocales = config('app.locales');
foreach ($request->getLanguages() as $lang) {
/**
* Get the ISO version of a BookStack language name
- * @param string $locale
- * @return string
*/
- public function getLocaleIso(string $locale)
+ public function getLocaleIso(string $locale): string
{
return $this->localeMap[$locale] ?? $locale;
}
/**
* Set the system date locale for localized date formatting.
* Will try both the standard locale name and the UTF8 variant.
- * @param string $locale
*/
protected function setSystemDateLocale(string $locale)
{
--- /dev/null
+<?php
+
+namespace BookStack\Http\Middleware;
+
+use BookStack\Facades\Theme;
+use BookStack\Theming\ThemeEvents;
+use Closure;
+
+class RunThemeActions
+{
+ /**
+ * Handle an incoming request.
+ *
+ * @param \Illuminate\Http\Request $request
+ * @param \Closure $next
+ * @return mixed
+ */
+ public function handle($request, Closure $next)
+ {
+ $earlyResponse = Theme::dispatch(ThemeEvents::WEB_MIDDLEWARE_BEFORE, $request);
+ if (!is_null($earlyResponse)) {
+ return $earlyResponse;
+ }
+
+ $response = $next($request);
+ $response = Theme::dispatch(ThemeEvents::WEB_MIDDLEWARE_AFTER, $request, $response) ?? $response;
+ return $response;
+ }
+}
{
return (int) config('api.requests_per_minute');
}
-
-}
\ No newline at end of file
+}
--- /dev/null
+<?php namespace BookStack\Interfaces;
+
+use Illuminate\Database\Eloquent\Relations\MorphMany;
+
+interface Favouritable
+{
+ /**
+ * Get the related favourite instances.
+ */
+ public function favourites(): MorphMany;
+}
\ No newline at end of file
* Get the string descriptor for this item.
*/
public function logDescriptor(): string;
-}
\ No newline at end of file
+}
--- /dev/null
+<?php namespace BookStack\Interfaces;
+
+use Illuminate\Database\Eloquent\Builder;
+
+/**
+ * Interface Sluggable
+ *
+ * Assigned to models that can have slugs.
+ * Must have the below properties.
+ *
+ * @property int $id
+ * @property string $name
+ * @method Builder newQuery
+ */
+interface Sluggable
+{
+
+ /**
+ * Regenerate the slug for this model.
+ */
+ public function refreshSlug(): string;
+
+}
\ No newline at end of file
--- /dev/null
+<?php namespace BookStack\Interfaces;
+
+use Illuminate\Database\Eloquent\Relations\MorphMany;
+
+interface Viewable
+{
+ /**
+ * Get all view instances for this viewable model.
+ */
+ public function views(): MorphMany;
+}
\ No newline at end of file
+++ /dev/null
-<?php namespace BookStack;
-
-use BookStack\Auth\User;
-
-/**
- * @property int created_by
- * @property int updated_by
- */
-abstract class Ownable extends Model
-{
- /**
- * Relation for the user that created this entity.
- * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
- */
- public function createdBy()
- {
- return $this->belongsTo(User::class, 'created_by');
- }
-
- /**
- * Relation for the user that updated this entity.
- * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
- */
- public function updatedBy()
- {
- return $this->belongsTo(User::class, 'updated_by');
- }
-
- /**
- * Gets the class name.
- * @return string
- */
- public static function getClassName()
- {
- return strtolower(array_slice(explode('\\', static::class), -1, 1)[0]);
- }
-}
<?php namespace BookStack\Providers;
use Blade;
+use BookStack\Auth\Access\SocialAuthService;
use BookStack\Entities\Models\Book;
use BookStack\Entities\Models\Bookshelf;
use BookStack\Entities\BreadcrumbsViewComposer;
use BookStack\Entities\Models\Page;
use BookStack\Settings\Setting;
use BookStack\Settings\SettingService;
+use Illuminate\Contracts\Cache\Repository;
use Illuminate\Database\Eloquent\Relations\Relation;
use Illuminate\Support\Facades\View;
use Illuminate\Support\ServiceProvider;
+use Laravel\Socialite\Contracts\Factory as SocialiteFactory;
use Schema;
use URL;
public function register()
{
$this->app->singleton(SettingService::class, function ($app) {
- return new SettingService($app->make(Setting::class), $app->make('Illuminate\Contracts\Cache\Repository'));
+ return new SettingService($app->make(Setting::class), $app->make(Repository::class));
+ });
+
+ $this->app->singleton(SocialAuthService::class, function($app) {
+ return new SocialAuthService($app->make(SocialiteFactory::class));
});
}
}
namespace BookStack\Providers;
use BookStack\Actions\ActivityService;
-use BookStack\Actions\ViewService;
use BookStack\Auth\Permissions\PermissionService;
-use BookStack\Settings\SettingService;
+use BookStack\Theming\ThemeService;
use BookStack\Uploads\ImageService;
use Illuminate\Support\ServiceProvider;
return $this->app->make(ActivityService::class);
});
- $this->app->singleton('views', function () {
- return $this->app->make(ViewService::class);
- });
-
- $this->app->singleton('setting', function () {
- return $this->app->make(SettingService::class);
- });
-
$this->app->singleton('images', function () {
return $this->app->make(ImageService::class);
});
$this->app->singleton('permissions', function () {
return $this->app->make(PermissionService::class);
});
+
+ $this->app->singleton('theme', function () {
+ return $this->app->make(ThemeService::class);
+ });
}
}
return in_array(strtolower($value->getClientOriginalExtension()), $validImageExtensions);
});
- Validator::extend('no_double_extension', function ($attribute, $value, $parameters, $validator) {
- $uploadName = $value->getClientOriginalName();
- return substr_count($uploadName, '.') < 2;
- });
-
Validator::extend('safe_url', function ($attribute, $value, $parameters, $validator) {
$cleanLinkName = strtolower(trim($value));
$isJs = strpos($cleanLinkName, 'javascript:') === 0;
--- /dev/null
+<?php
+
+namespace BookStack\Providers;
+
+use BookStack\Theming\ThemeEvents;
+use BookStack\Theming\ThemeService;
+use Illuminate\Support\ServiceProvider;
+
+class ThemeServiceProvider extends ServiceProvider
+{
+ /**
+ * Register services.
+ *
+ * @return void
+ */
+ public function register()
+ {
+ $this->app->singleton(ThemeService::class, function ($app) {
+ return new ThemeService;
+ });
+ }
+
+ /**
+ * Bootstrap services.
+ *
+ * @return void
+ */
+ public function boot()
+ {
+ $themeService = $this->app->make(ThemeService::class);
+ $themeService->readThemeActions();
+ $themeService->dispatch(ThemeEvents::APP_BOOT, $this->app);
+ }
+}
return new FileLoader($app['files'], $app['path.lang']);
});
}
-
-}
\ No newline at end of file
+}
<?php namespace BookStack\Settings;
+use BookStack\Auth\User;
use Illuminate\Contracts\Cache\Repository as Cache;
/**
*/
class SettingService
{
-
protected $setting;
protected $cache;
protected $localCache = [];
/**
* SettingService constructor.
- * @param Setting $setting
- * @param Cache $cache
*/
public function __construct(Setting $setting, Cache $cache)
{
/**
* Gets a setting from the database,
* If not found, Returns default, Which is false by default.
- * @param $key
- * @param string|bool $default
- * @return bool|string
*/
- public function get($key, $default = false)
+ public function get(string $key, $default = null)
{
- if ($default === false) {
+ if (is_null($default)) {
$default = config('setting-defaults.' . $key, false);
}
return $this->localCache[$key];
}
- $value = $this->getValueFromStore($key, $default);
+ $value = $this->getValueFromStore($key) ?? $default;
$formatted = $this->formatValue($value, $default);
$this->localCache[$key] = $formatted;
return $formatted;
/**
* Get a value from the session instead of the main store option.
- * @param $key
- * @param bool $default
- * @return mixed
*/
- protected function getFromSession($key, $default = false)
+ protected function getFromSession(string $key, $default = false)
{
$value = session()->get($key, $default);
- $formatted = $this->formatValue($value, $default);
- return $formatted;
+ return $this->formatValue($value, $default);
}
/**
* Get a user-specific setting from the database or cache.
- * @param \BookStack\Auth\User $user
- * @param $key
- * @param bool $default
- * @return bool|string
*/
- public function getUser($user, $key, $default = false)
+ public function getUser(User $user, string $key, $default = null)
{
+ if (is_null($default)) {
+ $default = config('setting-defaults.user.' . $key, false);
+ }
+
if ($user->isDefault()) {
return $this->getFromSession($key, $default);
}
/**
* Get a value for the current logged-in user.
- * @param $key
- * @param bool $default
- * @return bool|string
*/
- public function getForCurrentUser($key, $default = false)
+ public function getForCurrentUser(string $key, $default = null)
{
return $this->getUser(user(), $key, $default);
}
/**
* Gets a setting value from the cache or database.
* Looks at the system defaults if not cached or in database.
- * @param $key
- * @param $default
- * @return mixed
+ * Returns null if nothing is found.
*/
- protected function getValueFromStore($key, $default)
+ protected function getValueFromStore(string $key)
{
// Check the cache
$cacheKey = $this->cachePrefix . $key;
$settingObject = $this->getSettingObjectByKey($key);
if ($settingObject !== null) {
$value = $settingObject->value;
+
+ if ($settingObject->type === 'array') {
+ $value = json_decode($value, true) ?? [];
+ }
+
$this->cache->forever($cacheKey, $value);
return $value;
}
- return $default;
+ return null;
}
/**
* Clear an item from the cache completely.
- * @param $key
*/
- protected function clearFromCache($key)
+ protected function clearFromCache(string $key)
{
$cacheKey = $this->cachePrefix . $key;
$this->cache->forget($cacheKey);
/**
* Format a settings value
- * @param $value
- * @param $default
- * @return mixed
*/
protected function formatValue($value, $default)
{
// Change string booleans to actual booleans
if ($value === 'true') {
$value = true;
- }
- if ($value === 'false') {
+ } else if ($value === 'false') {
$value = false;
}
/**
* Checks if a setting exists.
- * @param $key
- * @return bool
*/
- public function has($key)
+ public function has(string $key): bool
{
$setting = $this->getSettingObjectByKey($key);
return $setting !== null;
}
- /**
- * Check if a user setting is in the database.
- * @param $key
- * @return bool
- */
- public function hasUser($key)
- {
- return $this->has($this->userKey($key));
- }
-
/**
* Add a setting to the database.
- * @param $key
- * @param $value
- * @return bool
+ * Values can be an array or a string.
*/
- public function put($key, $value)
+ public function put(string $key, $value): bool
{
- $setting = $this->setting->firstOrNew([
+ $setting = $this->setting->newQuery()->firstOrNew([
'setting_key' => $key
]);
+ $setting->type = 'string';
+
+ if (is_array($value)) {
+ $setting->type = 'array';
+ $value = $this->formatArrayValue($value);
+ }
+
$setting->value = $value;
$setting->save();
$this->clearFromCache($key);
return true;
}
+ /**
+ * Format an array to be stored as a setting.
+ * Array setting types are expected to be a flat array of child key=>value array items.
+ * This filters out any child items that are empty.
+ */
+ protected function formatArrayValue(array $value): string
+ {
+ $values = collect($value)->values()->filter(function (array $item) {
+ return count(array_filter($item)) > 0;
+ });
+ return json_encode($values);
+ }
+
/**
* Put a user-specific setting into the database.
- * @param \BookStack\Auth\User $user
- * @param $key
- * @param $value
- * @return bool
*/
- public function putUser($user, $key, $value)
+ public function putUser(User $user, string $key, string $value): bool
{
if ($user->isDefault()) {
- return session()->put($key, $value);
+ session()->put($key, $value);
+ return true;
}
+
return $this->put($this->userKey($user->id, $key), $value);
}
/**
* Convert a setting key into a user-specific key.
- * @param $key
- * @return string
*/
- protected function userKey($userId, $key = '')
+ protected function userKey(string $userId, string $key = ''): string
{
return 'user:' . $userId . ':' . $key;
}
/**
* Removes a setting from the database.
- * @param $key
- * @return bool
*/
- public function remove($key)
+ public function remove(string $key): void
{
$setting = $this->getSettingObjectByKey($key);
if ($setting) {
$setting->delete();
}
$this->clearFromCache($key);
- return true;
}
/**
* Delete settings for a given user id.
- * @param $userId
- * @return mixed
*/
- public function deleteUserSettings($userId)
+ public function deleteUserSettings(string $userId)
{
- return $this->setting->where('setting_key', 'like', $this->userKey($userId) . '%')->delete();
+ return $this->setting->newQuery()
+ ->where('setting_key', 'like', $this->userKey($userId) . '%')
+ ->delete();
}
/**
* Gets a setting model from the database for the given key.
- * @param $key
- * @return mixed
*/
- protected function getSettingObjectByKey($key)
+ protected function getSettingObjectByKey(string $key): ?Setting
{
- return $this->setting->where('setting_key', '=', $key)->first();
+ return $this->setting->newQuery()
+ ->where('setting_key', '=', $key)->first();
}
}
--- /dev/null
+<?php namespace BookStack\Theming;
+
+/**
+ * The ThemeEvents used within BookStack.
+ *
+ * This file details the events that BookStack may fire via the custom
+ * theme system, including event names, parameters and expected return types.
+ *
+ * This system is regarded as semi-stable.
+ * We'll look to fix issues with it or migrate old event types but
+ * events and their signatures may change in new versions of BookStack.
+ * We'd advise testing any usage of these events upon upgrade.
+ */
+class ThemeEvents
+{
+ /**
+ * Application boot-up.
+ * After main services are registered.
+ * @param \BookStack\Application $app
+ */
+ const APP_BOOT = 'app_boot';
+
+ /**
+ * Web before middleware action.
+ * Runs before the request is handled but after all other middleware apart from those
+ * that depend on the current session user (Localization for example).
+ * Provides the original request to use.
+ * Return values, if provided, will be used as a new response to use.
+ * @param \Illuminate\Http\Request $request
+ * @returns \Illuminate\Http\Response|null
+ */
+ const WEB_MIDDLEWARE_BEFORE = 'web_middleware_before';
+
+ /**
+ * Web after middleware action.
+ * Runs after the request is handled but before the response is sent.
+ * Provides both the original request and the currently resolved response.
+ * Return values, if provided, will be used as a new response to use.
+ * @param \Illuminate\Http\Request $request
+ * @returns \Illuminate\Http\Response|null
+ */
+ const WEB_MIDDLEWARE_AFTER = 'web_middleware_after';
+
+ /**
+ * Auth login event.
+ * Runs right after a user is logged-in to the application by any authentication
+ * system as a standard app user. This includes a user becoming logged in
+ * after registration. This is not emitted upon API usage.
+ * @param string $authSystem
+ * @param \BookStack\Auth\User $user
+ */
+ const AUTH_LOGIN = 'auth_login';
+
+ /**
+ * Auth register event.
+ * Runs right after a user is newly registered to the application by any authentication
+ * system as a standard app user. This includes auto-registration systems used
+ * by LDAP, SAML and social systems. It only includes self-registrations.
+ * @param string $authSystem
+ * @param \BookStack\Auth\User $user
+ */
+ const AUTH_REGISTER = 'auth_register';
+
+ /**
+ * Commonmark environment configure.
+ * Provides the commonmark library environment for customization
+ * before its used to render markdown content.
+ * If the listener returns a non-null value, that will be used as an environment instead.
+ * @param \League\CommonMark\ConfigurableEnvironmentInterface $environment
+ * @returns \League\CommonMark\ConfigurableEnvironmentInterface|null
+ */
+ const COMMONMARK_ENVIRONMENT_CONFIGURE = 'commonmark_environment_configure';
+}
\ No newline at end of file
--- /dev/null
+<?php namespace BookStack\Theming;
+
+use BookStack\Auth\Access\SocialAuthService;
+
+class ThemeService
+{
+ protected $listeners = [];
+
+ /**
+ * Listen to a given custom theme event,
+ * setting up the action to be ran when the event occurs.
+ */
+ public function listen(string $event, callable $action)
+ {
+ if (!isset($this->listeners[$event])) {
+ $this->listeners[$event] = [];
+ }
+
+ $this->listeners[$event][] = $action;
+ }
+
+ /**
+ * Dispatch the given event name.
+ * Runs any registered listeners for that event name,
+ * passing all additional variables to the listener action.
+ *
+ * If a callback returns a non-null value, this method will
+ * stop and return that value itself.
+ * @return mixed
+ */
+ public function dispatch(string $event, ...$args)
+ {
+ foreach ($this->listeners[$event] ?? [] as $action) {
+ $result = call_user_func_array($action, $args);
+ if (!is_null($result)) {
+ return $result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Read any actions from the set theme path if the 'functions.php' file exists.
+ */
+ public function readThemeActions()
+ {
+ $themeActionsFile = theme_path('functions.php');
+ if (file_exists($themeActionsFile)) {
+ require $themeActionsFile;
+ }
+ }
+
+ /**
+ * @see SocialAuthService::addSocialDriver
+ */
+ public function addSocialDriver(string $driverName, array $config, string $socialiteHandler, callable $configureForRedirect = null)
+ {
+ $socialAuthService = app()->make(SocialAuthService::class);
+ $socialAuthService->addSocialDriver($driverName, $config, $socialiteHandler, $configureForRedirect);
+ }
+}
\ No newline at end of file
--- /dev/null
+<?php namespace BookStack\Traits;
+
+use BookStack\Auth\User;
+use Illuminate\Database\Eloquent\Relations\BelongsTo;
+
+/**
+ * @property int created_by
+ * @property int updated_by
+ */
+trait HasCreatorAndUpdater
+{
+ /**
+ * Relation for the user that created this entity.
+ */
+ public function createdBy(): BelongsTo
+ {
+ return $this->belongsTo(User::class, 'created_by');
+ }
+
+ /**
+ * Relation for the user that updated this entity.
+ */
+ public function updatedBy(): BelongsTo
+ {
+ return $this->belongsTo(User::class, 'updated_by');
+ }
+}
--- /dev/null
+<?php namespace BookStack\Traits;
+
+use BookStack\Auth\User;
+use Illuminate\Database\Eloquent\Relations\BelongsTo;
+
+/**
+ * @property int owned_by
+ */
+trait HasOwner
+{
+ /**
+ * Relation for the user that owns this entity.
+ */
+ public function ownedBy(): BelongsTo
+ {
+ return $this->belongsTo(User::class, 'owned_by');
+ }
+}
return $this->loadNamespaced($locale, $group, $namespace);
}
-}
\ No newline at end of file
+}
<?php namespace BookStack\Uploads;
use BookStack\Entities\Models\Page;
-use BookStack\Ownable;
+use BookStack\Model;
+use BookStack\Traits\HasCreatorAndUpdater;
+use Illuminate\Database\Eloquent\Relations\BelongsTo;
/**
* @property int id
* @property string name
* @property string path
* @property string extension
+ * @property ?Page page
* @property bool external
*/
-class Attachment extends Ownable
+class Attachment extends Model
{
+ use HasCreatorAndUpdater;
+
protected $fillable = ['name', 'order'];
/**
/**
* Get the page this file was uploaded to.
- * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
*/
- public function page()
+ public function page(): BelongsTo
{
return $this->belongsTo(Page::class, 'uploaded_to');
}
/**
* Get the url of this file.
*/
- public function getUrl(): string
+ public function getUrl($openInline = false): string
{
if ($this->external && strpos($this->path, 'http') !== 0) {
return $this->path;
}
- return url('/attachments/' . $this->id);
+ return url('/attachments/' . $this->id . ($openInline ? '?open=true' : ''));
}
/**
use BookStack\Exceptions\FileUploadException;
use Exception;
+use Illuminate\Contracts\Filesystem\Factory as FileSystem;
+use Illuminate\Contracts\Filesystem\FileNotFoundException;
+use Illuminate\Contracts\Filesystem\Filesystem as FileSystemInstance;
use Illuminate\Support\Str;
+use Log;
use Symfony\Component\HttpFoundation\File\UploadedFile;
-class AttachmentService extends UploadService
+class AttachmentService
{
+ protected $fileSystem;
+
+ /**
+ * AttachmentService constructor.
+ */
+ public function __construct(FileSystem $fileSystem)
+ {
+ $this->fileSystem = $fileSystem;
+ }
+
+
/**
* Get the storage that will be used for storing files.
- * @return \Illuminate\Contracts\Filesystem\Filesystem
*/
- protected function getStorage()
+ protected function getStorage(): FileSystemInstance
{
$storageType = config('filesystems.attachments');
/**
* Get an attachment from storage.
- * @param Attachment $attachment
- * @return string
- * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
+ * @throws FileNotFoundException
*/
- public function getAttachmentFromStorage(Attachment $attachment)
+ public function getAttachmentFromStorage(Attachment $attachment): string
{
return $this->getStorage()->get($attachment->path);
}
try {
$storage->put($attachmentPath, $attachmentData);
} catch (Exception $e) {
+ Log::error('Error when attempting file upload:' . $e->getMessage());
throw new FileUploadException(trans('errors.path_not_writable', ['filePath' => $attachmentPath]));
}
<?php namespace BookStack\Uploads;
use BookStack\Entities\Models\Page;
-use BookStack\Ownable;
-use Images;
+use BookStack\Model;
+use BookStack\Traits\HasCreatorAndUpdater;
-class Image extends Ownable
+/**
+ * @property int $id
+ * @property string $name
+ * @property string $url
+ * @property string $path
+ * @property string $type
+ * @property int $uploaded_to
+ * @property int $created_by
+ * @property int $updated_by
+ */
+class Image extends Model
{
+ use HasCreatorAndUpdater;
protected $fillable = ['name'];
protected $hidden = [];
/**
* Get a thumbnail for this image.
- * @param int $width
- * @param int $height
- * @param bool|false $keepRatio
- * @return string
* @throws \Exception
*/
- public function getThumb($width, $height, $keepRatio = false)
+ public function getThumb(int $width, int $height, bool $keepRatio = false): string
{
- return Images::getThumbnail($this, $width, $height, $keepRatio);
+ return app()->make(ImageService::class)->getThumbnail($this, $width, $height, $keepRatio);
}
/**
* Get the page this image has been uploaded to.
* Only applicable to gallery or drawio image types.
- * @return Page|null
*/
- public function getPage()
+ public function getPage(): ?Page
{
return $this->belongsTo(Page::class, 'uploaded_to')->first();
}
int $uploadedTo = null,
string $search = null,
callable $whereClause = null
- ): array
- {
+ ): array {
$imageQuery = $this->image->newQuery()->where('type', '=', strtolower($type));
if ($uploadedTo !== null) {
}
// Filter by page access
- $imageQuery = $this->restrictionService->filterRelatedEntity('page', $imageQuery, 'images', 'uploaded_to');
+ $imageQuery = $this->restrictionService->filterRelatedEntity(Page::class, $imageQuery, 'images', 'uploaded_to');
if ($whereClause !== null) {
$imageQuery = $imageQuery->where($whereClause);
int $pageSize = 24,
int $uploadedTo = null,
string $search = null
- ): array
- {
+ ): array {
$contextPage = $this->page->findOrFail($uploadedTo);
$parentFilter = null;
if ($filterType === 'page') {
$query->where('uploaded_to', '=', $contextPage->id);
} elseif ($filterType === 'book') {
- $validPageIds = $contextPage->book->pages()->get(['id'])->pluck('id')->toArray();
+ $validPageIds = $contextPage->book->pages()->visible()->get(['id'])->pluck('id')->toArray();
$query->whereIn('uploaded_to', $validPageIds);
}
};
return $image;
}
+ /**
+ * Save a new image from an existing image data string.
+ * @throws ImageUploadException
+ */
+ public function saveNewFromData(string $imageName, string $imageData, string $type, int $uploadedTo = 0)
+ {
+ $image = $this->imageService->saveNew($imageName, $imageData, $type, $uploadedTo);
+ $this->loadThumbs($image);
+ return $image;
+ }
+
/**
* Save a drawing the the database.
* @throws ImageUploadException
<?php namespace BookStack\Uploads;
-use BookStack\Auth\User;
-use BookStack\Exceptions\HttpFetchException;
use BookStack\Exceptions\ImageUploadException;
use DB;
+use ErrorException;
use Exception;
use Illuminate\Contracts\Cache\Repository as Cache;
use Illuminate\Contracts\Filesystem\Factory as FileSystem;
+use Illuminate\Contracts\Filesystem\Filesystem as FileSystemInstance;
+use Illuminate\Contracts\Filesystem\FileNotFoundException;
+use Illuminate\Contracts\Filesystem\Filesystem as Storage;
use Illuminate\Support\Str;
use Intervention\Image\Exception\NotSupportedException;
use Intervention\Image\ImageManager;
-use phpDocumentor\Reflection\Types\Integer;
use Symfony\Component\HttpFoundation\File\UploadedFile;
-class ImageService extends UploadService
+class ImageService
{
-
protected $imageTool;
protected $cache;
protected $storageUrl;
protected $image;
- protected $http;
+ protected $fileSystem;
/**
* ImageService constructor.
- * @param Image $image
- * @param ImageManager $imageTool
- * @param FileSystem $fileSystem
- * @param Cache $cache
- * @param HttpFetcher $http
*/
- public function __construct(Image $image, ImageManager $imageTool, FileSystem $fileSystem, Cache $cache, HttpFetcher $http)
+ public function __construct(Image $image, ImageManager $imageTool, FileSystem $fileSystem, Cache $cache)
{
$this->image = $image;
$this->imageTool = $imageTool;
+ $this->fileSystem = $fileSystem;
$this->cache = $cache;
- $this->http = $http;
- parent::__construct($fileSystem);
}
/**
* Get the storage that will be used for storing images.
- * @param string $type
- * @return \Illuminate\Contracts\Filesystem\Filesystem
*/
- protected function getStorage($type = '')
+ protected function getStorage(string $type = ''): FileSystemInstance
{
$storageType = config('filesystems.images');
/**
* Saves a new image from an upload.
- * @param UploadedFile $uploadedFile
- * @param string $type
- * @param int $uploadedTo
- * @param int|null $resizeWidth
- * @param int|null $resizeHeight
- * @param bool $keepRatio
* @return mixed
* @throws ImageUploadException
*/
/**
* Save a new image from a uri-encoded base64 string of data.
- * @param string $base64Uri
- * @param string $name
- * @param string $type
- * @param int $uploadedTo
- * @return Image
* @throws ImageUploadException
*/
- public function saveNewFromBase64Uri(string $base64Uri, string $name, string $type, $uploadedTo = 0)
+ public function saveNewFromBase64Uri(string $base64Uri, string $name, string $type, int $uploadedTo = 0): Image
{
$splitData = explode(';base64,', $base64Uri);
if (count($splitData) < 2) {
return $this->saveNew($name, $data, $type, $uploadedTo);
}
- /**
- * Gets an image from url and saves it to the database.
- * @param $url
- * @param string $type
- * @param bool|string $imageName
- * @return mixed
- * @throws \Exception
- */
- private function saveNewFromUrl($url, $type, $imageName = false)
- {
- $imageName = $imageName ? $imageName : basename($url);
- try {
- $imageData = $this->http->fetch($url);
- } catch (HttpFetchException $exception) {
- throw new \Exception(trans('errors.cannot_get_image_from_url', ['url' => $url]));
- }
- return $this->saveNew($imageName, $imageData, $type);
- }
-
/**
* Save a new image into storage.
* @throws ImageUploadException
*/
- private function saveNew(string $imageName, string $imageData, string $type, int $uploadedTo = 0): Image
+ public function saveNew(string $imageName, string $imageData, string $type, int $uploadedTo = 0): Image
{
$storage = $this->getStorage($type);
$secureUploads = setting('app-secure-images');
}
try {
- $storage->put($fullPath, $imageData);
- $storage->setVisibility($fullPath, 'public');
+ $this->saveImageDataInPublicSpace($storage, $fullPath, $imageData);
} catch (Exception $e) {
+ \Log::error('Error when attempting image upload:' . $e->getMessage());
throw new ImageUploadException(trans('errors.path_not_writable', ['filePath' => $fullPath]));
}
$imageDetails = [
- 'name' => $imageName,
- 'path' => $fullPath,
- 'url' => $this->getPublicUrl($fullPath),
- 'type' => $type,
+ 'name' => $imageName,
+ 'path' => $fullPath,
+ 'url' => $this->getPublicUrl($fullPath),
+ 'type' => $type,
'uploaded_to' => $uploadedTo
];
return $image;
}
+ /**
+ * Save image data for the given path in the public space, if possible,
+ * for the provided storage mechanism.
+ */
+ protected function saveImageDataInPublicSpace(Storage $storage, string $path, string $data)
+ {
+ $storage->put($path, $data);
+
+ // Set visibility when a non-AWS-s3, s3-like storage option is in use.
+ // Done since this call can break s3-like services but desired for other image stores.
+ // Attempting to set ACL during above put request requires different permissions
+ // hence would technically be a breaking change for actual s3 usage.
+ $usingS3 = strtolower(config('filesystems.images')) === 's3';
+ $usingS3Like = $usingS3 && !is_null(config('filesystems.disks.s3.endpoint'));
+ if (!$usingS3Like) {
+ $storage->setVisibility($path, 'public');
+ }
+ }
+
/**
* Clean up an image file name to be both URL and storage safe.
*/
$name = str_replace(' ', '-', $name);
$nameParts = explode('.', $name);
$extension = array_pop($nameParts);
- $name = implode('.', $nameParts);
+ $name = implode('-', $nameParts);
$name = Str::slug($name);
if (strlen($name) === 0) {
$name = Str::random(10);
}
- return $name . '.' . $extension;
+ return $name . '.' . $extension;
}
/**
* Checks if the image is a gif. Returns true if it is, else false.
- * @param Image $image
- * @return boolean
*/
- protected function isGif(Image $image)
+ protected function isGif(Image $image): bool
{
return strtolower(pathinfo($image->path, PATHINFO_EXTENSION)) === 'gif';
}
$thumbData = $this->resizeImage($storage->get($imagePath), $width, $height, $keepRatio);
- $storage->put($thumbFilePath, $thumbData);
- $storage->setVisibility($thumbFilePath, 'public');
+ $this->saveImageDataInPublicSpace($storage, $thumbFilePath, $thumbData);
$this->cache->put('images-' . $image->id . '-' . $thumbFilePath, $thumbFilePath, 60 * 60 * 72);
try {
$thumb = $this->imageTool->make($imageData);
} catch (Exception $e) {
- if ($e instanceof \ErrorException || $e instanceof NotSupportedException) {
+ if ($e instanceof ErrorException || $e instanceof NotSupportedException) {
throw new ImageUploadException(trans('errors.cannot_create_thumbs'));
}
throw $e;
/**
* Get the raw data content from an image.
- * @param Image $image
- * @return string
- * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
+ * @throws FileNotFoundException
*/
- public function getImageData(Image $image)
+ public function getImageData(Image $image): string
{
$imagePath = $image->path;
$storage = $this->getStorage();
/**
* Destroy an image along with its revisions, thumbnails and remaining folders.
- * @param Image $image
* @throws Exception
*/
public function destroy(Image $image)
// Cleanup of empty folders
$foldersInvolved = array_merge([$imageFolder], $storage->directories($imageFolder));
foreach ($foldersInvolved as $directory) {
- if ($this->isFolderEmpty($directory)) {
+ if ($this->isFolderEmpty($storage, $directory)) {
$storage->deleteDirectory($directory);
}
}
}
/**
- * Save an avatar image from an external service.
- * @param \BookStack\Auth\User $user
- * @param int $size
- * @return Image
- * @throws Exception
- */
- public function saveUserAvatar(User $user, $size = 500)
- {
- $avatarUrl = $this->getAvatarUrl();
- $email = strtolower(trim($user->email));
-
- $replacements = [
- '${hash}' => md5($email),
- '${size}' => $size,
- '${email}' => urlencode($email),
- ];
-
- $userAvatarUrl = strtr($avatarUrl, $replacements);
- $imageName = str_replace(' ', '-', $user->name . '-avatar.png');
- $image = $this->saveNewFromUrl($userAvatarUrl, 'user', $imageName);
- $image->created_by = $user->id;
- $image->updated_by = $user->id;
- $image->uploaded_to = $user->id;
- $image->save();
-
- return $image;
- }
-
- /**
- * Check if fetching external avatars is enabled.
- * @return bool
+ * Check whether or not a folder is empty.
*/
- public function avatarFetchEnabled()
+ protected function isFolderEmpty(FileSystemInstance $storage, string $path): bool
{
- $fetchUrl = $this->getAvatarUrl();
- return is_string($fetchUrl) && strpos($fetchUrl, 'http') === 0;
- }
-
- /**
- * Get the URL to fetch avatars from.
- * @return string|mixed
- */
- protected function getAvatarUrl()
- {
- $url = trim(config('services.avatar_url'));
-
- if (empty($url) && !config('services.disable_services')) {
- $url = 'https://www.gravatar.com/avatar/${hash}?s=${size}&d=identicon';
- }
-
- return $url;
+ $files = $storage->files($path);
+ $folders = $storage->directories($path);
+ return (count($files) === 0 && count($folders) === 0);
}
/**
* Could be much improved to be more specific but kept it generic for now to be safe.
*
* Returns the path of the images that would be/have been deleted.
- * @param bool $checkRevisions
- * @param bool $dryRun
- * @param array $types
- * @return array
*/
- public function deleteUnusedImages($checkRevisions = true, $dryRun = true, $types = ['gallery', 'drawio'])
+ public function deleteUnusedImages(bool $checkRevisions = true, bool $dryRun = true)
{
- $types = array_intersect($types, ['gallery', 'drawio']);
+ $types = ['gallery', 'drawio'];
$deletedPaths = [];
$this->image->newQuery()->whereIn('type', $types)
- ->chunk(1000, function ($images) use ($types, $checkRevisions, &$deletedPaths, $dryRun) {
+ ->chunk(1000, function ($images) use ($checkRevisions, &$deletedPaths, $dryRun) {
foreach ($images as $image) {
$searchQuery = '%' . basename($image->path) . '%';
$inPage = DB::table('pages')
- ->where('html', 'like', $searchQuery)->count() > 0;
+ ->where('html', 'like', $searchQuery)->count() > 0;
+
$inRevision = false;
if ($checkRevisions) {
- $inRevision = DB::table('page_revisions')
- ->where('html', 'like', $searchQuery)->count() > 0;
+ $inRevision = DB::table('page_revisions')
+ ->where('html', 'like', $searchQuery)->count() > 0;
}
if (!$inPage && !$inRevision) {
/**
* Convert a image URI to a Base64 encoded string.
- * Attempts to find locally via set storage method first.
- * @param string $uri
- * @return null|string
- * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
+ * Attempts to convert the URL to a system storage url then
+ * fetch the data from the disk or storage location.
+ * Returns null if the image data cannot be fetched from storage.
+ * @throws FileNotFoundException
*/
- public function imageUriToBase64(string $uri)
+ public function imageUriToBase64(string $uri): ?string
{
- $isLocal = strpos(trim($uri), 'http') !== 0;
-
- // Attempt to find local files even if url not absolute
- $base = url('/');
- if (!$isLocal && strpos($uri, $base) === 0) {
- $isLocal = true;
- $uri = str_replace($base, '', $uri);
+ $storagePath = $this->imageUrlToStoragePath($uri);
+ if (empty($uri) || is_null($storagePath)) {
+ return null;
}
+ $storage = $this->getStorage();
$imageData = null;
-
- if ($isLocal) {
- $uri = trim($uri, '/');
- $storage = $this->getStorage();
- if ($storage->exists($uri)) {
- $imageData = $storage->get($uri);
- }
- } else {
- try {
- $imageData = $this->http->fetch($uri);
- } catch (\Exception $e) {
- }
+ if ($storage->exists($storagePath)) {
+ $imageData = $storage->get($storagePath);
}
- if ($imageData === null) {
+ if (is_null($imageData)) {
return null;
}
return 'data:image/' . $extension . ';base64,' . base64_encode($imageData);
}
+ /**
+ * Get a storage path for the given image URL.
+ * Ensures the path will start with "uploads/images".
+ * Returns null if the url cannot be resolved to a local URL.
+ */
+ private function imageUrlToStoragePath(string $url): ?string
+ {
+ $url = ltrim(trim($url), '/');
+
+ // Handle potential relative paths
+ $isRelative = strpos($url, 'http') !== 0;
+ if ($isRelative) {
+ if (strpos(strtolower($url), 'uploads/images') === 0) {
+ return trim($url, '/');
+ }
+ return null;
+ }
+
+ // Handle local images based on paths on the same domain
+ $potentialHostPaths = [
+ url('uploads/images/'),
+ $this->getPublicUrl('/uploads/images/'),
+ ];
+
+ foreach ($potentialHostPaths as $potentialBasePath) {
+ $potentialBasePath = strtolower($potentialBasePath);
+ if (strpos(strtolower($url), $potentialBasePath) === 0) {
+ return 'uploads/images/' . trim(substr($url, strlen($potentialBasePath)), '/');
+ }
+ }
+
+ return null;
+ }
+
/**
* Gets a public facing url for an image by checking relevant environment variables.
- * @param string $filePath
- * @return string
+ * If s3-style store is in use it will default to guessing a public bucket URL.
*/
- private function getPublicUrl($filePath)
+ private function getPublicUrl(string $filePath): string
{
if ($this->storageUrl === null) {
$storageUrl = config('filesystems.url');
+++ /dev/null
-<?php namespace BookStack\Uploads;
-
-use Illuminate\Contracts\Filesystem\Factory as FileSystem;
-use Illuminate\Contracts\Filesystem\Filesystem as FileSystemInstance;
-
-abstract class UploadService
-{
-
- /**
- * @var FileSystem
- */
- protected $fileSystem;
-
-
- /**
- * FileService constructor.
- * @param $fileSystem
- */
- public function __construct(FileSystem $fileSystem)
- {
- $this->fileSystem = $fileSystem;
- }
-
- /**
- * Get the storage that will be used for storing images.
- * @return FileSystemInstance
- */
- protected function getStorage()
- {
- $storageType = config('filesystems.default');
- return $this->fileSystem->disk($storageType);
- }
-
- /**
- * Check whether or not a folder is empty.
- * @param $path
- * @return bool
- */
- protected function isFolderEmpty($path)
- {
- $files = $this->getStorage()->files($path);
- $folders = $this->getStorage()->directories($path);
- return (count($files) === 0 && count($folders) === 0);
- }
-}
--- /dev/null
+<?php namespace BookStack\Uploads;
+
+use BookStack\Auth\User;
+use BookStack\Exceptions\HttpFetchException;
+use Exception;
+use Illuminate\Support\Facades\Log;
+
+class UserAvatars
+{
+ protected $imageService;
+ protected $http;
+
+ public function __construct(ImageService $imageService, HttpFetcher $http)
+ {
+ $this->imageService = $imageService;
+ $this->http = $http;
+ }
+
+ /**
+ * Fetch and assign an avatar image to the given user.
+ */
+ public function fetchAndAssignToUser(User $user): void
+ {
+ if (!$this->avatarFetchEnabled()) {
+ return;
+ }
+
+ try {
+ $this->destroyAllForUser($user);
+ $avatar = $this->saveAvatarImage($user);
+ $user->avatar()->associate($avatar);
+ $user->save();
+ } catch (Exception $e) {
+ Log::error('Failed to save user avatar image');
+ }
+ }
+
+ /**
+ * Assign a new avatar image to the given user using the given image data.
+ */
+ public function assignToUserFromExistingData(User $user, string $imageData, string $extension): void
+ {
+ try {
+ $this->destroyAllForUser($user);
+ $avatar = $this->createAvatarImageFromData($user, $imageData, $extension);
+ $user->avatar()->associate($avatar);
+ $user->save();
+ } catch (Exception $e) {
+ Log::error('Failed to save user avatar image');
+ }
+ }
+
+ /**
+ * Destroy all user avatars uploaded to the given user.
+ */
+ public function destroyAllForUser(User $user)
+ {
+ $profileImages = Image::query()->where('type', '=', 'user')
+ ->where('uploaded_to', '=', $user->id)
+ ->get();
+
+ foreach ($profileImages as $image) {
+ $this->imageService->destroy($image);
+ }
+ }
+
+ /**
+ * Save an avatar image from an external service.
+ * @throws Exception
+ */
+ protected function saveAvatarImage(User $user, int $size = 500): Image
+ {
+ $avatarUrl = $this->getAvatarUrl();
+ $email = strtolower(trim($user->email));
+
+ $replacements = [
+ '${hash}' => md5($email),
+ '${size}' => $size,
+ '${email}' => urlencode($email),
+ ];
+
+ $userAvatarUrl = strtr($avatarUrl, $replacements);
+ $imageData = $this->getAvatarImageData($userAvatarUrl);
+ return $this->createAvatarImageFromData($user, $imageData, 'png');
+ }
+
+ /**
+ * Creates a new image instance and saves it in the system as a new user avatar image.
+ */
+ protected function createAvatarImageFromData(User $user, string $imageData, string $extension): Image
+ {
+ $imageName = str_replace(' ', '-', $user->id . '-avatar.' . $extension);
+
+ $image = $this->imageService->saveNew($imageName, $imageData, 'user', $user->id);
+ $image->created_by = $user->id;
+ $image->updated_by = $user->id;
+ $image->save();
+
+ return $image;
+ }
+
+ /**
+ * Gets an image from url and returns it as a string of image data.
+ * @throws Exception
+ */
+ protected function getAvatarImageData(string $url): string
+ {
+ try {
+ $imageData = $this->http->fetch($url);
+ } catch (HttpFetchException $exception) {
+ throw new Exception(trans('errors.cannot_get_image_from_url', ['url' => $url]));
+ }
+ return $imageData;
+ }
+
+ /**
+ * Check if fetching external avatars is enabled.
+ */
+ protected function avatarFetchEnabled(): bool
+ {
+ $fetchUrl = $this->getAvatarUrl();
+ return is_string($fetchUrl) && strpos($fetchUrl, 'http') === 0;
+ }
+
+ /**
+ * Get the URL to fetch avatars from.
+ */
+ protected function getAvatarUrl(): string
+ {
+ $url = trim(config('services.avatar_url'));
+
+ if (empty($url) && !config('services.disable_services')) {
+ $url = 'https://www.gravatar.com/avatar/${hash}?s=${size}&d=identicon';
+ }
+
+ return $url;
+ }
+}
--- /dev/null
+<?php namespace BookStack\Util;
+
+use DOMDocument;
+use DOMNodeList;
+use DOMXPath;
+
+class HtmlContentFilter
+{
+ /**
+ * Remove all of the script elements from the given HTML.
+ */
+ public static function removeScripts(string $html): string
+ {
+ if (empty($html)) {
+ return $html;
+ }
+
+ $html = '<body>' . $html . '</body>';
+ libxml_use_internal_errors(true);
+ $doc = new DOMDocument();
+ $doc->loadHTML(mb_convert_encoding($html, 'HTML-ENTITIES', 'UTF-8'));
+ $xPath = new DOMXPath($doc);
+
+ // Remove standard script tags
+ $scriptElems = $xPath->query('//script');
+ static::removeNodes($scriptElems);
+
+ // Remove clickable links to JavaScript URI
+ $badLinks = $xPath->query('//*[contains(@href, \'javascript:\')]');
+ static::removeNodes($badLinks);
+
+ // Remove forms with calls to JavaScript URI
+ $badForms = $xPath->query('//*[contains(@action, \'javascript:\')] | //*[contains(@formaction, \'javascript:\')]');
+ static::removeNodes($badForms);
+
+ // Remove meta tag to prevent external redirects
+ $metaTags = $xPath->query('//meta[contains(@content, \'url\')]');
+ static::removeNodes($metaTags);
+
+ // Remove data or JavaScript iFrames
+ $badIframes = $xPath->query('//*[contains(@src, \'data:\')] | //*[contains(@src, \'javascript:\')] | //*[@srcdoc]');
+ static::removeNodes($badIframes);
+
+ // Remove 'on*' attributes
+ $onAttributes = $xPath->query('//@*[starts-with(name(), \'on\')]');
+ foreach ($onAttributes as $attr) {
+ /** @var \DOMAttr $attr*/
+ $attrName = $attr->nodeName;
+ $attr->parentNode->removeAttribute($attrName);
+ }
+
+ $html = '';
+ $topElems = $doc->documentElement->childNodes->item(0)->childNodes;
+ foreach ($topElems as $child) {
+ $html .= $doc->saveHTML($child);
+ }
+
+ return $html;
+ }
+
+ /**
+ * Removed all of the given DOMNodes.
+ */
+ protected static function removeNodes(DOMNodeList $nodes): void
+ {
+ foreach ($nodes as $node) {
+ $node->parentNode->removeChild($node);
+ }
+ }
+}
use BookStack\Auth\Permissions\PermissionService;
use BookStack\Auth\User;
-use BookStack\Ownable;
+use BookStack\Model;
use BookStack\Settings\SettingService;
/**
* Check if the current user has a permission. If an ownable element
* is passed in the jointPermissions are checked against that particular item.
*/
-function userCan(string $permission, Ownable $ownable = null): bool
+function userCan(string $permission, Model $ownable = null): bool
{
if ($ownable === null) {
return user() && user()->can($permission);
/**
* Helper to access system settings.
- * @return bool|string|SettingService
+ * @return mixed|SettingService
*/
-function setting(string $key = null, $default = false)
+function setting(string $key = null, $default = null)
{
$settingService = resolve(SettingService::class);
"license": "MIT",
"type": "project",
"require": {
- "php": "^7.2",
+ "php": "^7.3|^8.0",
"ext-curl": "*",
"ext-dom": "*",
+ "ext-fileinfo": "*",
"ext-gd": "*",
"ext-json": "*",
"ext-mbstring": "*",
"ext-xml": "*",
- "barryvdh/laravel-dompdf": "^0.8.6",
- "barryvdh/laravel-snappy": "^0.4.7",
- "doctrine/dbal": "^2.9",
- "facade/ignition": "^1.4",
- "fideloper/proxy": "^4.0",
- "intervention/image": "^2.5",
- "laravel/framework": "^6.18",
- "laravel/socialite": "^4.3.2",
- "league/commonmark": "^1.4",
- "league/flysystem-aws-s3-v3": "^1.0",
- "nunomaduro/collision": "^3.0",
- "onelogin/php-saml": "^3.3",
- "predis/predis": "^1.1",
- "socialiteproviders/discord": "^2.0",
- "socialiteproviders/gitlab": "^3.0",
- "socialiteproviders/microsoft-azure": "^3.0",
- "socialiteproviders/okta": "^1.0",
- "socialiteproviders/slack": "^3.0",
- "socialiteproviders/twitch": "^5.0",
- "ssddanbrown/htmldiff": "^1.0"
+ "barryvdh/laravel-dompdf": "^0.9.0",
+ "barryvdh/laravel-snappy": "^0.4.8",
+ "doctrine/dbal": "^2.12.1",
+ "facade/ignition": "^1.16.4",
+ "fideloper/proxy": "^4.4.1",
+ "intervention/image": "^2.5.1",
+ "laravel/framework": "^6.20.16",
+ "laravel/socialite": "^5.1",
+ "league/commonmark": "^1.5",
+ "league/flysystem-aws-s3-v3": "^1.0.29",
+ "league/html-to-markdown": "^5.0.0",
+ "nunomaduro/collision": "^3.1",
+ "onelogin/php-saml": "^4.0",
+ "predis/predis": "^1.1.6",
+ "socialiteproviders/discord": "^4.1",
+ "socialiteproviders/gitlab": "^4.1",
+ "socialiteproviders/microsoft-azure": "^4.1",
+ "socialiteproviders/okta": "^4.1",
+ "socialiteproviders/slack": "^4.1",
+ "socialiteproviders/twitch": "^5.3",
+ "ssddanbrown/htmldiff": "^v1.0.1"
},
"require-dev": {
- "barryvdh/laravel-debugbar": "^3.2.8",
- "barryvdh/laravel-ide-helper": "^2.6.4",
- "fzaninotto/faker": "^1.4",
- "laravel/browser-kit-testing": "^5.1",
- "mockery/mockery": "^1.0",
- "phpunit/phpunit": "^8.0",
- "squizlabs/php_codesniffer": "^3.4",
- "wnx/laravel-stats": "^2.0"
+ "barryvdh/laravel-debugbar": "^3.5.1",
+ "barryvdh/laravel-ide-helper": "^2.8.2",
+ "fakerphp/faker": "^1.13.0",
+ "laravel/browser-kit-testing": "^5.2",
+ "mockery/mockery": "^1.3.3",
+ "phpunit/phpunit": "^9.5.3",
+ "squizlabs/php_codesniffer": "^3.5.8"
},
"autoload": {
"classmap": [
"post-create-project-cmd": [
"@php artisan key:generate --ansi"
],
- "pre-update-cmd": [
- "@php -r \"!file_exists('bootstrap/cache/services.php') || @unlink('bootstrap/cache/services.php');\"",
- "@php -r \"!file_exists('bootstrap/cache/compiled.php') || @unlink('bootstrap/cache/compiled.php');\""
- ],
"pre-install-cmd": [
- "@php -r \"!file_exists('bootstrap/cache/services.php') || @unlink('bootstrap/cache/services.php');\"",
- "@php -r \"!file_exists('bootstrap/cache/compiled.php') || @unlink('bootstrap/cache/compiled.php');\""
+ "@php -r \"!file_exists('bootstrap/cache/services.php') || @unlink('bootstrap/cache/services.php');\""
],
"post-install-cmd": [
"@php artisan cache:clear",
"preferred-install": "dist",
"sort-packages": true,
"platform": {
- "php": "7.2.0"
+ "php": "7.3.0"
}
},
"extra": {
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
- "content-hash": "a61fd1c287bd93fa496202c6583c7bb1",
+ "content-hash": "70a290f0e2112361af4a0abe15148adc",
"packages": [
{
"name": "aws/aws-sdk-php",
- "version": "3.154.6",
+ "version": "3.184.7",
"source": {
"type": "git",
"url": "https://github.com/aws/aws-sdk-php.git",
- "reference": "83a1382930359e4d4f4c9187239f059d5b282520"
+ "reference": "d5d5fe5fdfca6c7a56f2f8364d09c3100d5c2149"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/83a1382930359e4d4f4c9187239f059d5b282520",
- "reference": "83a1382930359e4d4f4c9187239f059d5b282520",
+ "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/d5d5fe5fdfca6c7a56f2f8364d09c3100d5c2149",
+ "reference": "d5d5fe5fdfca6c7a56f2f8364d09c3100d5c2149",
"shasum": ""
},
"require": {
"ext-pcre": "*",
"ext-simplexml": "*",
"guzzlehttp/guzzle": "^5.3.3|^6.2.1|^7.0",
- "guzzlehttp/promises": "^1.0",
- "guzzlehttp/psr7": "^1.4.1",
- "mtdowling/jmespath.php": "^2.5",
+ "guzzlehttp/promises": "^1.4.0",
+ "guzzlehttp/psr7": "^1.7.0",
+ "mtdowling/jmespath.php": "^2.6",
"php": ">=5.5"
},
"require-dev": {
"s3",
"sdk"
],
- "time": "2020-09-18T18:16:42+00:00"
+ "support": {
+ "forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80",
+ "issues": "https://github.com/aws/aws-sdk-php/issues",
+ "source": "https://github.com/aws/aws-sdk-php/tree/3.184.7"
+ },
+ "time": "2021-06-21T18:37:16+00:00"
},
{
"name": "barryvdh/laravel-dompdf",
- "version": "v0.8.7",
+ "version": "v0.9.0",
"source": {
"type": "git",
"url": "https://github.com/barryvdh/laravel-dompdf.git",
- "reference": "30310e0a675462bf2aa9d448c8dcbf57fbcc517d"
+ "reference": "5b99e1f94157d74e450f4c97e8444fcaffa2144b"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/barryvdh/laravel-dompdf/zipball/30310e0a675462bf2aa9d448c8dcbf57fbcc517d",
- "reference": "30310e0a675462bf2aa9d448c8dcbf57fbcc517d",
+ "url": "https://api.github.com/repos/barryvdh/laravel-dompdf/zipball/5b99e1f94157d74e450f4c97e8444fcaffa2144b",
+ "reference": "5b99e1f94157d74e450f4c97e8444fcaffa2144b",
"shasum": ""
},
"require": {
- "dompdf/dompdf": "^0.8",
+ "dompdf/dompdf": "^1",
"illuminate/support": "^5.5|^6|^7|^8",
- "php": ">=7"
+ "php": "^7.1 || ^8.0"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "0.8-dev"
+ "dev-master": "0.9-dev"
},
"laravel": {
"providers": [
"laravel",
"pdf"
],
+ "support": {
+ "issues": "https://github.com/barryvdh/laravel-dompdf/issues",
+ "source": "https://github.com/barryvdh/laravel-dompdf/tree/v0.9.0"
+ },
"funding": [
{
"url": "https://github.com/barryvdh",
"type": "github"
}
],
- "time": "2020-09-07T11:50:18+00:00"
+ "time": "2020-12-27T12:05:53+00:00"
},
{
"name": "barryvdh/laravel-snappy",
"wkhtmltoimage",
"wkhtmltopdf"
],
+ "support": {
+ "issues": "https://github.com/barryvdh/laravel-snappy/issues",
+ "source": "https://github.com/barryvdh/laravel-snappy/tree/master"
+ },
"time": "2020-09-07T12:33:10+00:00"
},
{
"name": "doctrine/cache",
- "version": "1.10.2",
+ "version": "2.0.3",
"source": {
"type": "git",
"url": "https://github.com/doctrine/cache.git",
- "reference": "13e3381b25847283a91948d04640543941309727"
+ "reference": "c9622c6820d3ede1e2315a6a377ea1076e421d88"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/doctrine/cache/zipball/13e3381b25847283a91948d04640543941309727",
- "reference": "13e3381b25847283a91948d04640543941309727",
+ "url": "https://api.github.com/repos/doctrine/cache/zipball/c9622c6820d3ede1e2315a6a377ea1076e421d88",
+ "reference": "c9622c6820d3ede1e2315a6a377ea1076e421d88",
"shasum": ""
},
"require": {
"php": "~7.1 || ^8.0"
},
"conflict": {
- "doctrine/common": ">2.2,<2.4"
+ "doctrine/common": ">2.2,<2.4",
+ "psr/cache": ">=3"
},
"require-dev": {
"alcaeus/mongo-php-adapter": "^1.1",
- "doctrine/coding-standard": "^6.0",
+ "cache/integration-tests": "dev-master",
+ "doctrine/coding-standard": "^8.0",
"mongodb/mongodb": "^1.1",
- "phpunit/phpunit": "^7.0",
- "predis/predis": "~1.0"
+ "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0",
+ "predis/predis": "~1.0",
+ "psr/cache": "^1.0 || ^2.0",
+ "symfony/cache": "^4.4 || ^5.2"
},
"suggest": {
"alcaeus/mongo-php-adapter": "Required to use legacy MongoDB driver"
},
"type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.9.x-dev"
- }
- },
"autoload": {
"psr-4": {
"Doctrine\\Common\\Cache\\": "lib/Doctrine/Common/Cache"
"redis",
"xcache"
],
+ "support": {
+ "issues": "https://github.com/doctrine/cache/issues",
+ "source": "https://github.com/doctrine/cache/tree/2.0.3"
+ },
"funding": [
{
"url": "https://www.doctrine-project.org/sponsorship.html",
"type": "tidelift"
}
],
- "time": "2020-07-07T18:54:01+00:00"
+ "time": "2021-05-25T09:43:04+00:00"
},
{
"name": "doctrine/dbal",
- "version": "2.10.4",
+ "version": "2.13.2",
"source": {
"type": "git",
"url": "https://github.com/doctrine/dbal.git",
- "reference": "47433196b6390d14409a33885ee42b6208160643"
+ "reference": "8dd39d2ead4409ce652fd4f02621060f009ea5e4"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/doctrine/dbal/zipball/47433196b6390d14409a33885ee42b6208160643",
- "reference": "47433196b6390d14409a33885ee42b6208160643",
+ "url": "https://api.github.com/repos/doctrine/dbal/zipball/8dd39d2ead4409ce652fd4f02621060f009ea5e4",
+ "reference": "8dd39d2ead4409ce652fd4f02621060f009ea5e4",
"shasum": ""
},
"require": {
- "doctrine/cache": "^1.0",
+ "doctrine/cache": "^1.0|^2.0",
+ "doctrine/deprecations": "^0.5.3",
"doctrine/event-manager": "^1.0",
"ext-pdo": "*",
- "php": "^7.2"
+ "php": "^7.1 || ^8"
},
"require-dev": {
- "doctrine/coding-standard": "^8.1",
- "jetbrains/phpstorm-stubs": "^2019.1",
- "nikic/php-parser": "^4.4",
- "phpstan/phpstan": "^0.12.40",
- "phpunit/phpunit": "^8.5.5",
- "psalm/plugin-phpunit": "^0.10.0",
+ "doctrine/coding-standard": "9.0.0",
+ "jetbrains/phpstorm-stubs": "2020.2",
+ "phpstan/phpstan": "0.12.81",
+ "phpunit/phpunit": "^7.5.20|^8.5|9.5.5",
+ "squizlabs/php_codesniffer": "3.6.0",
+ "symfony/cache": "^4.4",
"symfony/console": "^2.0.5|^3.0|^4.0|^5.0",
- "vimeo/psalm": "^3.14.2"
+ "vimeo/psalm": "4.6.4"
},
"suggest": {
"symfony/console": "For helpful console commands such as SQL execution and import of files."
"bin/doctrine-dbal"
],
"type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.10.x-dev",
- "dev-develop": "3.0.x-dev"
- }
- },
"autoload": {
"psr-4": {
"Doctrine\\DBAL\\": "lib/Doctrine/DBAL"
"sqlserver",
"sqlsrv"
],
+ "support": {
+ "issues": "https://github.com/doctrine/dbal/issues",
+ "source": "https://github.com/doctrine/dbal/tree/2.13.2"
+ },
"funding": [
{
"url": "https://www.doctrine-project.org/sponsorship.html",
"type": "tidelift"
}
],
- "time": "2020-09-12T21:20:41+00:00"
+ "time": "2021-06-18T21:48:39+00:00"
+ },
+ {
+ "name": "doctrine/deprecations",
+ "version": "v0.5.3",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/doctrine/deprecations.git",
+ "reference": "9504165960a1f83cc1480e2be1dd0a0478561314"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/doctrine/deprecations/zipball/9504165960a1f83cc1480e2be1dd0a0478561314",
+ "reference": "9504165960a1f83cc1480e2be1dd0a0478561314",
+ "shasum": ""
+ },
+ "require": {
+ "php": "^7.1|^8.0"
+ },
+ "require-dev": {
+ "doctrine/coding-standard": "^6.0|^7.0|^8.0",
+ "phpunit/phpunit": "^7.0|^8.0|^9.0",
+ "psr/log": "^1.0"
+ },
+ "suggest": {
+ "psr/log": "Allows logging deprecations via PSR-3 logger implementation"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "Doctrine\\Deprecations\\": "lib/Doctrine/Deprecations"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "description": "A small layer on top of trigger_error(E_USER_DEPRECATED) or PSR-3 logging with options to disable all deprecations or selectively for packages.",
+ "homepage": "https://www.doctrine-project.org/",
+ "support": {
+ "issues": "https://github.com/doctrine/deprecations/issues",
+ "source": "https://github.com/doctrine/deprecations/tree/v0.5.3"
+ },
+ "time": "2021-03-21T12:59:47+00:00"
},
{
"name": "doctrine/event-manager",
"event system",
"events"
],
+ "support": {
+ "issues": "https://github.com/doctrine/event-manager/issues",
+ "source": "https://github.com/doctrine/event-manager/tree/1.1.x"
+ },
"funding": [
{
"url": "https://www.doctrine-project.org/sponsorship.html",
"uppercase",
"words"
],
+ "support": {
+ "issues": "https://github.com/doctrine/inflector/issues",
+ "source": "https://github.com/doctrine/inflector/tree/2.0.x"
+ },
"funding": [
{
"url": "https://www.doctrine-project.org/sponsorship.html",
"parser",
"php"
],
+ "support": {
+ "issues": "https://github.com/doctrine/lexer/issues",
+ "source": "https://github.com/doctrine/lexer/tree/1.2.1"
+ },
"funding": [
{
"url": "https://www.doctrine-project.org/sponsorship.html",
},
{
"name": "dompdf/dompdf",
- "version": "v0.8.6",
+ "version": "v1.0.2",
"source": {
"type": "git",
"url": "https://github.com/dompdf/dompdf.git",
- "reference": "db91d81866c69a42dad1d2926f61515a1e3f42c5"
+ "reference": "8768448244967a46d6e67b891d30878e0e15d25c"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/dompdf/dompdf/zipball/db91d81866c69a42dad1d2926f61515a1e3f42c5",
- "reference": "db91d81866c69a42dad1d2926f61515a1e3f42c5",
+ "url": "https://api.github.com/repos/dompdf/dompdf/zipball/8768448244967a46d6e67b891d30878e0e15d25c",
+ "reference": "8768448244967a46d6e67b891d30878e0e15d25c",
"shasum": ""
},
"require": {
"ext-mbstring": "*",
"phenx/php-font-lib": "^0.5.2",
"phenx/php-svg-lib": "^0.3.3",
- "php": "^7.1"
+ "php": "^7.1 || ^8.0"
},
"require-dev": {
"mockery/mockery": "^1.3",
- "phpunit/phpunit": "^7.5",
+ "phpunit/phpunit": "^7.5 || ^8 || ^9",
"squizlabs/php_codesniffer": "^3.5"
},
"suggest": {
],
"description": "DOMPDF is a CSS 2.1 compliant HTML to PDF converter",
"homepage": "https://github.com/dompdf/dompdf",
- "time": "2020-08-30T22:54:22+00:00"
+ "support": {
+ "issues": "https://github.com/dompdf/dompdf/issues",
+ "source": "https://github.com/dompdf/dompdf/tree/v1.0.2"
+ },
+ "time": "2021-01-08T14:18:52+00:00"
},
{
"name": "dragonmantank/cron-expression",
- "version": "v2.3.0",
+ "version": "v2.3.1",
"source": {
"type": "git",
"url": "https://github.com/dragonmantank/cron-expression.git",
- "reference": "72b6fbf76adb3cf5bc0db68559b33d41219aba27"
+ "reference": "65b2d8ee1f10915efb3b55597da3404f096acba2"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/dragonmantank/cron-expression/zipball/72b6fbf76adb3cf5bc0db68559b33d41219aba27",
- "reference": "72b6fbf76adb3cf5bc0db68559b33d41219aba27",
+ "url": "https://api.github.com/repos/dragonmantank/cron-expression/zipball/65b2d8ee1f10915efb3b55597da3404f096acba2",
+ "reference": "65b2d8ee1f10915efb3b55597da3404f096acba2",
"shasum": ""
},
"require": {
- "php": "^7.0"
+ "php": "^7.0|^8.0"
},
"require-dev": {
- "phpunit/phpunit": "^6.4|^7.0"
+ "phpunit/phpunit": "^6.4|^7.0|^8.0|^9.0"
},
"type": "library",
"extra": {
"cron",
"schedule"
],
- "time": "2019-03-31T00:38:28+00:00"
+ "support": {
+ "issues": "https://github.com/dragonmantank/cron-expression/issues",
+ "source": "https://github.com/dragonmantank/cron-expression/tree/v2.3.1"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/dragonmantank",
+ "type": "github"
+ }
+ ],
+ "time": "2020-10-13T00:52:37+00:00"
},
{
"name": "egulias/email-validator",
- "version": "2.1.20",
+ "version": "2.1.25",
"source": {
"type": "git",
"url": "https://github.com/egulias/EmailValidator.git",
- "reference": "f46887bc48db66c7f38f668eb7d6ae54583617ff"
+ "reference": "0dbf5d78455d4d6a41d186da50adc1122ec066f4"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/f46887bc48db66c7f38f668eb7d6ae54583617ff",
- "reference": "f46887bc48db66c7f38f668eb7d6ae54583617ff",
+ "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/0dbf5d78455d4d6a41d186da50adc1122ec066f4",
+ "reference": "0dbf5d78455d4d6a41d186da50adc1122ec066f4",
"shasum": ""
},
"require": {
"validation",
"validator"
],
- "time": "2020-09-06T13:44:32+00:00"
+ "support": {
+ "issues": "https://github.com/egulias/EmailValidator/issues",
+ "source": "https://github.com/egulias/EmailValidator/tree/2.1.25"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/egulias",
+ "type": "github"
+ }
+ ],
+ "time": "2020-12-29T14:50:06+00:00"
},
{
"name": "facade/flare-client-php",
- "version": "1.3.6",
+ "version": "1.8.1",
"source": {
"type": "git",
"url": "https://github.com/facade/flare-client-php.git",
- "reference": "451fadf38e9f635e7f8e1f5b3cf5c9eb82f11799"
+ "reference": "47b639dc02bcfdfc4ebb83de703856fa01e35f5f"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/facade/flare-client-php/zipball/451fadf38e9f635e7f8e1f5b3cf5c9eb82f11799",
- "reference": "451fadf38e9f635e7f8e1f5b3cf5c9eb82f11799",
+ "url": "https://api.github.com/repos/facade/flare-client-php/zipball/47b639dc02bcfdfc4ebb83de703856fa01e35f5f",
+ "reference": "47b639dc02bcfdfc4ebb83de703856fa01e35f5f",
"shasum": ""
},
"require": {
"facade/ignition-contracts": "~1.0",
"illuminate/pipeline": "^5.5|^6.0|^7.0|^8.0",
- "php": "^7.1",
+ "php": "^7.1|^8.0",
"symfony/http-foundation": "^3.3|^4.1|^5.0",
"symfony/mime": "^3.4|^4.0|^5.1",
"symfony/var-dumper": "^3.4|^4.0|^5.0"
"flare",
"reporting"
],
+ "support": {
+ "issues": "https://github.com/facade/flare-client-php/issues",
+ "source": "https://github.com/facade/flare-client-php/tree/1.8.1"
+ },
"funding": [
{
"url": "https://github.com/spatie",
"type": "github"
}
],
- "time": "2020-09-18T06:35:11+00:00"
+ "time": "2021-05-31T19:23:29+00:00"
},
{
"name": "facade/ignition",
- "version": "1.16.3",
+ "version": "1.17.0",
"source": {
"type": "git",
"url": "https://github.com/facade/ignition.git",
- "reference": "19674150bb46a4de0ba138c747f538fe7be11dbc"
+ "reference": "dc49305538aeb77e4c89eba57cee4ceff9e42f33"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/facade/ignition/zipball/19674150bb46a4de0ba138c747f538fe7be11dbc",
- "reference": "19674150bb46a4de0ba138c747f538fe7be11dbc",
+ "url": "https://api.github.com/repos/facade/ignition/zipball/dc49305538aeb77e4c89eba57cee4ceff9e42f33",
+ "reference": "dc49305538aeb77e4c89eba57cee4ceff9e42f33",
"shasum": ""
},
"require": {
"filp/whoops": "^2.4",
"illuminate/support": "~5.5.0 || ~5.6.0 || ~5.7.0 || ~5.8.0 || ^6.0",
"monolog/monolog": "^1.12 || ^2.0",
- "php": "^7.1",
+ "php": "^7.1|^8.0",
"scrivo/highlight.php": "^9.15",
"symfony/console": "^3.4 || ^4.0",
"symfony/var-dumper": "^3.4 || ^4.0"
},
"require-dev": {
- "friendsofphp/php-cs-fixer": "^2.14",
- "mockery/mockery": "^1.2",
+ "mockery/mockery": "~1.3.3|^1.4.2",
"orchestra/testbench": "^3.5 || ^3.6 || ^3.7 || ^3.8 || ^4.0"
},
"suggest": {
"laravel",
"page"
],
- "time": "2020-07-13T15:54:05+00:00"
+ "support": {
+ "docs": "https://flareapp.io/docs/ignition-for-laravel/introduction",
+ "forum": "https://twitter.com/flareappio",
+ "issues": "https://github.com/facade/ignition/issues",
+ "source": "https://github.com/facade/ignition"
+ },
+ "time": "2021-05-25T07:15:52+00:00"
},
{
"name": "facade/ignition-contracts",
- "version": "1.0.1",
+ "version": "1.0.2",
"source": {
"type": "git",
"url": "https://github.com/facade/ignition-contracts.git",
- "reference": "aeab1ce8b68b188a43e81758e750151ad7da796b"
+ "reference": "3c921a1cdba35b68a7f0ccffc6dffc1995b18267"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/facade/ignition-contracts/zipball/aeab1ce8b68b188a43e81758e750151ad7da796b",
- "reference": "aeab1ce8b68b188a43e81758e750151ad7da796b",
+ "url": "https://api.github.com/repos/facade/ignition-contracts/zipball/3c921a1cdba35b68a7f0ccffc6dffc1995b18267",
+ "reference": "3c921a1cdba35b68a7f0ccffc6dffc1995b18267",
"shasum": ""
},
"require": {
- "php": "^7.1"
+ "php": "^7.3|^8.0"
},
"require-dev": {
- "friendsofphp/php-cs-fixer": "^2.14",
- "phpunit/phpunit": "^7.5|^8.0",
- "vimeo/psalm": "^3.12"
+ "friendsofphp/php-cs-fixer": "^v2.15.8",
+ "phpunit/phpunit": "^9.3.11",
+ "vimeo/psalm": "^3.17.1"
},
"type": "library",
"autoload": {
"flare",
"ignition"
],
- "time": "2020-07-14T10:10:28+00:00"
+ "support": {
+ "issues": "https://github.com/facade/ignition-contracts/issues",
+ "source": "https://github.com/facade/ignition-contracts/tree/1.0.2"
+ },
+ "time": "2020-10-16T08:27:54+00:00"
},
{
"name": "fideloper/proxy",
- "version": "4.4.0",
+ "version": "4.4.1",
"source": {
"type": "git",
"url": "https://github.com/fideloper/TrustedProxy.git",
- "reference": "9beebf48a1c344ed67c1d36bb1b8709db7c3c1a8"
+ "reference": "c073b2bd04d1c90e04dc1b787662b558dd65ade0"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/fideloper/TrustedProxy/zipball/9beebf48a1c344ed67c1d36bb1b8709db7c3c1a8",
- "reference": "9beebf48a1c344ed67c1d36bb1b8709db7c3c1a8",
+ "url": "https://api.github.com/repos/fideloper/TrustedProxy/zipball/c073b2bd04d1c90e04dc1b787662b558dd65ade0",
+ "reference": "c073b2bd04d1c90e04dc1b787662b558dd65ade0",
"shasum": ""
},
"require": {
- "illuminate/contracts": "^5.0|^6.0|^7.0|^8.0",
+ "illuminate/contracts": "^5.0|^6.0|^7.0|^8.0|^9.0",
"php": ">=5.4.0"
},
"require-dev": {
- "illuminate/http": "^5.0|^6.0|^7.0|^8.0",
+ "illuminate/http": "^5.0|^6.0|^7.0|^8.0|^9.0",
"mockery/mockery": "^1.0",
"phpunit/phpunit": "^6.0"
},
"proxy",
"trusted proxy"
],
- "time": "2020-06-23T01:36:47+00:00"
+ "support": {
+ "issues": "https://github.com/fideloper/TrustedProxy/issues",
+ "source": "https://github.com/fideloper/TrustedProxy/tree/4.4.1"
+ },
+ "time": "2020-10-22T13:48:01+00:00"
},
{
"name": "filp/whoops",
- "version": "2.7.3",
+ "version": "2.13.0",
"source": {
"type": "git",
"url": "https://github.com/filp/whoops.git",
- "reference": "5d5fe9bb3d656b514d455645b3addc5f7ba7714d"
+ "reference": "2edbc73a4687d9085c8f20f398eebade844e8424"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/filp/whoops/zipball/5d5fe9bb3d656b514d455645b3addc5f7ba7714d",
- "reference": "5d5fe9bb3d656b514d455645b3addc5f7ba7714d",
+ "url": "https://api.github.com/repos/filp/whoops/zipball/2edbc73a4687d9085c8f20f398eebade844e8424",
+ "reference": "2edbc73a4687d9085c8f20f398eebade844e8424",
"shasum": ""
},
"require": {
- "php": "^5.5.9 || ^7.0",
+ "php": "^5.5.9 || ^7.0 || ^8.0",
"psr/log": "^1.0.1"
},
"require-dev": {
"mockery/mockery": "^0.9 || ^1.0",
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0",
+ "phpunit/phpunit": "^4.8.36 || ^5.7.27 || ^6.5.14 || ^7.5.20 || ^8.5.8 || ^9.3.3",
"symfony/var-dumper": "^2.6 || ^3.0 || ^4.0 || ^5.0"
},
"suggest": {
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "2.6-dev"
+ "dev-master": "2.7-dev"
}
},
"autoload": {
"throwable",
"whoops"
],
- "time": "2020-06-14T09:00:00+00:00"
+ "support": {
+ "issues": "https://github.com/filp/whoops/issues",
+ "source": "https://github.com/filp/whoops/tree/2.13.0"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/denis-sokolov",
+ "type": "github"
+ }
+ ],
+ "time": "2021-06-04T12:00:00+00:00"
},
{
"name": "guzzlehttp/guzzle",
- "version": "6.5.5",
+ "version": "7.3.0",
"source": {
"type": "git",
"url": "https://github.com/guzzle/guzzle.git",
- "reference": "9d4290de1cfd701f38099ef7e183b64b4b7b0c5e"
+ "reference": "7008573787b430c1c1f650e3722d9bba59967628"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/guzzle/guzzle/zipball/9d4290de1cfd701f38099ef7e183b64b4b7b0c5e",
- "reference": "9d4290de1cfd701f38099ef7e183b64b4b7b0c5e",
+ "url": "https://api.github.com/repos/guzzle/guzzle/zipball/7008573787b430c1c1f650e3722d9bba59967628",
+ "reference": "7008573787b430c1c1f650e3722d9bba59967628",
"shasum": ""
},
"require": {
"ext-json": "*",
- "guzzlehttp/promises": "^1.0",
- "guzzlehttp/psr7": "^1.6.1",
- "php": ">=5.5",
- "symfony/polyfill-intl-idn": "^1.17.0"
+ "guzzlehttp/promises": "^1.4",
+ "guzzlehttp/psr7": "^1.7 || ^2.0",
+ "php": "^7.2.5 || ^8.0",
+ "psr/http-client": "^1.0"
+ },
+ "provide": {
+ "psr/http-client-implementation": "1.0"
},
"require-dev": {
+ "bamarni/composer-bin-plugin": "^1.4.1",
"ext-curl": "*",
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.4 || ^7.0",
+ "php-http/client-integration-tests": "^3.0",
+ "phpunit/phpunit": "^8.5.5 || ^9.3.5",
"psr/log": "^1.1"
},
"suggest": {
+ "ext-curl": "Required for CURL handler support",
+ "ext-intl": "Required for Internationalized Domain Name (IDN) support",
"psr/log": "Required for using the Log middleware"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "6.5-dev"
+ "dev-master": "7.3-dev"
}
},
"autoload": {
"name": "Michael Dowling",
"homepage": "https://github.com/mtdowling"
+ },
+ {
+ "name": "Márk Sági-Kazár",
+ "homepage": "https://sagikazarmark.hu"
}
],
"description": "Guzzle is a PHP HTTP client library",
"framework",
"http",
"http client",
+ "psr-18",
+ "psr-7",
"rest",
"web service"
],
- "time": "2020-06-16T21:01:06+00:00"
+ "support": {
+ "issues": "https://github.com/guzzle/guzzle/issues",
+ "source": "https://github.com/guzzle/guzzle/tree/7.3.0"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/GrahamCampbell",
+ "type": "github"
+ },
+ {
+ "url": "https://github.com/Nyholm",
+ "type": "github"
+ },
+ {
+ "url": "https://github.com/alexeyshockov",
+ "type": "github"
+ },
+ {
+ "url": "https://github.com/gmponos",
+ "type": "github"
+ }
+ ],
+ "time": "2021-03-23T11:33:13+00:00"
},
{
"name": "guzzlehttp/promises",
- "version": "v1.3.1",
+ "version": "1.4.1",
"source": {
"type": "git",
"url": "https://github.com/guzzle/promises.git",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646"
+ "reference": "8e7d04f1f6450fef59366c399cfad4b9383aa30d"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/guzzle/promises/zipball/a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646",
+ "url": "https://api.github.com/repos/guzzle/promises/zipball/8e7d04f1f6450fef59366c399cfad4b9383aa30d",
+ "reference": "8e7d04f1f6450fef59366c399cfad4b9383aa30d",
"shasum": ""
},
"require": {
- "php": ">=5.5.0"
+ "php": ">=5.5"
},
"require-dev": {
- "phpunit/phpunit": "^4.0"
+ "symfony/phpunit-bridge": "^4.4 || ^5.1"
},
"type": "library",
"extra": {
"keywords": [
"promise"
],
- "time": "2016-12-20T10:07:11+00:00"
+ "support": {
+ "issues": "https://github.com/guzzle/promises/issues",
+ "source": "https://github.com/guzzle/promises/tree/1.4.1"
+ },
+ "time": "2021-03-07T09:25:29+00:00"
},
{
"name": "guzzlehttp/psr7",
- "version": "1.6.1",
+ "version": "1.8.2",
"source": {
"type": "git",
"url": "https://github.com/guzzle/psr7.git",
- "reference": "239400de7a173fe9901b9ac7c06497751f00727a"
+ "reference": "dc960a912984efb74d0a90222870c72c87f10c91"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/guzzle/psr7/zipball/239400de7a173fe9901b9ac7c06497751f00727a",
- "reference": "239400de7a173fe9901b9ac7c06497751f00727a",
+ "url": "https://api.github.com/repos/guzzle/psr7/zipball/dc960a912984efb74d0a90222870c72c87f10c91",
+ "reference": "dc960a912984efb74d0a90222870c72c87f10c91",
"shasum": ""
},
"require": {
},
"require-dev": {
"ext-zlib": "*",
- "phpunit/phpunit": "~4.8.36 || ^5.7.27 || ^6.5.8"
+ "phpunit/phpunit": "~4.8.36 || ^5.7.27 || ^6.5.14 || ^7.5.20 || ^8.5.8 || ^9.3.10"
},
"suggest": {
- "zendframework/zend-httphandlerrunner": "Emit PSR-7 responses"
+ "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.6-dev"
+ "dev-master": "1.7-dev"
}
},
"autoload": {
"uri",
"url"
],
- "time": "2019-07-01T23:21:34+00:00"
+ "support": {
+ "issues": "https://github.com/guzzle/psr7/issues",
+ "source": "https://github.com/guzzle/psr7/tree/1.8.2"
+ },
+ "time": "2021-04-26T09:17:50+00:00"
},
{
"name": "intervention/image",
"thumbnail",
"watermark"
],
- "time": "2019-11-02T09:15:47+00:00"
- },
- {
- "name": "jakub-onderka/php-console-color",
- "version": "v0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/JakubOnderka/PHP-Console-Color.git",
- "reference": "d5deaecff52a0d61ccb613bb3804088da0307191"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/JakubOnderka/PHP-Console-Color/zipball/d5deaecff52a0d61ccb613bb3804088da0307191",
- "reference": "d5deaecff52a0d61ccb613bb3804088da0307191",
- "shasum": ""
- },
- "require": {
- "php": ">=5.4.0"
- },
- "require-dev": {
- "jakub-onderka/php-code-style": "1.0",
- "jakub-onderka/php-parallel-lint": "1.0",
- "jakub-onderka/php-var-dump-check": "0.*",
- "phpunit/phpunit": "~4.3",
- "squizlabs/php_codesniffer": "1.*"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "JakubOnderka\\PhpConsoleColor\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-2-Clause"
- ],
- "authors": [
- {
- "name": "Jakub Onderka",
- }
- ],
- "abandoned": "php-parallel-lint/php-console-color",
- "time": "2018-09-29T17:23:10+00:00"
- },
- {
- "name": "jakub-onderka/php-console-highlighter",
- "version": "v0.4",
- "source": {
- "type": "git",
- "url": "https://github.com/JakubOnderka/PHP-Console-Highlighter.git",
- "reference": "9f7a229a69d52506914b4bc61bfdb199d90c5547"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/JakubOnderka/PHP-Console-Highlighter/zipball/9f7a229a69d52506914b4bc61bfdb199d90c5547",
- "reference": "9f7a229a69d52506914b4bc61bfdb199d90c5547",
- "shasum": ""
- },
- "require": {
- "ext-tokenizer": "*",
- "jakub-onderka/php-console-color": "~0.2",
- "php": ">=5.4.0"
- },
- "require-dev": {
- "jakub-onderka/php-code-style": "~1.0",
- "jakub-onderka/php-parallel-lint": "~1.0",
- "jakub-onderka/php-var-dump-check": "~0.1",
- "phpunit/phpunit": "~4.0",
- "squizlabs/php_codesniffer": "~1.5"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "JakubOnderka\\PhpConsoleHighlighter\\": "src/"
- }
+ "support": {
+ "issues": "https://github.com/Intervention/image/issues",
+ "source": "https://github.com/Intervention/image/tree/master"
},
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jakub Onderka",
- "homepage": "http://www.acci.cz/"
- }
- ],
- "description": "Highlight PHP code in terminal",
- "abandoned": "php-parallel-lint/php-console-highlighter",
- "time": "2018-09-29T18:48:56+00:00"
+ "time": "2019-11-02T09:15:47+00:00"
},
{
"name": "knplabs/knp-snappy",
"thumbnail",
"wkhtmltopdf"
],
+ "support": {
+ "issues": "https://github.com/KnpLabs/snappy/issues",
+ "source": "https://github.com/KnpLabs/snappy/tree/master"
+ },
"time": "2020-01-20T08:30:30+00:00"
},
{
"name": "laravel/framework",
- "version": "v6.18.40",
+ "version": "v6.20.29",
"source": {
"type": "git",
"url": "https://github.com/laravel/framework.git",
- "reference": "e42450df0896b7130ccdb5290a114424e18887c9"
+ "reference": "00fa9c04aed10d68481f5757b89da0e6798f53b3"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/laravel/framework/zipball/e42450df0896b7130ccdb5290a114424e18887c9",
- "reference": "e42450df0896b7130ccdb5290a114424e18887c9",
+ "url": "https://api.github.com/repos/laravel/framework/zipball/00fa9c04aed10d68481f5757b89da0e6798f53b3",
+ "reference": "00fa9c04aed10d68481f5757b89da0e6798f53b3",
"shasum": ""
},
"require": {
"doctrine/inflector": "^1.4|^2.0",
- "dragonmantank/cron-expression": "^2.0",
+ "dragonmantank/cron-expression": "^2.3.1",
"egulias/email-validator": "^2.1.10",
"ext-json": "*",
"ext-mbstring": "*",
"ext-openssl": "*",
"league/commonmark": "^1.3",
- "league/flysystem": "^1.0.34",
+ "league/flysystem": "^1.1",
"monolog/monolog": "^1.12|^2.0",
- "nesbot/carbon": "^2.0",
- "opis/closure": "^3.1",
- "php": "^7.2",
+ "nesbot/carbon": "^2.31",
+ "opis/closure": "^3.6",
+ "php": "^7.2.5|^8.0",
"psr/container": "^1.0",
"psr/simple-cache": "^1.0",
"ramsey/uuid": "^3.7",
"illuminate/view": "self.version"
},
"require-dev": {
- "aws/aws-sdk-php": "^3.0",
+ "aws/aws-sdk-php": "^3.155",
"doctrine/dbal": "^2.6",
- "filp/whoops": "^2.4",
- "guzzlehttp/guzzle": "^6.3|^7.0",
+ "filp/whoops": "^2.8",
+ "guzzlehttp/guzzle": "^6.3.1|^7.0.1",
"league/flysystem-cached-adapter": "^1.0",
- "mockery/mockery": "^1.3.1",
+ "mockery/mockery": "~1.3.3|^1.4.2",
"moontoast/math": "^1.1",
- "orchestra/testbench-core": "^4.0",
+ "orchestra/testbench-core": "^4.8",
"pda/pheanstalk": "^4.0",
- "phpunit/phpunit": "^7.5.15|^8.4|^9.0",
+ "phpunit/phpunit": "^7.5.15|^8.4|^9.3.3",
"predis/predis": "^1.1.1",
"symfony/cache": "^4.3.4"
},
"suggest": {
- "aws/aws-sdk-php": "Required to use the SQS queue driver, DynamoDb failed job storage and SES mail driver (^3.0).",
+ "aws/aws-sdk-php": "Required to use the SQS queue driver, DynamoDb failed job storage and SES mail driver (^3.155).",
"doctrine/dbal": "Required to rename columns and drop SQLite columns (^2.6).",
"ext-ftp": "Required to use the Flysystem FTP driver.",
"ext-gd": "Required to use Illuminate\\Http\\Testing\\FileFactory::image().",
"ext-pcntl": "Required to use all features of the queue worker.",
"ext-posix": "Required to use all features of the queue worker.",
"ext-redis": "Required to use the Redis cache and queue drivers (^4.0|^5.0).",
- "filp/whoops": "Required for friendly error pages in development (^2.4).",
- "fzaninotto/faker": "Required to use the eloquent factory builder (^1.9.1).",
- "guzzlehttp/guzzle": "Required to use the Mailgun mail driver and the ping methods on schedules (^6.0|^7.0).",
+ "fakerphp/faker": "Required to use the eloquent factory builder (^1.9.1).",
+ "filp/whoops": "Required for friendly error pages in development (^2.8).",
+ "guzzlehttp/guzzle": "Required to use the Mailgun mail driver and the ping methods on schedules (^6.3.1|^7.0.1).",
"laravel/tinker": "Required to use the tinker console command (^2.0).",
"league/flysystem-aws-s3-v3": "Required to use the Flysystem S3 driver (^1.0).",
"league/flysystem-cached-adapter": "Required to use the Flysystem cache (^1.0).",
"framework",
"laravel"
],
- "time": "2020-09-09T15:02:20+00:00"
+ "support": {
+ "issues": "https://github.com/laravel/framework/issues",
+ "source": "https://github.com/laravel/framework"
+ },
+ "time": "2021-06-22T13:41:06+00:00"
},
{
"name": "laravel/socialite",
- "version": "v4.4.1",
+ "version": "v5.2.3",
"source": {
"type": "git",
"url": "https://github.com/laravel/socialite.git",
- "reference": "80951df0d93435b773aa00efe1fad6d5015fac75"
+ "reference": "1960802068f81e44b2ae9793932181cf1cb91b5c"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/laravel/socialite/zipball/80951df0d93435b773aa00efe1fad6d5015fac75",
- "reference": "80951df0d93435b773aa00efe1fad6d5015fac75",
+ "url": "https://api.github.com/repos/laravel/socialite/zipball/1960802068f81e44b2ae9793932181cf1cb91b5c",
+ "reference": "1960802068f81e44b2ae9793932181cf1cb91b5c",
"shasum": ""
},
"require": {
"ext-json": "*",
"guzzlehttp/guzzle": "^6.0|^7.0",
- "illuminate/http": "~5.7.0|~5.8.0|^6.0|^7.0",
- "illuminate/support": "~5.7.0|~5.8.0|^6.0|^7.0",
+ "illuminate/http": "^6.0|^7.0|^8.0",
+ "illuminate/support": "^6.0|^7.0|^8.0",
"league/oauth1-client": "^1.0",
- "php": "^7.1.3"
+ "php": "^7.2|^8.0"
},
"require-dev": {
- "illuminate/contracts": "~5.7.0|~5.8.0|^6.0|^7.0",
+ "illuminate/contracts": "^6.0|^7.0",
"mockery/mockery": "^1.0",
- "orchestra/testbench": "^3.7|^3.8|^4.0|^5.0",
- "phpunit/phpunit": "^7.0|^8.0"
+ "orchestra/testbench": "^4.0|^5.0|^6.0",
+ "phpunit/phpunit": "^8.0|^9.3"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "4.x-dev"
+ "dev-master": "5.x-dev"
},
"laravel": {
"providers": [
"laravel",
"oauth"
],
- "time": "2020-06-03T13:30:03+00:00"
+ "support": {
+ "issues": "https://github.com/laravel/socialite/issues",
+ "source": "https://github.com/laravel/socialite"
+ },
+ "time": "2021-04-06T14:38:16+00:00"
},
{
"name": "league/commonmark",
- "version": "1.5.5",
+ "version": "1.6.4",
"source": {
"type": "git",
"url": "https://github.com/thephpleague/commonmark.git",
- "reference": "45832dfed6007b984c0d40addfac48d403dc6432"
+ "reference": "c3c8b7217c52572fb42aaf84211abccf75a151b2"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/45832dfed6007b984c0d40addfac48d403dc6432",
- "reference": "45832dfed6007b984c0d40addfac48d403dc6432",
+ "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/c3c8b7217c52572fb42aaf84211abccf75a151b2",
+ "reference": "c3c8b7217c52572fb42aaf84211abccf75a151b2",
"shasum": ""
},
"require": {
"github/gfm": "0.29.0",
"michelf/php-markdown": "~1.4",
"mikehaertl/php-shellcommand": "^1.4",
- "phpstan/phpstan": "^0.12",
+ "phpstan/phpstan": "^0.12.90",
"phpunit/phpunit": "^7.5 || ^8.5 || ^9.2",
"scrutinizer/ocular": "^1.5",
"symfony/finder": "^4.2"
"md",
"parser"
],
+ "support": {
+ "docs": "https://commonmark.thephpleague.com/",
+ "issues": "https://github.com/thephpleague/commonmark/issues",
+ "rss": "https://github.com/thephpleague/commonmark/releases.atom",
+ "source": "https://github.com/thephpleague/commonmark"
+ },
"funding": [
{
"url": "https://enjoy.gitstore.app/repositories/thephpleague/commonmark",
"type": "tidelift"
}
],
- "time": "2020-09-13T14:44:46+00:00"
+ "time": "2021-06-19T20:08:14+00:00"
},
{
"name": "league/flysystem",
- "version": "1.0.70",
+ "version": "1.1.3",
"source": {
"type": "git",
"url": "https://github.com/thephpleague/flysystem.git",
- "reference": "585824702f534f8d3cf7fab7225e8466cc4b7493"
+ "reference": "9be3b16c877d477357c015cec057548cf9b2a14a"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/585824702f534f8d3cf7fab7225e8466cc4b7493",
- "reference": "585824702f534f8d3cf7fab7225e8466cc4b7493",
+ "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/9be3b16c877d477357c015cec057548cf9b2a14a",
+ "reference": "9be3b16c877d477357c015cec057548cf9b2a14a",
"shasum": ""
},
"require": {
"ext-fileinfo": "*",
- "php": ">=5.5.9"
+ "league/mime-type-detection": "^1.3",
+ "php": "^7.2.5 || ^8.0"
},
"conflict": {
"league/flysystem-sftp": "<1.0.6"
},
"require-dev": {
- "phpspec/phpspec": "^3.4 || ^4.0 || ^5.0 || ^6.0",
- "phpunit/phpunit": "^5.7.26"
+ "phpspec/prophecy": "^1.11.1",
+ "phpunit/phpunit": "^8.5.8"
},
"suggest": {
"ext-fileinfo": "Required for MimeType",
"sftp",
"storage"
],
+ "support": {
+ "issues": "https://github.com/thephpleague/flysystem/issues",
+ "source": "https://github.com/thephpleague/flysystem/tree/1.x"
+ },
"funding": [
{
"url": "https://offset.earth/frankdejonge",
"type": "other"
}
],
- "time": "2020-07-26T07:20:36+00:00"
+ "time": "2020-08-23T07:39:11+00:00"
},
{
"name": "league/flysystem-aws-s3-v3",
- "version": "1.0.28",
+ "version": "1.0.29",
"source": {
"type": "git",
"url": "https://github.com/thephpleague/flysystem-aws-s3-v3.git",
- "reference": "af7384a12f7cd7d08183390d930c9d0ec629c990"
+ "reference": "4e25cc0582a36a786c31115e419c6e40498f6972"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/thephpleague/flysystem-aws-s3-v3/zipball/af7384a12f7cd7d08183390d930c9d0ec629c990",
- "reference": "af7384a12f7cd7d08183390d930c9d0ec629c990",
+ "url": "https://api.github.com/repos/thephpleague/flysystem-aws-s3-v3/zipball/4e25cc0582a36a786c31115e419c6e40498f6972",
+ "reference": "4e25cc0582a36a786c31115e419c6e40498f6972",
"shasum": ""
},
"require": {
}
],
"description": "Flysystem adapter for the AWS S3 SDK v3.x",
- "time": "2020-08-22T08:43:01+00:00"
+ "support": {
+ "issues": "https://github.com/thephpleague/flysystem-aws-s3-v3/issues",
+ "source": "https://github.com/thephpleague/flysystem-aws-s3-v3/tree/1.0.29"
+ },
+ "time": "2020-10-08T18:58:37+00:00"
},
{
- "name": "league/oauth1-client",
- "version": "v1.8.1",
+ "name": "league/html-to-markdown",
+ "version": "5.0.0",
"source": {
"type": "git",
- "url": "https://github.com/thephpleague/oauth1-client.git",
- "reference": "3a68155c3f27a91f4b66a2dc03996cd6f3281c9f"
+ "url": "https://github.com/thephpleague/html-to-markdown.git",
+ "reference": "c4dbebbebe0fe454b6b38e6c683a977615bd7dc2"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/thephpleague/oauth1-client/zipball/3a68155c3f27a91f4b66a2dc03996cd6f3281c9f",
- "reference": "3a68155c3f27a91f4b66a2dc03996cd6f3281c9f",
+ "url": "https://api.github.com/repos/thephpleague/html-to-markdown/zipball/c4dbebbebe0fe454b6b38e6c683a977615bd7dc2",
+ "reference": "c4dbebbebe0fe454b6b38e6c683a977615bd7dc2",
"shasum": ""
},
"require": {
- "ext-json": "*",
- "ext-openssl": "*",
- "guzzlehttp/guzzle": "^6.0|^7.0",
- "php": ">=7.1"
+ "ext-dom": "*",
+ "ext-xml": "*",
+ "php": "^7.2.5 || ^8.0"
},
"require-dev": {
- "ext-simplexml": "*",
- "friendsofphp/php-cs-fixer": "^2.16.1",
- "mockery/mockery": "^1.3",
- "phpstan/phpstan": "^0.12.42",
- "phpunit/phpunit": "^7.5"
- },
- "suggest": {
- "ext-simplexml": "For decoding XML-based responses."
+ "mikehaertl/php-shellcommand": "^1.1.0",
+ "phpstan/phpstan": "^0.12.82",
+ "phpunit/phpunit": "^8.5 || ^9.2",
+ "scrutinizer/ocular": "^1.6",
+ "unleashedtech/php-coding-standard": "^2.7",
+ "vimeo/psalm": "^4.6"
},
+ "bin": [
+ "bin/html-to-markdown"
+ ],
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.0-dev",
- "dev-develop": "2.0-dev"
+ "dev-master": "5.1-dev"
}
},
"autoload": {
"psr-4": {
- "League\\OAuth1\\Client\\": "src/"
+ "League\\HTMLToMarkdown\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
],
"authors": [
{
- "name": "Ben Corlett",
- "homepage": "http://www.webcomm.com.au",
- "role": "Developer"
+ "name": "Colin O'Dell",
+ "homepage": "https://www.colinodell.com",
+ "role": "Lead Developer"
+ },
+ {
+ "name": "Nick Cernis",
+ "homepage": "http://modernnerd.net",
+ "role": "Original Author"
}
],
- "description": "OAuth 1.0 Client Library",
+ "description": "An HTML-to-markdown conversion helper for PHP",
+ "homepage": "https://github.com/thephpleague/html-to-markdown",
"keywords": [
- "Authentication",
- "SSO",
- "authorization",
- "bitbucket",
- "identity",
- "idp",
- "oauth",
- "oauth1",
- "single sign on",
- "trello",
- "tumblr",
+ "html",
+ "markdown"
+ ],
+ "support": {
+ "issues": "https://github.com/thephpleague/html-to-markdown/issues",
+ "source": "https://github.com/thephpleague/html-to-markdown/tree/5.0.0"
+ },
+ "funding": [
+ {
+ "url": "https://www.colinodell.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://www.paypal.me/colinpodell/10.00",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/colinodell",
+ "type": "github"
+ },
+ {
+ "url": "https://www.patreon.com/colinodell",
+ "type": "patreon"
+ }
+ ],
+ "time": "2021-03-29T01:29:08+00:00"
+ },
+ {
+ "name": "league/mime-type-detection",
+ "version": "1.7.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/thephpleague/mime-type-detection.git",
+ "reference": "3b9dff8aaf7323590c1d2e443db701eb1f9aa0d3"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/3b9dff8aaf7323590c1d2e443db701eb1f9aa0d3",
+ "reference": "3b9dff8aaf7323590c1d2e443db701eb1f9aa0d3",
+ "shasum": ""
+ },
+ "require": {
+ "ext-fileinfo": "*",
+ "php": "^7.2 || ^8.0"
+ },
+ "require-dev": {
+ "friendsofphp/php-cs-fixer": "^2.18",
+ "phpstan/phpstan": "^0.12.68",
+ "phpunit/phpunit": "^8.5.8 || ^9.3"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "League\\MimeTypeDetection\\": "src"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Frank de Jonge",
+ }
+ ],
+ "description": "Mime-type detection for Flysystem",
+ "support": {
+ "issues": "https://github.com/thephpleague/mime-type-detection/issues",
+ "source": "https://github.com/thephpleague/mime-type-detection/tree/1.7.0"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/frankdejonge",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/league/flysystem",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-01-18T20:58:21+00:00"
+ },
+ {
+ "name": "league/oauth1-client",
+ "version": "v1.9.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/thephpleague/oauth1-client.git",
+ "reference": "1e7e6be2dc543bf466236fb171e5b20e1b06aee6"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/thephpleague/oauth1-client/zipball/1e7e6be2dc543bf466236fb171e5b20e1b06aee6",
+ "reference": "1e7e6be2dc543bf466236fb171e5b20e1b06aee6",
+ "shasum": ""
+ },
+ "require": {
+ "ext-json": "*",
+ "ext-openssl": "*",
+ "guzzlehttp/guzzle": "^6.0|^7.0",
+ "php": ">=7.1||>=8.0"
+ },
+ "require-dev": {
+ "ext-simplexml": "*",
+ "friendsofphp/php-cs-fixer": "^2.17",
+ "mockery/mockery": "^1.3.3",
+ "phpstan/phpstan": "^0.12.42",
+ "phpunit/phpunit": "^7.5||9.5"
+ },
+ "suggest": {
+ "ext-simplexml": "For decoding XML-based responses."
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.0-dev",
+ "dev-develop": "2.0-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "League\\OAuth1\\Client\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Ben Corlett",
+ "homepage": "http://www.webcomm.com.au",
+ "role": "Developer"
+ }
+ ],
+ "description": "OAuth 1.0 Client Library",
+ "keywords": [
+ "Authentication",
+ "SSO",
+ "authorization",
+ "bitbucket",
+ "identity",
+ "idp",
+ "oauth",
+ "oauth1",
+ "single sign on",
+ "trello",
+ "tumblr",
"twitter"
],
- "time": "2020-09-04T11:07:03+00:00"
+ "support": {
+ "issues": "https://github.com/thephpleague/oauth1-client/issues",
+ "source": "https://github.com/thephpleague/oauth1-client/tree/v1.9.0"
+ },
+ "time": "2021-01-20T01:40:53+00:00"
},
{
"name": "monolog/monolog",
- "version": "2.1.1",
+ "version": "2.2.0",
"source": {
"type": "git",
"url": "https://github.com/Seldaek/monolog.git",
- "reference": "f9eee5cec93dfb313a38b6b288741e84e53f02d5"
+ "reference": "1cb1cde8e8dd0f70cc0fe51354a59acad9302084"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Seldaek/monolog/zipball/f9eee5cec93dfb313a38b6b288741e84e53f02d5",
- "reference": "f9eee5cec93dfb313a38b6b288741e84e53f02d5",
+ "url": "https://api.github.com/repos/Seldaek/monolog/zipball/1cb1cde8e8dd0f70cc0fe51354a59acad9302084",
+ "reference": "1cb1cde8e8dd0f70cc0fe51354a59acad9302084",
"shasum": ""
},
"require": {
"require-dev": {
"aws/aws-sdk-php": "^2.4.9 || ^3.0",
"doctrine/couchdb": "~1.0@dev",
- "elasticsearch/elasticsearch": "^6.0",
+ "elasticsearch/elasticsearch": "^7",
"graylog2/gelf-php": "^1.4.2",
+ "mongodb/mongodb": "^1.8",
"php-amqplib/php-amqplib": "~2.4",
"php-console/php-console": "^3.1.3",
- "php-parallel-lint/php-parallel-lint": "^1.0",
"phpspec/prophecy": "^1.6.1",
+ "phpstan/phpstan": "^0.12.59",
"phpunit/phpunit": "^8.5",
"predis/predis": "^1.1",
"rollbar/rollbar": "^1.3",
- "ruflin/elastica": ">=0.90 <3.0",
+ "ruflin/elastica": ">=0.90 <7.0.1",
"swiftmailer/swiftmailer": "^5.3|^6.0"
},
"suggest": {
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "2.x-dev"
+ "dev-main": "2.x-dev"
}
},
"autoload": {
{
"name": "Jordi Boggiano",
- "homepage": "http://seld.be"
+ "homepage": "https://seld.be"
}
],
"description": "Sends your logs to files, sockets, inboxes, databases and various web services",
- "homepage": "http://github.com/Seldaek/monolog",
+ "homepage": "https://github.com/Seldaek/monolog",
"keywords": [
"log",
"logging",
"psr-3"
],
+ "support": {
+ "issues": "https://github.com/Seldaek/monolog/issues",
+ "source": "https://github.com/Seldaek/monolog/tree/2.2.0"
+ },
"funding": [
{
"url": "https://github.com/Seldaek",
"type": "tidelift"
}
],
- "time": "2020-07-23T08:41:23+00:00"
+ "time": "2020-12-14T13:15:25+00:00"
},
{
"name": "mtdowling/jmespath.php",
- "version": "2.6.0",
+ "version": "2.6.1",
"source": {
"type": "git",
"url": "https://github.com/jmespath/jmespath.php.git",
- "reference": "42dae2cbd13154083ca6d70099692fef8ca84bfb"
+ "reference": "9b87907a81b87bc76d19a7fb2d61e61486ee9edb"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/jmespath/jmespath.php/zipball/42dae2cbd13154083ca6d70099692fef8ca84bfb",
- "reference": "42dae2cbd13154083ca6d70099692fef8ca84bfb",
+ "url": "https://api.github.com/repos/jmespath/jmespath.php/zipball/9b87907a81b87bc76d19a7fb2d61e61486ee9edb",
+ "reference": "9b87907a81b87bc76d19a7fb2d61e61486ee9edb",
"shasum": ""
},
"require": {
"symfony/polyfill-mbstring": "^1.17"
},
"require-dev": {
- "composer/xdebug-handler": "^1.4",
+ "composer/xdebug-handler": "^1.4 || ^2.0",
"phpunit/phpunit": "^4.8.36 || ^7.5.15"
},
"bin": [
"json",
"jsonpath"
],
- "time": "2020-07-31T21:01:56+00:00"
+ "support": {
+ "issues": "https://github.com/jmespath/jmespath.php/issues",
+ "source": "https://github.com/jmespath/jmespath.php/tree/2.6.1"
+ },
+ "time": "2021-06-14T00:11:39+00:00"
},
{
"name": "nesbot/carbon",
- "version": "2.40.0",
+ "version": "2.49.0",
"source": {
"type": "git",
"url": "https://github.com/briannesbitt/Carbon.git",
- "reference": "6c7646154181013ecd55e80c201b9fd873c6ee5d"
+ "reference": "93d9db91c0235c486875d22f1e08b50bdf3e6eee"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/6c7646154181013ecd55e80c201b9fd873c6ee5d",
- "reference": "6c7646154181013ecd55e80c201b9fd873c6ee5d",
+ "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/93d9db91c0235c486875d22f1e08b50bdf3e6eee",
+ "reference": "93d9db91c0235c486875d22f1e08b50bdf3e6eee",
"shasum": ""
},
"require": {
"kylekatarnls/multi-tester": "^2.0",
"phpmd/phpmd": "^2.9",
"phpstan/extension-installer": "^1.0",
- "phpstan/phpstan": "^0.12.35",
- "phpunit/phpunit": "^7.5 || ^8.0",
+ "phpstan/phpstan": "^0.12.54",
+ "phpunit/phpunit": "^7.5.20 || ^8.5.14",
"squizlabs/php_codesniffer": "^3.4"
},
"bin": [
"datetime",
"time"
],
+ "support": {
+ "issues": "https://github.com/briannesbitt/Carbon/issues",
+ "source": "https://github.com/briannesbitt/Carbon"
+ },
"funding": [
{
"url": "https://opencollective.com/Carbon",
"type": "tidelift"
}
],
- "time": "2020-09-11T19:00:58+00:00"
+ "time": "2021-06-02T07:31:40+00:00"
},
{
"name": "nunomaduro/collision",
- "version": "v3.0.1",
+ "version": "v3.2.0",
"source": {
"type": "git",
"url": "https://github.com/nunomaduro/collision.git",
- "reference": "af42d339fe2742295a54f6fdd42aaa6f8c4aca68"
+ "reference": "f7c45764dfe4ba5f2618d265a6f1f9c72732e01d"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/nunomaduro/collision/zipball/af42d339fe2742295a54f6fdd42aaa6f8c4aca68",
- "reference": "af42d339fe2742295a54f6fdd42aaa6f8c4aca68",
+ "url": "https://api.github.com/repos/nunomaduro/collision/zipball/f7c45764dfe4ba5f2618d265a6f1f9c72732e01d",
+ "reference": "f7c45764dfe4ba5f2618d265a6f1f9c72732e01d",
"shasum": ""
},
"require": {
"filp/whoops": "^2.1.4",
- "jakub-onderka/php-console-highlighter": "0.3.*|0.4.*",
- "php": "^7.1",
+ "php": "^7.2.5 || ^8.0",
+ "php-parallel-lint/php-console-highlighter": "0.5.*",
"symfony/console": "~2.8|~3.3|~4.0"
},
"require-dev": {
- "laravel/framework": "5.8.*",
- "nunomaduro/larastan": "^0.3.0",
- "phpstan/phpstan": "^0.11",
- "phpunit/phpunit": "~8.0"
+ "laravel/framework": "^6.0",
+ "phpunit/phpunit": "^8.0 || ^9.0"
},
"type": "library",
"extra": {
"php",
"symfony"
],
- "time": "2019-03-07T21:35:13+00:00"
+ "support": {
+ "issues": "https://github.com/nunomaduro/collision/issues",
+ "source": "https://github.com/nunomaduro/collision"
+ },
+ "funding": [
+ {
+ "url": "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=66BYDWAT92N6L",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/nunomaduro",
+ "type": "github"
+ },
+ {
+ "url": "https://www.patreon.com/nunomaduro",
+ "type": "patreon"
+ }
+ ],
+ "time": "2021-02-11T09:01:42+00:00"
},
{
"name": "onelogin/php-saml",
- "version": "3.4.1",
+ "version": "4.0.0",
"source": {
"type": "git",
"url": "https://github.com/onelogin/php-saml.git",
- "reference": "5fbf3486704ac9835b68184023ab54862c95f213"
+ "reference": "f30f5062f3653c4d2082892d207f4dc3e577d979"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/onelogin/php-saml/zipball/5fbf3486704ac9835b68184023ab54862c95f213",
- "reference": "5fbf3486704ac9835b68184023ab54862c95f213",
+ "url": "https://api.github.com/repos/onelogin/php-saml/zipball/f30f5062f3653c4d2082892d207f4dc3e577d979",
+ "reference": "f30f5062f3653c4d2082892d207f4dc3e577d979",
"shasum": ""
},
"require": {
- "php": ">=5.4",
- "robrichards/xmlseclibs": ">=3.0.4"
+ "php": ">=7.3",
+ "robrichards/xmlseclibs": ">=3.1.1"
},
"require-dev": {
- "pdepend/pdepend": "^2.5.0",
- "php-coveralls/php-coveralls": "^1.0.2 || ^2.0",
- "phploc/phploc": "^2.1 || ^3.0 || ^4.0",
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5 || ^7.1",
- "sebastian/phpcpd": "^2.0 || ^3.0 || ^4.0",
- "squizlabs/php_codesniffer": "^3.1.1"
+ "pdepend/pdepend": "^2.8.0",
+ "php-coveralls/php-coveralls": "^2.0",
+ "phploc/phploc": "^4.0 || ^5.0 || ^6.0 || ^7.0",
+ "phpunit/phpunit": "^9.5",
+ "sebastian/phpcpd": "^4.0 || ^5.0 || ^6.0 ",
+ "squizlabs/php_codesniffer": "^3.5.8"
},
"suggest": {
"ext-curl": "Install curl lib to be able to use the IdPMetadataParser for parsing remote XMLs",
- "ext-gettext": "Install gettext and php5-gettext libs to handle translations",
- "ext-openssl": "Install openssl lib in order to handle with x509 certs (require to support sign and encryption)"
+ "ext-dom": "Install xml lib",
+ "ext-openssl": "Install openssl lib in order to handle with x509 certs (require to support sign and encryption)",
+ "ext-zlib": "Install zlib"
},
"type": "library",
"autoload": {
"onelogin",
"saml"
],
- "time": "2019-11-25T17:30:07+00:00"
+ "support": {
+ "issues": "https://github.com/onelogin/php-saml/issues",
+ "source": "https://github.com/onelogin/php-saml/"
+ },
+ "time": "2021-03-02T10:19:19+00:00"
},
{
"name": "opis/closure",
- "version": "3.5.7",
+ "version": "3.6.2",
"source": {
"type": "git",
"url": "https://github.com/opis/closure.git",
- "reference": "4531e53afe2fc660403e76fb7644e95998bff7bf"
+ "reference": "06e2ebd25f2869e54a306dda991f7db58066f7f6"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/opis/closure/zipball/4531e53afe2fc660403e76fb7644e95998bff7bf",
- "reference": "4531e53afe2fc660403e76fb7644e95998bff7bf",
+ "url": "https://api.github.com/repos/opis/closure/zipball/06e2ebd25f2869e54a306dda991f7db58066f7f6",
+ "reference": "06e2ebd25f2869e54a306dda991f7db58066f7f6",
"shasum": ""
},
"require": {
- "php": "^5.4 || ^7.0"
+ "php": "^5.4 || ^7.0 || ^8.0"
},
"require-dev": {
"jeremeamia/superclosure": "^2.0",
- "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0"
+ "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "3.5.x-dev"
+ "dev-master": "3.6.x-dev"
}
},
"autoload": {
"serialization",
"serialize"
],
- "time": "2020-09-06T17:02:15+00:00"
+ "support": {
+ "issues": "https://github.com/opis/closure/issues",
+ "source": "https://github.com/opis/closure/tree/3.6.2"
+ },
+ "time": "2021-04-09T13:42:10+00:00"
},
{
"name": "paragonie/random_compat",
"pseudorandom",
"random"
],
+ "support": {
+ "issues": "https://github.com/paragonie/random_compat/issues",
+ "source": "https://github.com/paragonie/random_compat"
+ },
"time": "2018-07-02T15:55:56+00:00"
},
{
],
"description": "A library to read, parse, export and make subsets of different types of font files.",
"homepage": "https://github.com/PhenX/php-font-lib",
+ "support": {
+ "issues": "https://github.com/PhenX/php-font-lib/issues",
+ "source": "https://github.com/PhenX/php-font-lib/tree/0.5.2"
+ },
"time": "2020-03-08T15:31:32+00:00"
},
{
],
"description": "A library to read, parse and export to PDF SVG files.",
"homepage": "https://github.com/PhenX/php-svg-lib",
+ "support": {
+ "issues": "https://github.com/PhenX/php-svg-lib/issues",
+ "source": "https://github.com/PhenX/php-svg-lib/tree/master"
+ },
"time": "2019-09-11T20:02:13+00:00"
},
+ {
+ "name": "php-parallel-lint/php-console-color",
+ "version": "v0.3",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/php-parallel-lint/PHP-Console-Color.git",
+ "reference": "b6af326b2088f1ad3b264696c9fd590ec395b49e"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/php-parallel-lint/PHP-Console-Color/zipball/b6af326b2088f1ad3b264696c9fd590ec395b49e",
+ "reference": "b6af326b2088f1ad3b264696c9fd590ec395b49e",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.4.0"
+ },
+ "replace": {
+ "jakub-onderka/php-console-color": "*"
+ },
+ "require-dev": {
+ "php-parallel-lint/php-code-style": "1.0",
+ "php-parallel-lint/php-parallel-lint": "1.0",
+ "php-parallel-lint/php-var-dump-check": "0.*",
+ "phpunit/phpunit": "~4.3",
+ "squizlabs/php_codesniffer": "1.*"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "JakubOnderka\\PhpConsoleColor\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-2-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Jakub Onderka",
+ }
+ ],
+ "support": {
+ "issues": "https://github.com/php-parallel-lint/PHP-Console-Color/issues",
+ "source": "https://github.com/php-parallel-lint/PHP-Console-Color/tree/master"
+ },
+ "time": "2020-05-14T05:47:14+00:00"
+ },
+ {
+ "name": "php-parallel-lint/php-console-highlighter",
+ "version": "v0.5",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/php-parallel-lint/PHP-Console-Highlighter.git",
+ "reference": "21bf002f077b177f056d8cb455c5ed573adfdbb8"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/php-parallel-lint/PHP-Console-Highlighter/zipball/21bf002f077b177f056d8cb455c5ed573adfdbb8",
+ "reference": "21bf002f077b177f056d8cb455c5ed573adfdbb8",
+ "shasum": ""
+ },
+ "require": {
+ "ext-tokenizer": "*",
+ "php": ">=5.4.0",
+ "php-parallel-lint/php-console-color": "~0.2"
+ },
+ "replace": {
+ "jakub-onderka/php-console-highlighter": "*"
+ },
+ "require-dev": {
+ "php-parallel-lint/php-code-style": "~1.0",
+ "php-parallel-lint/php-parallel-lint": "~1.0",
+ "php-parallel-lint/php-var-dump-check": "~0.1",
+ "phpunit/phpunit": "~4.0",
+ "squizlabs/php_codesniffer": "~1.5"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "JakubOnderka\\PhpConsoleHighlighter\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Jakub Onderka",
+ "homepage": "http://www.acci.cz/"
+ }
+ ],
+ "description": "Highlight PHP code in terminal",
+ "support": {
+ "issues": "https://github.com/php-parallel-lint/PHP-Console-Highlighter/issues",
+ "source": "https://github.com/php-parallel-lint/PHP-Console-Highlighter/tree/master"
+ },
+ "time": "2020-05-13T07:37:49+00:00"
+ },
{
"name": "phpoption/phpoption",
"version": "1.7.5",
"php",
"type"
],
+ "support": {
+ "issues": "https://github.com/schmittjoh/php-option/issues",
+ "source": "https://github.com/schmittjoh/php-option/tree/1.7.5"
+ },
"funding": [
{
"url": "https://github.com/GrahamCampbell",
},
{
"name": "predis/predis",
- "version": "v1.1.6",
+ "version": "v1.1.7",
"source": {
"type": "git",
"url": "https://github.com/predis/predis.git",
- "reference": "9930e933c67446962997b05201c69c2319bf26de"
+ "reference": "b240daa106d4e02f0c5b7079b41e31ddf66fddf8"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/predis/predis/zipball/9930e933c67446962997b05201c69c2319bf26de",
- "reference": "9930e933c67446962997b05201c69c2319bf26de",
+ "url": "https://api.github.com/repos/predis/predis/zipball/b240daa106d4e02f0c5b7079b41e31ddf66fddf8",
+ "reference": "b240daa106d4e02f0c5b7079b41e31ddf66fddf8",
"shasum": ""
},
"require": {
"php": ">=5.3.9"
},
"require-dev": {
- "cweagans/composer-patches": "^1.6",
"phpunit/phpunit": "~4.8"
},
"suggest": {
"ext-phpiredis": "Allows faster serialization and deserialization of the Redis protocol"
},
"type": "library",
- "extra": {
- "composer-exit-on-patch-failure": true,
- "patches": {
- "phpunit/phpunit-mock-objects": {
- "Fix PHP 7 and 8 compatibility": "./tests/phpunit_mock_objects.patch"
- },
- "phpunit/phpunit": {
- "Fix PHP 7 compatibility": "./tests/phpunit_php7.patch",
- "Fix PHP 8 compatibility": "./tests/phpunit_php8.patch"
- }
- }
- },
"autoload": {
"psr-4": {
"Predis\\": "src/"
"predis",
"redis"
],
+ "support": {
+ "issues": "https://github.com/predis/predis/issues",
+ "source": "https://github.com/predis/predis/tree/v1.1.7"
+ },
"funding": [
{
"url": "https://github.com/sponsors/tillkruss",
"type": "github"
}
],
- "time": "2020-09-11T19:18:05+00:00"
+ "time": "2021-04-04T19:34:46+00:00"
},
{
"name": "psr/container",
- "version": "1.0.0",
+ "version": "1.1.1",
"source": {
"type": "git",
"url": "https://github.com/php-fig/container.git",
- "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f"
+ "reference": "8622567409010282b7aeebe4bb841fe98b58dcaf"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/php-fig/container/zipball/b7ce3b176482dbbc1245ebf52b181af44c2cf55f",
- "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f",
+ "url": "https://api.github.com/repos/php-fig/container/zipball/8622567409010282b7aeebe4bb841fe98b58dcaf",
+ "reference": "8622567409010282b7aeebe4bb841fe98b58dcaf",
"shasum": ""
},
"require": {
- "php": ">=5.3.0"
+ "php": ">=7.2.0"
},
"type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
"autoload": {
"psr-4": {
"Psr\\Container\\": "src/"
"authors": [
{
"name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
+ "homepage": "https://www.php-fig.org/"
}
],
"description": "Common Container Interface (PHP FIG PSR-11)",
"container-interop",
"psr"
],
- "time": "2017-02-14T16:28:37+00:00"
+ "support": {
+ "issues": "https://github.com/php-fig/container/issues",
+ "source": "https://github.com/php-fig/container/tree/1.1.1"
+ },
+ "time": "2021-03-05T17:36:06+00:00"
},
{
- "name": "psr/http-message",
+ "name": "psr/http-client",
"version": "1.0.1",
"source": {
"type": "git",
- "url": "https://github.com/php-fig/http-message.git",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363"
+ "url": "https://github.com/php-fig/http-client.git",
+ "reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363",
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363",
+ "url": "https://api.github.com/repos/php-fig/http-client/zipball/2dfb5f6c5eff0e91e20e913f8c5452ed95b86621",
+ "reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621",
"shasum": ""
},
"require": {
- "php": ">=5.3.0"
+ "php": "^7.0 || ^8.0",
+ "psr/http-message": "^1.0"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.0.x-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Psr\\Http\\Client\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "PHP-FIG",
+ "homepage": "http://www.php-fig.org/"
+ }
+ ],
+ "description": "Common interface for HTTP clients",
+ "homepage": "https://github.com/php-fig/http-client",
+ "keywords": [
+ "http",
+ "http-client",
+ "psr",
+ "psr-18"
+ ],
+ "support": {
+ "source": "https://github.com/php-fig/http-client/tree/master"
+ },
+ "time": "2020-06-29T06:28:15+00:00"
+ },
+ {
+ "name": "psr/http-message",
+ "version": "1.0.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/php-fig/http-message.git",
+ "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363",
+ "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.3.0"
},
"type": "library",
"extra": {
"request",
"response"
],
+ "support": {
+ "source": "https://github.com/php-fig/http-message/tree/master"
+ },
"time": "2016-08-06T14:39:51+00:00"
},
{
"name": "psr/log",
- "version": "1.1.3",
+ "version": "1.1.4",
"source": {
"type": "git",
"url": "https://github.com/php-fig/log.git",
- "reference": "0f73288fd15629204f9d42b7055f72dacbe811fc"
+ "reference": "d49695b909c3b7628b6289db5479a1c204601f11"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/php-fig/log/zipball/0f73288fd15629204f9d42b7055f72dacbe811fc",
- "reference": "0f73288fd15629204f9d42b7055f72dacbe811fc",
+ "url": "https://api.github.com/repos/php-fig/log/zipball/d49695b909c3b7628b6289db5479a1c204601f11",
+ "reference": "d49695b909c3b7628b6289db5479a1c204601f11",
"shasum": ""
},
"require": {
"authors": [
{
"name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
+ "homepage": "https://www.php-fig.org/"
}
],
"description": "Common interface for logging libraries",
"psr",
"psr-3"
],
- "time": "2020-03-23T09:12:05+00:00"
+ "support": {
+ "source": "https://github.com/php-fig/log/tree/1.1.4"
+ },
+ "time": "2021-05-03T11:20:27+00:00"
},
{
"name": "psr/simple-cache",
"psr-16",
"simple-cache"
],
+ "support": {
+ "source": "https://github.com/php-fig/simple-cache/tree/master"
+ },
"time": "2017-10-23T01:57:42+00:00"
},
{
}
],
"description": "A polyfill for getallheaders.",
+ "support": {
+ "issues": "https://github.com/ralouphie/getallheaders/issues",
+ "source": "https://github.com/ralouphie/getallheaders/tree/develop"
+ },
"time": "2019-03-08T08:55:37+00:00"
},
{
"identifier",
"uuid"
],
+ "support": {
+ "issues": "https://github.com/ramsey/uuid/issues",
+ "rss": "https://github.com/ramsey/uuid/releases.atom",
+ "source": "https://github.com/ramsey/uuid",
+ "wiki": "https://github.com/ramsey/uuid/wiki"
+ },
"time": "2020-02-21T04:36:14+00:00"
},
{
"xml",
"xmldsig"
],
+ "support": {
+ "issues": "https://github.com/robrichards/xmlseclibs/issues",
+ "source": "https://github.com/robrichards/xmlseclibs/tree/3.1.1"
+ },
"time": "2020-09-05T13:00:25+00:00"
},
{
"parser",
"stylesheet"
],
+ "support": {
+ "issues": "https://github.com/sabberworm/PHP-CSS-Parser/issues",
+ "source": "https://github.com/sabberworm/PHP-CSS-Parser/tree/8.3.1"
+ },
"time": "2020-06-01T09:10:00+00:00"
},
{
"name": "scrivo/highlight.php",
- "version": "v9.18.1.2",
+ "version": "v9.18.1.6",
"source": {
"type": "git",
"url": "https://github.com/scrivo/highlight.php.git",
- "reference": "efb6e445494a9458aa59b0af5edfa4bdcc6809d9"
+ "reference": "44a3d4136edb5ad8551590bf90f437db80b2d466"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/scrivo/highlight.php/zipball/efb6e445494a9458aa59b0af5edfa4bdcc6809d9",
- "reference": "efb6e445494a9458aa59b0af5edfa4bdcc6809d9",
+ "url": "https://api.github.com/repos/scrivo/highlight.php/zipball/44a3d4136edb5ad8551590bf90f437db80b2d466",
+ "reference": "44a3d4136edb5ad8551590bf90f437db80b2d466",
"shasum": ""
},
"require": {
"symfony/finder": "^2.8|^3.4",
"symfony/var-dumper": "^2.8|^3.4"
},
- "suggest": {
- "ext-dom": "Needed to make use of the features in the utilities namespace"
- },
"type": "library",
"autoload": {
"psr-0": {
"highlight.php",
"syntax"
],
+ "support": {
+ "issues": "https://github.com/scrivo/highlight.php/issues",
+ "source": "https://github.com/scrivo/highlight.php"
+ },
"funding": [
{
"url": "https://github.com/allejo",
"type": "github"
}
],
- "time": "2020-08-27T03:24:44+00:00"
+ "time": "2020-12-22T19:20:29+00:00"
},
{
"name": "socialiteproviders/discord",
- "version": "v2.0.2",
+ "version": "4.1.1",
"source": {
"type": "git",
"url": "https://github.com/SocialiteProviders/Discord.git",
- "reference": "e0cd8895f321943b36f533e7bf21ad29bcdece9a"
+ "reference": "c6eddeb07ace7473e82d02d4db852dfacf5ef574"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/SocialiteProviders/Discord/zipball/e0cd8895f321943b36f533e7bf21ad29bcdece9a",
- "reference": "e0cd8895f321943b36f533e7bf21ad29bcdece9a",
+ "url": "https://api.github.com/repos/SocialiteProviders/Discord/zipball/c6eddeb07ace7473e82d02d4db852dfacf5ef574",
+ "reference": "c6eddeb07ace7473e82d02d4db852dfacf5ef574",
"shasum": ""
},
"require": {
- "php": "^5.6 || ^7.0",
- "socialiteproviders/manager": "~2.0 || ~3.0"
+ "ext-json": "*",
+ "php": "^7.2 || ^8.0",
+ "socialiteproviders/manager": "~4.0"
},
"type": "library",
"autoload": {
}
],
"description": "Discord OAuth2 Provider for Laravel Socialite",
- "time": "2018-05-26T03:40:07+00:00"
+ "support": {
+ "source": "https://github.com/SocialiteProviders/Discord/tree/4.1.1"
+ },
+ "time": "2021-01-05T22:03:58+00:00"
},
{
"name": "socialiteproviders/gitlab",
- "version": "v3.1",
+ "version": "4.1.0",
"source": {
"type": "git",
"url": "https://github.com/SocialiteProviders/GitLab.git",
- "reference": "69e537f6192ca15483e98b8662495384f44299ca"
+ "reference": "a8f67d3b02c9ee8c70c25c6728417c0eddcbbb9d"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/SocialiteProviders/GitLab/zipball/69e537f6192ca15483e98b8662495384f44299ca",
- "reference": "69e537f6192ca15483e98b8662495384f44299ca",
+ "url": "https://api.github.com/repos/SocialiteProviders/GitLab/zipball/a8f67d3b02c9ee8c70c25c6728417c0eddcbbb9d",
+ "reference": "a8f67d3b02c9ee8c70c25c6728417c0eddcbbb9d",
"shasum": ""
},
"require": {
- "php": "^5.6 || ^7.0",
- "socialiteproviders/manager": "~2.0 || ~3.0"
+ "ext-json": "*",
+ "php": "^7.2 || ^8.0",
+ "socialiteproviders/manager": "~4.0"
},
"type": "library",
"autoload": {
}
],
"description": "GitLab OAuth2 Provider for Laravel Socialite",
- "time": "2018-06-27T05:10:32+00:00"
+ "support": {
+ "source": "https://github.com/SocialiteProviders/GitLab/tree/4.1.0"
+ },
+ "time": "2020-12-01T23:10:59+00:00"
},
{
"name": "socialiteproviders/manager",
- "version": "v3.6",
+ "version": "4.0.1",
"source": {
"type": "git",
"url": "https://github.com/SocialiteProviders/Manager.git",
- "reference": "fc8dbcf0061f12bfe0cc347e9655af932860ad36"
+ "reference": "0f5e82af0404df0080bdc5c105cef936c1711524"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/SocialiteProviders/Manager/zipball/fc8dbcf0061f12bfe0cc347e9655af932860ad36",
- "reference": "fc8dbcf0061f12bfe0cc347e9655af932860ad36",
+ "url": "https://api.github.com/repos/SocialiteProviders/Manager/zipball/0f5e82af0404df0080bdc5c105cef936c1711524",
+ "reference": "0f5e82af0404df0080bdc5c105cef936c1711524",
"shasum": ""
},
"require": {
"illuminate/support": "^6.0|^7.0|^8.0",
"laravel/socialite": "~4.0|~5.0",
- "php": "^7.2"
+ "php": "^7.2 || ^8.0"
},
"require-dev": {
"mockery/mockery": "^1.2",
- "phpunit/phpunit": "^8.0"
+ "phpunit/phpunit": "^9.0"
},
"type": "library",
"extra": {
],
"description": "Easily add new or override built-in providers in Laravel Socialite.",
"homepage": "https://socialiteproviders.com/",
- "time": "2020-09-08T10:41:06+00:00"
+ "support": {
+ "issues": "https://github.com/SocialiteProviders/Manager/issues",
+ "source": "https://github.com/SocialiteProviders/Manager/tree/4.0.1"
+ },
+ "time": "2020-12-01T23:09:06+00:00"
},
{
"name": "socialiteproviders/microsoft-azure",
- "version": "v3.1.0",
+ "version": "4.2.1",
"source": {
"type": "git",
"url": "https://github.com/SocialiteProviders/Microsoft-Azure.git",
- "reference": "b22f4696cccecd6de902cf0bc923de7fc2e4608e"
+ "reference": "64779ec21db0bee3111039a67c0fa0ab550a3462"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/SocialiteProviders/Microsoft-Azure/zipball/b22f4696cccecd6de902cf0bc923de7fc2e4608e",
- "reference": "b22f4696cccecd6de902cf0bc923de7fc2e4608e",
+ "url": "https://api.github.com/repos/SocialiteProviders/Microsoft-Azure/zipball/64779ec21db0bee3111039a67c0fa0ab550a3462",
+ "reference": "64779ec21db0bee3111039a67c0fa0ab550a3462",
"shasum": ""
},
"require": {
"ext-json": "*",
- "php": "^5.6 || ^7.0",
- "socialiteproviders/manager": "~2.0 || ~3.0"
+ "php": "^7.2 || ^8.0",
+ "socialiteproviders/manager": "~4.0"
},
"type": "library",
"autoload": {
}
],
"description": "Microsoft Azure OAuth2 Provider for Laravel Socialite",
- "time": "2020-04-30T23:01:40+00:00"
+ "support": {
+ "source": "https://github.com/SocialiteProviders/Microsoft-Azure/tree/4.2.1"
+ },
+ "time": "2021-06-14T22:51:38+00:00"
},
{
"name": "socialiteproviders/okta",
- "version": "v1.1.0",
+ "version": "4.1.1",
"source": {
"type": "git",
"url": "https://github.com/SocialiteProviders/Okta.git",
- "reference": "7c2512f0872316b139e3eea1c50c9351747a57ea"
+ "reference": "e3ef9f23c7d2f86b3b16a174b82333cf4e2459e8"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/SocialiteProviders/Okta/zipball/7c2512f0872316b139e3eea1c50c9351747a57ea",
- "reference": "7c2512f0872316b139e3eea1c50c9351747a57ea",
+ "url": "https://api.github.com/repos/SocialiteProviders/Okta/zipball/e3ef9f23c7d2f86b3b16a174b82333cf4e2459e8",
+ "reference": "e3ef9f23c7d2f86b3b16a174b82333cf4e2459e8",
"shasum": ""
},
"require": {
"ext-json": "*",
- "php": "^5.6 || ^7.0",
- "socialiteproviders/manager": "~2.0 || ~3.0"
+ "php": "^7.2 || ^8.0",
+ "socialiteproviders/manager": "~4.0"
},
"type": "library",
"autoload": {
}
],
"description": "Okta OAuth2 Provider for Laravel Socialite",
- "time": "2019-09-06T15:27:03+00:00"
+ "support": {
+ "source": "https://github.com/SocialiteProviders/Okta/tree/4.1.1"
+ },
+ "time": "2021-01-12T23:51:01+00:00"
},
{
"name": "socialiteproviders/slack",
- "version": "v3.1",
+ "version": "4.1.1",
"source": {
"type": "git",
"url": "https://github.com/SocialiteProviders/Slack.git",
- "reference": "d46826640fbeae8f34328d99c358404a1e1050a3"
+ "reference": "2b781c95daf06ec87a8f3deba2ab613d6bea5e8d"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/SocialiteProviders/Slack/zipball/d46826640fbeae8f34328d99c358404a1e1050a3",
- "reference": "d46826640fbeae8f34328d99c358404a1e1050a3",
+ "url": "https://api.github.com/repos/SocialiteProviders/Slack/zipball/2b781c95daf06ec87a8f3deba2ab613d6bea5e8d",
+ "reference": "2b781c95daf06ec87a8f3deba2ab613d6bea5e8d",
"shasum": ""
},
"require": {
- "php": "^5.6 || ^7.0",
- "socialiteproviders/manager": "~2.0 || ~3.0"
+ "ext-json": "*",
+ "php": "^7.2 || ^8.0",
+ "socialiteproviders/manager": "~4.0"
},
"type": "library",
"autoload": {
}
],
"description": "Slack OAuth2 Provider for Laravel Socialite",
- "time": "2019-01-11T19:48:14+00:00"
+ "support": {
+ "source": "https://github.com/SocialiteProviders/Slack/tree/4.1.1"
+ },
+ "time": "2021-03-26T04:10:10+00:00"
},
{
"name": "socialiteproviders/twitch",
- "version": "v5.2.0",
+ "version": "5.3.1",
"source": {
"type": "git",
"url": "https://github.com/SocialiteProviders/Twitch.git",
- "reference": "9ee6fe196d7c28777139b3cde04cbd537cf7e652"
+ "reference": "7accf30ae7a3139b757b4ca8f34989c09a3dbee7"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/SocialiteProviders/Twitch/zipball/9ee6fe196d7c28777139b3cde04cbd537cf7e652",
- "reference": "9ee6fe196d7c28777139b3cde04cbd537cf7e652",
+ "url": "https://api.github.com/repos/SocialiteProviders/Twitch/zipball/7accf30ae7a3139b757b4ca8f34989c09a3dbee7",
+ "reference": "7accf30ae7a3139b757b4ca8f34989c09a3dbee7",
"shasum": ""
},
"require": {
"ext-json": "*",
- "php": "^5.6 || ^7.0",
- "socialiteproviders/manager": "~2.0 || ~3.0"
+ "php": "^7.2 || ^8.0",
+ "socialiteproviders/manager": "~4.0"
},
"type": "library",
"autoload": {
}
],
"description": "Twitch OAuth2 Provider for Laravel Socialite",
- "time": "2020-05-06T22:51:30+00:00"
+ "support": {
+ "source": "https://github.com/SocialiteProviders/Twitch/tree/5.3.1"
+ },
+ "time": "2020-12-01T23:10:59+00:00"
},
{
"name": "ssddanbrown/htmldiff",
- "version": "v1.0.0",
+ "version": "v1.0.1",
"source": {
"type": "git",
"url": "https://github.com/ssddanbrown/HtmlDiff.git",
- "reference": "d1978c7d1c685800997f982a0ae9cff1e45df70c"
+ "reference": "f60d5cc278b60305ab980a6665f46117c5b589c0"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/ssddanbrown/HtmlDiff/zipball/d1978c7d1c685800997f982a0ae9cff1e45df70c",
- "reference": "d1978c7d1c685800997f982a0ae9cff1e45df70c",
+ "url": "https://api.github.com/repos/ssddanbrown/HtmlDiff/zipball/f60d5cc278b60305ab980a6665f46117c5b589c0",
+ "reference": "f60d5cc278b60305ab980a6665f46117c5b589c0",
"shasum": ""
},
"require": {
"homepage": "https://github.com/ssddanbrown/htmldiff",
"support": {
"issues": "https://github.com/ssddanbrown/HtmlDiff/issues",
- "source": "https://github.com/ssddanbrown/HtmlDiff/tree/v1.0.0"
+ "source": "https://github.com/ssddanbrown/HtmlDiff/tree/v1.0.1"
},
- "time": "2020-11-29T18:38:45+00:00"
+ "funding": [
+ {
+ "url": "https://github.com/ssddanbrown",
+ "type": "github"
+ }
+ ],
+ "time": "2021-01-24T18:51:30+00:00"
},
{
"name": "swiftmailer/swiftmailer",
- "version": "v6.2.3",
+ "version": "v6.2.7",
"source": {
"type": "git",
"url": "https://github.com/swiftmailer/swiftmailer.git",
- "reference": "149cfdf118b169f7840bbe3ef0d4bc795d1780c9"
+ "reference": "15f7faf8508e04471f666633addacf54c0ab5933"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/swiftmailer/swiftmailer/zipball/149cfdf118b169f7840bbe3ef0d4bc795d1780c9",
- "reference": "149cfdf118b169f7840bbe3ef0d4bc795d1780c9",
+ "url": "https://api.github.com/repos/swiftmailer/swiftmailer/zipball/15f7faf8508e04471f666633addacf54c0ab5933",
+ "reference": "15f7faf8508e04471f666633addacf54c0ab5933",
"shasum": ""
},
"require": {
- "egulias/email-validator": "~2.0",
+ "egulias/email-validator": "^2.0|^3.1",
"php": ">=7.0.0",
"symfony/polyfill-iconv": "^1.0",
"symfony/polyfill-intl-idn": "^1.10",
"symfony/polyfill-mbstring": "^1.0"
},
"require-dev": {
- "mockery/mockery": "~0.9.1",
- "symfony/phpunit-bridge": "^3.4.19|^4.1.8"
+ "mockery/mockery": "^1.0",
+ "symfony/phpunit-bridge": "^4.4|^5.0"
},
"suggest": {
- "ext-intl": "Needed to support internationalized email addresses",
- "true/punycode": "Needed to support internationalized email addresses, if ext-intl is not installed"
+ "ext-intl": "Needed to support internationalized email addresses"
},
"type": "library",
"extra": {
"mail",
"mailer"
],
- "time": "2019-11-12T09:31:26+00:00"
+ "support": {
+ "issues": "https://github.com/swiftmailer/swiftmailer/issues",
+ "source": "https://github.com/swiftmailer/swiftmailer/tree/v6.2.7"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/swiftmailer/swiftmailer",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-03-09T12:30:35+00:00"
},
{
"name": "symfony/console",
- "version": "v4.4.13",
+ "version": "v4.4.25",
"source": {
"type": "git",
"url": "https://github.com/symfony/console.git",
- "reference": "b39fd99b9297b67fb7633b7d8083957a97e1e727"
+ "reference": "a62acecdf5b50e314a4f305cd01b5282126f3095"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/console/zipball/b39fd99b9297b67fb7633b7d8083957a97e1e727",
- "reference": "b39fd99b9297b67fb7633b7d8083957a97e1e727",
+ "url": "https://api.github.com/repos/symfony/console/zipball/a62acecdf5b50e314a4f305cd01b5282126f3095",
+ "reference": "a62acecdf5b50e314a4f305cd01b5282126f3095",
"shasum": ""
},
"require": {
"symfony/process": ""
},
"type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.4-dev"
- }
- },
"autoload": {
"psr-4": {
"Symfony\\Component\\Console\\": ""
"homepage": "https://symfony.com/contributors"
}
],
- "description": "Symfony Console Component",
+ "description": "Eases the creation of beautiful and testable command line interfaces",
"homepage": "https://symfony.com",
+ "support": {
+ "source": "https://github.com/symfony/console/tree/v4.4.25"
+ },
"funding": [
{
"url": "https://symfony.com/sponsor",
"type": "tidelift"
}
],
- "time": "2020-09-02T07:07:21+00:00"
+ "time": "2021-05-26T11:20:16+00:00"
},
{
"name": "symfony/css-selector",
- "version": "v4.4.13",
+ "version": "v4.4.25",
"source": {
"type": "git",
"url": "https://github.com/symfony/css-selector.git",
- "reference": "bf17dc9f6ce144e41f786c32435feea4d8e11dcc"
+ "reference": "c1e29de6dc893b130b45d20d8051efbb040560a9"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/css-selector/zipball/bf17dc9f6ce144e41f786c32435feea4d8e11dcc",
- "reference": "bf17dc9f6ce144e41f786c32435feea4d8e11dcc",
+ "url": "https://api.github.com/repos/symfony/css-selector/zipball/c1e29de6dc893b130b45d20d8051efbb040560a9",
+ "reference": "c1e29de6dc893b130b45d20d8051efbb040560a9",
"shasum": ""
},
"require": {
"php": ">=7.1.3"
},
"type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.4-dev"
- }
- },
"autoload": {
"psr-4": {
"Symfony\\Component\\CssSelector\\": ""
"homepage": "https://symfony.com/contributors"
}
],
- "description": "Symfony CssSelector Component",
+ "description": "Converts CSS selectors to XPath expressions",
"homepage": "https://symfony.com",
+ "support": {
+ "source": "https://github.com/symfony/css-selector/tree/v4.4.25"
+ },
"funding": [
{
"url": "https://symfony.com/sponsor",
"type": "tidelift"
}
],
- "time": "2020-07-05T09:39:30+00:00"
+ "time": "2021-05-26T17:39:37+00:00"
},
{
"name": "symfony/debug",
- "version": "v4.4.13",
+ "version": "v4.4.25",
"source": {
"type": "git",
"url": "https://github.com/symfony/debug.git",
- "reference": "aeb73aca16a8f1fe958230fe44e6cf4c84cbb85e"
+ "reference": "a8d2d5c94438548bff9f998ca874e202bb29d07f"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/debug/zipball/aeb73aca16a8f1fe958230fe44e6cf4c84cbb85e",
- "reference": "aeb73aca16a8f1fe958230fe44e6cf4c84cbb85e",
+ "url": "https://api.github.com/repos/symfony/debug/zipball/a8d2d5c94438548bff9f998ca874e202bb29d07f",
+ "reference": "a8d2d5c94438548bff9f998ca874e202bb29d07f",
"shasum": ""
},
"require": {
"symfony/http-kernel": "^3.4|^4.0|^5.0"
},
"type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.4-dev"
- }
- },
"autoload": {
"psr-4": {
"Symfony\\Component\\Debug\\": ""
"homepage": "https://symfony.com/contributors"
}
],
- "description": "Symfony Debug Component",
+ "description": "Provides tools to ease debugging PHP code",
+ "homepage": "https://symfony.com",
+ "support": {
+ "source": "https://github.com/symfony/debug/tree/v4.4.25"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-05-26T17:39:37+00:00"
+ },
+ {
+ "name": "symfony/deprecation-contracts",
+ "version": "v2.4.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/deprecation-contracts.git",
+ "reference": "5f38c8804a9e97d23e0c8d63341088cd8a22d627"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/5f38c8804a9e97d23e0c8d63341088cd8a22d627",
+ "reference": "5f38c8804a9e97d23e0c8d63341088cd8a22d627",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.1"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "2.4-dev"
+ },
+ "thanks": {
+ "name": "symfony/contracts",
+ "url": "https://github.com/symfony/contracts"
+ }
+ },
+ "autoload": {
+ "files": [
+ "function.php"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Nicolas Grekas",
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "A generic function and convention to trigger deprecation notices",
"homepage": "https://symfony.com",
+ "support": {
+ "source": "https://github.com/symfony/deprecation-contracts/tree/v2.4.0"
+ },
"funding": [
{
"url": "https://symfony.com/sponsor",
"type": "tidelift"
}
],
- "time": "2020-08-10T07:47:39+00:00"
+ "time": "2021-03-23T23:28:01+00:00"
},
{
"name": "symfony/error-handler",
- "version": "v4.4.13",
+ "version": "v4.4.25",
"source": {
"type": "git",
"url": "https://github.com/symfony/error-handler.git",
- "reference": "2434fb32851f252e4f27691eee0b77c16198db62"
+ "reference": "310a756cec00d29d89a08518405aded046a54a8b"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/error-handler/zipball/2434fb32851f252e4f27691eee0b77c16198db62",
- "reference": "2434fb32851f252e4f27691eee0b77c16198db62",
+ "url": "https://api.github.com/repos/symfony/error-handler/zipball/310a756cec00d29d89a08518405aded046a54a8b",
+ "reference": "310a756cec00d29d89a08518405aded046a54a8b",
"shasum": ""
},
"require": {
"symfony/serializer": "^4.4|^5.0"
},
"type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.4-dev"
- }
- },
"autoload": {
"psr-4": {
"Symfony\\Component\\ErrorHandler\\": ""
"homepage": "https://symfony.com/contributors"
}
],
- "description": "Symfony ErrorHandler Component",
+ "description": "Provides tools to manage errors and ease debugging PHP code",
"homepage": "https://symfony.com",
+ "support": {
+ "source": "https://github.com/symfony/error-handler/tree/v4.4.25"
+ },
"funding": [
{
"url": "https://symfony.com/sponsor",
"type": "tidelift"
}
],
- "time": "2020-08-17T09:56:45+00:00"
+ "time": "2021-05-26T17:39:37+00:00"
},
{
"name": "symfony/event-dispatcher",
- "version": "v4.4.13",
+ "version": "v4.4.25",
"source": {
"type": "git",
"url": "https://github.com/symfony/event-dispatcher.git",
- "reference": "3e8ea5ccddd00556b86d69d42f99f1061a704030"
+ "reference": "047773e7016e4fd45102cedf4bd2558ae0d0c32f"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/3e8ea5ccddd00556b86d69d42f99f1061a704030",
- "reference": "3e8ea5ccddd00556b86d69d42f99f1061a704030",
+ "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/047773e7016e4fd45102cedf4bd2558ae0d0c32f",
+ "reference": "047773e7016e4fd45102cedf4bd2558ae0d0c32f",
"shasum": ""
},
"require": {
"psr/log": "~1.0",
"symfony/config": "^3.4|^4.0|^5.0",
"symfony/dependency-injection": "^3.4|^4.0|^5.0",
+ "symfony/error-handler": "~3.4|~4.4",
"symfony/expression-language": "^3.4|^4.0|^5.0",
"symfony/http-foundation": "^3.4|^4.0|^5.0",
"symfony/service-contracts": "^1.1|^2",
"symfony/http-kernel": ""
},
"type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.4-dev"
- }
- },
"autoload": {
"psr-4": {
"Symfony\\Component\\EventDispatcher\\": ""
"homepage": "https://symfony.com/contributors"
}
],
- "description": "Symfony EventDispatcher Component",
+ "description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them",
"homepage": "https://symfony.com",
+ "support": {
+ "source": "https://github.com/symfony/event-dispatcher/tree/v4.4.25"
+ },
"funding": [
{
"url": "https://symfony.com/sponsor",
"type": "tidelift"
}
],
- "time": "2020-08-13T14:18:44+00:00"
+ "time": "2021-05-26T17:39:37+00:00"
},
{
"name": "symfony/event-dispatcher-contracts",
"interoperability",
"standards"
],
+ "support": {
+ "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v1.1.9"
+ },
"funding": [
{
"url": "https://symfony.com/sponsor",
},
{
"name": "symfony/finder",
- "version": "v4.4.13",
+ "version": "v4.4.25",
"source": {
"type": "git",
"url": "https://github.com/symfony/finder.git",
- "reference": "2a78590b2c7e3de5c429628457c47541c58db9c7"
+ "reference": "ed33314396d968a8936c95f5bd1b88bd3b3e94a3"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/finder/zipball/2a78590b2c7e3de5c429628457c47541c58db9c7",
- "reference": "2a78590b2c7e3de5c429628457c47541c58db9c7",
+ "url": "https://api.github.com/repos/symfony/finder/zipball/ed33314396d968a8936c95f5bd1b88bd3b3e94a3",
+ "reference": "ed33314396d968a8936c95f5bd1b88bd3b3e94a3",
"shasum": ""
},
"require": {
"php": ">=7.1.3"
},
"type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.4-dev"
- }
- },
"autoload": {
"psr-4": {
"Symfony\\Component\\Finder\\": ""
"homepage": "https://symfony.com/contributors"
}
],
- "description": "Symfony Finder Component",
+ "description": "Finds files and directories via an intuitive fluent interface",
"homepage": "https://symfony.com",
+ "support": {
+ "source": "https://github.com/symfony/finder/tree/v4.4.25"
+ },
"funding": [
{
"url": "https://symfony.com/sponsor",
"type": "tidelift"
}
],
- "time": "2020-08-17T09:56:45+00:00"
+ "time": "2021-05-26T11:20:16+00:00"
},
{
- "name": "symfony/http-foundation",
- "version": "v4.4.13",
+ "name": "symfony/http-client-contracts",
+ "version": "v2.4.0",
"source": {
"type": "git",
- "url": "https://github.com/symfony/http-foundation.git",
- "reference": "e3e5a62a6631a461954d471e7206e3750dbe8ee1"
+ "url": "https://github.com/symfony/http-client-contracts.git",
+ "reference": "7e82f6084d7cae521a75ef2cb5c9457bbda785f4"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/http-foundation/zipball/e3e5a62a6631a461954d471e7206e3750dbe8ee1",
- "reference": "e3e5a62a6631a461954d471e7206e3750dbe8ee1",
+ "url": "https://api.github.com/repos/symfony/http-client-contracts/zipball/7e82f6084d7cae521a75ef2cb5c9457bbda785f4",
+ "reference": "7e82f6084d7cae521a75ef2cb5c9457bbda785f4",
"shasum": ""
},
"require": {
- "php": ">=7.1.3",
- "symfony/mime": "^4.3|^5.0",
- "symfony/polyfill-mbstring": "~1.1"
+ "php": ">=7.2.5"
},
- "require-dev": {
- "predis/predis": "~1.0",
- "symfony/expression-language": "^3.4|^4.0|^5.0"
+ "suggest": {
+ "symfony/http-client-implementation": ""
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "4.4-dev"
+ "dev-main": "2.4-dev"
+ },
+ "thanks": {
+ "name": "symfony/contracts",
+ "url": "https://github.com/symfony/contracts"
}
},
"autoload": {
"psr-4": {
- "Symfony\\Component\\HttpFoundation\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
+ "Symfony\\Contracts\\HttpClient\\": ""
+ }
},
"notification-url": "https://packagist.org/downloads/",
"license": [
],
"authors": [
{
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
},
{
"name": "Symfony Community",
"homepage": "https://symfony.com/contributors"
}
],
- "description": "Symfony HttpFoundation Component",
+ "description": "Generic abstractions related to HTTP clients",
"homepage": "https://symfony.com",
+ "keywords": [
+ "abstractions",
+ "contracts",
+ "decoupling",
+ "interfaces",
+ "interoperability",
+ "standards"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/http-client-contracts/tree/v2.4.0"
+ },
"funding": [
{
"url": "https://symfony.com/sponsor",
"type": "tidelift"
}
],
- "time": "2020-08-17T07:39:58+00:00"
+ "time": "2021-04-11T23:07:08+00:00"
},
{
- "name": "symfony/http-kernel",
- "version": "v4.4.13",
+ "name": "symfony/http-foundation",
+ "version": "v4.4.25",
"source": {
"type": "git",
- "url": "https://github.com/symfony/http-kernel.git",
- "reference": "2bb7b90ecdc79813c0bf237b7ff20e79062b5188"
+ "url": "https://github.com/symfony/http-foundation.git",
+ "reference": "0c79d5a65ace4fe66e49702658c024a419d2438b"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/http-kernel/zipball/2bb7b90ecdc79813c0bf237b7ff20e79062b5188",
- "reference": "2bb7b90ecdc79813c0bf237b7ff20e79062b5188",
+ "url": "https://api.github.com/repos/symfony/http-foundation/zipball/0c79d5a65ace4fe66e49702658c024a419d2438b",
+ "reference": "0c79d5a65ace4fe66e49702658c024a419d2438b",
"shasum": ""
},
"require": {
"php": ">=7.1.3",
- "psr/log": "~1.0",
- "symfony/error-handler": "^4.4",
- "symfony/event-dispatcher": "^4.4",
- "symfony/http-foundation": "^4.4|^5.0",
- "symfony/polyfill-ctype": "^1.8",
- "symfony/polyfill-php73": "^1.9",
+ "symfony/mime": "^4.3|^5.0",
+ "symfony/polyfill-mbstring": "~1.1",
"symfony/polyfill-php80": "^1.15"
},
- "conflict": {
- "symfony/browser-kit": "<4.3",
- "symfony/config": "<3.4",
- "symfony/console": ">=5",
- "symfony/dependency-injection": "<4.3",
- "symfony/translation": "<4.2",
- "twig/twig": "<1.34|<2.4,>=2"
- },
- "provide": {
- "psr/log-implementation": "1.0"
- },
"require-dev": {
- "psr/cache": "~1.0",
- "symfony/browser-kit": "^4.3|^5.0",
- "symfony/config": "^3.4|^4.0|^5.0",
- "symfony/console": "^3.4|^4.0",
+ "predis/predis": "~1.0",
+ "symfony/expression-language": "^3.4|^4.0|^5.0"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "Symfony\\Component\\HttpFoundation\\": ""
+ },
+ "exclude-from-classmap": [
+ "/Tests/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Fabien Potencier",
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Defines an object-oriented layer for the HTTP specification",
+ "homepage": "https://symfony.com",
+ "support": {
+ "source": "https://github.com/symfony/http-foundation/tree/v4.4.25"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-05-26T11:20:16+00:00"
+ },
+ {
+ "name": "symfony/http-kernel",
+ "version": "v4.4.25",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/http-kernel.git",
+ "reference": "3795165596fe81a52296b78c9aae938d434069cc"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/http-kernel/zipball/3795165596fe81a52296b78c9aae938d434069cc",
+ "reference": "3795165596fe81a52296b78c9aae938d434069cc",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.1.3",
+ "psr/log": "~1.0",
+ "symfony/error-handler": "^4.4",
+ "symfony/event-dispatcher": "^4.4",
+ "symfony/http-client-contracts": "^1.1|^2",
+ "symfony/http-foundation": "^4.4|^5.0",
+ "symfony/polyfill-ctype": "^1.8",
+ "symfony/polyfill-php73": "^1.9",
+ "symfony/polyfill-php80": "^1.15"
+ },
+ "conflict": {
+ "symfony/browser-kit": "<4.3",
+ "symfony/config": "<3.4",
+ "symfony/console": ">=5",
+ "symfony/dependency-injection": "<4.3",
+ "symfony/translation": "<4.2",
+ "twig/twig": "<1.43|<2.13,>=2"
+ },
+ "provide": {
+ "psr/log-implementation": "1.0"
+ },
+ "require-dev": {
+ "psr/cache": "^1.0|^2.0|^3.0",
+ "symfony/browser-kit": "^4.3|^5.0",
+ "symfony/config": "^3.4|^4.0|^5.0",
+ "symfony/console": "^3.4|^4.0",
"symfony/css-selector": "^3.4|^4.0|^5.0",
"symfony/dependency-injection": "^4.3|^5.0",
"symfony/dom-crawler": "^3.4|^4.0|^5.0",
"symfony/templating": "^3.4|^4.0|^5.0",
"symfony/translation": "^4.2|^5.0",
"symfony/translation-contracts": "^1.1|^2",
- "twig/twig": "^1.34|^2.4|^3.0"
+ "twig/twig": "^1.43|^2.13|^3.0.4"
},
"suggest": {
"symfony/browser-kit": "",
"symfony/dependency-injection": ""
},
"type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.4-dev"
- }
- },
"autoload": {
"psr-4": {
"Symfony\\Component\\HttpKernel\\": ""
"homepage": "https://symfony.com/contributors"
}
],
- "description": "Symfony HttpKernel Component",
+ "description": "Provides a structured process for converting a Request into a Response",
"homepage": "https://symfony.com",
+ "support": {
+ "source": "https://github.com/symfony/http-kernel/tree/v4.4.25"
+ },
"funding": [
{
"url": "https://symfony.com/sponsor",
"type": "tidelift"
}
],
- "time": "2020-09-02T08:09:29+00:00"
+ "time": "2021-06-01T07:12:08+00:00"
},
{
"name": "symfony/mime",
- "version": "v4.4.13",
+ "version": "v5.3.2",
"source": {
"type": "git",
"url": "https://github.com/symfony/mime.git",
- "reference": "50ad671306d3d3ffb888d95b4fb1859496831e3a"
+ "reference": "47dd7912152b82d0d4c8d9040dbc93d6232d472a"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/mime/zipball/50ad671306d3d3ffb888d95b4fb1859496831e3a",
- "reference": "50ad671306d3d3ffb888d95b4fb1859496831e3a",
+ "url": "https://api.github.com/repos/symfony/mime/zipball/47dd7912152b82d0d4c8d9040dbc93d6232d472a",
+ "reference": "47dd7912152b82d0d4c8d9040dbc93d6232d472a",
"shasum": ""
},
"require": {
- "php": ">=7.1.3",
+ "php": ">=7.2.5",
+ "symfony/deprecation-contracts": "^2.1",
"symfony/polyfill-intl-idn": "^1.10",
- "symfony/polyfill-mbstring": "^1.0"
+ "symfony/polyfill-mbstring": "^1.0",
+ "symfony/polyfill-php80": "^1.15"
},
"conflict": {
+ "egulias/email-validator": "~3.0.0",
+ "phpdocumentor/reflection-docblock": "<3.2.2",
+ "phpdocumentor/type-resolver": "<1.4.0",
"symfony/mailer": "<4.4"
},
"require-dev": {
- "egulias/email-validator": "^2.1.10",
- "symfony/dependency-injection": "^3.4|^4.1|^5.0"
+ "egulias/email-validator": "^2.1.10|^3.1",
+ "phpdocumentor/reflection-docblock": "^3.0|^4.0|^5.0",
+ "symfony/dependency-injection": "^4.4|^5.0",
+ "symfony/property-access": "^4.4|^5.1",
+ "symfony/property-info": "^4.4|^5.1",
+ "symfony/serializer": "^5.2"
},
"type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.4-dev"
- }
- },
"autoload": {
"psr-4": {
"Symfony\\Component\\Mime\\": ""
"homepage": "https://symfony.com/contributors"
}
],
- "description": "A library to manipulate MIME messages",
+ "description": "Allows manipulating MIME messages",
"homepage": "https://symfony.com",
"keywords": [
"mime",
"mime-type"
],
+ "support": {
+ "source": "https://github.com/symfony/mime/tree/v5.3.2"
+ },
"funding": [
{
"url": "https://symfony.com/sponsor",
"type": "tidelift"
}
],
- "time": "2020-08-17T09:56:45+00:00"
+ "time": "2021-06-09T10:58:01+00:00"
},
{
"name": "symfony/polyfill-ctype",
- "version": "v1.18.1",
+ "version": "v1.23.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-ctype.git",
- "reference": "1c302646f6efc070cd46856e600e5e0684d6b454"
+ "reference": "46cd95797e9df938fdd2b03693b5fca5e64b01ce"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/1c302646f6efc070cd46856e600e5e0684d6b454",
- "reference": "1c302646f6efc070cd46856e600e5e0684d6b454",
+ "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/46cd95797e9df938fdd2b03693b5fca5e64b01ce",
+ "reference": "46cd95797e9df938fdd2b03693b5fca5e64b01ce",
"shasum": ""
},
"require": {
- "php": ">=5.3.3"
+ "php": ">=7.1"
},
"suggest": {
"ext-ctype": "For best performance"
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.18-dev"
+ "dev-main": "1.23-dev"
},
"thanks": {
"name": "symfony/polyfill",
"polyfill",
"portable"
],
+ "support": {
+ "source": "https://github.com/symfony/polyfill-ctype/tree/v1.23.0"
+ },
"funding": [
{
"url": "https://symfony.com/sponsor",
"type": "tidelift"
}
],
- "time": "2020-07-14T12:35:20+00:00"
+ "time": "2021-02-19T12:13:01+00:00"
},
{
"name": "symfony/polyfill-iconv",
- "version": "v1.18.1",
+ "version": "v1.23.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-iconv.git",
- "reference": "6c2f78eb8f5ab8eaea98f6d414a5915f2e0fce36"
+ "reference": "63b5bb7db83e5673936d6e3b8b3e022ff6474933"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-iconv/zipball/6c2f78eb8f5ab8eaea98f6d414a5915f2e0fce36",
- "reference": "6c2f78eb8f5ab8eaea98f6d414a5915f2e0fce36",
+ "url": "https://api.github.com/repos/symfony/polyfill-iconv/zipball/63b5bb7db83e5673936d6e3b8b3e022ff6474933",
+ "reference": "63b5bb7db83e5673936d6e3b8b3e022ff6474933",
"shasum": ""
},
"require": {
- "php": ">=5.3.3"
+ "php": ">=7.1"
},
"suggest": {
"ext-iconv": "For best performance"
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.18-dev"
+ "dev-main": "1.23-dev"
},
"thanks": {
"name": "symfony/polyfill",
"portable",
"shim"
],
+ "support": {
+ "source": "https://github.com/symfony/polyfill-iconv/tree/v1.23.0"
+ },
"funding": [
{
"url": "https://symfony.com/sponsor",
"type": "tidelift"
}
],
- "time": "2020-07-14T12:35:20+00:00"
+ "time": "2021-05-27T09:27:20+00:00"
},
{
"name": "symfony/polyfill-intl-idn",
- "version": "v1.18.1",
+ "version": "v1.23.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-intl-idn.git",
- "reference": "5dcab1bc7146cf8c1beaa4502a3d9be344334251"
+ "reference": "65bd267525e82759e7d8c4e8ceea44f398838e65"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/5dcab1bc7146cf8c1beaa4502a3d9be344334251",
- "reference": "5dcab1bc7146cf8c1beaa4502a3d9be344334251",
+ "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/65bd267525e82759e7d8c4e8ceea44f398838e65",
+ "reference": "65bd267525e82759e7d8c4e8ceea44f398838e65",
"shasum": ""
},
"require": {
- "php": ">=5.3.3",
+ "php": ">=7.1",
"symfony/polyfill-intl-normalizer": "^1.10",
- "symfony/polyfill-php70": "^1.10",
"symfony/polyfill-php72": "^1.10"
},
"suggest": {
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.18-dev"
+ "dev-main": "1.23-dev"
},
"thanks": {
"name": "symfony/polyfill",
"portable",
"shim"
],
+ "support": {
+ "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.23.0"
+ },
"funding": [
{
"url": "https://symfony.com/sponsor",
"type": "tidelift"
}
],
- "time": "2020-08-04T06:02:08+00:00"
+ "time": "2021-05-27T09:27:20+00:00"
},
{
"name": "symfony/polyfill-intl-normalizer",
- "version": "v1.18.1",
+ "version": "v1.23.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-intl-normalizer.git",
- "reference": "37078a8dd4a2a1e9ab0231af7c6cb671b2ed5a7e"
+ "reference": "8590a5f561694770bdcd3f9b5c69dde6945028e8"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/37078a8dd4a2a1e9ab0231af7c6cb671b2ed5a7e",
- "reference": "37078a8dd4a2a1e9ab0231af7c6cb671b2ed5a7e",
+ "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/8590a5f561694770bdcd3f9b5c69dde6945028e8",
+ "reference": "8590a5f561694770bdcd3f9b5c69dde6945028e8",
"shasum": ""
},
"require": {
- "php": ">=5.3.3"
+ "php": ">=7.1"
},
"suggest": {
"ext-intl": "For best performance"
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.18-dev"
+ "dev-main": "1.23-dev"
},
"thanks": {
"name": "symfony/polyfill",
"portable",
"shim"
],
+ "support": {
+ "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.23.0"
+ },
"funding": [
{
"url": "https://symfony.com/sponsor",
"type": "tidelift"
}
],
- "time": "2020-07-14T12:35:20+00:00"
+ "time": "2021-02-19T12:13:01+00:00"
},
{
"name": "symfony/polyfill-mbstring",
- "version": "v1.18.1",
+ "version": "v1.23.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-mbstring.git",
- "reference": "a6977d63bf9a0ad4c65cd352709e230876f9904a"
+ "reference": "2df51500adbaebdc4c38dea4c89a2e131c45c8a1"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/a6977d63bf9a0ad4c65cd352709e230876f9904a",
- "reference": "a6977d63bf9a0ad4c65cd352709e230876f9904a",
+ "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/2df51500adbaebdc4c38dea4c89a2e131c45c8a1",
+ "reference": "2df51500adbaebdc4c38dea4c89a2e131c45c8a1",
"shasum": ""
},
"require": {
- "php": ">=5.3.3"
+ "php": ">=7.1"
},
"suggest": {
"ext-mbstring": "For best performance"
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.18-dev"
+ "dev-main": "1.23-dev"
},
"thanks": {
"name": "symfony/polyfill",
"portable",
"shim"
],
- "funding": [
- {
- "url": "https://symfony.com/sponsor",
- "type": "custom"
- },
- {
- "url": "https://github.com/fabpot",
- "type": "github"
- },
- {
- "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
- "type": "tidelift"
- }
- ],
- "time": "2020-07-14T12:35:20+00:00"
- },
- {
- "name": "symfony/polyfill-php70",
- "version": "v1.18.1",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-php70.git",
- "reference": "0dd93f2c578bdc9c72697eaa5f1dd25644e618d3"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-php70/zipball/0dd93f2c578bdc9c72697eaa5f1dd25644e618d3",
- "reference": "0dd93f2c578bdc9c72697eaa5f1dd25644e618d3",
- "shasum": ""
- },
- "require": {
- "paragonie/random_compat": "~1.0|~2.0|~9.99",
- "php": ">=5.3.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.18-dev"
- },
- "thanks": {
- "name": "symfony/polyfill",
- "url": "https://github.com/symfony/polyfill"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Php70\\": ""
- },
- "files": [
- "bootstrap.php"
- ],
- "classmap": [
- "Resources/stubs"
- ]
+ "support": {
+ "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.23.0"
},
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nicolas Grekas",
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony polyfill backporting some PHP 7.0+ features to lower PHP versions",
- "homepage": "https://symfony.com",
- "keywords": [
- "compatibility",
- "polyfill",
- "portable",
- "shim"
- ],
"funding": [
{
"url": "https://symfony.com/sponsor",
"type": "tidelift"
}
],
- "time": "2020-07-14T12:35:20+00:00"
+ "time": "2021-05-27T09:27:20+00:00"
},
{
"name": "symfony/polyfill-php72",
- "version": "v1.18.1",
+ "version": "v1.23.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-php72.git",
- "reference": "639447d008615574653fb3bc60d1986d7172eaae"
+ "reference": "9a142215a36a3888e30d0a9eeea9766764e96976"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/639447d008615574653fb3bc60d1986d7172eaae",
- "reference": "639447d008615574653fb3bc60d1986d7172eaae",
+ "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/9a142215a36a3888e30d0a9eeea9766764e96976",
+ "reference": "9a142215a36a3888e30d0a9eeea9766764e96976",
"shasum": ""
},
"require": {
- "php": ">=5.3.3"
+ "php": ">=7.1"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.18-dev"
+ "dev-main": "1.23-dev"
},
"thanks": {
"name": "symfony/polyfill",
"portable",
"shim"
],
+ "support": {
+ "source": "https://github.com/symfony/polyfill-php72/tree/v1.23.0"
+ },
"funding": [
{
"url": "https://symfony.com/sponsor",
"type": "tidelift"
}
],
- "time": "2020-07-14T12:35:20+00:00"
+ "time": "2021-05-27T09:17:38+00:00"
},
{
"name": "symfony/polyfill-php73",
- "version": "v1.18.1",
+ "version": "v1.23.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-php73.git",
- "reference": "fffa1a52a023e782cdcc221d781fe1ec8f87fcca"
+ "reference": "fba8933c384d6476ab14fb7b8526e5287ca7e010"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/fffa1a52a023e782cdcc221d781fe1ec8f87fcca",
- "reference": "fffa1a52a023e782cdcc221d781fe1ec8f87fcca",
+ "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/fba8933c384d6476ab14fb7b8526e5287ca7e010",
+ "reference": "fba8933c384d6476ab14fb7b8526e5287ca7e010",
"shasum": ""
},
"require": {
- "php": ">=5.3.3"
+ "php": ">=7.1"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.18-dev"
+ "dev-main": "1.23-dev"
},
"thanks": {
"name": "symfony/polyfill",
"portable",
"shim"
],
+ "support": {
+ "source": "https://github.com/symfony/polyfill-php73/tree/v1.23.0"
+ },
"funding": [
{
"url": "https://symfony.com/sponsor",
"type": "tidelift"
}
],
- "time": "2020-07-14T12:35:20+00:00"
+ "time": "2021-02-19T12:13:01+00:00"
},
{
"name": "symfony/polyfill-php80",
- "version": "v1.18.1",
+ "version": "v1.23.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-php80.git",
- "reference": "d87d5766cbf48d72388a9f6b85f280c8ad51f981"
+ "reference": "eca0bf41ed421bed1b57c4958bab16aa86b757d0"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/d87d5766cbf48d72388a9f6b85f280c8ad51f981",
- "reference": "d87d5766cbf48d72388a9f6b85f280c8ad51f981",
+ "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/eca0bf41ed421bed1b57c4958bab16aa86b757d0",
+ "reference": "eca0bf41ed421bed1b57c4958bab16aa86b757d0",
"shasum": ""
},
"require": {
- "php": ">=7.0.8"
+ "php": ">=7.1"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.18-dev"
+ "dev-main": "1.23-dev"
},
"thanks": {
"name": "symfony/polyfill",
"portable",
"shim"
],
+ "support": {
+ "source": "https://github.com/symfony/polyfill-php80/tree/v1.23.0"
+ },
"funding": [
{
"url": "https://symfony.com/sponsor",
"type": "tidelift"
}
],
- "time": "2020-07-14T12:35:20+00:00"
+ "time": "2021-02-19T12:13:01+00:00"
},
{
"name": "symfony/process",
- "version": "v4.4.13",
+ "version": "v4.4.25",
"source": {
"type": "git",
"url": "https://github.com/symfony/process.git",
- "reference": "65e70bab62f3da7089a8d4591fb23fbacacb3479"
+ "reference": "cd61e6dd273975c6625316de9d141ebd197f93c9"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/process/zipball/65e70bab62f3da7089a8d4591fb23fbacacb3479",
- "reference": "65e70bab62f3da7089a8d4591fb23fbacacb3479",
+ "url": "https://api.github.com/repos/symfony/process/zipball/cd61e6dd273975c6625316de9d141ebd197f93c9",
+ "reference": "cd61e6dd273975c6625316de9d141ebd197f93c9",
"shasum": ""
},
"require": {
"php": ">=7.1.3"
},
"type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.4-dev"
- }
- },
"autoload": {
"psr-4": {
"Symfony\\Component\\Process\\": ""
"homepage": "https://symfony.com/contributors"
}
],
- "description": "Symfony Process Component",
+ "description": "Executes commands in sub-processes",
"homepage": "https://symfony.com",
+ "support": {
+ "source": "https://github.com/symfony/process/tree/v4.4.25"
+ },
"funding": [
{
"url": "https://symfony.com/sponsor",
"type": "tidelift"
}
],
- "time": "2020-07-23T08:31:43+00:00"
+ "time": "2021-05-26T11:20:16+00:00"
},
{
"name": "symfony/routing",
- "version": "v4.4.13",
+ "version": "v4.4.25",
"source": {
"type": "git",
"url": "https://github.com/symfony/routing.git",
- "reference": "e3387963565da9bae51d1d3ab8041646cc93bd04"
+ "reference": "3a3c2f197ad0846ac6413225fc78868ba1c61434"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/routing/zipball/e3387963565da9bae51d1d3ab8041646cc93bd04",
- "reference": "e3387963565da9bae51d1d3ab8041646cc93bd04",
+ "url": "https://api.github.com/repos/symfony/routing/zipball/3a3c2f197ad0846ac6413225fc78868ba1c61434",
+ "reference": "3a3c2f197ad0846ac6413225fc78868ba1c61434",
"shasum": ""
},
"require": {
"symfony/yaml": "<3.4"
},
"require-dev": {
- "doctrine/annotations": "~1.2",
+ "doctrine/annotations": "^1.10.4",
"psr/log": "~1.0",
"symfony/config": "^4.2|^5.0",
"symfony/dependency-injection": "^3.4|^4.0|^5.0",
"symfony/yaml": "For using the YAML loader"
},
"type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.4-dev"
- }
- },
"autoload": {
"psr-4": {
"Symfony\\Component\\Routing\\": ""
"homepage": "https://symfony.com/contributors"
}
],
- "description": "Symfony Routing Component",
+ "description": "Maps an HTTP request to a set of configuration variables",
"homepage": "https://symfony.com",
"keywords": [
"router",
"uri",
"url"
],
+ "support": {
+ "source": "https://github.com/symfony/routing/tree/v4.4.25"
+ },
"funding": [
{
"url": "https://symfony.com/sponsor",
"type": "tidelift"
}
],
- "time": "2020-08-10T07:27:51+00:00"
+ "time": "2021-05-26T17:39:37+00:00"
},
{
"name": "symfony/service-contracts",
- "version": "v1.1.9",
+ "version": "v2.4.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/service-contracts.git",
- "reference": "b776d18b303a39f56c63747bcb977ad4b27aca26"
+ "reference": "f040a30e04b57fbcc9c6cbcf4dbaa96bd318b9bb"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/service-contracts/zipball/b776d18b303a39f56c63747bcb977ad4b27aca26",
- "reference": "b776d18b303a39f56c63747bcb977ad4b27aca26",
+ "url": "https://api.github.com/repos/symfony/service-contracts/zipball/f040a30e04b57fbcc9c6cbcf4dbaa96bd318b9bb",
+ "reference": "f040a30e04b57fbcc9c6cbcf4dbaa96bd318b9bb",
"shasum": ""
},
"require": {
- "php": ">=7.1.3",
- "psr/container": "^1.0"
+ "php": ">=7.2.5",
+ "psr/container": "^1.1"
},
"suggest": {
"symfony/service-implementation": ""
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.1-dev"
+ "dev-main": "2.4-dev"
},
"thanks": {
"name": "symfony/contracts",
"interoperability",
"standards"
],
+ "support": {
+ "source": "https://github.com/symfony/service-contracts/tree/v2.4.0"
+ },
"funding": [
{
"url": "https://symfony.com/sponsor",
"type": "tidelift"
}
],
- "time": "2020-07-06T13:19:58+00:00"
+ "time": "2021-04-01T10:43:52+00:00"
},
{
"name": "symfony/translation",
- "version": "v4.4.13",
+ "version": "v4.4.25",
"source": {
"type": "git",
"url": "https://github.com/symfony/translation.git",
- "reference": "700e6e50174b0cdcf0fa232773bec5c314680575"
+ "reference": "dfe132c5c6d89f90ce7f961742cc532e9ca16dd4"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/translation/zipball/700e6e50174b0cdcf0fa232773bec5c314680575",
- "reference": "700e6e50174b0cdcf0fa232773bec5c314680575",
+ "url": "https://api.github.com/repos/symfony/translation/zipball/dfe132c5c6d89f90ce7f961742cc532e9ca16dd4",
+ "reference": "dfe132c5c6d89f90ce7f961742cc532e9ca16dd4",
"shasum": ""
},
"require": {
"symfony/yaml": "<3.4"
},
"provide": {
- "symfony/translation-implementation": "1.0"
+ "symfony/translation-implementation": "1.0|2.0"
},
"require-dev": {
"psr/log": "~1.0",
"symfony/yaml": ""
},
"type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.4-dev"
- }
- },
"autoload": {
"psr-4": {
"Symfony\\Component\\Translation\\": ""
"homepage": "https://symfony.com/contributors"
}
],
- "description": "Symfony Translation Component",
+ "description": "Provides tools to internationalize your application",
"homepage": "https://symfony.com",
+ "support": {
+ "source": "https://github.com/symfony/translation/tree/v4.4.25"
+ },
"funding": [
{
"url": "https://symfony.com/sponsor",
"type": "tidelift"
}
],
- "time": "2020-08-17T09:56:45+00:00"
+ "time": "2021-05-26T17:39:37+00:00"
},
{
"name": "symfony/translation-contracts",
- "version": "v1.1.10",
+ "version": "v2.4.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/translation-contracts.git",
- "reference": "84180a25fad31e23bebd26ca09d89464f082cacc"
+ "reference": "95c812666f3e91db75385749fe219c5e494c7f95"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/84180a25fad31e23bebd26ca09d89464f082cacc",
- "reference": "84180a25fad31e23bebd26ca09d89464f082cacc",
+ "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/95c812666f3e91db75385749fe219c5e494c7f95",
+ "reference": "95c812666f3e91db75385749fe219c5e494c7f95",
"shasum": ""
},
"require": {
- "php": ">=7.1.3"
+ "php": ">=7.2.5"
},
"suggest": {
"symfony/translation-implementation": ""
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.1-dev"
+ "dev-main": "2.4-dev"
},
"thanks": {
"name": "symfony/contracts",
"interoperability",
"standards"
],
+ "support": {
+ "source": "https://github.com/symfony/translation-contracts/tree/v2.4.0"
+ },
"funding": [
{
"url": "https://symfony.com/sponsor",
"type": "tidelift"
}
],
- "time": "2020-09-02T16:08:58+00:00"
+ "time": "2021-03-23T23:28:01+00:00"
},
{
"name": "symfony/var-dumper",
- "version": "v4.4.13",
+ "version": "v4.4.25",
"source": {
"type": "git",
"url": "https://github.com/symfony/var-dumper.git",
- "reference": "1bef32329f3166486ab7cb88599cae4875632b99"
+ "reference": "31ea689a8e7d2410016b0d25fc15a1ba05a6e2e0"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/var-dumper/zipball/1bef32329f3166486ab7cb88599cae4875632b99",
- "reference": "1bef32329f3166486ab7cb88599cae4875632b99",
+ "url": "https://api.github.com/repos/symfony/var-dumper/zipball/31ea689a8e7d2410016b0d25fc15a1ba05a6e2e0",
+ "reference": "31ea689a8e7d2410016b0d25fc15a1ba05a6e2e0",
"shasum": ""
},
"require": {
"ext-iconv": "*",
"symfony/console": "^3.4|^4.0|^5.0",
"symfony/process": "^4.4|^5.0",
- "twig/twig": "^1.34|^2.4|^3.0"
+ "twig/twig": "^1.43|^2.13|^3.0.4"
},
"suggest": {
"ext-iconv": "To convert non-UTF-8 strings to UTF-8 (or symfony/polyfill-iconv in case ext-iconv cannot be used).",
"Resources/bin/var-dump-server"
],
"type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.4-dev"
- }
- },
"autoload": {
"files": [
"Resources/functions/dump.php"
"homepage": "https://symfony.com/contributors"
}
],
- "description": "Symfony mechanism for exploring and dumping PHP variables",
+ "description": "Provides mechanisms for walking through any arbitrary PHP variable",
"homepage": "https://symfony.com",
"keywords": [
"debug",
"dump"
],
+ "support": {
+ "source": "https://github.com/symfony/var-dumper/tree/v4.4.25"
+ },
"funding": [
{
"url": "https://symfony.com/sponsor",
"type": "tidelift"
}
],
- "time": "2020-08-17T07:31:35+00:00"
+ "time": "2021-05-27T09:48:32+00:00"
},
{
"name": "tijsverkoyen/css-to-inline-styles",
],
"description": "CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when you're sending emails.",
"homepage": "https://github.com/tijsverkoyen/CssToInlineStyles",
+ "support": {
+ "issues": "https://github.com/tijsverkoyen/CssToInlineStyles/issues",
+ "source": "https://github.com/tijsverkoyen/CssToInlineStyles/tree/2.2.3"
+ },
"time": "2020-07-13T06:12:54+00:00"
},
{
"name": "vlucas/phpdotenv",
- "version": "v3.6.7",
+ "version": "v3.6.8",
"source": {
"type": "git",
"url": "https://github.com/vlucas/phpdotenv.git",
- "reference": "2065beda6cbe75e2603686907b2e45f6f3a5ad82"
+ "reference": "5e679f7616db829358341e2d5cccbd18773bdab8"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/2065beda6cbe75e2603686907b2e45f6f3a5ad82",
- "reference": "2065beda6cbe75e2603686907b2e45f6f3a5ad82",
+ "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/5e679f7616db829358341e2d5cccbd18773bdab8",
+ "reference": "5e679f7616db829358341e2d5cccbd18773bdab8",
"shasum": ""
},
"require": {
"require-dev": {
"ext-filter": "*",
"ext-pcre": "*",
- "phpunit/phpunit": "^4.8.35 || ^5.7.27 || ^6.5.6 || ^7.0"
+ "phpunit/phpunit": "^4.8.36 || ^5.7.27 || ^6.5.14 || ^7.5.20"
},
"suggest": {
"ext-filter": "Required to use the boolean validator.",
"env",
"environment"
],
+ "support": {
+ "issues": "https://github.com/vlucas/phpdotenv/issues",
+ "source": "https://github.com/vlucas/phpdotenv/tree/v3.6.8"
+ },
"funding": [
{
"url": "https://github.com/GrahamCampbell",
"type": "tidelift"
}
],
- "time": "2020-07-14T19:04:52+00:00"
+ "time": "2021-01-20T14:39:46+00:00"
}
],
"packages-dev": [
{
"name": "barryvdh/laravel-debugbar",
- "version": "v3.5.1",
+ "version": "v3.6.2",
"source": {
"type": "git",
"url": "https://github.com/barryvdh/laravel-debugbar.git",
- "reference": "233c10688f4c1a6e66ed2ef123038b1363d1bedc"
+ "reference": "70b89754913fd89fef16d0170a91dbc2a5cd633a"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/barryvdh/laravel-debugbar/zipball/233c10688f4c1a6e66ed2ef123038b1363d1bedc",
- "reference": "233c10688f4c1a6e66ed2ef123038b1363d1bedc",
+ "url": "https://api.github.com/repos/barryvdh/laravel-debugbar/zipball/70b89754913fd89fef16d0170a91dbc2a5cd633a",
+ "reference": "70b89754913fd89fef16d0170a91dbc2a5cd633a",
"shasum": ""
},
"require": {
"symfony/finder": "^4.3|^5"
},
"require-dev": {
+ "mockery/mockery": "^1.3.3",
"orchestra/testbench-dusk": "^4|^5|^6",
"phpunit/phpunit": "^8.5|^9.0",
"squizlabs/php_codesniffer": "^3.5"
"profiler",
"webprofiler"
],
+ "support": {
+ "issues": "https://github.com/barryvdh/laravel-debugbar/issues",
+ "source": "https://github.com/barryvdh/laravel-debugbar/tree/v3.6.2"
+ },
"funding": [
+ {
+ "url": "https://fruitcake.nl",
+ "type": "custom"
+ },
{
"url": "https://github.com/barryvdh",
"type": "github"
}
],
- "time": "2020-09-07T19:32:39+00:00"
+ "time": "2021-06-14T14:29:26+00:00"
},
{
"name": "barryvdh/laravel-ide-helper",
- "version": "v2.8.1",
+ "version": "v2.8.2",
"source": {
"type": "git",
"url": "https://github.com/barryvdh/laravel-ide-helper.git",
- "reference": "affa55122f83575888d4ebf1728992686e8223de"
+ "reference": "5515cabea39b9cf55f98980d0f269dc9d85cfcca"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/barryvdh/laravel-ide-helper/zipball/affa55122f83575888d4ebf1728992686e8223de",
- "reference": "affa55122f83575888d4ebf1728992686e8223de",
+ "url": "https://api.github.com/repos/barryvdh/laravel-ide-helper/zipball/5515cabea39b9cf55f98980d0f269dc9d85cfcca",
+ "reference": "5515cabea39b9cf55f98980d0f269dc9d85cfcca",
"shasum": ""
},
"require": {
"barryvdh/reflection-docblock": "^2.0.6",
- "composer/composer": "^1.6 || ^2.0@dev",
+ "composer/composer": "^1.6 || ^2",
"doctrine/dbal": "~2.3",
"ext-json": "*",
"illuminate/console": "^6 || ^7 || ^8",
"phpdocumentor/type-resolver": "^1.1.0"
},
"require-dev": {
+ "ext-pdo_sqlite": "*",
"friendsofphp/php-cs-fixer": "^2",
"illuminate/config": "^6 || ^7 || ^8",
"illuminate/view": "^6 || ^7 || ^8",
- "mockery/mockery": "^1.3",
+ "mockery/mockery": "^1.3.3",
"orchestra/testbench": "^4 || ^5 || ^6",
"phpunit/phpunit": "^8.5 || ^9",
- "spatie/phpunit-snapshot-assertions": "^1.4 || ^2.2 || ^3",
+ "spatie/phpunit-snapshot-assertions": "^1.4 || ^2.2 || ^3 || ^4",
"vimeo/psalm": "^3.12"
},
"type": "library",
"phpstorm",
"sublime"
],
+ "support": {
+ "issues": "https://github.com/barryvdh/laravel-ide-helper/issues",
+ "source": "https://github.com/barryvdh/laravel-ide-helper/tree/v2.8.2"
+ },
"funding": [
{
"url": "https://github.com/barryvdh",
"type": "github"
}
],
- "time": "2020-09-07T07:36:37+00:00"
+ "time": "2020-12-06T08:55:05+00:00"
},
{
"name": "barryvdh/reflection-docblock",
}
],
+ "support": {
+ "source": "https://github.com/barryvdh/ReflectionDocBlock/tree/v2.0.6"
+ },
"time": "2018-12-13T10:34:14+00:00"
},
{
"name": "composer/ca-bundle",
- "version": "1.2.8",
+ "version": "1.2.10",
"source": {
"type": "git",
"url": "https://github.com/composer/ca-bundle.git",
- "reference": "8a7ecad675253e4654ea05505233285377405215"
+ "reference": "9fdb22c2e97a614657716178093cd1da90a64aa8"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/composer/ca-bundle/zipball/8a7ecad675253e4654ea05505233285377405215",
- "reference": "8a7ecad675253e4654ea05505233285377405215",
+ "url": "https://api.github.com/repos/composer/ca-bundle/zipball/9fdb22c2e97a614657716178093cd1da90a64aa8",
+ "reference": "9fdb22c2e97a614657716178093cd1da90a64aa8",
"shasum": ""
},
"require": {
"php": "^5.3.2 || ^7.0 || ^8.0"
},
"require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || 6.5 - 8",
+ "phpstan/phpstan": "^0.12.55",
"psr/log": "^1.0",
+ "symfony/phpunit-bridge": "^4.2 || ^5",
"symfony/process": "^2.5 || ^3.0 || ^4.0 || ^5.0"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.x-dev"
+ "dev-main": "1.x-dev"
}
},
"autoload": {
"ssl",
"tls"
],
+ "support": {
+ "irc": "irc://irc.freenode.org/composer",
+ "issues": "https://github.com/composer/ca-bundle/issues",
+ "source": "https://github.com/composer/ca-bundle/tree/1.2.10"
+ },
"funding": [
{
"url": "https://packagist.com",
"type": "tidelift"
}
],
- "time": "2020-08-23T12:54:47+00:00"
+ "time": "2021-06-07T13:58:28+00:00"
},
{
"name": "composer/composer",
- "version": "1.10.13",
+ "version": "2.1.3",
"source": {
"type": "git",
"url": "https://github.com/composer/composer.git",
- "reference": "47c841ba3b2d3fc0b4b13282cf029ea18b66d78b"
+ "reference": "fc5c4573aafce3a018eb7f1f8f91cea423970f2e"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/composer/composer/zipball/47c841ba3b2d3fc0b4b13282cf029ea18b66d78b",
- "reference": "47c841ba3b2d3fc0b4b13282cf029ea18b66d78b",
+ "url": "https://api.github.com/repos/composer/composer/zipball/fc5c4573aafce3a018eb7f1f8f91cea423970f2e",
+ "reference": "fc5c4573aafce3a018eb7f1f8f91cea423970f2e",
"shasum": ""
},
"require": {
"composer/ca-bundle": "^1.0",
- "composer/semver": "^1.0",
+ "composer/metadata-minifier": "^1.0",
+ "composer/semver": "^3.0",
"composer/spdx-licenses": "^1.2",
- "composer/xdebug-handler": "^1.1",
+ "composer/xdebug-handler": "^2.0",
"justinrainbow/json-schema": "^5.2.10",
- "php": "^5.3.2 || ^7.0",
+ "php": "^5.3.2 || ^7.0 || ^8.0",
"psr/log": "^1.0",
+ "react/promise": "^1.2 || ^2.7",
"seld/jsonlint": "^1.4",
"seld/phar-utils": "^1.0",
- "symfony/console": "^2.7 || ^3.0 || ^4.0 || ^5.0",
- "symfony/filesystem": "^2.7 || ^3.0 || ^4.0 || ^5.0",
- "symfony/finder": "^2.7 || ^3.0 || ^4.0 || ^5.0",
- "symfony/process": "^2.7 || ^3.0 || ^4.0 || ^5.0"
- },
- "conflict": {
- "symfony/console": "2.8.38"
+ "symfony/console": "^2.8.52 || ^3.4.35 || ^4.4 || ^5.0 || ^6.0",
+ "symfony/filesystem": "^2.8.52 || ^3.4.35 || ^4.4 || ^5.0 || ^6.0",
+ "symfony/finder": "^2.8.52 || ^3.4.35 || ^4.4 || ^5.0 || ^6.0",
+ "symfony/process": "^2.8.52 || ^3.4.35 || ^4.4 || ^5.0 || ^6.0"
},
"require-dev": {
"phpspec/prophecy": "^1.10",
- "symfony/phpunit-bridge": "^4.2"
+ "symfony/phpunit-bridge": "^4.2 || ^5.0 || ^6.0"
},
"suggest": {
"ext-openssl": "Enabling the openssl extension allows you to access https URLs for repositories and packages",
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.10-dev"
+ "dev-master": "2.1-dev"
}
},
"autoload": {
{
"name": "Nils Adermann",
- "homepage": "http://www.naderman.de"
+ "homepage": "https://www.naderman.de"
},
{
"name": "Jordi Boggiano",
- "homepage": "http://seld.be"
+ "homepage": "https://seld.be"
}
],
"description": "Composer helps you declare, manage and install dependencies of PHP projects. It ensures you have the right stack everywhere.",
"dependency",
"package"
],
+ "support": {
+ "irc": "irc://irc.freenode.org/composer",
+ "issues": "https://github.com/composer/composer/issues",
+ "source": "https://github.com/composer/composer/tree/2.1.3"
+ },
"funding": [
{
"url": "https://packagist.com",
"type": "tidelift"
}
],
- "time": "2020-09-09T09:46:34+00:00"
+ "time": "2021-06-09T14:31:20+00:00"
},
{
- "name": "composer/semver",
- "version": "1.7.0",
+ "name": "composer/metadata-minifier",
+ "version": "1.0.0",
"source": {
"type": "git",
- "url": "https://github.com/composer/semver.git",
- "reference": "114f819054a2ea7db03287f5efb757e2af6e4079"
+ "url": "https://github.com/composer/metadata-minifier.git",
+ "reference": "c549d23829536f0d0e984aaabbf02af91f443207"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/composer/semver/zipball/114f819054a2ea7db03287f5efb757e2af6e4079",
- "reference": "114f819054a2ea7db03287f5efb757e2af6e4079",
+ "url": "https://api.github.com/repos/composer/metadata-minifier/zipball/c549d23829536f0d0e984aaabbf02af91f443207",
+ "reference": "c549d23829536f0d0e984aaabbf02af91f443207",
"shasum": ""
},
"require": {
- "php": "^5.3.2 || ^7.0"
+ "php": "^5.3.2 || ^7.0 || ^8.0"
},
"require-dev": {
- "phpunit/phpunit": "^4.5 || ^5.0.5"
+ "composer/composer": "^2",
+ "phpstan/phpstan": "^0.12.55",
+ "symfony/phpunit-bridge": "^4.2 || ^5"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.x-dev"
+ "dev-main": "1.x-dev"
}
},
"autoload": {
"psr-4": {
- "Composer\\Semver\\": "src"
+ "Composer\\MetadataMinifier\\": "src"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Jordi Boggiano",
+ "homepage": "http://seld.be"
+ }
+ ],
+ "description": "Small utility library that handles metadata minification and expansion.",
+ "keywords": [
+ "composer",
+ "compression"
+ ],
+ "support": {
+ "issues": "https://github.com/composer/metadata-minifier/issues",
+ "source": "https://github.com/composer/metadata-minifier/tree/1.0.0"
+ },
+ "funding": [
+ {
+ "url": "https://packagist.com",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/composer",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/composer/composer",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-04-07T13:37:33+00:00"
+ },
+ {
+ "name": "composer/semver",
+ "version": "3.2.5",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/composer/semver.git",
+ "reference": "31f3ea725711245195f62e54ffa402d8ef2fdba9"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/composer/semver/zipball/31f3ea725711245195f62e54ffa402d8ef2fdba9",
+ "reference": "31f3ea725711245195f62e54ffa402d8ef2fdba9",
+ "shasum": ""
+ },
+ "require": {
+ "php": "^5.3.2 || ^7.0 || ^8.0"
+ },
+ "require-dev": {
+ "phpstan/phpstan": "^0.12.54",
+ "symfony/phpunit-bridge": "^4.2 || ^5"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "3.x-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Composer\\Semver\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"validation",
"versioning"
],
+ "support": {
+ "irc": "irc://irc.freenode.org/composer",
+ "issues": "https://github.com/composer/semver/issues",
+ "source": "https://github.com/composer/semver/tree/3.2.5"
+ },
"funding": [
{
"url": "https://packagist.com",
"type": "tidelift"
}
],
- "time": "2020-09-09T09:34:06+00:00"
+ "time": "2021-05-24T12:41:47+00:00"
},
{
"name": "composer/spdx-licenses",
- "version": "1.5.4",
+ "version": "1.5.5",
"source": {
"type": "git",
"url": "https://github.com/composer/spdx-licenses.git",
- "reference": "6946f785871e2314c60b4524851f3702ea4f2223"
+ "reference": "de30328a7af8680efdc03e396aad24befd513200"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/composer/spdx-licenses/zipball/6946f785871e2314c60b4524851f3702ea4f2223",
- "reference": "6946f785871e2314c60b4524851f3702ea4f2223",
+ "url": "https://api.github.com/repos/composer/spdx-licenses/zipball/de30328a7af8680efdc03e396aad24befd513200",
+ "reference": "de30328a7af8680efdc03e396aad24befd513200",
"shasum": ""
},
"require": {
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.x-dev"
+ "dev-main": "1.x-dev"
}
},
"autoload": {
"spdx",
"validator"
],
+ "support": {
+ "irc": "irc://irc.freenode.org/composer",
+ "issues": "https://github.com/composer/spdx-licenses/issues",
+ "source": "https://github.com/composer/spdx-licenses/tree/1.5.5"
+ },
"funding": [
{
"url": "https://packagist.com",
"type": "tidelift"
}
],
- "time": "2020-07-15T15:35:07+00:00"
+ "time": "2020-12-03T16:04:16+00:00"
},
{
"name": "composer/xdebug-handler",
- "version": "1.4.3",
+ "version": "2.0.1",
"source": {
"type": "git",
"url": "https://github.com/composer/xdebug-handler.git",
- "reference": "ebd27a9866ae8254e873866f795491f02418c5a5"
+ "reference": "964adcdd3a28bf9ed5d9ac6450064e0d71ed7496"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/ebd27a9866ae8254e873866f795491f02418c5a5",
- "reference": "ebd27a9866ae8254e873866f795491f02418c5a5",
+ "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/964adcdd3a28bf9ed5d9ac6450064e0d71ed7496",
+ "reference": "964adcdd3a28bf9ed5d9ac6450064e0d71ed7496",
"shasum": ""
},
"require": {
"psr/log": "^1.0"
},
"require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || 6.5 - 8"
+ "phpstan/phpstan": "^0.12.55",
+ "symfony/phpunit-bridge": "^4.2 || ^5"
},
"type": "library",
"autoload": {
"Xdebug",
"performance"
],
+ "support": {
+ "irc": "irc://irc.freenode.org/composer",
+ "issues": "https://github.com/composer/xdebug-handler/issues",
+ "source": "https://github.com/composer/xdebug-handler/tree/2.0.1"
+ },
"funding": [
{
"url": "https://packagist.com",
"type": "tidelift"
}
],
- "time": "2020-08-19T10:27:58+00:00"
+ "time": "2021-05-05T19:37:51+00:00"
},
{
"name": "doctrine/instantiator",
- "version": "1.3.1",
+ "version": "1.4.0",
"source": {
"type": "git",
"url": "https://github.com/doctrine/instantiator.git",
- "reference": "f350df0268e904597e3bd9c4685c53e0e333feea"
+ "reference": "d56bf6102915de5702778fe20f2de3b2fe570b5b"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/doctrine/instantiator/zipball/f350df0268e904597e3bd9c4685c53e0e333feea",
- "reference": "f350df0268e904597e3bd9c4685c53e0e333feea",
+ "url": "https://api.github.com/repos/doctrine/instantiator/zipball/d56bf6102915de5702778fe20f2de3b2fe570b5b",
+ "reference": "d56bf6102915de5702778fe20f2de3b2fe570b5b",
"shasum": ""
},
"require": {
"php": "^7.1 || ^8.0"
},
"require-dev": {
- "doctrine/coding-standard": "^6.0",
+ "doctrine/coding-standard": "^8.0",
"ext-pdo": "*",
"ext-phar": "*",
- "phpbench/phpbench": "^0.13",
- "phpstan/phpstan-phpunit": "^0.11",
- "phpstan/phpstan-shim": "^0.11",
- "phpunit/phpunit": "^7.0"
+ "phpbench/phpbench": "^0.13 || 1.0.0-alpha2",
+ "phpstan/phpstan": "^0.12",
+ "phpstan/phpstan-phpunit": "^0.12",
+ "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0"
},
"type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.2.x-dev"
- }
- },
"autoload": {
"psr-4": {
"Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
{
"name": "Marco Pivetta",
- "homepage": "http://ocramius.github.com/"
+ "homepage": "https://ocramius.github.io/"
}
],
"description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
"constructor",
"instantiate"
],
+ "support": {
+ "issues": "https://github.com/doctrine/instantiator/issues",
+ "source": "https://github.com/doctrine/instantiator/tree/1.4.0"
+ },
"funding": [
{
"url": "https://www.doctrine-project.org/sponsorship.html",
"type": "tidelift"
}
],
- "time": "2020-05-29T17:27:14+00:00"
+ "time": "2020-11-10T18:47:58+00:00"
},
{
- "name": "fzaninotto/faker",
- "version": "v1.9.1",
+ "name": "fakerphp/faker",
+ "version": "v1.14.1",
"source": {
"type": "git",
- "url": "https://github.com/fzaninotto/Faker.git",
- "reference": "fc10d778e4b84d5bd315dad194661e091d307c6f"
+ "url": "https://github.com/FakerPHP/Faker.git",
+ "reference": "ed22aee8d17c7b396f74a58b1e7fefa4f90d5ef1"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/fzaninotto/Faker/zipball/fc10d778e4b84d5bd315dad194661e091d307c6f",
- "reference": "fc10d778e4b84d5bd315dad194661e091d307c6f",
+ "url": "https://api.github.com/repos/FakerPHP/Faker/zipball/ed22aee8d17c7b396f74a58b1e7fefa4f90d5ef1",
+ "reference": "ed22aee8d17c7b396f74a58b1e7fefa4f90d5ef1",
"shasum": ""
},
"require": {
- "php": "^5.3.3 || ^7.0"
+ "php": "^7.1 || ^8.0",
+ "psr/container": "^1.0",
+ "symfony/deprecation-contracts": "^2.2"
+ },
+ "conflict": {
+ "fzaninotto/faker": "*"
},
"require-dev": {
+ "bamarni/composer-bin-plugin": "^1.4.1",
"ext-intl": "*",
- "phpunit/phpunit": "^4.8.35 || ^5.7",
- "squizlabs/php_codesniffer": "^2.9.2"
+ "symfony/phpunit-bridge": "^4.4 || ^5.2"
+ },
+ "suggest": {
+ "ext-curl": "Required by Faker\\Provider\\Image to download images.",
+ "ext-dom": "Required by Faker\\Provider\\HtmlLorem for generating random HTML.",
+ "ext-iconv": "Required by Faker\\Provider\\ru_RU\\Text::realText() for generating real Russian text.",
+ "ext-mbstring": "Required for multibyte Unicode string functionality."
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.9-dev"
+ "dev-main": "v1.15-dev"
}
},
"autoload": {
"faker",
"fixtures"
],
- "time": "2019-12-12T13:22:17+00:00"
+ "support": {
+ "issues": "https://github.com/FakerPHP/Faker/issues",
+ "source": "https://github.com/FakerPHP/Faker/tree/v.1.14.1"
+ },
+ "time": "2021-03-30T06:27:33+00:00"
},
{
"name": "hamcrest/hamcrest-php",
"keywords": [
"test"
],
+ "support": {
+ "issues": "https://github.com/hamcrest/hamcrest-php/issues",
+ "source": "https://github.com/hamcrest/hamcrest-php/tree/v2.0.1"
+ },
"time": "2020-07-09T08:09:16+00:00"
},
{
"json",
"schema"
],
+ "support": {
+ "issues": "https://github.com/justinrainbow/json-schema/issues",
+ "source": "https://github.com/justinrainbow/json-schema/tree/5.2.10"
+ },
"time": "2020-05-27T16:41:55+00:00"
},
{
"name": "laravel/browser-kit-testing",
- "version": "v5.1.4",
+ "version": "v5.2.0",
"source": {
"type": "git",
"url": "https://github.com/laravel/browser-kit-testing.git",
- "reference": "7664a30d2dbabcdb0315bfaa867fef2df8cb8fb1"
+ "reference": "fa0efb279c009e2a276f934f8aff946caf66edc7"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/laravel/browser-kit-testing/zipball/7664a30d2dbabcdb0315bfaa867fef2df8cb8fb1",
- "reference": "7664a30d2dbabcdb0315bfaa867fef2df8cb8fb1",
+ "url": "https://api.github.com/repos/laravel/browser-kit-testing/zipball/fa0efb279c009e2a276f934f8aff946caf66edc7",
+ "reference": "fa0efb279c009e2a276f934f8aff946caf66edc7",
"shasum": ""
},
"require": {
"illuminate/http": "~5.7.0|~5.8.0|^6.0",
"illuminate/support": "~5.7.0|~5.8.0|^6.0",
"mockery/mockery": "^1.0",
- "php": ">=7.1.3",
- "phpunit/phpunit": "^7.5|^8.0",
+ "php": "^7.1.3|^8.0",
+ "phpunit/phpunit": "^7.5|^8.0|^9.3",
"symfony/console": "^4.2",
"symfony/css-selector": "^4.2",
"symfony/dom-crawler": "^4.2",
"laravel",
"testing"
],
- "time": "2020-08-25T16:54:44+00:00"
+ "support": {
+ "issues": "https://github.com/laravel/browser-kit-testing/issues",
+ "source": "https://github.com/laravel/browser-kit-testing/tree/v5.2.0"
+ },
+ "time": "2020-10-30T08:49:09+00:00"
},
{
"name": "maximebf/debugbar",
- "version": "v1.16.3",
+ "version": "v1.16.5",
"source": {
"type": "git",
"url": "https://github.com/maximebf/php-debugbar.git",
- "reference": "1a1605b8e9bacb34cc0c6278206d699772e1d372"
+ "reference": "6d51ee9e94cff14412783785e79a4e7ef97b9d62"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/maximebf/php-debugbar/zipball/1a1605b8e9bacb34cc0c6278206d699772e1d372",
- "reference": "1a1605b8e9bacb34cc0c6278206d699772e1d372",
+ "url": "https://api.github.com/repos/maximebf/php-debugbar/zipball/6d51ee9e94cff14412783785e79a4e7ef97b9d62",
+ "reference": "6d51ee9e94cff14412783785e79a4e7ef97b9d62",
"shasum": ""
},
"require": {
- "php": "^7.1",
+ "php": "^7.1|^8",
"psr/log": "^1.0",
"symfony/var-dumper": "^2.6|^3|^4|^5"
},
"require-dev": {
- "phpunit/phpunit": "^5"
+ "phpunit/phpunit": "^7.5.20 || ^9.4.2"
},
"suggest": {
"kriswallsmith/assetic": "The best way to manage assets",
"debug",
"debugbar"
],
- "time": "2020-05-06T07:06:27+00:00"
+ "support": {
+ "issues": "https://github.com/maximebf/php-debugbar/issues",
+ "source": "https://github.com/maximebf/php-debugbar/tree/v1.16.5"
+ },
+ "time": "2020-12-07T11:07:24+00:00"
},
{
"name": "mockery/mockery",
- "version": "1.3.3",
+ "version": "1.4.3",
"source": {
"type": "git",
"url": "https://github.com/mockery/mockery.git",
- "reference": "60fa2f67f6e4d3634bb4a45ff3171fa52215800d"
+ "reference": "d1339f64479af1bee0e82a0413813fe5345a54ea"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/mockery/mockery/zipball/60fa2f67f6e4d3634bb4a45ff3171fa52215800d",
- "reference": "60fa2f67f6e4d3634bb4a45ff3171fa52215800d",
+ "url": "https://api.github.com/repos/mockery/mockery/zipball/d1339f64479af1bee0e82a0413813fe5345a54ea",
+ "reference": "d1339f64479af1bee0e82a0413813fe5345a54ea",
"shasum": ""
},
"require": {
"hamcrest/hamcrest-php": "^2.0.1",
"lib-pcre": ">=7.0",
- "php": ">=5.6.0"
+ "php": "^7.3 || ^8.0"
+ },
+ "conflict": {
+ "phpunit/phpunit": "<8.0"
},
"require-dev": {
- "phpunit/phpunit": "^5.7.10|^6.5|^7.5|^8.5|^9.3"
+ "phpunit/phpunit": "^8.5 || ^9.3"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.3.x-dev"
+ "dev-master": "1.4.x-dev"
}
},
"autoload": {
"test double",
"testing"
],
- "time": "2020-08-11T18:10:21+00:00"
+ "support": {
+ "issues": "https://github.com/mockery/mockery/issues",
+ "source": "https://github.com/mockery/mockery/tree/1.4.3"
+ },
+ "time": "2021-02-24T09:51:49+00:00"
},
{
"name": "myclabs/deep-copy",
- "version": "1.10.1",
+ "version": "1.10.2",
"source": {
"type": "git",
"url": "https://github.com/myclabs/DeepCopy.git",
- "reference": "969b211f9a51aa1f6c01d1d2aef56d3bd91598e5"
+ "reference": "776f831124e9c62e1a2c601ecc52e776d8bb7220"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/969b211f9a51aa1f6c01d1d2aef56d3bd91598e5",
- "reference": "969b211f9a51aa1f6c01d1d2aef56d3bd91598e5",
+ "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/776f831124e9c62e1a2c601ecc52e776d8bb7220",
+ "reference": "776f831124e9c62e1a2c601ecc52e776d8bb7220",
"shasum": ""
},
"require": {
"object",
"object graph"
],
+ "support": {
+ "issues": "https://github.com/myclabs/DeepCopy/issues",
+ "source": "https://github.com/myclabs/DeepCopy/tree/1.10.2"
+ },
"funding": [
{
"url": "https://tidelift.com/funding/github/packagist/myclabs/deep-copy",
"type": "tidelift"
}
],
- "time": "2020-06-29T13:22:24+00:00"
+ "time": "2020-11-13T09:40:50+00:00"
+ },
+ {
+ "name": "nikic/php-parser",
+ "version": "v4.10.5",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/nikic/PHP-Parser.git",
+ "reference": "4432ba399e47c66624bc73c8c0f811e5c109576f"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/4432ba399e47c66624bc73c8c0f811e5c109576f",
+ "reference": "4432ba399e47c66624bc73c8c0f811e5c109576f",
+ "shasum": ""
+ },
+ "require": {
+ "ext-tokenizer": "*",
+ "php": ">=7.0"
+ },
+ "require-dev": {
+ "ircmaxell/php-yacc": "^0.0.7",
+ "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0"
+ },
+ "bin": [
+ "bin/php-parse"
+ ],
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "4.9-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "PhpParser\\": "lib/PhpParser"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Nikita Popov"
+ }
+ ],
+ "description": "A PHP parser written in PHP",
+ "keywords": [
+ "parser",
+ "php"
+ ],
+ "support": {
+ "issues": "https://github.com/nikic/PHP-Parser/issues",
+ "source": "https://github.com/nikic/PHP-Parser/tree/v4.10.5"
+ },
+ "time": "2021-05-03T19:11:20+00:00"
},
{
"name": "phar-io/manifest",
- "version": "1.0.3",
+ "version": "2.0.1",
"source": {
"type": "git",
"url": "https://github.com/phar-io/manifest.git",
- "reference": "7761fcacf03b4d4f16e7ccb606d4879ca431fcf4"
+ "reference": "85265efd3af7ba3ca4b2a2c34dbfc5788dd29133"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phar-io/manifest/zipball/7761fcacf03b4d4f16e7ccb606d4879ca431fcf4",
- "reference": "7761fcacf03b4d4f16e7ccb606d4879ca431fcf4",
+ "url": "https://api.github.com/repos/phar-io/manifest/zipball/85265efd3af7ba3ca4b2a2c34dbfc5788dd29133",
+ "reference": "85265efd3af7ba3ca4b2a2c34dbfc5788dd29133",
"shasum": ""
},
"require": {
"ext-dom": "*",
"ext-phar": "*",
- "phar-io/version": "^2.0",
- "php": "^5.6 || ^7.0"
+ "ext-xmlwriter": "*",
+ "phar-io/version": "^3.0.1",
+ "php": "^7.2 || ^8.0"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.0.x-dev"
+ "dev-master": "2.0.x-dev"
}
},
"autoload": {
"authors": [
{
"name": "Arne Blankerts",
- "role": "Developer",
+ "role": "Developer"
},
{
"name": "Sebastian Heuer",
- "role": "Developer",
+ "role": "Developer"
},
{
"name": "Sebastian Bergmann",
- "role": "Developer",
+ "role": "Developer"
}
],
"description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)",
- "time": "2018-07-08T19:23:20+00:00"
+ "support": {
+ "issues": "https://github.com/phar-io/manifest/issues",
+ "source": "https://github.com/phar-io/manifest/tree/master"
+ },
+ "time": "2020-06-27T14:33:11+00:00"
},
{
"name": "phar-io/version",
- "version": "2.0.1",
+ "version": "3.1.0",
"source": {
"type": "git",
"url": "https://github.com/phar-io/version.git",
- "reference": "45a2ec53a73c70ce41d55cedef9063630abaf1b6"
+ "reference": "bae7c545bef187884426f042434e561ab1ddb182"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phar-io/version/zipball/45a2ec53a73c70ce41d55cedef9063630abaf1b6",
- "reference": "45a2ec53a73c70ce41d55cedef9063630abaf1b6",
+ "url": "https://api.github.com/repos/phar-io/version/zipball/bae7c545bef187884426f042434e561ab1ddb182",
+ "reference": "bae7c545bef187884426f042434e561ab1ddb182",
"shasum": ""
},
"require": {
- "php": "^5.6 || ^7.0"
+ "php": "^7.2 || ^8.0"
},
"type": "library",
"autoload": {
}
],
"description": "Library for handling version information and constraints",
- "time": "2018-07-08T19:19:57+00:00"
+ "support": {
+ "issues": "https://github.com/phar-io/version/issues",
+ "source": "https://github.com/phar-io/version/tree/3.1.0"
+ },
+ "time": "2021-02-23T14:00:09+00:00"
},
{
"name": "phpdocumentor/reflection-common",
"reflection",
"static analysis"
],
+ "support": {
+ "issues": "https://github.com/phpDocumentor/ReflectionCommon/issues",
+ "source": "https://github.com/phpDocumentor/ReflectionCommon/tree/2.x"
+ },
"time": "2020-06-27T09:03:43+00:00"
},
{
}
],
"description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
+ "support": {
+ "issues": "https://github.com/phpDocumentor/ReflectionDocBlock/issues",
+ "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/master"
+ },
"time": "2020-09-03T19:13:55+00:00"
},
{
}
],
"description": "A PSR-5 based resolver of Class names, Types and Structural Element Names",
- "time": "2020-09-17T18:55:26+00:00"
- },
- {
- "name": "phploc/phploc",
- "version": "5.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phploc.git",
- "reference": "5b714ccb7cb8ca29ccf9caf6eb1aed0131d3a884"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phploc/zipball/5b714ccb7cb8ca29ccf9caf6eb1aed0131d3a884",
- "reference": "5b714ccb7cb8ca29ccf9caf6eb1aed0131d3a884",
- "shasum": ""
- },
- "require": {
- "php": "^7.2",
- "sebastian/finder-facade": "^1.1",
- "sebastian/version": "^2.0",
- "symfony/console": "^4.0"
- },
- "bin": [
- "phploc"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "5.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
+ "support": {
+ "issues": "https://github.com/phpDocumentor/TypeResolver/issues",
+ "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.4.0"
},
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "role": "lead"
- }
- ],
- "description": "A tool for quickly measuring the size of a PHP project.",
- "homepage": "https://github.com/sebastianbergmann/phploc",
- "time": "2019-03-16T10:41:19+00:00"
+ "time": "2020-09-17T18:55:26+00:00"
},
{
"name": "phpspec/prophecy",
- "version": "1.11.1",
+ "version": "1.13.0",
"source": {
"type": "git",
"url": "https://github.com/phpspec/prophecy.git",
- "reference": "b20034be5efcdab4fb60ca3a29cba2949aead160"
+ "reference": "be1996ed8adc35c3fd795488a653f4b518be70ea"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phpspec/prophecy/zipball/b20034be5efcdab4fb60ca3a29cba2949aead160",
- "reference": "b20034be5efcdab4fb60ca3a29cba2949aead160",
+ "url": "https://api.github.com/repos/phpspec/prophecy/zipball/be1996ed8adc35c3fd795488a653f4b518be70ea",
+ "reference": "be1996ed8adc35c3fd795488a653f4b518be70ea",
"shasum": ""
},
"require": {
"doctrine/instantiator": "^1.2",
- "php": "^7.2",
- "phpdocumentor/reflection-docblock": "^5.0",
+ "php": "^7.2 || ~8.0, <8.1",
+ "phpdocumentor/reflection-docblock": "^5.2",
"sebastian/comparator": "^3.0 || ^4.0",
"sebastian/recursion-context": "^3.0 || ^4.0"
},
"require-dev": {
"phpspec/phpspec": "^6.0",
- "phpunit/phpunit": "^8.0"
+ "phpunit/phpunit": "^8.0 || ^9.0"
},
"type": "library",
"extra": {
"spy",
"stub"
],
- "time": "2020-07-08T12:44:21+00:00"
+ "support": {
+ "issues": "https://github.com/phpspec/prophecy/issues",
+ "source": "https://github.com/phpspec/prophecy/tree/1.13.0"
+ },
+ "time": "2021-03-17T13:42:18+00:00"
},
{
"name": "phpunit/php-code-coverage",
- "version": "7.0.10",
+ "version": "9.2.6",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/php-code-coverage.git",
- "reference": "f1884187926fbb755a9aaf0b3836ad3165b478bf"
+ "reference": "f6293e1b30a2354e8428e004689671b83871edde"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/f1884187926fbb755a9aaf0b3836ad3165b478bf",
- "reference": "f1884187926fbb755a9aaf0b3836ad3165b478bf",
+ "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/f6293e1b30a2354e8428e004689671b83871edde",
+ "reference": "f6293e1b30a2354e8428e004689671b83871edde",
"shasum": ""
},
"require": {
"ext-dom": "*",
+ "ext-libxml": "*",
"ext-xmlwriter": "*",
- "php": "^7.2",
- "phpunit/php-file-iterator": "^2.0.2",
- "phpunit/php-text-template": "^1.2.1",
- "phpunit/php-token-stream": "^3.1.1",
- "sebastian/code-unit-reverse-lookup": "^1.0.1",
- "sebastian/environment": "^4.2.2",
- "sebastian/version": "^2.0.1",
- "theseer/tokenizer": "^1.1.3"
+ "nikic/php-parser": "^4.10.2",
+ "php": ">=7.3",
+ "phpunit/php-file-iterator": "^3.0.3",
+ "phpunit/php-text-template": "^2.0.2",
+ "sebastian/code-unit-reverse-lookup": "^2.0.2",
+ "sebastian/complexity": "^2.0",
+ "sebastian/environment": "^5.1.2",
+ "sebastian/lines-of-code": "^1.0.3",
+ "sebastian/version": "^3.0.1",
+ "theseer/tokenizer": "^1.2.0"
},
"require-dev": {
- "phpunit/phpunit": "^8.2.2"
+ "phpunit/phpunit": "^9.3"
},
"suggest": {
- "ext-xdebug": "^2.7.2"
+ "ext-pcov": "*",
+ "ext-xdebug": "*"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "7.0-dev"
+ "dev-master": "9.2-dev"
}
},
"autoload": {
"testing",
"xunit"
],
- "time": "2019-11-20T13:55:58+00:00"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues",
+ "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.6"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2021-03-28T07:26:59+00:00"
},
{
"name": "phpunit/php-file-iterator",
- "version": "2.0.2",
+ "version": "3.0.5",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/php-file-iterator.git",
- "reference": "050bedf145a257b1ff02746c31894800e5122946"
+ "reference": "aa4be8575f26070b100fccb67faabb28f21f66f8"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/050bedf145a257b1ff02746c31894800e5122946",
- "reference": "050bedf145a257b1ff02746c31894800e5122946",
+ "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/aa4be8575f26070b100fccb67faabb28f21f66f8",
+ "reference": "aa4be8575f26070b100fccb67faabb28f21f66f8",
"shasum": ""
},
"require": {
- "php": "^7.1"
+ "php": ">=7.3"
},
"require-dev": {
- "phpunit/phpunit": "^7.1"
+ "phpunit/phpunit": "^9.3"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "2.0.x-dev"
+ "dev-master": "3.0-dev"
}
},
"autoload": {
"filesystem",
"iterator"
],
- "time": "2018-09-13T20:33:42+00:00"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues",
+ "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/3.0.5"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-09-28T05:57:25+00:00"
},
{
- "name": "phpunit/php-text-template",
- "version": "1.2.1",
+ "name": "phpunit/php-invoker",
+ "version": "3.1.1",
"source": {
"type": "git",
- "url": "https://github.com/sebastianbergmann/php-text-template.git",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686"
+ "url": "https://github.com/sebastianbergmann/php-invoker.git",
+ "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
+ "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/5a10147d0aaf65b58940a0b72f71c9ac0423cc67",
+ "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67",
"shasum": ""
},
"require": {
- "php": ">=5.3.3"
+ "php": ">=7.3"
+ },
+ "require-dev": {
+ "ext-pcntl": "*",
+ "phpunit/phpunit": "^9.3"
+ },
+ "suggest": {
+ "ext-pcntl": "*"
},
"type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "3.1-dev"
+ }
+ },
"autoload": {
"classmap": [
"src/"
"role": "lead"
}
],
- "description": "Simple template engine.",
- "homepage": "https://github.com/sebastianbergmann/php-text-template/",
+ "description": "Invoke callables with a timeout",
+ "homepage": "https://github.com/sebastianbergmann/php-invoker/",
"keywords": [
- "template"
+ "process"
],
- "time": "2015-06-21T13:50:34+00:00"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/php-invoker/issues",
+ "source": "https://github.com/sebastianbergmann/php-invoker/tree/3.1.1"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-09-28T05:58:55+00:00"
},
{
- "name": "phpunit/php-timer",
- "version": "2.1.2",
+ "name": "phpunit/php-text-template",
+ "version": "2.0.4",
"source": {
"type": "git",
- "url": "https://github.com/sebastianbergmann/php-timer.git",
- "reference": "1038454804406b0b5f5f520358e78c1c2f71501e"
+ "url": "https://github.com/sebastianbergmann/php-text-template.git",
+ "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/1038454804406b0b5f5f520358e78c1c2f71501e",
- "reference": "1038454804406b0b5f5f520358e78c1c2f71501e",
+ "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28",
+ "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28",
"shasum": ""
},
"require": {
- "php": "^7.1"
+ "php": ">=7.3"
},
"require-dev": {
- "phpunit/phpunit": "^7.0"
+ "phpunit/phpunit": "^9.3"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "2.1-dev"
+ "dev-master": "2.0-dev"
}
},
"autoload": {
"role": "lead"
}
],
- "description": "Utility class for timing",
- "homepage": "https://github.com/sebastianbergmann/php-timer/",
+ "description": "Simple template engine.",
+ "homepage": "https://github.com/sebastianbergmann/php-text-template/",
"keywords": [
- "timer"
+ "template"
],
- "time": "2019-06-07T04:22:29+00:00"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/php-text-template/issues",
+ "source": "https://github.com/sebastianbergmann/php-text-template/tree/2.0.4"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-10-26T05:33:50+00:00"
},
{
- "name": "phpunit/php-token-stream",
- "version": "3.1.1",
+ "name": "phpunit/php-timer",
+ "version": "5.0.3",
"source": {
"type": "git",
- "url": "https://github.com/sebastianbergmann/php-token-stream.git",
- "reference": "995192df77f63a59e47f025390d2d1fdf8f425ff"
+ "url": "https://github.com/sebastianbergmann/php-timer.git",
+ "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/995192df77f63a59e47f025390d2d1fdf8f425ff",
- "reference": "995192df77f63a59e47f025390d2d1fdf8f425ff",
+ "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2",
+ "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2",
"shasum": ""
},
"require": {
- "ext-tokenizer": "*",
- "php": "^7.1"
+ "php": ">=7.3"
},
"require-dev": {
- "phpunit/phpunit": "^7.0"
+ "phpunit/phpunit": "^9.3"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "3.1-dev"
+ "dev-master": "5.0-dev"
}
},
"autoload": {
"authors": [
{
"name": "Sebastian Bergmann",
+ "role": "lead"
}
],
- "description": "Wrapper around PHP's tokenizer extension.",
- "homepage": "https://github.com/sebastianbergmann/php-token-stream/",
+ "description": "Utility class for timing",
+ "homepage": "https://github.com/sebastianbergmann/php-timer/",
"keywords": [
- "tokenizer"
+ "timer"
+ ],
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/php-timer/issues",
+ "source": "https://github.com/sebastianbergmann/php-timer/tree/5.0.3"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
],
- "time": "2019-09-17T06:23:10+00:00"
+ "time": "2020-10-26T13:16:10+00:00"
},
{
"name": "phpunit/phpunit",
- "version": "8.5.8",
+ "version": "9.5.5",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "34c18baa6a44f1d1fbf0338907139e9dce95b997"
+ "reference": "89ff45ea9d70e35522fb6654a2ebc221158de276"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/34c18baa6a44f1d1fbf0338907139e9dce95b997",
- "reference": "34c18baa6a44f1d1fbf0338907139e9dce95b997",
+ "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/89ff45ea9d70e35522fb6654a2ebc221158de276",
+ "reference": "89ff45ea9d70e35522fb6654a2ebc221158de276",
"shasum": ""
},
"require": {
- "doctrine/instantiator": "^1.2.0",
+ "doctrine/instantiator": "^1.3.1",
"ext-dom": "*",
"ext-json": "*",
"ext-libxml": "*",
"ext-mbstring": "*",
"ext-xml": "*",
"ext-xmlwriter": "*",
- "myclabs/deep-copy": "^1.9.1",
- "phar-io/manifest": "^1.0.3",
- "phar-io/version": "^2.0.1",
- "php": "^7.2",
- "phpspec/prophecy": "^1.8.1",
- "phpunit/php-code-coverage": "^7.0.7",
- "phpunit/php-file-iterator": "^2.0.2",
- "phpunit/php-text-template": "^1.2.1",
- "phpunit/php-timer": "^2.1.2",
- "sebastian/comparator": "^3.0.2",
- "sebastian/diff": "^3.0.2",
- "sebastian/environment": "^4.2.2",
- "sebastian/exporter": "^3.1.1",
- "sebastian/global-state": "^3.0.0",
- "sebastian/object-enumerator": "^3.0.3",
- "sebastian/resource-operations": "^2.0.1",
- "sebastian/type": "^1.1.3",
- "sebastian/version": "^2.0.1"
+ "myclabs/deep-copy": "^1.10.1",
+ "phar-io/manifest": "^2.0.1",
+ "phar-io/version": "^3.0.2",
+ "php": ">=7.3",
+ "phpspec/prophecy": "^1.12.1",
+ "phpunit/php-code-coverage": "^9.2.3",
+ "phpunit/php-file-iterator": "^3.0.5",
+ "phpunit/php-invoker": "^3.1.1",
+ "phpunit/php-text-template": "^2.0.3",
+ "phpunit/php-timer": "^5.0.2",
+ "sebastian/cli-parser": "^1.0.1",
+ "sebastian/code-unit": "^1.0.6",
+ "sebastian/comparator": "^4.0.5",
+ "sebastian/diff": "^4.0.3",
+ "sebastian/environment": "^5.1.3",
+ "sebastian/exporter": "^4.0.3",
+ "sebastian/global-state": "^5.0.1",
+ "sebastian/object-enumerator": "^4.0.3",
+ "sebastian/resource-operations": "^3.0.3",
+ "sebastian/type": "^2.3.2",
+ "sebastian/version": "^3.0.2"
},
"require-dev": {
- "ext-pdo": "*"
+ "ext-pdo": "*",
+ "phpspec/prophecy-phpunit": "^2.0.1"
},
"suggest": {
"ext-soap": "*",
- "ext-xdebug": "*",
- "phpunit/php-invoker": "^2.0.0"
+ "ext-xdebug": "*"
},
"bin": [
"phpunit"
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "8.5-dev"
+ "dev-master": "9.5-dev"
}
},
"autoload": {
"classmap": [
"src/"
+ ],
+ "files": [
+ "src/Framework/Assert/Functions.php"
]
},
"notification-url": "https://packagist.org/downloads/",
"testing",
"xunit"
],
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/phpunit/issues",
+ "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.5"
+ },
"funding": [
{
"url": "https://phpunit.de/donate.html",
"type": "github"
}
],
- "time": "2020-06-22T07:06:58+00:00"
+ "time": "2021-06-05T04:49:07+00:00"
},
{
- "name": "sebastian/code-unit-reverse-lookup",
+ "name": "react/promise",
+ "version": "v2.8.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/reactphp/promise.git",
+ "reference": "f3cff96a19736714524ca0dd1d4130de73dbbbc4"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/reactphp/promise/zipball/f3cff96a19736714524ca0dd1d4130de73dbbbc4",
+ "reference": "f3cff96a19736714524ca0dd1d4130de73dbbbc4",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.4.0"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^7.0 || ^6.5 || ^5.7 || ^4.8.36"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "React\\Promise\\": "src/"
+ },
+ "files": [
+ "src/functions_include.php"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Jan Sorgalla",
+ }
+ ],
+ "description": "A lightweight implementation of CommonJS Promises/A for PHP",
+ "keywords": [
+ "promise",
+ "promises"
+ ],
+ "support": {
+ "issues": "https://github.com/reactphp/promise/issues",
+ "source": "https://github.com/reactphp/promise/tree/v2.8.0"
+ },
+ "time": "2020-05-12T15:16:56+00:00"
+ },
+ {
+ "name": "sebastian/cli-parser",
"version": "1.0.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/cli-parser.git",
+ "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/442e7c7e687e42adc03470c7b668bc4b2402c0b2",
+ "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.3"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^9.3"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.0-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "role": "lead"
+ }
+ ],
+ "description": "Library for parsing CLI options",
+ "homepage": "https://github.com/sebastianbergmann/cli-parser",
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/cli-parser/issues",
+ "source": "https://github.com/sebastianbergmann/cli-parser/tree/1.0.1"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-09-28T06:08:49+00:00"
+ },
+ {
+ "name": "sebastian/code-unit",
+ "version": "1.0.8",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/code-unit.git",
+ "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/1fc9f64c0927627ef78ba436c9b17d967e68e120",
+ "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.3"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^9.3"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.0-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "role": "lead"
+ }
+ ],
+ "description": "Collection of value objects that represent the PHP code units",
+ "homepage": "https://github.com/sebastianbergmann/code-unit",
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/code-unit/issues",
+ "source": "https://github.com/sebastianbergmann/code-unit/tree/1.0.8"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-10-26T13:08:54+00:00"
+ },
+ {
+ "name": "sebastian/code-unit-reverse-lookup",
+ "version": "2.0.3",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git",
- "reference": "4419fcdb5eabb9caa61a27c7a1db532a6b55dd18"
+ "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/4419fcdb5eabb9caa61a27c7a1db532a6b55dd18",
- "reference": "4419fcdb5eabb9caa61a27c7a1db532a6b55dd18",
+ "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5",
+ "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5",
"shasum": ""
},
"require": {
- "php": "^5.6 || ^7.0"
+ "php": ">=7.3"
},
"require-dev": {
- "phpunit/phpunit": "^5.7 || ^6.0"
+ "phpunit/phpunit": "^9.3"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.0.x-dev"
+ "dev-master": "2.0-dev"
}
},
"autoload": {
],
"description": "Looks up which function or method a line of code belongs to",
"homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/",
- "time": "2017-03-04T06:30:41+00:00"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/issues",
+ "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/2.0.3"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-09-28T05:30:19+00:00"
},
{
"name": "sebastian/comparator",
- "version": "3.0.2",
+ "version": "4.0.6",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/comparator.git",
- "reference": "5de4fc177adf9bce8df98d8d141a7559d7ccf6da"
+ "reference": "55f4261989e546dc112258c7a75935a81a7ce382"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/5de4fc177adf9bce8df98d8d141a7559d7ccf6da",
- "reference": "5de4fc177adf9bce8df98d8d141a7559d7ccf6da",
+ "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/55f4261989e546dc112258c7a75935a81a7ce382",
+ "reference": "55f4261989e546dc112258c7a75935a81a7ce382",
"shasum": ""
},
"require": {
- "php": "^7.1",
- "sebastian/diff": "^3.0",
- "sebastian/exporter": "^3.1"
+ "php": ">=7.3",
+ "sebastian/diff": "^4.0",
+ "sebastian/exporter": "^4.0"
},
"require-dev": {
- "phpunit/phpunit": "^7.1"
+ "phpunit/phpunit": "^9.3"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "3.0-dev"
+ "dev-master": "4.0-dev"
}
},
"autoload": {
"BSD-3-Clause"
],
"authors": [
+ {
+ "name": "Sebastian Bergmann",
+ },
{
"name": "Jeff Welch",
{
"name": "Bernhard Schussek",
- },
- {
- "name": "Sebastian Bergmann",
}
],
"description": "Provides the functionality to compare PHP values for equality",
"compare",
"equality"
],
- "time": "2018-07-12T15:12:46+00:00"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/comparator/issues",
+ "source": "https://github.com/sebastianbergmann/comparator/tree/4.0.6"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-10-26T15:49:45+00:00"
+ },
+ {
+ "name": "sebastian/complexity",
+ "version": "2.0.2",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/complexity.git",
+ "reference": "739b35e53379900cc9ac327b2147867b8b6efd88"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/739b35e53379900cc9ac327b2147867b8b6efd88",
+ "reference": "739b35e53379900cc9ac327b2147867b8b6efd88",
+ "shasum": ""
+ },
+ "require": {
+ "nikic/php-parser": "^4.7",
+ "php": ">=7.3"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^9.3"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "2.0-dev"
+ }
+ },
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "role": "lead"
+ }
+ ],
+ "description": "Library for calculating the complexity of PHP code units",
+ "homepage": "https://github.com/sebastianbergmann/complexity",
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/complexity/issues",
+ "source": "https://github.com/sebastianbergmann/complexity/tree/2.0.2"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-10-26T15:52:27+00:00"
},
{
"name": "sebastian/diff",
- "version": "3.0.2",
+ "version": "4.0.4",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/diff.git",
- "reference": "720fcc7e9b5cf384ea68d9d930d480907a0c1a29"
+ "reference": "3461e3fccc7cfdfc2720be910d3bd73c69be590d"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/720fcc7e9b5cf384ea68d9d930d480907a0c1a29",
- "reference": "720fcc7e9b5cf384ea68d9d930d480907a0c1a29",
+ "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/3461e3fccc7cfdfc2720be910d3bd73c69be590d",
+ "reference": "3461e3fccc7cfdfc2720be910d3bd73c69be590d",
"shasum": ""
},
"require": {
- "php": "^7.1"
+ "php": ">=7.3"
},
"require-dev": {
- "phpunit/phpunit": "^7.5 || ^8.0",
- "symfony/process": "^2 || ^3.3 || ^4"
+ "phpunit/phpunit": "^9.3",
+ "symfony/process": "^4.2 || ^5"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "3.0-dev"
+ "dev-master": "4.0-dev"
}
},
"autoload": {
"BSD-3-Clause"
],
"authors": [
- {
- "name": "Kore Nordmann",
- },
{
"name": "Sebastian Bergmann",
+ },
+ {
+ "name": "Kore Nordmann",
}
],
"description": "Diff implementation",
"unidiff",
"unified diff"
],
- "time": "2019-02-04T06:01:07+00:00"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/diff/issues",
+ "source": "https://github.com/sebastianbergmann/diff/tree/4.0.4"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-10-26T13:10:38+00:00"
},
{
"name": "sebastian/environment",
- "version": "4.2.3",
+ "version": "5.1.3",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/environment.git",
- "reference": "464c90d7bdf5ad4e8a6aea15c091fec0603d4368"
+ "reference": "388b6ced16caa751030f6a69e588299fa09200ac"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/464c90d7bdf5ad4e8a6aea15c091fec0603d4368",
- "reference": "464c90d7bdf5ad4e8a6aea15c091fec0603d4368",
+ "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/388b6ced16caa751030f6a69e588299fa09200ac",
+ "reference": "388b6ced16caa751030f6a69e588299fa09200ac",
"shasum": ""
},
"require": {
- "php": "^7.1"
+ "php": ">=7.3"
},
"require-dev": {
- "phpunit/phpunit": "^7.5"
+ "phpunit/phpunit": "^9.3"
},
"suggest": {
"ext-posix": "*"
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "4.2-dev"
+ "dev-master": "5.1-dev"
}
},
"autoload": {
"environment",
"hhvm"
],
- "time": "2019-11-20T08:46:58+00:00"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/environment/issues",
+ "source": "https://github.com/sebastianbergmann/environment/tree/5.1.3"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-09-28T05:52:38+00:00"
},
{
"name": "sebastian/exporter",
- "version": "3.1.2",
+ "version": "4.0.3",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/exporter.git",
- "reference": "68609e1261d215ea5b21b7987539cbfbe156ec3e"
+ "reference": "d89cc98761b8cb5a1a235a6b703ae50d34080e65"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/68609e1261d215ea5b21b7987539cbfbe156ec3e",
- "reference": "68609e1261d215ea5b21b7987539cbfbe156ec3e",
+ "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/d89cc98761b8cb5a1a235a6b703ae50d34080e65",
+ "reference": "d89cc98761b8cb5a1a235a6b703ae50d34080e65",
"shasum": ""
},
"require": {
- "php": "^7.0",
- "sebastian/recursion-context": "^3.0"
+ "php": ">=7.3",
+ "sebastian/recursion-context": "^4.0"
},
"require-dev": {
"ext-mbstring": "*",
- "phpunit/phpunit": "^6.0"
+ "phpunit/phpunit": "^9.3"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "3.1.x-dev"
+ "dev-master": "4.0-dev"
}
},
"autoload": {
"export",
"exporter"
],
- "time": "2019-09-14T09:02:43+00:00"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/exporter/issues",
+ "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.3"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-09-28T05:24:23+00:00"
},
{
- "name": "sebastian/finder-facade",
- "version": "1.2.3",
+ "name": "sebastian/global-state",
+ "version": "5.0.3",
"source": {
"type": "git",
- "url": "https://github.com/sebastianbergmann/finder-facade.git",
- "reference": "167c45d131f7fc3d159f56f191a0a22228765e16"
+ "url": "https://github.com/sebastianbergmann/global-state.git",
+ "reference": "23bd5951f7ff26f12d4e3242864df3e08dec4e49"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/finder-facade/zipball/167c45d131f7fc3d159f56f191a0a22228765e16",
- "reference": "167c45d131f7fc3d159f56f191a0a22228765e16",
+ "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/23bd5951f7ff26f12d4e3242864df3e08dec4e49",
+ "reference": "23bd5951f7ff26f12d4e3242864df3e08dec4e49",
"shasum": ""
},
"require": {
- "php": "^7.1",
- "symfony/finder": "^2.3|^3.0|^4.0|^5.0",
- "theseer/fdomdocument": "^1.6"
+ "php": ">=7.3",
+ "sebastian/object-reflector": "^2.0",
+ "sebastian/recursion-context": "^4.0"
+ },
+ "require-dev": {
+ "ext-dom": "*",
+ "phpunit/phpunit": "^9.3"
+ },
+ "suggest": {
+ "ext-uopz": "*"
},
"type": "library",
"extra": {
- "branch-alias": []
+ "branch-alias": {
+ "dev-master": "5.0-dev"
+ }
},
"autoload": {
"classmap": [
"authors": [
{
"name": "Sebastian Bergmann",
- "role": "lead"
+ }
+ ],
+ "description": "Snapshotting of global state",
+ "homepage": "http://www.github.com/sebastianbergmann/global-state",
+ "keywords": [
+ "global state"
+ ],
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/global-state/issues",
+ "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.3"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
}
],
- "description": "FinderFacade is a convenience wrapper for Symfony's Finder component.",
- "homepage": "https://github.com/sebastianbergmann/finder-facade",
- "time": "2020-01-16T08:08:45+00:00"
+ "time": "2021-06-11T13:31:12+00:00"
},
{
- "name": "sebastian/global-state",
- "version": "3.0.0",
+ "name": "sebastian/lines-of-code",
+ "version": "1.0.3",
"source": {
"type": "git",
- "url": "https://github.com/sebastianbergmann/global-state.git",
- "reference": "edf8a461cf1d4005f19fb0b6b8b95a9f7fa0adc4"
+ "url": "https://github.com/sebastianbergmann/lines-of-code.git",
+ "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/edf8a461cf1d4005f19fb0b6b8b95a9f7fa0adc4",
- "reference": "edf8a461cf1d4005f19fb0b6b8b95a9f7fa0adc4",
+ "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/c1c2e997aa3146983ed888ad08b15470a2e22ecc",
+ "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc",
"shasum": ""
},
"require": {
- "php": "^7.2",
- "sebastian/object-reflector": "^1.1.1",
- "sebastian/recursion-context": "^3.0"
+ "nikic/php-parser": "^4.6",
+ "php": ">=7.3"
},
"require-dev": {
- "ext-dom": "*",
- "phpunit/phpunit": "^8.0"
- },
- "suggest": {
- "ext-uopz": "*"
+ "phpunit/phpunit": "^9.3"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "3.0-dev"
+ "dev-master": "1.0-dev"
}
},
"autoload": {
"authors": [
{
"name": "Sebastian Bergmann",
+ "role": "lead"
}
],
- "description": "Snapshotting of global state",
- "homepage": "http://www.github.com/sebastianbergmann/global-state",
- "keywords": [
- "global state"
+ "description": "Library for counting the lines of code in PHP source code",
+ "homepage": "https://github.com/sebastianbergmann/lines-of-code",
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/lines-of-code/issues",
+ "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.3"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
],
- "time": "2019-02-01T05:30:01+00:00"
+ "time": "2020-11-28T06:42:11+00:00"
},
{
"name": "sebastian/object-enumerator",
- "version": "3.0.3",
+ "version": "4.0.4",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/object-enumerator.git",
- "reference": "7cfd9e65d11ffb5af41198476395774d4c8a84c5"
+ "reference": "5c9eeac41b290a3712d88851518825ad78f45c71"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/7cfd9e65d11ffb5af41198476395774d4c8a84c5",
- "reference": "7cfd9e65d11ffb5af41198476395774d4c8a84c5",
+ "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/5c9eeac41b290a3712d88851518825ad78f45c71",
+ "reference": "5c9eeac41b290a3712d88851518825ad78f45c71",
"shasum": ""
},
"require": {
- "php": "^7.0",
- "sebastian/object-reflector": "^1.1.1",
- "sebastian/recursion-context": "^3.0"
+ "php": ">=7.3",
+ "sebastian/object-reflector": "^2.0",
+ "sebastian/recursion-context": "^4.0"
},
"require-dev": {
- "phpunit/phpunit": "^6.0"
+ "phpunit/phpunit": "^9.3"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "3.0.x-dev"
+ "dev-master": "4.0-dev"
}
},
"autoload": {
],
"description": "Traverses array structures and object graphs to enumerate all referenced objects",
"homepage": "https://github.com/sebastianbergmann/object-enumerator/",
- "time": "2017-08-03T12:35:26+00:00"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/object-enumerator/issues",
+ "source": "https://github.com/sebastianbergmann/object-enumerator/tree/4.0.4"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-10-26T13:12:34+00:00"
},
{
"name": "sebastian/object-reflector",
- "version": "1.1.1",
+ "version": "2.0.4",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/object-reflector.git",
- "reference": "773f97c67f28de00d397be301821b06708fca0be"
+ "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/773f97c67f28de00d397be301821b06708fca0be",
- "reference": "773f97c67f28de00d397be301821b06708fca0be",
+ "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/b4f479ebdbf63ac605d183ece17d8d7fe49c15c7",
+ "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7",
"shasum": ""
},
"require": {
- "php": "^7.0"
+ "php": ">=7.3"
},
"require-dev": {
- "phpunit/phpunit": "^6.0"
+ "phpunit/phpunit": "^9.3"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.1-dev"
+ "dev-master": "2.0-dev"
}
},
"autoload": {
],
"description": "Allows reflection of object attributes, including inherited and non-public ones",
"homepage": "https://github.com/sebastianbergmann/object-reflector/",
- "time": "2017-03-29T09:07:27+00:00"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/object-reflector/issues",
+ "source": "https://github.com/sebastianbergmann/object-reflector/tree/2.0.4"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-10-26T13:14:26+00:00"
},
{
"name": "sebastian/recursion-context",
- "version": "3.0.0",
+ "version": "4.0.4",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/recursion-context.git",
- "reference": "5b0cd723502bac3b006cbf3dbf7a1e3fcefe4fa8"
+ "reference": "cd9d8cf3c5804de4341c283ed787f099f5506172"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/5b0cd723502bac3b006cbf3dbf7a1e3fcefe4fa8",
- "reference": "5b0cd723502bac3b006cbf3dbf7a1e3fcefe4fa8",
+ "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/cd9d8cf3c5804de4341c283ed787f099f5506172",
+ "reference": "cd9d8cf3c5804de4341c283ed787f099f5506172",
"shasum": ""
},
"require": {
- "php": "^7.0"
+ "php": ">=7.3"
},
"require-dev": {
- "phpunit/phpunit": "^6.0"
+ "phpunit/phpunit": "^9.3"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "3.0.x-dev"
+ "dev-master": "4.0-dev"
}
},
"autoload": {
"BSD-3-Clause"
],
"authors": [
- {
- "name": "Jeff Welch",
- },
{
"name": "Sebastian Bergmann",
},
+ {
+ "name": "Jeff Welch",
+ },
{
"name": "Adam Harvey",
],
"description": "Provides functionality to recursively process PHP variables",
"homepage": "http://www.github.com/sebastianbergmann/recursion-context",
- "time": "2017-03-03T06:23:57+00:00"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/recursion-context/issues",
+ "source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.4"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-10-26T13:17:30+00:00"
},
{
"name": "sebastian/resource-operations",
- "version": "2.0.1",
+ "version": "3.0.3",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/resource-operations.git",
- "reference": "4d7a795d35b889bf80a0cc04e08d77cedfa917a9"
+ "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/4d7a795d35b889bf80a0cc04e08d77cedfa917a9",
- "reference": "4d7a795d35b889bf80a0cc04e08d77cedfa917a9",
+ "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8",
+ "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8",
"shasum": ""
},
"require": {
- "php": "^7.1"
+ "php": ">=7.3"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^9.0"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "2.0-dev"
+ "dev-master": "3.0-dev"
}
},
"autoload": {
],
"description": "Provides a list of PHP built-in functions that operate on resources",
"homepage": "https://www.github.com/sebastianbergmann/resource-operations",
- "time": "2018-10-04T04:07:39+00:00"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/resource-operations/issues",
+ "source": "https://github.com/sebastianbergmann/resource-operations/tree/3.0.3"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-09-28T06:45:17+00:00"
},
{
"name": "sebastian/type",
- "version": "1.1.3",
+ "version": "2.3.4",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/type.git",
- "reference": "3aaaa15fa71d27650d62a948be022fe3b48541a3"
+ "reference": "b8cd8a1c753c90bc1a0f5372170e3e489136f914"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/3aaaa15fa71d27650d62a948be022fe3b48541a3",
- "reference": "3aaaa15fa71d27650d62a948be022fe3b48541a3",
+ "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/b8cd8a1c753c90bc1a0f5372170e3e489136f914",
+ "reference": "b8cd8a1c753c90bc1a0f5372170e3e489136f914",
"shasum": ""
},
"require": {
- "php": "^7.2"
+ "php": ">=7.3"
},
"require-dev": {
- "phpunit/phpunit": "^8.2"
+ "phpunit/phpunit": "^9.3"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.1-dev"
+ "dev-master": "2.3-dev"
}
},
"autoload": {
],
"description": "Collection of value objects that represent the types of the PHP type system",
"homepage": "https://github.com/sebastianbergmann/type",
- "time": "2019-07-02T08:10:15+00:00"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/type/issues",
+ "source": "https://github.com/sebastianbergmann/type/tree/2.3.4"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2021-06-15T12:49:02+00:00"
},
{
"name": "sebastian/version",
- "version": "2.0.1",
+ "version": "3.0.2",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/version.git",
- "reference": "99732be0ddb3361e16ad77b68ba41efc8e979019"
+ "reference": "c6c1022351a901512170118436c764e473f6de8c"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/99732be0ddb3361e16ad77b68ba41efc8e979019",
- "reference": "99732be0ddb3361e16ad77b68ba41efc8e979019",
+ "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c6c1022351a901512170118436c764e473f6de8c",
+ "reference": "c6c1022351a901512170118436c764e473f6de8c",
"shasum": ""
},
"require": {
- "php": ">=5.6"
+ "php": ">=7.3"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "2.0.x-dev"
+ "dev-master": "3.0-dev"
}
},
"autoload": {
],
"description": "Library that helps with managing the version number of Git-hosted PHP projects",
"homepage": "https://github.com/sebastianbergmann/version",
- "time": "2016-10-03T07:35:21+00:00"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/version/issues",
+ "source": "https://github.com/sebastianbergmann/version/tree/3.0.2"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-09-28T06:39:44+00:00"
},
{
"name": "seld/jsonlint",
- "version": "1.8.2",
+ "version": "1.8.3",
"source": {
"type": "git",
"url": "https://github.com/Seldaek/jsonlint.git",
- "reference": "590cfec960b77fd55e39b7d9246659e95dd6d337"
+ "reference": "9ad6ce79c342fbd44df10ea95511a1b24dee5b57"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Seldaek/jsonlint/zipball/590cfec960b77fd55e39b7d9246659e95dd6d337",
- "reference": "590cfec960b77fd55e39b7d9246659e95dd6d337",
+ "url": "https://api.github.com/repos/Seldaek/jsonlint/zipball/9ad6ce79c342fbd44df10ea95511a1b24dee5b57",
+ "reference": "9ad6ce79c342fbd44df10ea95511a1b24dee5b57",
"shasum": ""
},
"require": {
"parser",
"validator"
],
+ "support": {
+ "issues": "https://github.com/Seldaek/jsonlint/issues",
+ "source": "https://github.com/Seldaek/jsonlint/tree/1.8.3"
+ },
"funding": [
{
"url": "https://github.com/Seldaek",
"type": "tidelift"
}
],
- "time": "2020-08-25T06:56:57+00:00"
+ "time": "2020-11-11T09:19:24+00:00"
},
{
"name": "seld/phar-utils",
"keywords": [
"phar"
],
+ "support": {
+ "issues": "https://github.com/Seldaek/phar-utils/issues",
+ "source": "https://github.com/Seldaek/phar-utils/tree/master"
+ },
"time": "2020-07-07T18:42:57+00:00"
},
{
"name": "squizlabs/php_codesniffer",
- "version": "3.5.6",
+ "version": "3.6.0",
"source": {
"type": "git",
"url": "https://github.com/squizlabs/PHP_CodeSniffer.git",
- "reference": "e97627871a7eab2f70e59166072a6b767d5834e0"
+ "reference": "ffced0d2c8fa8e6cdc4d695a743271fab6c38625"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/e97627871a7eab2f70e59166072a6b767d5834e0",
- "reference": "e97627871a7eab2f70e59166072a6b767d5834e0",
+ "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/ffced0d2c8fa8e6cdc4d695a743271fab6c38625",
+ "reference": "ffced0d2c8fa8e6cdc4d695a743271fab6c38625",
"shasum": ""
},
"require": {
"phpcs",
"standards"
],
- "time": "2020-08-10T04:50:15+00:00"
+ "support": {
+ "issues": "https://github.com/squizlabs/PHP_CodeSniffer/issues",
+ "source": "https://github.com/squizlabs/PHP_CodeSniffer",
+ "wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki"
+ },
+ "time": "2021-04-09T00:54:41+00:00"
},
{
"name": "symfony/dom-crawler",
- "version": "v4.4.13",
+ "version": "v4.4.25",
"source": {
"type": "git",
"url": "https://github.com/symfony/dom-crawler.git",
- "reference": "6dd1e7adef4b7efeeb9691fd619279027d4dcf85"
+ "reference": "41d15bb6d6b95d2be763c514bb2494215d9c5eef"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/dom-crawler/zipball/6dd1e7adef4b7efeeb9691fd619279027d4dcf85",
- "reference": "6dd1e7adef4b7efeeb9691fd619279027d4dcf85",
+ "url": "https://api.github.com/repos/symfony/dom-crawler/zipball/41d15bb6d6b95d2be763c514bb2494215d9c5eef",
+ "reference": "41d15bb6d6b95d2be763c514bb2494215d9c5eef",
"shasum": ""
},
"require": {
"symfony/css-selector": ""
},
"type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.4-dev"
- }
- },
"autoload": {
"psr-4": {
"Symfony\\Component\\DomCrawler\\": ""
"homepage": "https://symfony.com/contributors"
}
],
- "description": "Symfony DomCrawler Component",
+ "description": "Eases DOM navigation for HTML and XML documents",
"homepage": "https://symfony.com",
+ "support": {
+ "source": "https://github.com/symfony/dom-crawler/tree/v4.4.25"
+ },
"funding": [
{
"url": "https://symfony.com/sponsor",
"type": "tidelift"
}
],
- "time": "2020-08-12T06:20:35+00:00"
+ "time": "2021-05-26T11:20:16+00:00"
},
{
"name": "symfony/filesystem",
- "version": "v4.4.13",
+ "version": "v5.3.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/filesystem.git",
- "reference": "27575bcbc68db1f6d06218891296572c9b845704"
+ "reference": "348116319d7fb7d1faa781d26a48922428013eb2"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/filesystem/zipball/27575bcbc68db1f6d06218891296572c9b845704",
- "reference": "27575bcbc68db1f6d06218891296572c9b845704",
+ "url": "https://api.github.com/repos/symfony/filesystem/zipball/348116319d7fb7d1faa781d26a48922428013eb2",
+ "reference": "348116319d7fb7d1faa781d26a48922428013eb2",
"shasum": ""
},
"require": {
- "php": ">=7.1.3",
+ "php": ">=7.2.5",
"symfony/polyfill-ctype": "~1.8"
},
"type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.4-dev"
- }
- },
"autoload": {
"psr-4": {
"Symfony\\Component\\Filesystem\\": ""
"homepage": "https://symfony.com/contributors"
}
],
- "description": "Symfony Filesystem Component",
+ "description": "Provides basic utilities for the filesystem",
"homepage": "https://symfony.com",
+ "support": {
+ "source": "https://github.com/symfony/filesystem/tree/v5.3.0"
+ },
"funding": [
{
"url": "https://symfony.com/sponsor",
"type": "tidelift"
}
],
- "time": "2020-08-21T17:19:37+00:00"
- },
- {
- "name": "theseer/fdomdocument",
- "version": "1.6.6",
- "source": {
- "type": "git",
- "url": "https://github.com/theseer/fDOMDocument.git",
- "reference": "6e8203e40a32a9c770bcb62fe37e68b948da6dca"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/theseer/fDOMDocument/zipball/6e8203e40a32a9c770bcb62fe37e68b948da6dca",
- "reference": "6e8203e40a32a9c770bcb62fe37e68b948da6dca",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "lib-libxml": "*",
- "php": ">=5.3.3"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Arne Blankerts",
- "role": "lead",
- }
- ],
- "description": "The classes contained within this repository extend the standard DOM to use exceptions at all occasions of errors instead of PHP warnings or notices. They also add various custom methods and shortcuts for convenience and to simplify the usage of DOM.",
- "homepage": "https://github.com/theseer/fDOMDocument",
- "time": "2017-06-30T11:53:12+00:00"
+ "time": "2021-05-26T17:43:10+00:00"
},
{
"name": "theseer/tokenizer",
}
],
"description": "A small library for converting tokenized PHP source code into XML and potentially other formats",
+ "support": {
+ "issues": "https://github.com/theseer/tokenizer/issues",
+ "source": "https://github.com/theseer/tokenizer/tree/master"
+ },
"funding": [
{
"url": "https://github.com/theseer",
},
{
"name": "webmozart/assert",
- "version": "1.9.1",
+ "version": "1.10.0",
"source": {
"type": "git",
- "url": "https://github.com/webmozart/assert.git",
- "reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389"
+ "url": "https://github.com/webmozarts/assert.git",
+ "reference": "6964c76c7804814a842473e0c8fd15bab0f18e25"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/webmozart/assert/zipball/bafc69caeb4d49c39fd0779086c03a3738cbb389",
- "reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389",
+ "url": "https://api.github.com/repos/webmozarts/assert/zipball/6964c76c7804814a842473e0c8fd15bab0f18e25",
+ "reference": "6964c76c7804814a842473e0c8fd15bab0f18e25",
"shasum": ""
},
"require": {
- "php": "^5.3.3 || ^7.0 || ^8.0",
+ "php": "^7.2 || ^8.0",
"symfony/polyfill-ctype": "^1.8"
},
"conflict": {
"phpstan/phpstan": "<0.12.20",
- "vimeo/psalm": "<3.9.1"
+ "vimeo/psalm": "<4.6.1 || 4.6.2"
},
"require-dev": {
- "phpunit/phpunit": "^4.8.36 || ^7.5.13"
+ "phpunit/phpunit": "^8.5.13"
},
"type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.10-dev"
+ }
+ },
"autoload": {
"psr-4": {
"Webmozart\\Assert\\": "src/"
"check",
"validate"
],
- "time": "2020-07-08T17:02:28+00:00"
- },
- {
- "name": "wnx/laravel-stats",
- "version": "v2.0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/stefanzweifel/laravel-stats.git",
- "reference": "e86ebfdd149383b18a41fe3efa1601d82d447140"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/stefanzweifel/laravel-stats/zipball/e86ebfdd149383b18a41fe3efa1601d82d447140",
- "reference": "e86ebfdd149383b18a41fe3efa1601d82d447140",
- "shasum": ""
- },
- "require": {
- "illuminate/console": "~5.8.0|^6.0|^7.0",
- "illuminate/support": "~5.8.0|^6.0|^7.0",
- "php": ">=7.2.0",
- "phploc/phploc": "~5.0|~6.0",
- "symfony/finder": "~4.0"
- },
- "require-dev": {
- "friendsofphp/php-cs-fixer": "^2.15",
- "laravel/browser-kit-testing": "~5.0",
- "laravel/dusk": "~5.0",
- "mockery/mockery": "^1.1",
- "orchestra/testbench": "^3.8|^4.0|^5.0",
- "phpunit/phpunit": "8.*|9.*"
- },
- "type": "library",
- "extra": {
- "laravel": {
- "providers": [
- "Wnx\\LaravelStats\\StatsServiceProvider"
- ]
- }
- },
- "autoload": {
- "psr-4": {
- "Wnx\\LaravelStats\\": "src/"
- }
+ "support": {
+ "issues": "https://github.com/webmozarts/assert/issues",
+ "source": "https://github.com/webmozarts/assert/tree/1.10.0"
},
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Stefan Zweifel",
- "homepage": "https://stefanzweifel.io",
- "role": "Developer"
- }
- ],
- "description": "Get insights about your Laravel Project",
- "homepage": "https://github.com/stefanzweifel/laravel-stats",
- "keywords": [
- "laravel",
- "statistics",
- "stats",
- "wnx"
- ],
- "time": "2020-02-22T19:09:14+00:00"
+ "time": "2021-03-09T10:59:23+00:00"
}
],
"aliases": [],
"prefer-stable": true,
"prefer-lowest": false,
"platform": {
- "php": "^7.2",
+ "php": "^7.3|^8.0",
"ext-curl": "*",
"ext-dom": "*",
+ "ext-fileinfo": "*",
"ext-gd": "*",
"ext-json": "*",
"ext-mbstring": "*",
},
"platform-dev": [],
"platform-overrides": {
- "php": "7.2.0"
+ "php": "7.3.0"
},
"plugin-api-version": "2.0.0"
}
*/
$factory->define(\BookStack\Auth\User::class, function ($faker) {
+ $name = $faker->name;
return [
- 'name' => $faker->name,
+ 'name' => $name,
'email' => $faker->email,
+ 'slug' => \Illuminate\Support\Str::slug($name . '-' . \Illuminate\Support\Str::random(5)),
'password' => Str::random(10),
'remember_token' => Str::random(10),
'email_confirmed' => 1
{
Schema::create('search_terms', function (Blueprint $table) {
$table->increments('id');
- $table->string('term', 200);
+ $table->string('term', 180);
$table->string('entity_type', 100);
$table->integer('entity_id');
$table->integer('score');
public function up()
{
Schema::table('roles', function (Blueprint $table) {
- $table->string('external_auth_id', 200)->default('');
+ $table->string('external_auth_id', 180)->default('');
$table->index('external_auth_id');
});
}
Schema::create('bookshelves', function (Blueprint $table) {
$table->increments('id');
- $table->string('name', 200);
- $table->string('slug', 200);
+ $table->string('name', 180);
+ $table->string('slug', 180);
$table->text('description');
$table->integer('created_by')->nullable()->default(null);
$table->integer('updated_by')->nullable()->default(null);
--- /dev/null
+<?php
+
+use Illuminate\Database\Migrations\Migration;
+use Illuminate\Database\Schema\Blueprint;
+use Illuminate\Support\Facades\Schema;
+use Illuminate\Support\Facades\DB;
+
+class AddOwnedByFieldToEntities extends Migration
+{
+ /**
+ * Run the migrations.
+ *
+ * @return void
+ */
+ public function up()
+ {
+ $tables = ['pages', 'books', 'chapters', 'bookshelves'];
+ foreach ($tables as $table) {
+ Schema::table($table, function (Blueprint $table) {
+ $table->integer('owned_by')->unsigned()->index();
+ });
+
+ DB::table($table)->update(['owned_by' => DB::raw('`created_by`')]);
+ }
+
+ Schema::table('joint_permissions', function (Blueprint $table) {
+ $table->renameColumn('created_by', 'owned_by');
+ });
+ }
+
+ /**
+ * Reverse the migrations.
+ *
+ * @return void
+ */
+ public function down()
+ {
+ $tables = ['pages', 'books', 'chapters', 'bookshelves'];
+ foreach ($tables as $table) {
+ Schema::table($table, function (Blueprint $table) {
+ $table->dropColumn('owned_by');
+ });
+ }
+
+ Schema::table('joint_permissions', function (Blueprint $table) {
+ $table->renameColumn('owned_by', 'created_by');
+ });
+ }
+}
--- /dev/null
+<?php
+
+use Illuminate\Database\Migrations\Migration;
+use Illuminate\Database\Schema\Blueprint;
+use Illuminate\Support\Facades\Schema;
+
+class AddSettingsTypeColumn extends Migration
+{
+ /**
+ * Run the migrations.
+ *
+ * @return void
+ */
+ public function up()
+ {
+ Schema::table('settings', function (Blueprint $table) {
+ $table->string('type', 50)->default('string');
+ });
+ }
+
+ /**
+ * Reverse the migrations.
+ *
+ * @return void
+ */
+ public function down()
+ {
+ Schema::table('settings', function (Blueprint $table) {
+ $table->dropColumn('type');
+ });
+ }
+}
--- /dev/null
+<?php
+
+use Illuminate\Database\Migrations\Migration;
+use Illuminate\Database\Schema\Blueprint;
+use Illuminate\Support\Facades\Schema;
+use Illuminate\Support\Str;
+
+class AddUserSlug extends Migration
+{
+ /**
+ * Run the migrations.
+ *
+ * @return void
+ */
+ public function up()
+ {
+ Schema::table('users', function (Blueprint $table) {
+ $table->string('slug', 180);
+ });
+
+ $slugMap = [];
+ DB::table('users')->cursor()->each(function ($user) use (&$slugMap) {
+ $userSlug = Str::slug($user->name);
+ while (isset($slugMap[$userSlug])) {
+ $userSlug = Str::slug($user->name . Str::random(4));
+ }
+ $slugMap[$userSlug] = true;
+
+ DB::table('users')
+ ->where('id', $user->id)
+ ->update(['slug' => $userSlug]);
+ });
+
+ Schema::table('users', function (Blueprint $table) {
+ $table->unique('slug');
+ });
+ }
+
+ /**
+ * Reverse the migrations.
+ *
+ * @return void
+ */
+ public function down()
+ {
+ Schema::table('users', function (Blueprint $table) {
+ $table->dropColumn('slug');
+ });
+ }
+}
--- /dev/null
+<?php
+
+use Illuminate\Database\Migrations\Migration;
+use Illuminate\Database\Schema\Blueprint;
+use Illuminate\Support\Facades\Schema;
+
+class CreateFavouritesTable extends Migration
+{
+ /**
+ * Run the migrations.
+ *
+ * @return void
+ */
+ public function up()
+ {
+ Schema::create('favourites', function (Blueprint $table) {
+ $table->increments('id');
+ $table->integer('user_id')->index();
+ $table->integer('favouritable_id');
+ $table->string('favouritable_type', 100);
+ $table->timestamps();
+
+ $table->index(['favouritable_id', 'favouritable_type'], 'favouritable_index');
+ });
+ }
+
+ /**
+ * Reverse the migrations.
+ *
+ * @return void
+ */
+ public function down()
+ {
+ Schema::dropIfExists('favourites');
+ }
+}
$role = Role::getRole('viewer');
$viewerUser->attachRole($role);
- $byData = ['created_by' => $editorUser->id, 'updated_by' => $editorUser->id];
+ $byData = ['created_by' => $editorUser->id, 'updated_by' => $editorUser->id, 'owned_by' => $editorUser->id];
factory(\BookStack\Entities\Models\Book::class, 5)->create($byData)
->each(function($book) use ($editorUser, $byData) {
"description": "This is a book created via the API",
"created_by": 1,
"updated_by": 1,
+ "owned_by": 1,
"slug": "my-new-book",
"updated_at": "2020-01-12 14:05:11",
"created_at": "2020-01-12 14:05:11",
"updated_at": "2019-12-11 20:57:31",
"created_by": 1,
"updated_by": 1,
+ "owned_by": 1,
"image_id": 3
},
{
"updated_at": "2019-12-11 20:57:23",
"created_by": 4,
"updated_by": 3,
+ "owned_by": 3,
"image_id": 34
}
],
"id": 1,
"name": "Admin"
},
+ "owned_by": {
+ "id": 1,
+ "name": "Admin"
+ },
"tags": [
{
"id": 13,
"updated_at": "2020-01-12 14:16:10",
"created_by": 1,
"updated_by": 1,
+ "owned_by": 1,
"image_id": 452
}
\ No newline at end of file
"description": "This is a great new chapter that I've created via the API",
"created_by": 1,
"updated_by": 1,
+ "owned_by": 1,
"slug": "my-fantastic-new-chapter",
"updated_at": "2020-05-22 22:59:55",
"created_at": "2020-05-22 22:59:55",
"created_at": "2019-05-05 21:49:56",
"updated_at": "2019-09-28 11:24:23",
"created_by": 1,
- "updated_by": 1
+ "updated_by": 1,
+ "owned_by": 1
},
{
"id": 2,
"created_at": "2019-05-05 21:58:07",
"updated_at": "2019-10-17 15:05:34",
"created_by": 3,
- "updated_by": 3
+ "updated_by": 3,
+ "owned_by": 3
}
],
"total": 40
"id": 1,
"name": "Admin"
},
+ "owned_by": {
+ "id": 1,
+ "name": "Admin"
+ },
"tags": [
{
"name": "Category",
"updated_at": "2020-05-22 23:07:20",
"created_by": 1,
"updated_by": 1,
+ "owned_by": 1,
"book": {
"id": 1,
"name": "BookStack User Guide",
"id": 1,
"name": "Admin"
},
+ "owned_by": {
+ "id": 1,
+ "name": "Admin"
+ },
"draft": false,
"markdown": "",
"revision_count": 1,
"created_at": "2019-05-05 21:49:58",
"updated_at": "2020-07-04 15:50:58",
"created_by": 1,
- "updated_by": 1
+ "updated_by": 1,
+ "owned_by": 1
},
{
"id": 2,
"created_at": "2019-05-05 21:53:30",
"updated_at": "2019-06-06 12:03:04",
"created_by": 1,
- "updated_by": 1
+ "updated_by": 1,
+ "owned_by": 1
},
{
"id": 3,
"created_at": "2019-05-05 21:53:49",
"updated_at": "2019-12-18 21:56:52",
"created_by": 1,
- "updated_by": 1
+ "updated_by": 1,
+ "owned_by": 1
}
],
"total": 322
"id": 1,
"name": "Admin"
},
+ "owned_by": {
+ "id": 1,
+ "name": "Admin"
+ },
"draft": false,
"markdown": "# How this is built\r\n\r\nThis page is written in markdown. BookStack stores the page data in HTML.\r\n\r\nHere's a cute picture of my cat:\r\n\r\n[](http://example.com/uploads/images/gallery/2020-04/yXSrubes.jpg)",
"revision_count": 5,
"id": 1,
"name": "Admin"
},
+ "owned_by": {
+ "id": 1,
+ "name": "Admin"
+ },
"draft": false,
"markdown": "",
"revision_count": 5,
"description": "This is my shelf with some books",
"created_by": 1,
"updated_by": 1,
+ "owned_by": 1,
"slug": "my-shelf",
"updated_at": "2020-04-10 13:24:09",
"created_at": "2020-04-10 13:24:09",
"updated_at": "2020-04-10 13:00:45",
"created_by": 4,
"updated_by": 1,
+ "owned_by": 1,
"image_id": 31
},
{
"updated_at": "2020-04-10 13:00:58",
"created_by": 4,
"updated_by": 1,
+ "owned_by": 1,
"image_id": 28
},
{
"updated_at": "2020-04-10 13:00:53",
"created_by": 4,
"updated_by": 1,
+ "owned_by": 4,
"image_id": 30
}
],
"id": 1,
"name": "Admin"
},
+ "owned_by": {
+ "id": 1,
+ "name": "Admin"
+ },
"created_at": "2020-04-10 13:24:09",
"updated_at": "2020-04-10 13:31:04",
"tags": [
"description": "This is my update shelf with some books",
"created_by": 1,
"updated_by": 1,
+ "owned_by": 1,
"image_id": 501,
"created_at": "2020-04-10 13:24:09",
"updated_at": "2020-04-10 13:48:22"
-FROM php:7.3-apache
+FROM php:7.4-apache
ENV APACHE_DOCUMENT_ROOT /app/public
WORKDIR /app
+# Install additional dependacnies and configure apache
RUN apt-get update -y \
- && apt-get install -y git zip unzip libtidy-dev libpng-dev libldap2-dev libxml++2.6-dev wait-for-it \
+ && apt-get install -y git zip unzip libpng-dev libldap2-dev libzip-dev wait-for-it \
&& docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu \
- && docker-php-ext-install pdo pdo_mysql tidy dom xml mbstring gd ldap \
+ && docker-php-ext-install pdo_mysql gd ldap zip \
&& a2enmod rewrite \
&& sed -ri -e 's!/var/www/html!${APACHE_DOCUMENT_ROOT}!g' /etc/apache2/sites-available/*.conf \
- && sed -ri -e 's!/var/www/!${APACHE_DOCUMENT_ROOT}!g' /etc/apache2/apache2.conf /etc/apache2/conf-available/*.conf \
- && php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \
+ && sed -ri -e 's!/var/www/!${APACHE_DOCUMENT_ROOT}!g' /etc/apache2/apache2.conf /etc/apache2/conf-available/*.conf
+
+# Install composer
+RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \
&& php composer-setup.php \
&& mv composer.phar /usr/bin/composer \
&& php -r "unlink('composer-setup.php');"
+
+# Use the default production configuration and update it as required
+RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini" \
+ && sed -i 's/memory_limit = 128M/memory_limit = 512M/g' "$PHP_INI_DIR/php.ini"
--- /dev/null
+# create test database
+CREATE DATABASE IF NOT EXISTS `bookstack-test`;
+
+# grant rights
+GRANT ALL PRIVILEGES ON `bookstack-test`.* TO 'bookstack-test'@'%';
--- /dev/null
+# Logical Theme System
+
+BookStack allows logical customization via the theme system which enables you to add, or extend, functionality within the PHP side of the system without needing to alter the core application files.
+
+WARNING: This system is currently in alpha so may incur changes. Once we've gathered some feedback on usage we'll look to removing this warning. This system will be considered semi-stable in the future. The `Theme::` system will be kept maintained but specific customizations or deeper app/framework usage using this system will not be supported nor considered in any way stable. Customizations using this system should be checked after updates.
+
+## Getting Started
+
+This makes use of the theme system. Create a folder for your theme within your BookStack `themes` directory. As an example we'll use `my_theme`, so we'd create a `themes/my_theme` folder.
+You'll need to tell BookStack to use your theme via the `APP_THEME` option in your `.env` file. For example: `APP_THEME=my_theme`.
+
+Within your theme folder create a `functions.php` file. BookStack will look for this and run it during app boot-up. Within this file you can use the `Theme` facade API, described below, to hook into certain app events.
+
+## `Theme` Facade API
+
+Below details the public methods of the `Theme` facade that are considered stable:
+
+### `Theme::listen`
+
+This method listens to a system event and runs the given action when that event occurs. The arguments passed to the action depend on the event. Event names are exposed as static properties on the `\BookStack\Theming\ThemeEvents` class.
+
+It is possible to listen to a single event using multiple actions. When dispatched, BookStack will loop over and run each action for that event.
+If an action returns a non-null value then BookStack will stop cycling through actions at that point and make use of the non-null return value if possible (Depending on the event).
+
+**Arguments**
+- string $event
+- callable $action
+
+**Example**
+
+```php
+Theme::listen(
+ \BookStack\Theming\ThemeEvents::AUTH_LOGIN,
+ function($service, $user) {
+ \Log::info("Login by {$user->name} via {$service}");
+ }
+);
+```
+
+### `Theme::addSocialDriver`
+
+This method allows you to register a custom social authentication driver within the system. This is primarily intended to use with [Socialite Providers](https://socialiteproviders.com/).
+
+**Arguments**
+- string $driverName
+- array $config
+- string $socialiteHandler
+
+**Example**
+
+*See "Custom Socialite Service Example" below.*
+
+## Available Events
+
+All available events dispatched by BookStack are exposed as static properties on the `\BookStack\Theming\ThemeEvents` class, which can be found within the file `app/Theming/ThemeEvents.php` relative to your root BookStack folder. Alternatively, the events for the latest release can be [seen on GitHub here](https://github.com/BookStackApp/BookStack/blob/release/app/Theming/ThemeEvents.php).
+
+The comments above each constant with the `ThemeEvents.php` file describe the dispatch conditions of the event, in addition to the arguments the action will receive. The comments may also describe any ways the return value of the action may be used.
+
+## Example `functions.php` file
+
+```php
+<?php
+
+use BookStack\Facades\Theme;
+use BookStack\Theming\ThemeEvents;
+
+// Logs custom message on user login
+Theme::listen(ThemeEvents::AUTH_LOGIN, function($method, $user) {
+ Log::info("Login via {$method} for {$user->name}");
+});
+
+// Adds a `/info` public URL endpoint that emits php debug details
+Theme::listen(ThemeEvents::APP_BOOT, function($app) {
+ \Route::get('info', function() {
+ phpinfo(); // Don't do this on a production instance!
+ });
+});
+```
+
+## Custom Socialite Service Example
+
+The below shows an example of adding a custom reddit socialite service to BookStack.
+BookStack exposes a helper function for this via `Theme::addSocialDriver` which sets the required config and event listeners in the platform.
+
+The require statements reference composer installed dependencies within the theme folder. They are required manually since they are not auto-loaded like other app files due to being outside the main BookStack dependency list.
+
+```php
+require "vendor/socialiteproviders/reddit/Provider.php";
+require "vendor/socialiteproviders/reddit/RedditExtendSocialite.php";
+
+Theme::listen(ThemeEvents::APP_BOOT, function($app) {
+ Theme::addSocialDriver('reddit', [
+ 'client_id' => 'abc123',
+ 'client_secret' => 'def456789',
+ 'name' => 'Reddit',
+ ], '\SocialiteProviders\Reddit\RedditExtendSocialite@handle');
+});
+```
+
+In some cases you may need to customize the driver before it performs a redirect.
+This can be done by providing a callback as a fourth parameter like so:
+
+```php
+Theme::addSocialDriver('reddit', [
+ 'client_id' => 'abc123',
+ 'client_secret' => 'def456789',
+ 'name' => 'Reddit',
+], '\SocialiteProviders\Reddit\RedditExtendSocialite@handle', function($driver) {
+ $driver->with(['prompt' => 'select_account']);
+ $driver->scopes(['open_id']);
+});
+```
\ No newline at end of file
--- /dev/null
+# Visual Theme System
+
+BookStack allows visual customization via the theme system which enables you to extensively customize views, translation text & icons.
+
+This theme system itself is maintained and supported but usages of this system, including the files you are able to override, are not considered stable and may change upon any update. You should test any customizations made after updates.
+
+## Getting Started
+
+This makes use of the theme system. Create a folder for your theme within your BookStack `themes` directory. As an example we'll use `my_theme`, so we'd create a `themes/my_theme` folder.
+You'll need to tell BookStack to use your theme via the `APP_THEME` option in your `.env` file. For example: `APP_THEME=my_theme`.
+
+## Customizing View Files
+
+Content placed in your `themes/<theme_name>/` folder will override the original view files found in the `resources/views` folder. These files are typically [Laravel Blade](https://laravel.com/docs/6.x/blade) files.
+
+## Customizing Icons
+
+SVG files placed in a `themes/<theme_name>/icons` folder will override any icons of the same name within `resources/icons`. You'd typically want to follow the format convention of the existing icons, where no XML deceleration is included and no width & height attributes are set, to ensure optimal compatibility.
+
+## Customizing Text Content
+
+Folders with PHP translation files placed in a `themes/<theme_name>/lang` folder will override translations defined within the `resources/lang` folder. Custom translations are merged with the original files so you only need to override the select translations you want to override, you don't need to copy the whole original file. Note that you'll need to include the language folder.
+
+As an example, Say I wanted to change 'Search' to 'Find'; Within a `themes/<theme_name>/lang/en/common.php` file I'd set the following:
+
+```php
+<?php
+return [
+ 'search' => 'find',
+];
+```
\ No newline at end of file
db:
image: mysql:8
environment:
- MYSQL_DATABASE: bookstack-test
+ MYSQL_DATABASE: bookstack-dev
MYSQL_USER: bookstack-test
MYSQL_PASSWORD: bookstack-test
MYSQL_RANDOM_ROOT_PASSWORD: 'true'
command: --default-authentication-plugin=mysql_native_password
volumes:
+ - ./dev/docker/init.db:/docker-entrypoint-initdb.d
- db:/var/lib/mysql
app:
build:
context: .
dockerfile: ./dev/docker/Dockerfile
environment:
+ APP_URL: http://localhost:${DEV_PORT:-8080}
DB_CONNECTION: mysql
DB_HOST: db
DB_PORT: 3306
- DB_DATABASE: bookstack-test
+ DB_DATABASE: bookstack-dev
DB_USERNAME: bookstack-test
DB_PASSWORD: bookstack-test
+ TEST_DATABASE_URL: mysql://bookstack-test:bookstack-test@db/bookstack-test
MAIL_DRIVER: smtp
MAIL_HOST: mailhog
MAIL_PORT: 1025
node:
image: node:alpine
working_dir: /app
+ user: node
volumes:
- ./:/app
entrypoint: /app/dev/docker/entrypoint.node.sh
{
+ "name": "bookstack",
+ "lockfileVersion": 2,
"requires": true,
- "lockfileVersion": 1,
+ "packages": {
+ "": {
+ "dependencies": {
+ "clipboard": "^2.0.8",
+ "codemirror": "^5.61.1",
+ "dropzone": "^5.9.2",
+ "markdown-it": "^12.0.6",
+ "markdown-it-task-lists": "^2.1.1",
+ "sortablejs": "^1.13.0"
+ },
+ "devDependencies": {
+ "chokidar-cli": "^2.1.0",
+ "esbuild": "0.12.8",
+ "livereload": "^0.9.3",
+ "npm-run-all": "^4.1.5",
+ "punycode": "^2.1.1",
+ "sass": "^1.34.1"
+ }
+ },
+ "node_modules/ansi-regex": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz",
+ "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==",
+ "dev": true,
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/ansi-styles": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
+ "dev": true,
+ "dependencies": {
+ "color-convert": "^1.9.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/anymatch": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.1.tgz",
+ "integrity": "sha512-mM8522psRCqzV+6LhomX5wgp25YVibjh8Wj23I5RPkPppSVSjyKD2A2mBJmWGa+KN7f2D6LNh9jkBCeyLktzjg==",
+ "dev": true,
+ "dependencies": {
+ "normalize-path": "^3.0.0",
+ "picomatch": "^2.0.4"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/argparse": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
+ "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q=="
+ },
+ "node_modules/balanced-match": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz",
+ "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=",
+ "dev": true
+ },
+ "node_modules/binary-extensions": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.1.0.tgz",
+ "integrity": "sha512-1Yj8h9Q+QDF5FzhMs/c9+6UntbD5MkRfRwac8DoEm9ZfUBZ7tZ55YcGVAzEe4bXsdQHEk+s9S5wsOKVdZrw0tQ==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/brace-expansion": {
+ "version": "1.1.11",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
+ "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
+ "dev": true,
+ "dependencies": {
+ "balanced-match": "^1.0.0",
+ "concat-map": "0.0.1"
+ }
+ },
+ "node_modules/braces": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",
+ "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",
+ "dev": true,
+ "dependencies": {
+ "fill-range": "^7.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/camelcase": {
+ "version": "5.3.1",
+ "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz",
+ "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==",
+ "dev": true,
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/chalk": {
+ "version": "2.4.2",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
+ "dev": true,
+ "dependencies": {
+ "ansi-styles": "^3.2.1",
+ "escape-string-regexp": "^1.0.5",
+ "supports-color": "^5.3.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/chokidar": {
+ "version": "3.4.2",
+ "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.4.2.tgz",
+ "integrity": "sha512-IZHaDeBeI+sZJRX7lGcXsdzgvZqKv6sECqsbErJA4mHWfpRrD8B97kSFN4cQz6nGBGiuFia1MKR4d6c1o8Cv7A==",
+ "dev": true,
+ "dependencies": {
+ "anymatch": "~3.1.1",
+ "braces": "~3.0.2",
+ "glob-parent": "~5.1.0",
+ "is-binary-path": "~2.1.0",
+ "is-glob": "~4.0.1",
+ "normalize-path": "~3.0.0",
+ "readdirp": "~3.4.0"
+ },
+ "engines": {
+ "node": ">= 8.10.0"
+ },
+ "optionalDependencies": {
+ "fsevents": "~2.1.2"
+ }
+ },
+ "node_modules/chokidar-cli": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/chokidar-cli/-/chokidar-cli-2.1.0.tgz",
+ "integrity": "sha512-6n21AVpW6ywuEPoxJcLXMA2p4T+SLjWsXKny/9yTWFz0kKxESI3eUylpeV97LylING/27T/RVTY0f2/0QaWq9Q==",
+ "dev": true,
+ "dependencies": {
+ "chokidar": "^3.2.3",
+ "lodash.debounce": "^4.0.8",
+ "lodash.throttle": "^4.1.1",
+ "yargs": "^13.3.0"
+ },
+ "bin": {
+ "chokidar": "index.js"
+ },
+ "engines": {
+ "node": ">= 8.10.0"
+ }
+ },
+ "node_modules/clipboard": {
+ "version": "2.0.8",
+ "resolved": "https://registry.npmjs.org/clipboard/-/clipboard-2.0.8.tgz",
+ "integrity": "sha512-Y6WO0unAIQp5bLmk1zdThRhgJt/x3ks6f30s3oE3H1mgIEU33XyQjEf8gsf6DxC7NPX8Y1SsNWjUjL/ywLnnbQ==",
+ "dependencies": {
+ "good-listener": "^1.2.2",
+ "select": "^1.1.2",
+ "tiny-emitter": "^2.0.0"
+ }
+ },
+ "node_modules/cliui": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/cliui/-/cliui-5.0.0.tgz",
+ "integrity": "sha512-PYeGSEmmHM6zvoef2w8TPzlrnNpXIjTipYK780YswmIP9vjxmd6Y2a3CB2Ks6/AU8NHjZugXvo8w3oWM2qnwXA==",
+ "dev": true,
+ "dependencies": {
+ "string-width": "^3.1.0",
+ "strip-ansi": "^5.2.0",
+ "wrap-ansi": "^5.1.0"
+ }
+ },
+ "node_modules/codemirror": {
+ "version": "5.61.1",
+ "resolved": "https://registry.npmjs.org/codemirror/-/codemirror-5.61.1.tgz",
+ "integrity": "sha512-+D1NZjAucuzE93vJGbAaXzvoBHwp9nJZWWWF9utjv25+5AZUiah6CIlfb4ikG4MoDsFsCG8niiJH5++OO2LgIQ=="
+ },
+ "node_modules/color-convert": {
+ "version": "1.9.3",
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
+ "dev": true,
+ "dependencies": {
+ "color-name": "1.1.3"
+ }
+ },
+ "node_modules/color-name": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",
+ "dev": true
+ },
+ "node_modules/concat-map": {
+ "version": "0.0.1",
+ "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
+ "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=",
+ "dev": true
+ },
+ "node_modules/cross-spawn": {
+ "version": "6.0.5",
+ "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz",
+ "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==",
+ "dev": true,
+ "dependencies": {
+ "nice-try": "^1.0.4",
+ "path-key": "^2.0.1",
+ "semver": "^5.5.0",
+ "shebang-command": "^1.2.0",
+ "which": "^1.2.9"
+ },
+ "engines": {
+ "node": ">=4.8"
+ }
+ },
+ "node_modules/decamelize": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz",
+ "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=",
+ "dev": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/define-properties": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz",
+ "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==",
+ "dev": true,
+ "dependencies": {
+ "object-keys": "^1.0.12"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/delegate": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/delegate/-/delegate-3.2.0.tgz",
+ "integrity": "sha512-IofjkYBZaZivn0V8nnsMJGBr4jVLxHDheKSW88PyxS5QC4Vo9ZbZVvhzlSxY87fVq3STR6r+4cGepyHkcWOQSw=="
+ },
+ "node_modules/dropzone": {
+ "version": "5.9.2",
+ "resolved": "https://registry.npmjs.org/dropzone/-/dropzone-5.9.2.tgz",
+ "integrity": "sha512-5t2z51DzIsWDbTpwcJIvUlwxBbvcwdCApz0yb9ecKJwG155Xm92KMEZmHW1B0MzoXOKvFwdd0nPu5cpeVcvPHQ=="
+ },
+ "node_modules/emoji-regex": {
+ "version": "7.0.3",
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz",
+ "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==",
+ "dev": true
+ },
+ "node_modules/entities": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/entities/-/entities-2.1.0.tgz",
+ "integrity": "sha512-hCx1oky9PFrJ611mf0ifBLBRW8lUUVRlFolb5gWRfIELabBlbp9xZvrqZLZAs+NxFnbfQoeGd8wDkygjg7U85w==",
+ "funding": {
+ "url": "https://github.com/fb55/entities?sponsor=1"
+ }
+ },
+ "node_modules/error-ex": {
+ "version": "1.3.2",
+ "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz",
+ "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==",
+ "dev": true,
+ "dependencies": {
+ "is-arrayish": "^0.2.1"
+ }
+ },
+ "node_modules/es-abstract": {
+ "version": "1.17.6",
+ "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.6.tgz",
+ "integrity": "sha512-Fr89bON3WFyUi5EvAeI48QTWX0AyekGgLA8H+c+7fbfCkJwRWRMLd8CQedNEyJuoYYhmtEqY92pgte1FAhBlhw==",
+ "dev": true,
+ "dependencies": {
+ "es-to-primitive": "^1.2.1",
+ "function-bind": "^1.1.1",
+ "has": "^1.0.3",
+ "has-symbols": "^1.0.1",
+ "is-callable": "^1.2.0",
+ "is-regex": "^1.1.0",
+ "object-inspect": "^1.7.0",
+ "object-keys": "^1.1.1",
+ "object.assign": "^4.1.0",
+ "string.prototype.trimend": "^1.0.1",
+ "string.prototype.trimstart": "^1.0.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/es-to-primitive": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz",
+ "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==",
+ "dev": true,
+ "dependencies": {
+ "is-callable": "^1.1.4",
+ "is-date-object": "^1.0.1",
+ "is-symbol": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/esbuild": {
+ "version": "0.12.8",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.12.8.tgz",
+ "integrity": "sha512-sx/LwlP/SWTGsd9G4RlOPrXnIihAJ2xwBUmzoqe2nWwbXORMQWtAGNJNYLBJJqa3e9PWvVzxdrtyFZJcr7D87g==",
+ "dev": true,
+ "hasInstallScript": true,
+ "bin": {
+ "esbuild": "bin/esbuild"
+ }
+ },
+ "node_modules/escape-string-regexp": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
+ "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=",
+ "dev": true,
+ "engines": {
+ "node": ">=0.8.0"
+ }
+ },
+ "node_modules/fill-range": {
+ "version": "7.0.1",
+ "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",
+ "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",
+ "dev": true,
+ "dependencies": {
+ "to-regex-range": "^5.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/find-up": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz",
+ "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==",
+ "dev": true,
+ "dependencies": {
+ "locate-path": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/fsevents": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.1.3.tgz",
+ "integrity": "sha512-Auw9a4AxqWpa9GUfj370BMPzzyncfBABW8Mab7BGWBYDj4Isgq+cDKtx0i6u9jcX9pQDnswsaaOTgTmA5pEjuQ==",
+ "dev": true,
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
+ }
+ },
+ "node_modules/function-bind": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
+ "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==",
+ "dev": true
+ },
+ "node_modules/get-caller-file": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",
+ "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==",
+ "dev": true,
+ "engines": {
+ "node": "6.* || 8.* || >= 10.*"
+ }
+ },
+ "node_modules/glob-parent": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
+ "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
+ "dev": true,
+ "dependencies": {
+ "is-glob": "^4.0.1"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/good-listener": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/good-listener/-/good-listener-1.2.2.tgz",
+ "integrity": "sha1-1TswzfkxPf+33JoNR3CWqm0UXFA=",
+ "dependencies": {
+ "delegate": "^3.1.2"
+ }
+ },
+ "node_modules/graceful-fs": {
+ "version": "4.2.4",
+ "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz",
+ "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==",
+ "dev": true
+ },
+ "node_modules/has": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
+ "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",
+ "dev": true,
+ "dependencies": {
+ "function-bind": "^1.1.1"
+ },
+ "engines": {
+ "node": ">= 0.4.0"
+ }
+ },
+ "node_modules/has-flag": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",
+ "dev": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/has-symbols": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz",
+ "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==",
+ "dev": true,
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/hosted-git-info": {
+ "version": "2.8.9",
+ "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz",
+ "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==",
+ "dev": true
+ },
+ "node_modules/is-arrayish": {
+ "version": "0.2.1",
+ "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz",
+ "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=",
+ "dev": true
+ },
+ "node_modules/is-binary-path": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",
+ "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==",
+ "dev": true,
+ "dependencies": {
+ "binary-extensions": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/is-callable": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.0.tgz",
+ "integrity": "sha512-pyVD9AaGLxtg6srb2Ng6ynWJqkHU9bEM087AKck0w8QwDarTfNcpIYoU8x8Hv2Icm8u6kFJM18Dag8lyqGkviw==",
+ "dev": true,
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/is-date-object": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.2.tgz",
+ "integrity": "sha512-USlDT524woQ08aoZFzh3/Z6ch9Y/EWXEHQ/AaRN0SkKq4t2Jw2R2339tSXmwuVoY7LLlBCbOIlx2myP/L5zk0g==",
+ "dev": true,
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/is-extglob": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
+ "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=",
+ "dev": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-fullwidth-code-point": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",
+ "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=",
+ "dev": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/is-glob": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz",
+ "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==",
+ "dev": true,
+ "dependencies": {
+ "is-extglob": "^2.1.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-number": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
+ "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
+ "dev": true,
+ "engines": {
+ "node": ">=0.12.0"
+ }
+ },
+ "node_modules/is-regex": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.1.tgz",
+ "integrity": "sha512-1+QkEcxiLlB7VEyFtyBg94e08OAsvq7FUBgApTq/w2ymCLyKJgDPsybBENVtA7XCQEgEXxKPonG+mvYRxh/LIg==",
+ "dev": true,
+ "dependencies": {
+ "has-symbols": "^1.0.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/is-symbol": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.3.tgz",
+ "integrity": "sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ==",
+ "dev": true,
+ "dependencies": {
+ "has-symbols": "^1.0.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/isexe": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
+ "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=",
+ "dev": true
+ },
+ "node_modules/json-parse-better-errors": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz",
+ "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==",
+ "dev": true
+ },
+ "node_modules/linkify-it": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-3.0.2.tgz",
+ "integrity": "sha512-gDBO4aHNZS6coiZCKVhSNh43F9ioIL4JwRjLZPkoLIY4yZFwg264Y5lu2x6rb1Js42Gh6Yqm2f6L2AJcnkzinQ==",
+ "dependencies": {
+ "uc.micro": "^1.0.1"
+ }
+ },
+ "node_modules/livereload": {
+ "version": "0.9.3",
+ "resolved": "https://registry.npmjs.org/livereload/-/livereload-0.9.3.tgz",
+ "integrity": "sha512-q7Z71n3i4X0R9xthAryBdNGVGAO2R5X+/xXpmKeuPMrteg+W2U8VusTKV3YiJbXZwKsOlFlHe+go6uSNjfxrZw==",
+ "dev": true,
+ "dependencies": {
+ "chokidar": "^3.5.0",
+ "livereload-js": "^3.3.1",
+ "opts": ">= 1.2.0",
+ "ws": "^7.4.3"
+ },
+ "bin": {
+ "livereload": "bin/livereload.js"
+ },
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
+ "node_modules/livereload-js": {
+ "version": "3.3.2",
+ "resolved": "https://registry.npmjs.org/livereload-js/-/livereload-js-3.3.2.tgz",
+ "integrity": "sha512-w677WnINxFkuixAoUEXOStewzLYGI76XVag+0JWMMEyjJQKs0ibWZMxkTlB96Lm3EjZ7IeOxVziBEbtxVQqQZA==",
+ "dev": true
+ },
+ "node_modules/livereload/node_modules/chokidar": {
+ "version": "3.5.1",
+ "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.1.tgz",
+ "integrity": "sha512-9+s+Od+W0VJJzawDma/gvBNQqkTiqYTWLuZoyAsivsI4AaWTCzHG06/TMjsf1cYe9Cb97UCEhjz7HvnPk2p/tw==",
+ "dev": true,
+ "dependencies": {
+ "anymatch": "~3.1.1",
+ "braces": "~3.0.2",
+ "glob-parent": "~5.1.0",
+ "is-binary-path": "~2.1.0",
+ "is-glob": "~4.0.1",
+ "normalize-path": "~3.0.0",
+ "readdirp": "~3.5.0"
+ },
+ "engines": {
+ "node": ">= 8.10.0"
+ },
+ "optionalDependencies": {
+ "fsevents": "~2.3.1"
+ }
+ },
+ "node_modules/livereload/node_modules/fsevents": {
+ "version": "2.3.2",
+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz",
+ "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==",
+ "dev": true,
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
+ }
+ },
+ "node_modules/livereload/node_modules/readdirp": {
+ "version": "3.5.0",
+ "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.5.0.tgz",
+ "integrity": "sha512-cMhu7c/8rdhkHXWsY+osBhfSy0JikwpHK/5+imo+LpeasTF8ouErHrlYkwT0++njiyuDvc7OFY5T3ukvZ8qmFQ==",
+ "dev": true,
+ "dependencies": {
+ "picomatch": "^2.2.1"
+ },
+ "engines": {
+ "node": ">=8.10.0"
+ }
+ },
+ "node_modules/load-json-file": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz",
+ "integrity": "sha1-L19Fq5HjMhYjT9U62rZo607AmTs=",
+ "dev": true,
+ "dependencies": {
+ "graceful-fs": "^4.1.2",
+ "parse-json": "^4.0.0",
+ "pify": "^3.0.0",
+ "strip-bom": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/locate-path": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz",
+ "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==",
+ "dev": true,
+ "dependencies": {
+ "p-locate": "^3.0.0",
+ "path-exists": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/lodash.debounce": {
+ "version": "4.0.8",
+ "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz",
+ "integrity": "sha1-gteb/zCmfEAF/9XiUVMArZyk168=",
+ "dev": true
+ },
+ "node_modules/lodash.throttle": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/lodash.throttle/-/lodash.throttle-4.1.1.tgz",
+ "integrity": "sha1-wj6RtxAkKscMN/HhzaknTMOb8vQ=",
+ "dev": true
+ },
+ "node_modules/markdown-it": {
+ "version": "12.0.6",
+ "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-12.0.6.tgz",
+ "integrity": "sha512-qv3sVLl4lMT96LLtR7xeRJX11OUFjsaD5oVat2/SNBIb21bJXwal2+SklcRbTwGwqWpWH/HRtYavOoJE+seL8w==",
+ "dependencies": {
+ "argparse": "^2.0.1",
+ "entities": "~2.1.0",
+ "linkify-it": "^3.0.1",
+ "mdurl": "^1.0.1",
+ "uc.micro": "^1.0.5"
+ },
+ "bin": {
+ "markdown-it": "bin/markdown-it.js"
+ }
+ },
+ "node_modules/markdown-it-task-lists": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/markdown-it-task-lists/-/markdown-it-task-lists-2.1.1.tgz",
+ "integrity": "sha512-TxFAc76Jnhb2OUu+n3yz9RMu4CwGfaT788br6HhEDlvWfdeJcLUsxk1Hgw2yJio0OXsxv7pyIPmvECY7bMbluA=="
+ },
+ "node_modules/mdurl": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/mdurl/-/mdurl-1.0.1.tgz",
+ "integrity": "sha1-/oWy7HWlkDfyrf7BAP1sYBdhFS4="
+ },
+ "node_modules/memorystream": {
+ "version": "0.3.1",
+ "resolved": "https://registry.npmjs.org/memorystream/-/memorystream-0.3.1.tgz",
+ "integrity": "sha1-htcJCzDORV1j+64S3aUaR93K+bI=",
+ "dev": true,
+ "engines": {
+ "node": ">= 0.10.0"
+ }
+ },
+ "node_modules/minimatch": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",
+ "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",
+ "dev": true,
+ "dependencies": {
+ "brace-expansion": "^1.1.7"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/nice-try": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz",
+ "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==",
+ "dev": true
+ },
+ "node_modules/normalize-package-data": {
+ "version": "2.5.0",
+ "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz",
+ "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==",
+ "dev": true,
+ "dependencies": {
+ "hosted-git-info": "^2.1.4",
+ "resolve": "^1.10.0",
+ "semver": "2 || 3 || 4 || 5",
+ "validate-npm-package-license": "^3.0.1"
+ }
+ },
+ "node_modules/normalize-path": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",
+ "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==",
+ "dev": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/npm-run-all": {
+ "version": "4.1.5",
+ "resolved": "https://registry.npmjs.org/npm-run-all/-/npm-run-all-4.1.5.tgz",
+ "integrity": "sha512-Oo82gJDAVcaMdi3nuoKFavkIHBRVqQ1qvMb+9LHk/cF4P6B2m8aP04hGf7oL6wZ9BuGwX1onlLhpuoofSyoQDQ==",
+ "dev": true,
+ "dependencies": {
+ "ansi-styles": "^3.2.1",
+ "chalk": "^2.4.1",
+ "cross-spawn": "^6.0.5",
+ "memorystream": "^0.3.1",
+ "minimatch": "^3.0.4",
+ "pidtree": "^0.3.0",
+ "read-pkg": "^3.0.0",
+ "shell-quote": "^1.6.1",
+ "string.prototype.padend": "^3.0.0"
+ },
+ "bin": {
+ "npm-run-all": "bin/npm-run-all/index.js",
+ "run-p": "bin/run-p/index.js",
+ "run-s": "bin/run-s/index.js"
+ },
+ "engines": {
+ "node": ">= 4"
+ }
+ },
+ "node_modules/object-inspect": {
+ "version": "1.8.0",
+ "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.8.0.tgz",
+ "integrity": "sha512-jLdtEOB112fORuypAyl/50VRVIBIdVQOSUUGQHzJ4xBSbit81zRarz7GThkEFZy1RceYrWYcPcBFPQwHyAc1gA==",
+ "dev": true
+ },
+ "node_modules/object-keys": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz",
+ "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==",
+ "dev": true,
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/object.assign": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.0.tgz",
+ "integrity": "sha512-exHJeq6kBKj58mqGyTQ9DFvrZC/eR6OwxzoM9YRoGBqrXYonaFyGiFMuc9VZrXf7DarreEwMpurG3dd+CNyW5w==",
+ "dev": true,
+ "dependencies": {
+ "define-properties": "^1.1.2",
+ "function-bind": "^1.1.1",
+ "has-symbols": "^1.0.0",
+ "object-keys": "^1.0.11"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/opts": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/opts/-/opts-2.0.2.tgz",
+ "integrity": "sha512-k41FwbcLnlgnFh69f4qdUfvDQ+5vaSDnVPFI/y5XuhKRq97EnVVneO9F1ESVCdiVu4fCS2L8usX3mU331hB7pg==",
+ "dev": true
+ },
+ "node_modules/p-limit": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz",
+ "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==",
+ "dev": true,
+ "dependencies": {
+ "p-try": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/p-locate": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz",
+ "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==",
+ "dev": true,
+ "dependencies": {
+ "p-limit": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/p-try": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
+ "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",
+ "dev": true,
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/parse-json": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz",
+ "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=",
+ "dev": true,
+ "dependencies": {
+ "error-ex": "^1.3.1",
+ "json-parse-better-errors": "^1.0.1"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/path-exists": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz",
+ "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=",
+ "dev": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/path-key": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz",
+ "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=",
+ "dev": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/path-parse": {
+ "version": "1.0.6",
+ "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz",
+ "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==",
+ "dev": true
+ },
+ "node_modules/path-type": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz",
+ "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==",
+ "dev": true,
+ "dependencies": {
+ "pify": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/picomatch": {
+ "version": "2.2.2",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.2.tgz",
+ "integrity": "sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg==",
+ "dev": true,
+ "engines": {
+ "node": ">=8.6"
+ }
+ },
+ "node_modules/pidtree": {
+ "version": "0.3.1",
+ "resolved": "https://registry.npmjs.org/pidtree/-/pidtree-0.3.1.tgz",
+ "integrity": "sha512-qQbW94hLHEqCg7nhby4yRC7G2+jYHY4Rguc2bjw7Uug4GIJuu1tvf2uHaZv5Q8zdt+WKJ6qK1FOI6amaWUo5FA==",
+ "dev": true,
+ "bin": {
+ "pidtree": "bin/pidtree.js"
+ },
+ "engines": {
+ "node": ">=0.10"
+ }
+ },
+ "node_modules/pify": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz",
+ "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=",
+ "dev": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/punycode": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz",
+ "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==",
+ "dev": true,
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/read-pkg": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz",
+ "integrity": "sha1-nLxoaXj+5l0WwA4rGcI3/Pbjg4k=",
+ "dev": true,
+ "dependencies": {
+ "load-json-file": "^4.0.0",
+ "normalize-package-data": "^2.3.2",
+ "path-type": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/readdirp": {
+ "version": "3.4.0",
+ "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.4.0.tgz",
+ "integrity": "sha512-0xe001vZBnJEK+uKcj8qOhyAKPzIT+gStxWr3LCB0DwcXR5NZJ3IaC+yGnHCYzB/S7ov3m3EEbZI2zeNvX+hGQ==",
+ "dev": true,
+ "dependencies": {
+ "picomatch": "^2.2.1"
+ },
+ "engines": {
+ "node": ">=8.10.0"
+ }
+ },
+ "node_modules/require-directory": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz",
+ "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=",
+ "dev": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/require-main-filename": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz",
+ "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==",
+ "dev": true
+ },
+ "node_modules/resolve": {
+ "version": "1.17.0",
+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.17.0.tgz",
+ "integrity": "sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w==",
+ "dev": true,
+ "dependencies": {
+ "path-parse": "^1.0.6"
+ }
+ },
+ "node_modules/sass": {
+ "version": "1.34.1",
+ "resolved": "https://registry.npmjs.org/sass/-/sass-1.34.1.tgz",
+ "integrity": "sha512-scLA7EIZM+MmYlej6sdVr0HRbZX5caX5ofDT9asWnUJj21oqgsC+1LuNfm0eg+vM0fCTZHhwImTiCU0sx9h9CQ==",
+ "dev": true,
+ "dependencies": {
+ "chokidar": ">=3.0.0 <4.0.0"
+ },
+ "bin": {
+ "sass": "sass.js"
+ },
+ "engines": {
+ "node": ">=8.9.0"
+ }
+ },
+ "node_modules/select": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/select/-/select-1.1.2.tgz",
+ "integrity": "sha1-DnNQrN7ICxEIUoeG7B1EGNEbOW0="
+ },
+ "node_modules/semver": {
+ "version": "5.7.1",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
+ "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==",
+ "dev": true,
+ "bin": {
+ "semver": "bin/semver"
+ }
+ },
+ "node_modules/set-blocking": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz",
+ "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=",
+ "dev": true
+ },
+ "node_modules/shebang-command": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz",
+ "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=",
+ "dev": true,
+ "dependencies": {
+ "shebang-regex": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/shebang-regex": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz",
+ "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=",
+ "dev": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/shell-quote": {
+ "version": "1.7.2",
+ "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.7.2.tgz",
+ "integrity": "sha512-mRz/m/JVscCrkMyPqHc/bczi3OQHkLTqXHEFu0zDhK/qfv3UcOA4SVmRCLmos4bhjr9ekVQubj/R7waKapmiQg==",
+ "dev": true
+ },
+ "node_modules/sortablejs": {
+ "version": "1.13.0",
+ "resolved": "https://registry.npmjs.org/sortablejs/-/sortablejs-1.13.0.tgz",
+ "integrity": "sha512-RBJirPY0spWCrU5yCmWM1eFs/XgX2J5c6b275/YyxFRgnzPhKl/TDeU2hNR8Dt7ITq66NRPM4UlOt+e5O4CFHg=="
+ },
+ "node_modules/spdx-correct": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.1.tgz",
+ "integrity": "sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==",
+ "dev": true,
+ "dependencies": {
+ "spdx-expression-parse": "^3.0.0",
+ "spdx-license-ids": "^3.0.0"
+ }
+ },
+ "node_modules/spdx-exceptions": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz",
+ "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==",
+ "dev": true
+ },
+ "node_modules/spdx-expression-parse": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz",
+ "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==",
+ "dev": true,
+ "dependencies": {
+ "spdx-exceptions": "^2.1.0",
+ "spdx-license-ids": "^3.0.0"
+ }
+ },
+ "node_modules/spdx-license-ids": {
+ "version": "3.0.5",
+ "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.5.tgz",
+ "integrity": "sha512-J+FWzZoynJEXGphVIS+XEh3kFSjZX/1i9gFBaWQcB+/tmpe2qUsSBABpcxqxnAxFdiUFEgAX1bjYGQvIZmoz9Q==",
+ "dev": true
+ },
+ "node_modules/string-width": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz",
+ "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==",
+ "dev": true,
+ "dependencies": {
+ "emoji-regex": "^7.0.1",
+ "is-fullwidth-code-point": "^2.0.0",
+ "strip-ansi": "^5.1.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/string.prototype.padend": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/string.prototype.padend/-/string.prototype.padend-3.1.0.tgz",
+ "integrity": "sha512-3aIv8Ffdp8EZj8iLwREGpQaUZiPyrWrpzMBHvkiSW/bK/EGve9np07Vwy7IJ5waydpGXzQZu/F8Oze2/IWkBaA==",
+ "dev": true,
+ "dependencies": {
+ "define-properties": "^1.1.3",
+ "es-abstract": "^1.17.0-next.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/string.prototype.trimend": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.1.tgz",
+ "integrity": "sha512-LRPxFUaTtpqYsTeNKaFOw3R4bxIzWOnbQ837QfBylo8jIxtcbK/A/sMV7Q+OAV/vWo+7s25pOE10KYSjaSO06g==",
+ "dev": true,
+ "dependencies": {
+ "define-properties": "^1.1.3",
+ "es-abstract": "^1.17.5"
+ }
+ },
+ "node_modules/string.prototype.trimstart": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.1.tgz",
+ "integrity": "sha512-XxZn+QpvrBI1FOcg6dIpxUPgWCPuNXvMD72aaRaUQv1eD4e/Qy8i/hFTe0BUmD60p/QA6bh1avmuPTfNjqVWRw==",
+ "dev": true,
+ "dependencies": {
+ "define-properties": "^1.1.3",
+ "es-abstract": "^1.17.5"
+ }
+ },
+ "node_modules/strip-ansi": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",
+ "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==",
+ "dev": true,
+ "dependencies": {
+ "ansi-regex": "^4.1.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/strip-bom": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz",
+ "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=",
+ "dev": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/supports-color": {
+ "version": "5.5.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
+ "dev": true,
+ "dependencies": {
+ "has-flag": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/tiny-emitter": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/tiny-emitter/-/tiny-emitter-2.1.0.tgz",
+ "integrity": "sha512-NB6Dk1A9xgQPMoGqC5CVXn123gWyte215ONT5Pp5a0yt4nlEoO1ZWeCwpncaekPHXO60i47ihFnZPiRPjRMq4Q=="
+ },
+ "node_modules/to-regex-range": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
+ "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
+ "dev": true,
+ "dependencies": {
+ "is-number": "^7.0.0"
+ },
+ "engines": {
+ "node": ">=8.0"
+ }
+ },
+ "node_modules/uc.micro": {
+ "version": "1.0.6",
+ "resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-1.0.6.tgz",
+ "integrity": "sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA=="
+ },
+ "node_modules/validate-npm-package-license": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz",
+ "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==",
+ "dev": true,
+ "dependencies": {
+ "spdx-correct": "^3.0.0",
+ "spdx-expression-parse": "^3.0.0"
+ }
+ },
+ "node_modules/which": {
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz",
+ "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==",
+ "dev": true,
+ "dependencies": {
+ "isexe": "^2.0.0"
+ },
+ "bin": {
+ "which": "bin/which"
+ }
+ },
+ "node_modules/which-module": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz",
+ "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=",
+ "dev": true
+ },
+ "node_modules/wrap-ansi": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-5.1.0.tgz",
+ "integrity": "sha512-QC1/iN/2/RPVJ5jYK8BGttj5z83LmSKmvbvrXPNCLZSEb32KKVDJDl/MOt2N01qU2H/FkzEa9PKto1BqDjtd7Q==",
+ "dev": true,
+ "dependencies": {
+ "ansi-styles": "^3.2.0",
+ "string-width": "^3.0.0",
+ "strip-ansi": "^5.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/ws": {
+ "version": "7.4.6",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.6.tgz",
+ "integrity": "sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A==",
+ "dev": true,
+ "engines": {
+ "node": ">=8.3.0"
+ },
+ "peerDependencies": {
+ "bufferutil": "^4.0.1",
+ "utf-8-validate": "^5.0.2"
+ },
+ "peerDependenciesMeta": {
+ "bufferutil": {
+ "optional": true
+ },
+ "utf-8-validate": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/y18n": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.1.tgz",
+ "integrity": "sha512-wNcy4NvjMYL8gogWWYAO7ZFWFfHcbdbE57tZO8e4cbpj8tfUcwrwqSl3ad8HxpYWCdXcJUCeKKZS62Av1affwQ==",
+ "dev": true
+ },
+ "node_modules/yargs": {
+ "version": "13.3.2",
+ "resolved": "https://registry.npmjs.org/yargs/-/yargs-13.3.2.tgz",
+ "integrity": "sha512-AX3Zw5iPruN5ie6xGRIDgqkT+ZhnRlZMLMHAs8tg7nRruy2Nb+i5o9bwghAogtM08q1dpr2LVoS8KSTMYpWXUw==",
+ "dev": true,
+ "dependencies": {
+ "cliui": "^5.0.0",
+ "find-up": "^3.0.0",
+ "get-caller-file": "^2.0.1",
+ "require-directory": "^2.1.1",
+ "require-main-filename": "^2.0.0",
+ "set-blocking": "^2.0.0",
+ "string-width": "^3.0.0",
+ "which-module": "^2.0.0",
+ "y18n": "^4.0.0",
+ "yargs-parser": "^13.1.2"
+ }
+ },
+ "node_modules/yargs-parser": {
+ "version": "13.1.2",
+ "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-13.1.2.tgz",
+ "integrity": "sha512-3lbsNRf/j+A4QuSZfDRA7HRSfWrzO0YjqTJd5kjAq37Zep1CEgaYmrH9Q3GwPiB9cHyd1Y1UwggGhJGoxipbzg==",
+ "dev": true,
+ "dependencies": {
+ "camelcase": "^5.0.0",
+ "decamelize": "^1.2.0"
+ }
+ }
+ },
"dependencies": {
"ansi-regex": {
"version": "4.1.0",
}
},
"argparse": {
- "version": "1.0.10",
- "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",
- "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==",
- "requires": {
- "sprintf-js": "~1.0.2"
- }
- },
- "async-limiter": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz",
- "integrity": "sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==",
- "dev": true
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
+ "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q=="
},
"balanced-match": {
"version": "1.0.0",
}
},
"clipboard": {
- "version": "2.0.6",
- "resolved": "https://registry.npmjs.org/clipboard/-/clipboard-2.0.6.tgz",
- "integrity": "sha512-g5zbiixBRk/wyKakSwCKd7vQXDjFnAMGHoEyBogG/bw9kTD9GvdAvaoRR1ALcEzt3pVKxZR0pViekPMIS0QyGg==",
+ "version": "2.0.8",
+ "resolved": "https://registry.npmjs.org/clipboard/-/clipboard-2.0.8.tgz",
+ "integrity": "sha512-Y6WO0unAIQp5bLmk1zdThRhgJt/x3ks6f30s3oE3H1mgIEU33XyQjEf8gsf6DxC7NPX8Y1SsNWjUjL/ywLnnbQ==",
"requires": {
"good-listener": "^1.2.2",
"select": "^1.1.2",
}
},
"codemirror": {
- "version": "5.58.1",
- "resolved": "https://registry.npmjs.org/codemirror/-/codemirror-5.58.1.tgz",
- "integrity": "sha512-UGb/ueu20U4xqWk8hZB3xIfV2/SFqnSLYONiM3wTMDqko0bsYrsAkGGhqUzbRkYm89aBKPyHtuNEbVWF9FTFzw=="
+ "version": "5.61.1",
+ "resolved": "https://registry.npmjs.org/codemirror/-/codemirror-5.61.1.tgz",
+ "integrity": "sha512-+D1NZjAucuzE93vJGbAaXzvoBHwp9nJZWWWF9utjv25+5AZUiah6CIlfb4ikG4MoDsFsCG8niiJH5++OO2LgIQ=="
},
"color-convert": {
"version": "1.9.3",
"integrity": "sha512-IofjkYBZaZivn0V8nnsMJGBr4jVLxHDheKSW88PyxS5QC4Vo9ZbZVvhzlSxY87fVq3STR6r+4cGepyHkcWOQSw=="
},
"dropzone": {
- "version": "5.7.2",
- "resolved": "https://registry.npmjs.org/dropzone/-/dropzone-5.7.2.tgz",
- "integrity": "sha512-m217bJHtf0J1IiKn4Tv6mnu1h5QvQNBnKZ39gma7hzGQhIZMxYq1vYEHs4AVd4ThFwmALys+52NAOD4zdLTG4w=="
+ "version": "5.9.2",
+ "resolved": "https://registry.npmjs.org/dropzone/-/dropzone-5.9.2.tgz",
+ "integrity": "sha512-5t2z51DzIsWDbTpwcJIvUlwxBbvcwdCApz0yb9ecKJwG155Xm92KMEZmHW1B0MzoXOKvFwdd0nPu5cpeVcvPHQ=="
},
"emoji-regex": {
"version": "7.0.3",
"dev": true
},
"entities": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/entities/-/entities-2.0.3.tgz",
- "integrity": "sha512-MyoZ0jgnLvB2X3Lg5HqpFmn1kybDiIfEQmKzTb5apr51Rb+T3KdmMiqa70T+bhGnyv7bQ6WMj2QMHpGMmlrUYQ=="
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/entities/-/entities-2.1.0.tgz",
+ "integrity": "sha512-hCx1oky9PFrJ611mf0ifBLBRW8lUUVRlFolb5gWRfIELabBlbp9xZvrqZLZAs+NxFnbfQoeGd8wDkygjg7U85w=="
},
"error-ex": {
"version": "1.3.2",
}
},
"esbuild": {
- "version": "0.7.8",
- "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.7.8.tgz",
- "integrity": "sha512-6UT1nZB+8ja5avctUC6d3kGOUAhy6/ZYHljL4nk3++1ipadghBhUCAcwsTHsmUvdu04CcGKzo13mE+ZQ2O3zrA==",
+ "version": "0.12.8",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.12.8.tgz",
+ "integrity": "sha512-sx/LwlP/SWTGsd9G4RlOPrXnIihAJ2xwBUmzoqe2nWwbXORMQWtAGNJNYLBJJqa3e9PWvVzxdrtyFZJcr7D87g==",
"dev": true
},
"escape-string-regexp": {
"dev": true
},
"glob-parent": {
- "version": "5.1.1",
- "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.1.tgz",
- "integrity": "sha512-FnI+VGOpnlGHWZxthPGR+QhR78fuiK0sNLkHQv+bL9fQi57lNNdquIbna/WrfROrolq8GK5Ek6BiMwqL/voRYQ==",
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
+ "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
"dev": true,
"requires": {
"is-glob": "^4.0.1"
"dev": true
},
"hosted-git-info": {
- "version": "2.8.8",
- "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.8.tgz",
- "integrity": "sha512-f/wzC2QaWBs7t9IYqB4T3sR1xviIViXJRJTWBlx2Gf3g0Xi5vI7Yy4koXQ1c9OYDGHN9sBy1DQ2AB8fqZBWhUg==",
+ "version": "2.8.9",
+ "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz",
+ "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==",
"dev": true
},
"is-arrayish": {
}
},
"livereload": {
- "version": "0.9.1",
- "resolved": "https://registry.npmjs.org/livereload/-/livereload-0.9.1.tgz",
- "integrity": "sha512-9g7sua11kkyZNo2hLRCG3LuZZwqexoyEyecSlV8cAsfAVVCZqLzVir6XDqmH0r+Vzgnd5LrdHDMyjtFnJQLAYw==",
+ "version": "0.9.3",
+ "resolved": "https://registry.npmjs.org/livereload/-/livereload-0.9.3.tgz",
+ "integrity": "sha512-q7Z71n3i4X0R9xthAryBdNGVGAO2R5X+/xXpmKeuPMrteg+W2U8VusTKV3YiJbXZwKsOlFlHe+go6uSNjfxrZw==",
"dev": true,
"requires": {
- "chokidar": "^3.3.0",
- "livereload-js": "^3.1.0",
+ "chokidar": "^3.5.0",
+ "livereload-js": "^3.3.1",
"opts": ">= 1.2.0",
- "ws": "^6.2.1"
+ "ws": "^7.4.3"
+ },
+ "dependencies": {
+ "chokidar": {
+ "version": "3.5.1",
+ "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.1.tgz",
+ "integrity": "sha512-9+s+Od+W0VJJzawDma/gvBNQqkTiqYTWLuZoyAsivsI4AaWTCzHG06/TMjsf1cYe9Cb97UCEhjz7HvnPk2p/tw==",
+ "dev": true,
+ "requires": {
+ "anymatch": "~3.1.1",
+ "braces": "~3.0.2",
+ "fsevents": "~2.3.1",
+ "glob-parent": "~5.1.0",
+ "is-binary-path": "~2.1.0",
+ "is-glob": "~4.0.1",
+ "normalize-path": "~3.0.0",
+ "readdirp": "~3.5.0"
+ }
+ },
+ "fsevents": {
+ "version": "2.3.2",
+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz",
+ "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==",
+ "dev": true,
+ "optional": true
+ },
+ "readdirp": {
+ "version": "3.5.0",
+ "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.5.0.tgz",
+ "integrity": "sha512-cMhu7c/8rdhkHXWsY+osBhfSy0JikwpHK/5+imo+LpeasTF8ouErHrlYkwT0++njiyuDvc7OFY5T3ukvZ8qmFQ==",
+ "dev": true,
+ "requires": {
+ "picomatch": "^2.2.1"
+ }
+ }
}
},
"livereload-js": {
- "version": "3.3.1",
- "resolved": "https://registry.npmjs.org/livereload-js/-/livereload-js-3.3.1.tgz",
- "integrity": "sha512-CBu1gTEfzVhlOK1WASKAAJ9Qx1fHECTq0SUB67sfxwQssopTyvzqTlgl+c0h9pZ6V+Fzd2rc510ppuNusg9teQ==",
+ "version": "3.3.2",
+ "resolved": "https://registry.npmjs.org/livereload-js/-/livereload-js-3.3.2.tgz",
+ "integrity": "sha512-w677WnINxFkuixAoUEXOStewzLYGI76XVag+0JWMMEyjJQKs0ibWZMxkTlB96Lm3EjZ7IeOxVziBEbtxVQqQZA==",
"dev": true
},
"load-json-file": {
"dev": true
},
"markdown-it": {
- "version": "11.0.1",
- "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-11.0.1.tgz",
- "integrity": "sha512-aU1TzmBKcWNNYvH9pjq6u92BML+Hz3h5S/QpfTFwiQF852pLT+9qHsrhM9JYipkOXZxGn+sGH8oyJE9FD9WezQ==",
+ "version": "12.0.6",
+ "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-12.0.6.tgz",
+ "integrity": "sha512-qv3sVLl4lMT96LLtR7xeRJX11OUFjsaD5oVat2/SNBIb21bJXwal2+SklcRbTwGwqWpWH/HRtYavOoJE+seL8w==",
"requires": {
- "argparse": "^1.0.7",
- "entities": "~2.0.0",
+ "argparse": "^2.0.1",
+ "entities": "~2.1.0",
"linkify-it": "^3.0.1",
"mdurl": "^1.0.1",
"uc.micro": "^1.0.5"
}
},
"sass": {
- "version": "1.26.11",
- "resolved": "https://registry.npmjs.org/sass/-/sass-1.26.11.tgz",
- "integrity": "sha512-W1l/+vjGjIamsJ6OnTe0K37U2DBO/dgsv2Z4c89XQ8ZOO6l/VwkqwLSqoYzJeJs6CLuGSTRWc91GbQFL3lvrvw==",
+ "version": "1.34.1",
+ "resolved": "https://registry.npmjs.org/sass/-/sass-1.34.1.tgz",
+ "integrity": "sha512-scLA7EIZM+MmYlej6sdVr0HRbZX5caX5ofDT9asWnUJj21oqgsC+1LuNfm0eg+vM0fCTZHhwImTiCU0sx9h9CQ==",
"dev": true,
"requires": {
- "chokidar": ">=2.0.0 <4.0.0"
+ "chokidar": ">=3.0.0 <4.0.0"
}
},
"select": {
"dev": true
},
"sortablejs": {
- "version": "1.12.0",
- "resolved": "https://registry.npmjs.org/sortablejs/-/sortablejs-1.12.0.tgz",
- "integrity": "sha512-bPn57rCjBRlt2sC24RBsu40wZsmLkSo2XeqG8k6DC1zru5eObQUIPPZAQG7W2SJ8FZQYq+BEJmvuw1Zxb3chqg=="
+ "version": "1.13.0",
+ "resolved": "https://registry.npmjs.org/sortablejs/-/sortablejs-1.13.0.tgz",
+ "integrity": "sha512-RBJirPY0spWCrU5yCmWM1eFs/XgX2J5c6b275/YyxFRgnzPhKl/TDeU2hNR8Dt7ITq66NRPM4UlOt+e5O4CFHg=="
},
"spdx-correct": {
"version": "3.1.1",
"integrity": "sha512-J+FWzZoynJEXGphVIS+XEh3kFSjZX/1i9gFBaWQcB+/tmpe2qUsSBABpcxqxnAxFdiUFEgAX1bjYGQvIZmoz9Q==",
"dev": true
},
- "sprintf-js": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz",
- "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw="
- },
"string-width": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz",
}
},
"ws": {
- "version": "6.2.1",
- "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.1.tgz",
- "integrity": "sha512-GIyAXC2cB7LjvpgMt9EKS2ldqr0MTrORaleiOno6TweZ6r3TKtoFQWay/2PceJ3RuBasOHzXNn5Lrw1X0bEjqA==",
+ "version": "7.4.6",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.6.tgz",
+ "integrity": "sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A==",
"dev": true,
- "requires": {
- "async-limiter": "~1.0.0"
- }
+ "requires": {}
},
"y18n": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.0.tgz",
- "integrity": "sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w==",
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.1.tgz",
+ "integrity": "sha512-wNcy4NvjMYL8gogWWYAO7ZFWFfHcbdbE57tZO8e4cbpj8tfUcwrwqSl3ad8HxpYWCdXcJUCeKKZS62Av1affwQ==",
"dev": true
},
"yargs": {
},
"devDependencies": {
"chokidar-cli": "^2.1.0",
- "esbuild": "0.7.8",
- "livereload": "^0.9.1",
+ "esbuild": "0.12.8",
+ "livereload": "^0.9.3",
"npm-run-all": "^4.1.5",
"punycode": "^2.1.1",
- "sass": "^1.26.11"
+ "sass": "^1.34.1"
},
"dependencies": {
- "clipboard": "^2.0.6",
- "codemirror": "^5.58.1",
- "dropzone": "^5.7.2",
- "markdown-it": "^11.0.1",
+ "clipboard": "^2.0.8",
+ "codemirror": "^5.61.1",
+ "dropzone": "^5.9.2",
+ "markdown-it": "^12.0.6",
"markdown-it-task-lists": "^2.1.1",
- "sortablejs": "^1.12.0"
+ "sortablejs": "^1.13.0"
}
}
<?xml version="1.0"?>
-<ruleset name="PHP_CodeSniffer">
+<ruleset name="BookStack Standard">
+ <!-- Format described at: https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-Ruleset -->
<description>The coding standard for BookStack.</description>
- <file>app</file>
+ <config name="php_version" value="70205"/>
+ <file>./app</file>
<exclude-pattern>*/migrations/*</exclude-pattern>
<exclude-pattern>*/tests/*</exclude-pattern>
<arg value="np"/>
+ <arg name="colors"/>
<rule ref="PSR2"/>
</ruleset>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
-<phpunit backupGlobals="false"
+<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
+ backupGlobals="false"
backupStaticAttributes="false"
bootstrap="vendor/autoload.php"
colors="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false">
- <testsuites>
- <testsuite name="Application Test Suite">
- <directory>./tests/</directory>
- </testsuite>
- </testsuites>
- <filter>
- <whitelist>
- <directory suffix=".php">app/</directory>
- </whitelist>
- </filter>
- <php>
- <server name="APP_ENV" value="testing"/>
- <server name="APP_DEBUG" value="false"/>
- <server name="APP_LANG" value="en"/>
- <server name="APP_THEME" value="none"/>
- <server name="APP_AUTO_LANG_PUBLIC" value="true"/>
- <server name="CACHE_DRIVER" value="array"/>
- <server name="SESSION_DRIVER" value="array"/>
- <server name="QUEUE_CONNECTION" value="sync"/>
- <server name="DB_CONNECTION" value="mysql_testing"/>
- <server name="BCRYPT_ROUNDS" value="4"/>
- <server name="MAIL_DRIVER" value="array"/>
- <server name="LOG_CHANNEL" value="single"/>
- <server name="AUTH_METHOD" value="standard"/>
- <server name="DISABLE_EXTERNAL_SERVICES" value="true"/>
- <server name="AVATAR_URL" value=""/>
- <server name="LDAP_VERSION" value="3"/>
- <server name="STORAGE_TYPE" value="local"/>
- <server name="STORAGE_ATTACHMENT_TYPE" value="local"/>
- <server name="STORAGE_IMAGE_TYPE" value="local"/>
- <server name="GITHUB_APP_ID" value="aaaaaaaaaaaaaa"/>
- <server name="GITHUB_APP_SECRET" value="aaaaaaaaaaaaaa"/>
- <server name="GITHUB_AUTO_REGISTER" value=""/>
- <server name="GITHUB_AUTO_CONFIRM_EMAIL" value=""/>
- <server name="GOOGLE_APP_ID" value="aaaaaaaaaaaaaa"/>
- <server name="GOOGLE_APP_SECRET" value="aaaaaaaaaaaaaa"/>
- <server name="GOOGLE_AUTO_REGISTER" value=""/>
- <server name="GOOGLE_AUTO_CONFIRM_EMAIL" value=""/>
- <server name="GOOGLE_SELECT_ACCOUNT" value=""/>
- <server name="APP_URL" value="http://bookstack.dev"/>
- <server name="DEBUGBAR_ENABLED" value="false"/>
- <server name="SAML2_ENABLED" value="false"/>
- <server name="API_REQUESTS_PER_MIN" value="180"/>
- <server name="LOG_FAILED_LOGIN_MESSAGE" value=""/>
- <server name="LOG_FAILED_LOGIN_CHANNEL" value="testing"/>
- </php>
+ <coverage>
+ <include>
+ <directory suffix=".php">app/</directory>
+ </include>
+ </coverage>
+ <testsuites>
+ <testsuite name="Application Test Suite">
+ <directory>./tests/</directory>
+ </testsuite>
+ </testsuites>
+ <php>
+ <server name="APP_ENV" value="testing"/>
+ <server name="APP_DEBUG" value="false"/>
+ <server name="APP_LANG" value="en"/>
+ <server name="APP_THEME" value="none"/>
+ <server name="APP_AUTO_LANG_PUBLIC" value="true"/>
+ <server name="APP_URL" value="http://bookstack.dev"/>
+ <server name="ALLOWED_IFRAME_HOSTS" value=""/>
+ <server name="CACHE_DRIVER" value="array"/>
+ <server name="SESSION_DRIVER" value="array"/>
+ <server name="QUEUE_CONNECTION" value="sync"/>
+ <server name="DB_CONNECTION" value="mysql_testing"/>
+ <server name="BCRYPT_ROUNDS" value="4"/>
+ <server name="MAIL_DRIVER" value="array"/>
+ <server name="LOG_CHANNEL" value="single"/>
+ <server name="AUTH_METHOD" value="standard"/>
+ <server name="DISABLE_EXTERNAL_SERVICES" value="true"/>
+ <server name="AVATAR_URL" value=""/>
+ <server name="LDAP_START_TLS" value="false"/>
+ <server name="LDAP_VERSION" value="3"/>
+ <server name="SESSION_SECURE_COOKIE" value="null"/>
+ <server name="STORAGE_TYPE" value="local"/>
+ <server name="STORAGE_ATTACHMENT_TYPE" value="local"/>
+ <server name="STORAGE_IMAGE_TYPE" value="local"/>
+ <server name="GITHUB_APP_ID" value="aaaaaaaaaaaaaa"/>
+ <server name="GITHUB_APP_SECRET" value="aaaaaaaaaaaaaa"/>
+ <server name="GITHUB_AUTO_REGISTER" value=""/>
+ <server name="GITHUB_AUTO_CONFIRM_EMAIL" value=""/>
+ <server name="GOOGLE_APP_ID" value="aaaaaaaaaaaaaa"/>
+ <server name="GOOGLE_APP_SECRET" value="aaaaaaaaaaaaaa"/>
+ <server name="GOOGLE_AUTO_REGISTER" value=""/>
+ <server name="GOOGLE_AUTO_CONFIRM_EMAIL" value=""/>
+ <server name="GOOGLE_SELECT_ACCOUNT" value=""/>
+ <server name="DEBUGBAR_ENABLED" value="false"/>
+ <server name="SAML2_ENABLED" value="false"/>
+ <server name="API_REQUESTS_PER_MIN" value="180"/>
+ <server name="LOG_FAILED_LOGIN_MESSAGE" value=""/>
+ <server name="LOG_FAILED_LOGIN_CHANNEL" value="testing"/>
+ <server name="WKHTMLTOPDF" value="false"/>
+ <server name="APP_DEFAULT_DARK_MODE" value="false"/>
+ </php>
</phpunit>
[](https://github.com/BookStackApp/BookStack/blob/master/LICENSE)
[](https://crowdin.com/project/bookstack)
[](https://github.com/BookStackApp/BookStack/actions)
-[](https://discord.gg/ztkBqR2)
+[](https://discord.gg/ztkBqR2)
+[](https://gh-stats.bookstackapp.com/)
A platform for storing and organising information and documentation. Details for BookStack can be found on the official website at https://www.bookstackapp.com/.
BookStack releases are each assigned a version number, such as "v0.25.2", in the format `v<phase>.<feature>.<patch>`. A change only in the `patch` number indicates a fairly minor release that mainly contains fixes and therefore is very unlikely to cause breakages upon update. A change in the `feature` number indicates a release which will generally bring new features in addition to fixes and enhancements. These releases have a small chance of introducing breaking changes upon update so it's worth checking for any notes in the [update guide](https://www.bookstackapp.com/docs/admin/updates/). A change in the `phase` indicates a much large change in BookStack that will likely incur breakages requiring manual intervention.
-Each BookStack release will have a [milestone](https://github.com/BookStackApp/BookStack/milestones) created with issues & pull requests assigned to it to define what will be in that release. Milestones are built up then worked through until complete at which point, after some testing and documentation updates, the release will be deployed.
+Each BookStack release will have a [milestone](https://github.com/BookStackApp/BookStack/milestones) created with issues & pull requests assigned to it to define what will be in that release. Milestones are built up then worked through until complete at which point, after some testing and documentation updates, the release will be deployed.
-For feature releases, and some patch releases, the release will be accompanied by a post on the [BookStack blog](https://www.bookstackapp.com/blog/) which will provide additional detail on features, changes & updates otherwise the [GitHub release page](https://github.com/BookStackApp/BookStack/releases) will show a list of changes. You can sign up to be alerted to new BookStack blogs posts (once per week maximum) [at this link](http://eepurl.com/cmmq5j).
+For feature releases, and some patch releases, the release will be accompanied by a post on the [BookStack blog](https://www.bookstackapp.com/blog/) which will provide additional detail on features, changes & updates otherwise the [GitHub release page](https://github.com/BookStackApp/BookStack/releases) will show a list of changes. You can sign up to be alerted to new BookStack blogs posts (once per week maximum) [at this link](https://updates.bookstackapp.com/signup/bookstack-news-and-updates).
## 🛠️ Development & Testing
All development on BookStack is currently done on the master branch. When it's time for a release the master branch is merged into release with built & minified CSS & JS then tagged at its version. Here are the current development requirements:
-* [Node.js](https://nodejs.org/en/) v10.0+
+* [Node.js](https://nodejs.org/en/) v12.0+
This project uses SASS for CSS development and this is built, along with the JavaScript, using a range of npm scripts. The below npm commands can be used to install the dependencies & run the build tasks:
If needed, You'll be able to run any artisan commands via docker-compose like so:
- ```shell script
-docker-compose run app php artisan list
+```bash
+docker-compose run app php artisan list
```
The docker-compose setup runs an instance of [MailHog](https://github.com/mailhog/MailHog) and sets environment variables to redirect any BookStack-sent emails to MailHog. You can view this mail via the MailHog web interface on `localhost:8025`. You can change the port MailHog is accessible on by setting a `DEV_MAIL_PORT` environment variable.
+#### Running tests
+
+After starting the general development Docker, migrate & seed the testing database:
+
+ ```bash
+# This only needs to be done once
+docker-compose run app php artisan migrate --database=mysql_testing
+docker-compose run app php artisan db:seed --class=DummyContentSeeder --database=mysql_testing
+```
+
+Once the database has been migrated & seeded, you can run the tests like so:
+
+ ```bash
+docker-compose run app php vendor/bin/phpunit
+```
+
## 🌎 Translations
Translations for text within BookStack is managed through the [BookStack project on Crowdin](https://crowdin.com/project/bookstack). Some strings have colon-prefixed variables in such as `:userName`. Leave these values as they are as they will be replaced at run-time. Crowdin is the preferred way to provide translations, otherwise the raw translations files can be found within the `resources/lang` path.
Pull requests are welcome. Unless a small tweak or language update, It may be best to open the pull request early or create an issue for your intended change to discuss how it will fit in to the project and plan out the merge. Just because a feature request exists, or is tagged, does not mean that feature would be accepted into the core project.
-Pull requests should be created from the `master` branch since they will be merged back into `master` once done. Please do not build from or request a merge into the `release` branch as this is only for publishing releases. If you are looking to alter CSS or JavaScript content please edit the source files found in `resources/assets`. Any CSS or JS files within `public` are built from these source files and therefore should not be edited directly.
+Pull requests should be created from the `master` branch since they will be merged back into `master` once done. Please do not build from or request a merge into the `release` branch as this is only for publishing releases. If you are looking to alter CSS or JavaScript content please edit the source files found in `resources/`. Any CSS or JS files within `public` are built from these source files and therefore should not be edited directly.
The project's code of conduct [can be found here](https://github.com/BookStackApp/BookStack/blob/master/.github/CODE_OF_CONDUCT.md).
Security information for administering a BookStack instance can be found on the [documentation site here](https://www.bookstackapp.com/docs/admin/security/).
-If you'd like to be notified of new potential security concerns you can [sign-up to the BookStack security mailing list](http://eepurl.com/glIh8z).
+If you'd like to be notified of new potential security concerns you can [sign-up to the BookStack security mailing list](https://updates.bookstackapp.com/signup/bookstack-security-updates).
If you would like to report a security concern in a more confidential manner than via a GitHub issue, You can directly email the lead maintainer [ssddanbrown](https://github.com/ssddanbrown). You will need to login to be able to see the email address on the [GitHub profile page](https://github.com/ssddanbrown). Alternatively you can send a DM via twitter to [@ssddanbrown](https://twitter.com/ssddanbrown).
* [Laravel IDE helper](https://github.com/barryvdh/laravel-ide-helper)
* [WKHTMLtoPDF](http://wkhtmltopdf.org/index.html)
* [diagrams.net](https://github.com/jgraph/drawio)
-* [Laravel Stats](https://github.com/stefanzweifel/laravel-stats)
* [OneLogin's SAML PHP Toolkit](https://github.com/onelogin/php-saml)
+* [League/CommonMark](https://commonmark.thephpleague.com/)
+* [League/Flysystem](https://flysystem.thephpleague.com)
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
- <path d="M0 0h24v24H0z" fill="none"/>
<path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zm4.24 16L12 15.45 7.77 18l1.12-4.81-3.73-3.23 4.92-.42L12 5l1.92 4.53 4.92.42-3.73 3.23L16.23 18z"/>
</svg>
\ No newline at end of file
--- /dev/null
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"/></svg>
\ No newline at end of file
-<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
- <path d="M0 0h24v24H0z" fill="none"/>
- <path d="M17.63 5.84C17.27 5.33 16.67 5 16 5L5 5.01C3.9 5.01 3 5.9 3 7v10c0 1.1.9 1.99 2 1.99L16 19c.67 0 1.27-.33 1.63-.84L22 12l-4.37-6.16z"/>
-</svg>
\ No newline at end of file
+<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" viewBox="0 0 24 24"><path d="M21.41,11.41l-8.83-8.83C12.21,2.21,11.7,2,11.17,2H4C2.9,2,2,2.9,2,4v7.17c0,0.53,0.21,1.04,0.59,1.41l8.83,8.83 c0.78,0.78,2.05,0.78,2.83,0l7.17-7.17C22.2,13.46,22.2,12.2,21.41,11.41z M6.5,8C5.67,8,5,7.33,5,6.5S5.67,5,6.5,5S8,5.67,8,6.5 S7.33,8,6.5,8z"/></svg>
\ No newline at end of file
--- /dev/null
+/**
+ * Attachments List
+ * Adds '?open=true' query to file attachment links
+ * when ctrl/cmd is pressed down.
+ * @extends {Component}
+ */
+class AttachmentsList {
+
+ setup() {
+ this.container = this.$el;
+ this.setupListeners();
+ }
+
+ setupListeners() {
+ const isExpectedKey = (event) => event.key === 'Control' || event.key === 'Meta';
+ window.addEventListener('keydown', event => {
+ if (isExpectedKey(event)) {
+ this.addOpenQueryToLinks();
+ }
+ }, {passive: true});
+ window.addEventListener('keyup', event => {
+ if (isExpectedKey(event)) {
+ this.removeOpenQueryFromLinks();
+ }
+ }, {passive: true});
+ }
+
+ addOpenQueryToLinks() {
+ const links = this.container.querySelectorAll('a.attachment-file');
+ for (const link of links) {
+ if (link.href.split('?')[1] !== 'open=true') {
+ link.href = link.href + '?open=true';
+ link.setAttribute('target', '_blank');
+ }
+ }
+ }
+
+ removeOpenQueryFromLinks() {
+ const links = this.container.querySelectorAll('a.attachment-file');
+ for (const link of links) {
+ link.href = link.href.split('?')[0];
+ link.removeAttribute('target');
+ }
+ }
+}
+
+export default AttachmentsList;
\ No newline at end of file
+++ /dev/null
-
-
-class BreadcrumbListing {
-
- constructor(elem) {
- this.elem = elem;
- this.searchInput = elem.querySelector('input');
- this.loadingElem = elem.querySelector('.loading-container');
- this.entityListElem = elem.querySelector('.breadcrumb-listing-entity-list');
-
- // this.loadingElem.style.display = 'none';
- const entityDescriptor = elem.getAttribute('breadcrumb-listing').split(':');
- this.entityType = entityDescriptor[0];
- this.entityId = Number(entityDescriptor[1]);
-
- this.elem.addEventListener('show', this.onShow.bind(this));
- this.searchInput.addEventListener('input', this.onSearch.bind(this));
- }
-
- onShow() {
- this.loadEntityView();
- }
-
- onSearch() {
- const input = this.searchInput.value.toLowerCase().trim();
- const listItems = this.entityListElem.querySelectorAll('.entity-list-item');
- for (let listItem of listItems) {
- const match = !input || listItem.textContent.toLowerCase().includes(input);
- listItem.style.display = match ? 'flex' : 'none';
- listItem.classList.toggle('hidden', !match);
- }
- }
-
- loadEntityView() {
- this.toggleLoading(true);
-
- const params = {
- 'entity_id': this.entityId,
- 'entity_type': this.entityType,
- };
-
- window.$http.get('/search/entity/siblings', params).then(resp => {
- this.entityListElem.innerHTML = resp.data;
- }).catch(err => {
- console.error(err);
- }).then(() => {
- this.toggleLoading(false);
- this.onSearch();
- });
- }
-
- toggleLoading(show = false) {
- this.loadingElem.style.display = show ? 'block' : 'none';
- }
-
-}
-
-export default BreadcrumbListing;
\ No newline at end of file
--- /dev/null
+import {debounce} from "../services/util";
+
+class DropdownSearch {
+
+ setup() {
+ this.elem = this.$el;
+ this.searchInput = this.$refs.searchInput;
+ this.loadingElem = this.$refs.loading;
+ this.listContainerElem = this.$refs.listContainer;
+
+ this.localSearchSelector = this.$opts.localSearchSelector;
+ this.url = this.$opts.url;
+
+ this.elem.addEventListener('show', this.onShow.bind(this));
+ this.searchInput.addEventListener('input', this.onSearch.bind(this));
+
+ this.runAjaxSearch = debounce(this.runAjaxSearch, 300, false);
+ }
+
+ onShow() {
+ this.loadList();
+ }
+
+ onSearch() {
+ const input = this.searchInput.value.toLowerCase().trim();
+ if (this.localSearchSelector) {
+ this.runLocalSearch(input);
+ } else {
+ this.toggleLoading(true);
+ this.runAjaxSearch(input);
+ }
+ }
+
+ runAjaxSearch(searchTerm) {
+ this.loadList(searchTerm);
+ }
+
+ runLocalSearch(searchTerm) {
+ const listItems = this.listContainerElem.querySelectorAll(this.localSearchSelector);
+ for (let listItem of listItems) {
+ const match = !searchTerm || listItem.textContent.toLowerCase().includes(searchTerm);
+ listItem.style.display = match ? 'flex' : 'none';
+ listItem.classList.toggle('hidden', !match);
+ }
+ }
+
+ async loadList(searchTerm = '') {
+ this.listContainerElem.innerHTML = '';
+ this.toggleLoading(true);
+
+ try {
+ const resp = await window.$http.get(this.getAjaxUrl(searchTerm));
+ this.listContainerElem.innerHTML = resp.data;
+ } catch (err) {
+ console.error(err);
+ }
+
+ this.toggleLoading(false);
+ if (this.localSearchSelector) {
+ this.onSearch();
+ }
+ }
+
+ getAjaxUrl(searchTerm = null) {
+ if (!searchTerm) {
+ return this.url;
+ }
+
+ const joiner = this.url.includes('?') ? '&' : '?';
+ return `${this.url}${joiner}search=${encodeURIComponent(searchTerm)}`;
+ }
+
+ toggleLoading(show = false) {
+ this.loadingElem.style.display = show ? 'block' : 'none';
+ }
+
+}
+
+export default DropdownSearch;
\ No newline at end of file
this.menu = this.$refs.menu;
this.toggle = this.$refs.toggle;
this.moveMenu = this.$opts.moveMenu;
+ this.bubbleEscapes = this.$opts.bubbleEscapes === 'true';
this.direction = (document.dir === 'rtl') ? 'right' : 'left';
this.body = document.body;
this.showing = false;
this.setupListeners();
+ this.hide = this.hide.bind(this);
}
show(event = null) {
} else if (event.key === 'Escape') {
this.hide();
this.toggle.focus();
- event.stopPropagation();
+ if (!this.bubbleEscapes) {
+ event.stopPropagation();
+ }
}
};
this.container.addEventListener('keydown', keyboardNavigation);
+import {onChildEvent} from "../services/dom";
+/**
+ * Entity Selector
+ * @extends {Component}
+ */
class EntitySelector {
- constructor(elem) {
- this.elem = elem;
+ setup() {
+ this.elem = this.$el;
+ this.entityTypes = this.$opts.entityTypes || 'page,book,chapter';
+ this.entityPermission = this.$opts.entityPermission || 'view';
+
+ this.input = this.$refs.input;
+ this.searchInput = this.$refs.search;
+ this.loading = this.$refs.loading;
+ this.resultsContainer = this.$refs.results;
+ this.addButton = this.$refs.add;
+
this.search = '';
this.lastClick = 0;
this.selectedItemData = null;
- const entityTypes = elem.hasAttribute('entity-types') ? elem.getAttribute('entity-types') : 'page,book,chapter';
- const entityPermission = elem.hasAttribute('entity-permission') ? elem.getAttribute('entity-permission') : 'view';
- this.searchUrl = window.baseUrl(`/ajax/search/entities?types=${encodeURIComponent(entityTypes)}&permission=${encodeURIComponent(entityPermission)}`);
-
- this.input = elem.querySelector('[entity-selector-input]');
- this.searchInput = elem.querySelector('[entity-selector-search]');
- this.loading = elem.querySelector('[entity-selector-loading]');
- this.resultsContainer = elem.querySelector('[entity-selector-results]');
- this.addButton = elem.querySelector('[entity-selector-add-button]');
+ this.setupListeners();
+ this.showLoading();
+ this.initialLoad();
+ }
+ setupListeners() {
this.elem.addEventListener('click', this.onClick.bind(this));
let lastSearch = 0;
});
}
- this.showLoading();
- this.initialLoad();
+ // Keyboard navigation
+ onChildEvent(this.$el, '[data-entity-type]', 'keydown', (e, el) => {
+ if (e.ctrlKey && e.code === 'Enter') {
+ const form = this.$el.closest('form');
+ if (form) {
+ form.submit();
+ e.preventDefault();
+ return;
+ }
+ }
+
+ if (e.code === 'ArrowDown') {
+ this.focusAdjacent(true);
+ }
+ if (e.code === 'ArrowUp') {
+ this.focusAdjacent(false);
+ }
+ });
+
+ this.searchInput.addEventListener('keydown', e => {
+ if (e.code === 'ArrowDown') {
+ this.focusAdjacent(true);
+ }
+ })
+ }
+
+ focusAdjacent(forward = true) {
+ const items = Array.from(this.resultsContainer.querySelectorAll('[data-entity-type]'));
+ const selectedIndex = items.indexOf(document.activeElement);
+ const newItem = items[selectedIndex+ (forward ? 1 : -1)] || items[0];
+ if (newItem) {
+ newItem.focus();
+ }
}
showLoading() {
}
initialLoad() {
- window.$http.get(this.searchUrl).then(resp => {
+ window.$http.get(this.searchUrl()).then(resp => {
this.resultsContainer.innerHTML = resp.data;
this.hideLoading();
})
}
+ searchUrl() {
+ return `/ajax/search/entities?types=${encodeURIComponent(this.entityTypes)}&permission=${encodeURIComponent(this.entityPermission)}`;
+ }
+
searchEntities(searchTerm) {
this.input.value = '';
- let url = `${this.searchUrl}&term=${encodeURIComponent(searchTerm)}`;
+ const url = `${this.searchUrl()}&term=${encodeURIComponent(searchTerm)}`;
window.$http.get(url).then(resp => {
this.resultsContainer.innerHTML = resp.data;
this.hideLoading();
}
isDoubleClick() {
- let now = Date.now();
- let answer = now - this.lastClick < 300;
+ const now = Date.now();
+ const answer = now - this.lastClick < 300;
this.lastClick = now;
return answer;
}
}
unselectAll() {
- let selected = this.elem.querySelectorAll('.selected');
- for (let selectedElem of selected) {
+ const selected = this.elem.querySelectorAll('.selected');
+ for (const selectedElem of selected) {
selectedElem.classList.remove('selected', 'primary-background');
}
this.selectedItemData = null;
class HeaderMobileToggle {
- constructor(elem) {
- this.elem = elem;
- this.toggleButton = elem.querySelector('.mobile-menu-toggle');
- this.menu = elem.querySelector('.header-links');
- this.open = false;
+ setup() {
+ this.elem = this.$el;
+ this.toggleButton = this.$refs.toggle;
+ this.menu = this.$refs.menu;
+ this.open = false;
this.toggleButton.addEventListener('click', this.onToggle.bind(this));
this.onWindowClick = this.onWindowClick.bind(this);
+ this.onKeyDown = this.onKeyDown.bind(this);
}
onToggle(event) {
this.open = !this.open;
this.menu.classList.toggle('show', this.open);
+ this.toggleButton.setAttribute('aria-expanded', this.open ? 'true' : 'false');
if (this.open) {
+ this.elem.addEventListener('keydown', this.onKeyDown);
window.addEventListener('click', this.onWindowClick)
} else {
+ this.elem.removeEventListener('keydown', this.onKeyDown);
window.removeEventListener('click', this.onWindowClick)
}
event.stopPropagation();
}
+ onKeyDown(event) {
+ if (event.code === 'Escape') {
+ this.onToggle(event);
+ }
+ }
+
onWindowClick(event) {
this.onToggle(event);
}
}
-module.exports = HeaderMobileToggle;
\ No newline at end of file
+export default HeaderMobileToggle;
\ No newline at end of file
import ajaxDeleteRow from "./ajax-delete-row.js"
import ajaxForm from "./ajax-form.js"
import attachments from "./attachments.js"
+import attachmentsList from "./attachments-list.js"
import autoSuggest from "./auto-suggest.js"
import backToTop from "./back-to-top.js"
import bookSort from "./book-sort.js"
-import breadcrumbListing from "./breadcrumb-listing.js"
import chapterToggle from "./chapter-toggle.js"
import codeEditor from "./code-editor.js"
import codeHighlighter from "./code-highlighter.js"
import customCheckbox from "./custom-checkbox.js"
import detailsHighlighter from "./details-highlighter.js"
import dropdown from "./dropdown.js"
+import dropdownSearch from "./dropdown-search.js"
import dropzone from "./dropzone.js"
import editorToolbox from "./editor-toolbox.js"
import entityPermissionsEditor from "./entity-permissions-editor.js"
import templateManager from "./template-manager.js"
import toggleSwitch from "./toggle-switch.js"
import triLayout from "./tri-layout.js"
+import userSelect from "./user-select.js"
import wysiwygEditor from "./wysiwyg-editor.js"
const componentMapping = {
"ajax-delete-row": ajaxDeleteRow,
"ajax-form": ajaxForm,
"attachments": attachments,
+ "attachments-list": attachmentsList,
"auto-suggest": autoSuggest,
"back-to-top": backToTop,
"book-sort": bookSort,
- "breadcrumb-listing": breadcrumbListing,
"chapter-toggle": chapterToggle,
"code-editor": codeEditor,
"code-highlighter": codeHighlighter,
"custom-checkbox": customCheckbox,
"details-highlighter": detailsHighlighter,
"dropdown": dropdown,
+ "dropdown-search": dropdownSearch,
"dropzone": dropzone,
"editor-toolbox": editorToolbox,
"entity-permissions-editor": entityPermissionsEditor,
"template-manager": templateManager,
"toggle-switch": toggleSwitch,
"tri-layout": triLayout,
+ "user-select": userSelect,
"wysiwyg-editor": wysiwygEditor,
};
this.pageId = this.$opts.pageId;
this.textDirection = this.$opts.textDirection;
this.imageUploadErrorText = this.$opts.imageUploadErrorText;
+ this.serverUploadLimitText = this.$opts.serverUploadLimitText;
this.markdown = new MarkdownIt({html: true});
this.markdown.use(mdTasksLists, {label: true});
this.displayStylesLoaded = false;
this.input = this.elem.querySelector('textarea');
- this.htmlInput = this.elem.querySelector('input[name=html]');
this.cm = code.markdownEditor(this.input);
this.onMarkdownScroll = this.onMarkdownScroll.bind(this);
// Set body content
this.displayDoc.body.className = 'page-content';
this.displayDoc.body.innerHTML = html;
- this.htmlInput.value = html;
// Copy styles from page head and set custom styles for editor
this.loadStylesIntoDisplay();
this.insertDrawing(resp.data, cursorPos);
DrawIO.close();
}).catch(err => {
- window.$events.emit('error', trans('errors.image_upload_error'));
- console.log(err);
+ this.handleDrawingUploadError(err);
});
});
}
this.cm.focus();
DrawIO.close();
}).catch(err => {
- window.$events.emit('error', this.imageUploadErrorText);
- console.log(err);
+ this.handleDrawingUploadError(err);
});
});
}
+ handleDrawingUploadError(error) {
+ if (error.status === 413) {
+ window.$events.emit('error', this.serverUploadLimitText);
+ } else {
+ window.$events.emit('error', this.imageUploadErrorText);
+ }
+ console.log(error);
+ }
+
// Make the editor full screen
actionFullScreen() {
const alreadyFullscreen = this.elem.classList.contains('fullscreen');
Code.highlight();
this.setupPointer();
this.setupNavHighlighting();
+ this.setupDetailsCodeBlockRefresh();
// Check the hash on load
if (window.location.hash) {
});
}
}
+
+ setupDetailsCodeBlockRefresh() {
+ const onToggle = event => {
+ const codeMirrors = [...event.target.querySelectorAll('.CodeMirror')];
+ codeMirrors.forEach(cm => cm.CodeMirror && cm.CodeMirror.refresh());
+ };
+
+ const details = [...this.elem.querySelectorAll('details')];
+ details.forEach(detail => detail.addEventListener('toggle', onToggle));
+ }
}
export default PageDisplay;
this.editorType = this.$opts.editorType;
this.pageId = Number(this.$opts.pageId);
this.isNewDraft = this.$opts.pageNewDraft === 'true';
- this.hasDefaultTitle = this.$opts.isDefaultTitle || false;
+ this.hasDefaultTitle = this.$opts.hasDefaultTitle || false;
// Elements
this.container = this.$el;
class TriLayout {
- constructor(elem) {
- this.elem = elem;
+ setup() {
+ this.container = this.$refs.container;
+ this.tabs = this.$manyRefs.tab;
this.lastLayoutType = 'none';
this.onDestroy = null;
}
setupMobile() {
- const layoutTabs = document.querySelectorAll('[tri-layout-mobile-tab]');
- for (let tab of layoutTabs) {
+ for (const tab of this.tabs) {
tab.addEventListener('click', this.mobileTabClick);
}
this.onDestroy = () => {
- for (let tab of layoutTabs) {
+ for (const tab of this.tabs) {
tab.removeEventListener('click', this.mobileTabClick);
}
}
* @param event
*/
mobileTabClick(event) {
- const tab = event.target.getAttribute('tri-layout-mobile-tab');
+ const tab = event.target.dataset.tab;
this.showTab(tab);
}
/**
* Show the given tab
- * @param tabName
+ * @param {String} tabName
+ * @param {Boolean }scroll
*/
showTab(tabName, scroll = true) {
this.scrollCache[this.lastTabShown] = document.documentElement.scrollTop;
// Set tab status
- const tabs = document.querySelectorAll('.tri-layout-mobile-tab');
- for (let tab of tabs) {
- const isActive = (tab.getAttribute('tri-layout-mobile-tab') === tabName);
- tab.classList.toggle('active', isActive);
+ for (const tab of this.tabs) {
+ const isActive = (tab.dataset.tab === tabName);
+ tab.setAttribute('aria-selected', isActive ? 'true' : 'false');
}
// Toggle section
const showInfo = (tabName === 'info');
- this.elem.classList.toggle('show-info', showInfo);
+ this.container.classList.toggle('show-info', showInfo);
// Set the scroll position from cache
if (scroll) {
--- /dev/null
+import {onChildEvent} from "../services/dom";
+
+class UserSelect {
+
+ setup() {
+
+ this.input = this.$refs.input;
+ this.userInfoContainer = this.$refs.userInfo;
+
+ this.hide = this.$el.components.dropdown.hide;
+
+ onChildEvent(this.$el, 'a.dropdown-search-item', 'click', this.selectUser.bind(this));
+ }
+
+ selectUser(event, userEl) {
+ event.preventDefault();
+ const id = userEl.getAttribute('data-id');
+ this.input.value = id;
+ this.userInfoContainer.innerHTML = userEl.innerHTML;
+ this.input.dispatchEvent(new Event('change', {bubbles: true}));
+ this.hide();
+ }
+
+}
+
+export default UserSelect;
\ No newline at end of file
return;
}
- let lang = selectedNode.hasAttribute('data-lang') ? selectedNode.getAttribute('data-lang') : '';
- let currentCode = selectedNode.querySelector('textarea').textContent;
+ const lang = selectedNode.hasAttribute('data-lang') ? selectedNode.getAttribute('data-lang') : '';
+ const currentCode = selectedNode.querySelector('textarea').textContent;
window.components.first('code-editor').open(currentCode, lang, (code, lang) => {
const editorElem = selectedNode.querySelector('.CodeMirror');
showPopup(editor);
});
- editor.on('SetContent', function () {
+ function parseCodeMirrorInstances() {
// Recover broken codemirror instances
$('.CodeMirrorContainer').filter((index ,elem) => {
return elem.contentEditable !== "false";
});
- if (!codeSamples.length) return;
+ codeSamples.each((index, elem) => {
+ Code.wysiwygView(elem);
+ });
+ }
+
+ editor.on('init', function() {
+ // Parse code mirror instances on init, but delay a little so this runs after
+ // initial styles are fetched into the editor.
editor.undoManager.transact(function () {
- codeSamples.each((index, elem) => {
- Code.wysiwygView(elem);
- });
+ parseCodeMirrorInstances();
});
+ // Parsed code mirror blocks when content is set but wait before setting this handler
+ // to avoid any init 'SetContent' events.
+ setTimeout(() => {
+ editor.on('SetContent', () => {
+ setTimeout(parseCodeMirrorInstances, 100);
+ });
+ }, 200);
});
});
const id = "image-" + Math.random().toString(16).slice(2);
const loadingImage = window.baseUrl('/loading.gif');
+ const handleUploadError = (error) => {
+ if (error.status === 413) {
+ window.$events.emit('error', wysiwygComponent.serverUploadLimitText);
+ } else {
+ window.$events.emit('error', wysiwygComponent.imageUploadErrorText);
+ }
+ console.log(error);
+ };
+
// Handle updating an existing image
if (currentNode) {
DrawIO.close();
pageEditor.dom.setAttrib(imgElem, 'src', img.url);
pageEditor.dom.setAttrib(currentNode, 'drawio-diagram', img.id);
} catch (err) {
- window.$events.emit('error', wysiwygComponent.imageUploadErrorText);
- console.log(err);
+ handleUploadError(err);
}
return;
}
pageEditor.dom.get(id).parentNode.setAttribute('drawio-diagram', img.id);
} catch (err) {
pageEditor.dom.remove(id);
- window.$events.emit('error', wysiwygComponent.imageUploadErrorText);
- console.log(err);
+ handleUploadError(err);
}
}, 5);
}
this.pageId = this.$opts.pageId;
this.textDirection = this.$opts.textDirection;
this.imageUploadErrorText = this.$opts.imageUploadErrorText;
+ this.serverUploadLimitText = this.$opts.serverUploadLimitText;
this.isDarkMode = document.documentElement.classList.contains('dark-mode');
- this.plugins = "image table textcolor paste link autolink fullscreen code customhr autosave lists codeeditor media";
+ this.plugins = "image imagetools table textcolor paste link autolink fullscreen code customhr autosave lists codeeditor media";
this.loadPlugins();
this.tinyMceConfig = this.getTinyMceConfig();
theme: getTheme(),
readOnly: true
});
- setTimeout(() => {
- cm.refresh();
- }, 300);
+
return {wrap: newWrap, editor: cm};
}
let iFrame = null;
-
+let lastApprovedOrigin;
let onInit, onSave;
/**
iFrame.setAttribute('class', 'fullscreen');
iFrame.style.backgroundColor = '#FFFFFF';
document.body.appendChild(iFrame);
+ lastApprovedOrigin = (new URL(drawioUrl)).origin;
}
function close() {
drawEventClose();
}
+/**
+ * Receive and handle a message event from the draw.io window.
+ * @param {MessageEvent} event
+ */
function drawReceive(event) {
if (!event.data || event.data.length < 1) return;
- let message = JSON.parse(event.data);
+ if (event.origin !== lastApprovedOrigin) return;
+
+ const message = JSON.parse(event.data);
if (message.event === 'init') {
drawEventInit();
} else if (message.event === 'exit') {
}
function drawPostMessage(data) {
- iFrame.contentWindow.postMessage(JSON.stringify(data), '*');
+ iFrame.contentWindow.postMessage(JSON.stringify(data), lastApprovedOrigin);
}
async function upload(imageData, pageUploadedToId) {
return null;
}
- const responseContentType = response.headers.get('Content-Type');
- const subType = responseContentType.split('/').pop();
+ const responseContentType = response.headers.get('Content-Type') || '';
+ const subType = responseContentType.split(';')[0].split('/').pop();
if (subType === 'javascript' || subType === 'json') {
return await response.json();
'book_delete' => 'تم حذف الكتاب',
'book_delete_notification' => 'تم حذف الكتاب بنجاح',
'book_sort' => 'تم سرد الكتاب',
- 'book_sort_notification' => 'تÙ\85ت إعادة سرد الكتاب بنجاح',
+ 'book_sort_notification' => 'Ø£Ù\8fعÙ\90Ù\8aدÙ\8e سرد الكتاب بنجاح',
// Bookshelves
'bookshelf_create' => 'تم إنشاء رف الكتب',
- 'bookshelf_create_notification' => 'Bookshelf Successfully Created',
- 'bookshelf_update' => 'updated bookshelf',
- 'bookshelf_update_notification' => 'Bookshelf Successfully Updated',
- 'bookshelf_delete' => 'deleted bookshelf',
- 'bookshelf_delete_notification' => 'Bookshelf Successfully Deleted',
+ 'bookshelf_create_notification' => 'تم إنشاء الرف بنجاح',
+ 'bookshelf_update' => 'تم تحديث الرف',
+ 'bookshelf_update_notification' => 'تم تحديث الرف بنجاح',
+ 'bookshelf_delete' => 'تم تحديث الرف',
+ 'bookshelf_delete_notification' => 'تم حذف الرف بنجاح',
+
+ // Favourites
+ 'favourite_add_notification' => '":name" has been added to your favourites',
+ 'favourite_remove_notification' => '":name" has been removed from your favourites',
// Other
'commented_on' => 'تم التعليق',
+ 'permissions_update' => 'تحديث الأذونات',
];
'remember_me' => 'تذكرني',
'ldap_email_hint' => 'الرجاء إدخال عنوان بريد إلكتروني لاستخدامه مع الحساب.',
'create_account' => 'إنشاء حساب',
- 'already_have_account' => 'Already have an account?',
- 'dont_have_account' => 'Don\'t have an account?',
+ 'already_have_account' => 'لديك حساب بالفعل؟',
+ 'dont_have_account' => 'ليس لديك حساب؟',
'social_login' => 'تسجيل الدخول باستخدام حسابات التواصل الاجتماعي',
'social_registration' => 'إنشاء حساب باستخدام حسابات التواصل الاجتماعي',
'social_registration_text' => 'إنشاء حساب والدخول باستخدام خدمة أخرى.',
'reset_password' => 'استعادة كلمة المرور',
'reset_password_send_instructions' => 'أدخل بريدك الإلكتروني بالأسفل وسيتم إرسال رسالة برابط لاستعادة كلمة المرور.',
'reset_password_send_button' => 'أرسل رابط الاستعادة',
- 'reset_password_sent' => 'A password reset link will be sent to :email if that email address is found in the system.',
+ 'reset_password_sent' => 'سيتم إرسال رابط إعادة تعيين كلمة المرور إلى عنوان البريد الإلكتروني هذا إذا كان موجودًا في النظام.',
'reset_password_success' => 'تمت استعادة كلمة المرور بنجاح.',
'email_reset_subject' => 'استعد كلمة المرور الخاصة بتطبيق :appName',
'email_reset_text' => 'تم إرسال هذه الرسالة بسبب تلقينا لطلب استعادة كلمة المرور الخاصة بحسابكم.',
- 'email_reset_not_requested' => 'إذا لم يتم طلب استعادة كلمة المرور من قبلكم, فلا حاجة لاتخاذ أية خطوات.',
+ 'email_reset_not_requested' => 'إذا لم يتم طلب استعادة كلمة المرور من قبلكم، فلا حاجة لاتخاذ أية خطوات.',
// Email Confirmation
'email_not_confirmed' => 'لم يتم تأكيد البريد الإلكتروني',
'email_not_confirmed_text' => 'لم يتم بعد تأكيد عنوان البريد الإلكتروني.',
'email_not_confirmed_click_link' => 'الرجاء الضغط على الرابط المرسل إلى بريدكم الإلكتروني بعد تسجيلكم.',
- 'email_not_confirmed_resend' => 'إذا لم يتم إيجاد الرسالة, بإمكانكم إعادة إرسال رسالة التأكيد عن طريق تعبئة النموذج أدناه.',
+ 'email_not_confirmed_resend' => 'إذا لم يتم إيجاد الرسالة، بإمكانكم إعادة إرسال رسالة التأكيد عن طريق تعبئة النموذج أدناه.',
'email_not_confirmed_resend_button' => 'إعادة إرسال رسالة التأكيد',
// User Invite
- 'user_invite_email_subject' => 'You have been invited to join :appName!',
- 'user_invite_email_greeting' => 'An account has been created for you on :appName.',
- 'user_invite_email_text' => 'Click the button below to set an account password and gain access:',
- 'user_invite_email_action' => 'Set Account Password',
- 'user_invite_page_welcome' => 'Welcome to :appName!',
- 'user_invite_page_text' => 'To finalise your account and gain access you need to set a password which will be used to log-in to :appName on future visits.',
- 'user_invite_page_confirm_button' => 'Confirm Password',
- 'user_invite_success' => 'Password set, you now have access to :appName!'
+ 'user_invite_email_subject' => 'تمت دعوتك للانضمام إلى صفحة الحالة الخاصة بـ :app_name!',
+ 'user_invite_email_greeting' => 'تم إنشاء حساب مستخدم لك على %site%.',
+ 'user_invite_email_text' => 'انقر على الزر أدناه لتعيين كلمة مرور الحساب والحصول على الوصول:',
+ 'user_invite_email_action' => 'كلمة سر المستخدم',
+ 'user_invite_page_welcome' => 'مرحبا بكم في :appName!',
+ 'user_invite_page_text' => 'لإكمال حسابك والحصول على حق الوصول تحتاج إلى تعيين كلمة مرور سيتم استخدامها لتسجيل الدخول إلى :appName في الزيارات المستقبلية.',
+ 'user_invite_page_confirm_button' => 'تأكيد كلمة المرور',
+ 'user_invite_success' => 'مجموعة كلمات المرور، لديك الآن حق الوصول إلى :appName!'
];
\ No newline at end of file
'save' => 'حفظ',
'continue' => 'استمرار',
'select' => 'تحديد',
- 'toggle_all' => 'Toggle All',
+ 'toggle_all' => 'تبديل الكل',
'more' => 'المزيد',
// Form Labels
// Actions
'actions' => 'إجراءات',
'view' => 'عرض',
- 'view_all' => 'View All',
+ 'view_all' => 'عرض الكل',
'create' => 'إنشاء',
'update' => 'تحديث',
'edit' => 'تعديل',
'copy' => 'نسخ',
'reply' => 'رد',
'delete' => 'حذف',
- 'delete_confirm' => 'Confirm Deletion',
+ 'delete_confirm' => 'تأكيد الحذف',
'search' => 'بحث',
'search_clear' => 'مسح البحث',
'reset' => 'إعادة تعيين',
'remove' => 'إزالة',
'add' => 'إضافة',
- 'fullscreen' => 'Fullscreen',
+ 'fullscreen' => 'شاشة كاملة',
+ 'favourite' => 'Favourite',
+ 'unfavourite' => 'Unfavourite',
+ 'next' => 'Next',
+ 'previous' => 'Previous',
// Sort Options
- 'sort_options' => 'Sort Options',
- 'sort_direction_toggle' => 'Sort Direction Toggle',
- 'sort_ascending' => 'Sort Ascending',
- 'sort_descending' => 'Sort Descending',
- 'sort_name' => 'Name',
- 'sort_created_at' => 'Created Date',
- 'sort_updated_at' => 'Updated Date',
+ 'sort_options' => 'خيارات الفرز',
+ 'sort_direction_toggle' => 'الفرز وفق الاتجاه',
+ 'sort_ascending' => 'فرز تصاعدي',
+ 'sort_descending' => 'فرز تنازلي',
+ 'sort_name' => 'الاسم',
+ 'sort_default' => 'افتراضي',
+ 'sort_created_at' => 'تاريخ الإنشاء',
+ 'sort_updated_at' => 'تاريخ التحديث',
// Misc
- 'deleted_user' => 'ØØ°Ù\81 Ù\85ستخدÙ\85',
+ 'deleted_user' => 'اÙ\84Ù\85ستخدÙ\85 اÙ\84Ù\85ØØ°Ù\88Ù\81',
'no_activity' => 'لا يوجد نشاط لعرضه',
'no_items' => 'لا توجد عناصر متوفرة',
- 'back_to_top' => 'العودة للبداية',
+ 'back_to_top' => 'العودة إلى الأعلى',
'toggle_details' => 'عرض / إخفاء التفاصيل',
'toggle_thumbnails' => 'عرض / إخفاء الصور المصغرة',
'details' => 'التفاصيل',
'grid_view' => 'عرض شبكي',
'list_view' => 'عرض منسدل',
- 'default' => 'Default',
- 'breadcrumb' => 'Breadcrumb',
+ 'default' => 'افتراضي',
+ 'breadcrumb' => 'شريط التنقل',
// Header
- 'profile_menu' => 'Profile Menu',
+ 'header_menu_expand' => 'عرض القائمة',
+ 'profile_menu' => 'قائمة ملف التعريف',
'view_profile' => 'عرض الملف الشخصي',
'edit_profile' => 'تعديل الملف الشخصي',
- 'dark_mode' => 'Dark Mode',
- 'light_mode' => 'Light Mode',
+ 'dark_mode' => 'الوضع المظلم',
+ 'light_mode' => 'الوضع المضيء',
// Layout tabs
- 'tab_info' => 'Info',
- 'tab_content' => 'Content',
+ 'tab_info' => 'معلومات',
+ 'tab_info_label' => 'تبويب: إظهار المعلومات الثانوية',
+ 'tab_content' => 'المحتوى',
+ 'tab_content_label' => 'تبويب: إظهار المحتوى الأساسي',
// Email Content
- 'email_action_help' => 'إذا Ù\88اجÙ\87تÙ\83Ù\85 Ù\85Ø´Ù\83Ù\84Ø© بضغط زر ":actionText" فبإمكانكم نسخ الرابط أدناه ولصقه بالمتصفح:',
+ 'email_action_help' => 'إذا Ù\88اجÙ\87تÙ\83Ù\85 Ù\85Ø´Ù\83Ù\84Ø© عÙ\86د ضغط زر ":actionText" فبإمكانكم نسخ الرابط أدناه ولصقه بالمتصفح:',
'email_rights' => 'جميع الحقوق محفوظة',
+
+ // Footer Link Options
+ // Not directly used but available for convenience to users.
+ 'privacy_policy' => 'سياسة الخصوصية',
+ 'terms_of_service' => 'اتفاقية شروط الخدمة',
];
'image_load_more' => 'المزيد',
'image_image_name' => 'اسم الصورة',
'image_delete_used' => 'هذه الصورة مستخدمة بالصفحات أدناه.',
- 'image_delete_confirm_text' => 'Are you sure you want to delete this image?',
+ 'image_delete_confirm_text' => 'هل أنت متأكد من أنك تريد حذف هذه الصورة؟',
'image_select_image' => 'تحديد الصورة',
'image_dropzone' => 'قم بإسقاط الصورة أو اضغط هنا للرفع',
'images_deleted' => 'تم حذف الصور',
'code_editor' => 'تعديل الشفرة',
'code_language' => 'لغة الشفرة',
'code_content' => 'محتويات الشفرة',
- 'code_session_history' => 'Session History',
+ 'code_session_history' => 'سجل الدورة',
'code_save' => 'حفظ الشفرة',
];
'recently_updated_pages' => 'صفحات حُدثت مؤخراً',
'recently_created_chapters' => 'فصول أنشئت مؤخراً',
'recently_created_books' => 'كتب أنشئت مؤخراً',
- 'recently_created_shelves' => 'اÙ\84أرÙ\81Ù\81 اÙ\84Ù\85Ù\86شأة مؤخراً',
+ 'recently_created_shelves' => 'أرÙ\81Ù\81 Ø£Ù\86شئت مؤخراً',
'recently_update' => 'حُدثت مؤخراً',
'recently_viewed' => 'عُرضت مؤخراً',
'recent_activity' => 'نشاطات حديثة',
'meta_created_name' => 'أنشئ :timeLength بواسطة :user',
'meta_updated' => 'مُحدث :timeLength',
'meta_updated_name' => 'مُحدث :timeLength بواسطة :user',
- 'entity_select' => 'Entity Select',
+ 'meta_owned_name' => 'Owned by :user',
+ 'entity_select' => 'اختيار الكيان',
'images' => 'صور',
'my_recent_drafts' => 'مسوداتي الحديثة',
'my_recently_viewed' => 'ما عرضته مؤخراً',
+ 'my_most_viewed_favourites' => 'My Most Viewed Favourites',
+ 'my_favourites' => 'My Favourites',
'no_pages_viewed' => 'لم تستعرض أي صفحات',
- 'no_pages_recently_created' => 'لم يتم إنشاء أي صفحات مؤخراً',
- 'no_pages_recently_updated' => 'لم يتم تحديث أي صفحات مؤخراً',
+ 'no_pages_recently_created' => 'لم تنشأ أي صفحات مؤخراً',
+ 'no_pages_recently_updated' => 'لم تُحدّث أي صفحات مؤخراً',
'export' => 'تصدير',
'export_html' => 'صفحة ويب',
'export_pdf' => 'ملف PDF',
// Permissions and restrictions
'permissions' => 'الأذونات',
- 'permissions_intro' => 'في حال التفعيل, ستتم تبدية هذه الأذونات على أذونات الأدوار.',
+ 'permissions_intro' => 'عند التفعيل، سوف تأخذ هذه الأذونات أولوية على أي صلاحية أخرى للدور.',
'permissions_enable' => 'تفعيل الأذونات المخصصة',
'permissions_save' => 'حفظ الأذونات',
+ 'permissions_owner' => 'Owner',
// Search
'search_results' => 'نتائج البحث',
'search_exact_matches' => 'نتائج مطابقة تماماً',
'search_tags' => 'بحث الوسوم',
'search_options' => 'الخيارات',
- 'search_viewed_by_me' => 'تÙ\85 استعراضÙ\87ا من قبلي',
- 'search_not_viewed_by_me' => 'لم يتم استعراضها من قبلي',
+ 'search_viewed_by_me' => 'استعرضت من قبلي',
+ 'search_not_viewed_by_me' => 'لم تستعرض من قبلي',
'search_permissions_set' => 'حزمة الأذونات',
'search_created_by_me' => 'أنشئت بواسطتي',
'search_updated_by_me' => 'حُدثت بواسطتي',
+ 'search_owned_by_me' => 'Owned by me',
'search_date_options' => 'خيارات التاريخ',
'search_updated_before' => 'حدثت قبل',
'search_updated_after' => 'حدثت بعد',
'shelves' => 'الأرفف',
'x_shelves' => ':count رف|:count أرفف',
'shelves_long' => 'أرفف الكتب',
- 'shelves_empty' => 'لم يتم إنشاء أي أرفف',
+ 'shelves_empty' => 'لم ينشأ أي رف',
'shelves_create' => 'إنشاء رف جديد',
- 'shelves_popular' => 'Popular Shelves',
+ 'shelves_popular' => 'أرفف رائجة',
'shelves_new' => 'أرفف جديدة',
'shelves_new_action' => 'رف جديد',
- 'shelves_popular_empty' => 'The most popular shelves will appear here.',
- 'shelves_new_empty' => 'The most recently created shelves will appear here.',
+ 'shelves_popular_empty' => 'ستظهر هنا الأرفف الأكثر رواجًا.',
+ 'shelves_new_empty' => 'ستظهر هنا الأرفف التي أنشئت مؤخرًا.',
'shelves_save' => 'حفظ الرف',
- 'shelves_books' => 'Books on this shelf',
+ 'shelves_books' => 'كتب على هذا الرف',
'shelves_add_books' => 'إضافة كتب لهذا الرف',
- 'shelves_drag_books' => 'Ø§Ø³ØØ¨ اÙ\84Ù\83تب Ù\87Ù\86ا Ù\84إضاÙ\81تÙ\87ا Ù\84هذا الرف',
+ 'shelves_drag_books' => 'Ø§Ø³ØØ¨ اÙ\84Ù\83تب Ù\87Ù\86ا Ù\84إضاÙ\81تÙ\87ا Ù\81Ù\8a هذا الرف',
'shelves_empty_contents' => 'لا توجد كتب مخصصة لهذا الرف',
- 'shelves_edit_and_assign' => 'Edit shelf to assign books',
- 'shelves_edit_named' => 'Edit Bookshelf :name',
- 'shelves_edit' => 'Edit Bookshelf',
- 'shelves_delete' => 'Delete Bookshelf',
- 'shelves_delete_named' => 'Delete Bookshelf :name',
- 'shelves_delete_explain' => "This will delete the bookshelf with the name ':name'. Contained books will not be deleted.",
- 'shelves_delete_confirmation' => 'Are you sure you want to delete this bookshelf?',
- 'shelves_permissions' => 'Bookshelf Permissions',
- 'shelves_permissions_updated' => 'Bookshelf Permissions Updated',
- 'shelves_permissions_active' => 'Bookshelf Permissions Active',
- 'shelves_copy_permissions_to_books' => 'Copy Permissions to Books',
- 'shelves_copy_permissions' => 'Copy Permissions',
- 'shelves_copy_permissions_explain' => 'This will apply the current permission settings of this bookshelf to all books contained within. Before activating, ensure any changes to the permissions of this bookshelf have been saved.',
- 'shelves_copy_permission_success' => 'Bookshelf permissions copied to :count books',
+ 'shelves_edit_and_assign' => 'تحرير الرف لإدراج كتب',
+ 'shelves_edit_named' => 'تحرير رف الكتب :name',
+ 'shelves_edit' => 'تحرير رف الكتب',
+ 'shelves_delete' => 'حذف رف الكتب',
+ 'shelves_delete_named' => 'حذف رف الكتب :name',
+ 'shelves_delete_explain' => "سيؤدي هذا إلى حذف رف الكتب المسمى ':name'، ولن تحذف الكتب المتضمنة فيه.",
+ 'shelves_delete_confirmation' => 'هل أنت متأكد من أنك تريد حذف هذا الرف؟',
+ 'shelves_permissions' => 'أذونات رف الكتب',
+ 'shelves_permissions_updated' => 'تم تحديث أذونات رف الكتب',
+ 'shelves_permissions_active' => 'أذونات رف الكتب نشطة',
+ 'shelves_copy_permissions_to_books' => 'نسخ أذونات الوصول إلى الكتب',
+ 'shelves_copy_permissions' => 'نسخ الأذونات',
+ 'shelves_copy_permissions_explain' => 'سيؤدي هذا إلى تطبيق إعدادات الأذونات الحالية لهذا الرف على جميع الكتب المتضمنة فيه. قبل التفعيل، تأكد من حفظ أي تغييرات في أذونات هذا الرف.',
+ 'shelves_copy_permission_success' => 'تم نسخ أذونات رف الكتب إلى :count books',
// Books
'book' => 'كتاب',
'books_create' => 'إنشاء كتاب جديد',
'books_delete' => 'حذف الكتاب',
'books_delete_named' => 'حذف كتاب :bookName',
- 'books_delete_explain' => 'سيتم حذف كتاب \':bookName\'. ستتم إزالة جميع الفصول والصفحات.',
+ 'books_delete_explain' => 'سيتم حذف كتاب \':bookName\'، وأيضا حذف جميع الفصول والصفحات.',
'books_delete_confirmation' => 'تأكيد حذف الكتاب؟',
'books_edit' => 'تعديل الكتاب',
'books_edit_named' => 'تعديل كتاب :bookName',
'books_sort_named' => 'فرز كتاب :bookName',
'books_sort_name' => 'ترتيب حسب الإسم',
'books_sort_created' => 'ترتيب حسب تاريخ الإنشاء',
- 'books_sort_updated' => 'Sort by Updated Date',
- 'books_sort_chapters_first' => 'Chapters First',
- 'books_sort_chapters_last' => 'Chapters Last',
+ 'books_sort_updated' => 'فرز حسب تاريخ التحديث',
+ 'books_sort_chapters_first' => 'الفصول الأولى',
+ 'books_sort_chapters_last' => 'الفصول الأخيرة',
'books_sort_show_other' => 'عرض كتب أخرى',
'books_sort_save' => 'حفظ الترتيب الجديد',
'chapters_create' => 'إنشاء فصل جديد',
'chapters_delete' => 'حذف الفصل',
'chapters_delete_named' => 'حذف فصل :chapterName',
- 'chapters_delete_explain' => 'سيتم حذف فصل \':chapterName\'. جميع الصفحات ستزال وستتم إضافتها مباشرة للكتاب الرئيسي.',
+ 'chapters_delete_explain' => 'This will delete the chapter with the name \':chapterName\'. All pages that exist within this chapter will also be deleted.',
'chapters_delete_confirm' => 'تأكيد حذف الفصل؟',
'chapters_edit' => 'تعديل الفصل',
'chapters_edit_named' => 'تعديل فصل :chapterName',
'pages_delete_confirm' => 'تأكيد حذف الصفحة؟',
'pages_delete_draft_confirm' => 'تأكيد حذف المسودة؟',
'pages_editing_named' => ':pageName قيد التعديل',
- 'pages_edit_draft_options' => 'Draft Options',
+ 'pages_edit_draft_options' => 'خيارات المسودة',
'pages_edit_save_draft' => 'حفظ المسودة',
'pages_edit_draft' => 'تعديل مسودة الصفحة',
'pages_editing_draft' => 'المسودة قيد التعديل',
'pages_md_editor' => 'المحرر',
'pages_md_preview' => 'معاينة',
'pages_md_insert_image' => 'إدخال صورة',
- 'pages_md_insert_link' => 'Insert Entity Link',
+ 'pages_md_insert_link' => 'إدراج ارتباط الكيان',
'pages_md_insert_drawing' => 'إدخال رسمة',
'pages_not_in_chapter' => 'صفحة ليست في فصل',
'pages_move' => 'نقل الصفحة',
'pages_revisions' => 'مراجعات الصفحة',
'pages_revisions_named' => 'مراجعات صفحة :pageName',
'pages_revision_named' => 'مراجعة صفحة :pageName',
+ 'pages_revision_restored_from' => 'Restored from #:id; :summary',
'pages_revisions_created_by' => 'أنشئ بواسطة',
'pages_revisions_date' => 'تاريخ المراجعة',
'pages_revisions_number' => '#',
- 'pages_revisions_numbered' => 'Revision #:id',
- 'pages_revisions_numbered_changes' => 'Revision #:id Changes',
+ 'pages_revisions_numbered' => 'مراجعة #:id',
+ 'pages_revisions_numbered_changes' => 'مراجعة #: رقم تعريفي التغييرات',
'pages_revisions_changelog' => 'سجل التعديل',
'pages_revisions_changes' => 'التعديلات',
'pages_revisions_current' => 'النسخة الحالية',
'pages_permissions_active' => 'أذونات الصفحة مفعلة',
'pages_initial_revision' => 'نشر مبدئي',
'pages_initial_name' => 'صفحة جديدة',
- 'pages_editing_draft_notification' => 'جار تعديل مسودة لم يتم حفظها من :timeDiff.',
+ 'pages_editing_draft_notification' => 'جارٍ تعديل مسودة لم يتم حفظها من :timeDiff.',
'pages_draft_edited_notification' => 'تم تحديث هذه الصفحة منذ ذلك الوقت. من الأفضل التخلص من هذه المسودة.',
'pages_draft_edit_active' => [
'start_a' => ':count من المستخدمين بدأوا بتعديل هذه الصفحة',
'start_b' => ':userName بدأ بتعديل هذه الصفحة',
'time_a' => 'منذ أن تم تحديث هذه الصفحة',
'time_b' => 'في آخر :minCount دقيقة/دقائق',
- 'message' => ':start :time. Take care not to overwrite each other\'s updates!',
+ 'message' => 'وقت البدء: احرص على عدم الكتابة فوق تحديثات بعضنا البعض!',
],
- 'pages_draft_discarded' => 'تم التخلص من المسودة. تم تحديث المحرر بمحتوى الصفحة الحالي',
- 'pages_specific' => 'Specific Page',
- 'pages_is_template' => 'Page Template',
+ 'pages_draft_discarded' => 'تم التخلص من المسودة وتحديث المحرر بمحتوى الصفحة الحالي',
+ 'pages_specific' => 'صفحة محددة',
+ 'pages_is_template' => 'قالب الصفحة',
// Editor Sidebar
'page_tags' => 'وسوم الصفحة',
'chapter_tags' => 'وسوم الفصل',
'book_tags' => 'وسوم الكتاب',
- 'shelf_tags' => 'Shelf Tags',
+ 'shelf_tags' => 'علامات الرف',
'tag' => 'وسم',
'tags' => 'وسوم',
- 'tag_name' => 'Tag Name',
+ 'tag_name' => 'اسم العلامة',
'tag_value' => 'قيمة الوسم (اختياري)',
'tags_explain' => "إضافة الوسوم تساعد بترتيب وتقسيم المحتوى. \n من الممكن وضع قيمة لكل وسم لترتيب أفضل وأدق.",
'tags_add' => 'إضافة وسم آخر',
- 'tags_remove' => 'Remove this tag',
+ 'tags_remove' => 'إزالة هذه العلامة',
'attachments' => 'المرفقات',
'attachments_explain' => 'ارفع بعض الملفات أو أرفق بعض الروابط لعرضها بصفحتك. ستكون الملفات والروابط معروضة في الشريط الجانبي للصفحة.',
- 'attachments_explain_instant_save' => 'سÙ\8aتÙ\85 ØÙ\81ظ اÙ\84تغÙ\8aÙ\8aرات Ù\87Ù\86ا بÙ\84ØØ¸ØªÙ\87ا',
+ 'attachments_explain_instant_save' => 'سÙ\8aتÙ\85 ØÙ\81ظ اÙ\84تغÙ\8aÙ\8aرات Ù\87Ù\86ا Ø¢Ù\86Ù\8aا.',
'attachments_items' => 'العناصر المرفقة',
'attachments_upload' => 'رفع ملف',
'attachments_link' => 'إرفاق رابط',
'attachments_set_link' => 'تحديد الرابط',
- 'attachments_delete' => 'Are you sure you want to delete this attachment?',
+ 'attachments_delete' => 'هل أنت متأكد من أنك تريد حذف هذا المرفق؟',
'attachments_dropzone' => 'أسقط الملفات أو اضغط هنا لإرفاق ملف',
- 'attachments_no_files' => 'لم يتم رفع أي ملفات',
+ 'attachments_no_files' => 'لم تُرفع أي ملفات',
'attachments_explain_link' => 'بالإمكان إرفاق رابط في حال عدم تفضيل رفع ملف. قد يكون الرابط لصفحة أخرى أو لملف في أحد خدمات التخزين السحابي.',
'attachments_link_name' => 'اسم الرابط',
'attachment_link' => 'رابط المرفق',
- 'attachments_link_url' => 'Link to file',
+ 'attachments_link_url' => 'رابط الملف',
'attachments_link_url_hint' => 'رابط الموقع أو الملف',
'attach' => 'إرفاق',
- 'attachments_insert_link' => 'Add Attachment Link to Page',
+ 'attachments_insert_link' => 'إضافة رابط مرفق إلى الصفحة',
'attachments_edit_file' => 'تعديل الملف',
'attachments_edit_file_name' => 'اسم الملف',
'attachments_edit_drop_upload' => 'أسقط الملفات أو اضغط هنا للرفع والاستبدال',
'templates_set_as_template' => 'هذه الصفحة عبارة عن قالب',
'templates_explain_set_as_template' => 'يمكنك تعيين هذه الصفحة كقالب بحيث تستخدم محتوياتها عند إنشاء صفحات أخرى. سيتمكن المستخدمون الآخرون من استخدام هذا القالب إذا كان لديهم أذونات عرض لهذه الصفحة.',
'templates_replace_content' => 'استبدال محتوى الصفحة',
- 'templates_append_content' => 'Append to page content',
- 'templates_prepend_content' => 'Prepend to page content',
+ 'templates_append_content' => 'تذييل محتوى الصفحة',
+ 'templates_prepend_content' => 'بادئة محتوى الصفحة',
// Profile View
- 'profile_user_for_x' => 'User for :time',
+ 'profile_user_for_x' => 'المستخدم لـ :time',
'profile_created_content' => 'المحتوى المنشأ',
'profile_not_created_pages' => 'لم يتم إنشاء أي صفحات بواسطة :userName',
'profile_not_created_chapters' => 'لم يتم إنشاء أي فصول بواسطة :userName',
'profile_not_created_books' => 'لم يتم إنشاء أي كتب بواسطة :userName',
- 'profile_not_created_shelves' => ':userName has not created any shelves',
+ 'profile_not_created_shelves' => 'لم يقم "اسم المستخدم"بإنشاء أي أرفف',
// Comments
'comment' => 'تعليق',
'comments' => 'تعليقات',
'comment_add' => 'إضافة تعليق',
'comment_placeholder' => 'ضع تعليقاً هنا',
- 'comment_count' => '{0} ا توجد تعليقات|{1} تعليق واحد|{2} تعليقان|[3,*] :count تعليقات',
+ 'comment_count' => '{0} لا توجد تعليقات|{1} تعليق واحد|{2} تعليقان[3,*] :count تعليقات',
'comment_save' => 'حفظ التعليق',
'comment_saving' => 'جار حفظ التعليق...',
'comment_deleting' => 'جار حذف التعليق...',
'comment_in_reply_to' => 'رداً على :commentId',
// Revision
- 'revision_delete_confirm' => 'هل أنت متأكد من أنك تريد حذف هذا الإصدار؟',
- 'revision_restore_confirm' => 'هل أنت متأكد من أنك تريد استعادة هذا الإصدار؟ سيتم استبدال محتوى الصفحة الحالية.',
- 'revision_delete_success' => 'تم حذف الإصدار',
- 'revision_cannot_delete_latest' => 'لايمكن حذف آخر إصدار.'
-];
\ No newline at end of file
+ 'revision_delete_confirm' => 'هل أنت متأكد من أنك تريد حذف هذه المراجعة؟',
+ 'revision_restore_confirm' => 'هل أنت متأكد من أنك تريد استعادة هذه المراجعة؟ سيتم استبدال محتوى الصفحة الحالية.',
+ 'revision_delete_success' => 'تم حذف المراجعة',
+ 'revision_cannot_delete_latest' => 'لايمكن حذف آخر مراجعة.'
+];
'email_already_confirmed' => 'تم تأكيد البريد الإلكتروني من قبل, الرجاء محاولة تسجيل الدخول.',
'email_confirmation_invalid' => 'رابط التأكيد غير صحيح أو قد تم استخدامه من قبل, الرجاء محاولة التسجيل من جديد.',
'email_confirmation_expired' => 'صلاحية رابط التأكيد انتهت, تم إرسال رسالة تأكيد جديدة لعنوان البريد الإلكتروني.',
- 'email_confirmation_awaiting' => 'The email address for the account in use needs to be confirmed',
+ 'email_confirmation_awaiting' => 'عنوان البريد الإلكتروني للحساب قيد الاستخدام يحتاج إلى تأكيد',
'ldap_fail_anonymous' => 'فشل الوصول إلى LDAP باستخدام الربط المجهول',
'ldap_fail_authed' => 'فشل الوصول إلى LDAP باستخدام dn و password المعطاة',
'ldap_extension_not_installed' => 'لم يتم تثبيت إضافة LDAP PHP',
'ldap_cannot_connect' => 'لا يمكن الاتصال بخادم ldap, فشل الاتصال المبدئي',
- 'saml_already_logged_in' => 'Already logged in',
- 'saml_user_not_registered' => 'The user :name is not registered and automatic registration is disabled',
- 'saml_no_email_address' => 'Could not find an email address, for this user, in the data provided by the external authentication system',
- 'saml_invalid_response_id' => 'The request from the external authentication system is not recognised by a process started by this application. Navigating back after a login could cause this issue.',
- 'saml_fail_authed' => 'Login using :system failed, system did not provide successful authorization',
+ 'saml_already_logged_in' => 'تم تسجيل الدخول بالفعل',
+ 'saml_user_not_registered' => 'المستخدم :name غير مسجل ويتم تعطيل التسجيل التلقائي',
+ 'saml_no_email_address' => 'تعذر العثور على عنوان بريد إلكتروني، لهذا المستخدم، في البيانات المقدمة من نظام المصادقة الخارجي',
+ 'saml_invalid_response_id' => 'لم يتم التعرف على الطلب من نظام التوثيق الخارجي من خلال عملية تبدأ بهذا التطبيق. العودة بعد تسجيل الدخول يمكن أن يسبب هذه المشكلة.',
+ 'saml_fail_authed' => 'تسجيل الدخول باستخدام :system فشل، النظام لم يوفر التفويض الناجح',
'social_no_action_defined' => 'لم يتم تعريف أي إجراء',
'social_login_bad_response' => "حصل خطأ خلال تسجيل الدخول باستخدام :socialAccount \n:error",
'social_account_in_use' => 'حساب :socialAccount قيد الاستخدام حالياً, الرجاء محاولة الدخول باستخدام خيار :socialAccount.',
'social_account_already_used_existing' => 'حساب :socialAccount مستخدَم من قبل مستخدم آخر.',
'social_account_not_used' => 'حساب :socialAccount غير مرتبط بأي مستخدم. الرجاء ربطه من خلال إعدادات ملفكم. ',
'social_account_register_instructions' => 'إذا لم يكن لديكم حساب فيمكنكم التجسيل باستخدام خيار :socialAccount.',
- 'social_driver_not_found' => 'Social driver not found',
- 'social_driver_not_configured' => 'Your :socialAccount social settings are not configured correctly.',
- 'invite_token_expired' => 'This invitation link has expired. You can instead try to reset your account password.',
+ 'social_driver_not_found' => 'لم يتم العثور على السوشيال درايفر "Social driver"',
+ 'social_driver_not_configured' => 'لم يتم تهيئة إعدادات حسابك الاجتماعي بشكل صحيح.',
+ 'invite_token_expired' => 'انتهت صلاحية رابط هذه الدعوة. يمكنك بدلاً من ذلك محاولة إعادة تعيين كلمة مرور حسابك.',
// System
'path_not_writable' => 'لا يمكن الرفع إلى مسار :filePath. الرجاء التأكد من قابلية الكتابة إلى الخادم.',
'page_custom_home_deletion' => 'لا يمكن حذف الصفحة إذا كانت محددة كصفحة رئيسية',
// Entities
- 'entity_not_found' => 'Entity not found',
- 'bookshelf_not_found' => 'Bookshelf not found',
+ 'entity_not_found' => 'الكيان غير موجود',
+ 'bookshelf_not_found' => 'رف الكتب غير موجود',
'book_not_found' => 'لم يتم العثور على الكتاب',
'page_not_found' => 'لم يتم العثور على الصفحة',
'chapter_not_found' => 'لم يتم العثور على الفصل',
'role_cannot_be_edited' => 'لا يمكن تعديل هذا الدور',
'role_system_cannot_be_deleted' => 'هذا الدور خاص بالنظام ولا يمكن حذفه',
'role_registration_default_cannot_delete' => 'لا يمكن حذف الدور إذا كان مسجل كالدور الأساسي بعد تسجيل الحساب',
- 'role_cannot_remove_only_admin' => 'This user is the only user assigned to the administrator role. Assign the administrator role to another user before attempting to remove it here.',
+ 'role_cannot_remove_only_admin' => 'هذا المستخدم هو المستخدم الوحيد المعين لدور المسؤول. قم بتعيين دور المسؤول لمستخدم آخر قبل محاولة إزالته هنا.',
// Comments
'comment_list' => 'حصل خطأ خلال جلب التعليقات.',
// Error pages
'404_page_not_found' => 'لم يتم العثور على الصفحة',
'sorry_page_not_found' => 'عفواً, لا يمكن العثور على الصفحة التي تبحث عنها.',
- 'sorry_page_not_found_permission_warning' => 'If you expected this page to exist, you might not have permission to view it.',
+ 'sorry_page_not_found_permission_warning' => 'إذا كنت تتوقع أن تكون هذه الصفحة موجودة، قد لا يكون لديك تصريح بمشاهدتها.',
+ 'image_not_found' => 'Image Not Found',
+ 'image_not_found_subtitle' => 'Sorry, The image file you were looking for could not be found.',
+ 'image_not_found_details' => 'If you expected this image to exist it might have been deleted.',
'return_home' => 'العودة للصفحة الرئيسية',
'error_occurred' => 'حدث خطأ',
'app_down' => ':appName لا يعمل حالياً',
'back_soon' => 'سيعود للعمل قريباً.',
// API errors
- 'api_no_authorization_found' => 'No authorization token found on the request',
- 'api_bad_authorization_format' => 'An authorization token was found on the request but the format appeared incorrect',
- 'api_user_token_not_found' => 'No matching API token was found for the provided authorization token',
- 'api_incorrect_token_secret' => 'The secret provided for the given used API token is incorrect',
- 'api_user_no_api_permission' => 'The owner of the used API token does not have permission to make API calls',
- 'api_user_token_expired' => 'The authorization token used has expired',
+ 'api_no_authorization_found' => 'لم يتم العثور على رمز ترخيص مميز في الطلب',
+ 'api_bad_authorization_format' => 'تم العثور على رمز ترخيص مميز في الطلب ولكن يبدو أن التنسيق غير صحيح',
+ 'api_user_token_not_found' => 'لم يتم العثور على رمز API مطابق لرمز الترخيص المُقدم',
+ 'api_incorrect_token_secret' => 'الشفرة المُقدمة لرمز API المستخدم المحدد غير صحيحة',
+ 'api_user_no_api_permission' => 'مالك رمز API المستخدم ليس لديه الصلاحية لإجراء مكالمات API',
+ 'api_user_token_expired' => 'انتهت صلاحية رمز الترخيص المستخدم',
// Settings & Maintenance
- 'maintenance_test_email_failure' => 'Error thrown when sending a test email:',
+ 'maintenance_test_email_failure' => 'حدث خطأ عند إرسال بريد إلكتروني تجريبي:',
];
'password' => 'يجب أن تتكون كلمة المرور من ستة أحرف على الأقل وأن تطابق التأكيد.',
'user' => "لم يتم العثور على مستخدم بعنوان البريد الإلكتروني المعطى.",
- 'token' => 'The password reset token is invalid for this email address.',
+ 'token' => 'رمز إعادة تعيين كلمة المرور غير صالح لعنوان هذا البريد الإلكتروني.',
'sent' => 'تم إرسال رابط تجديد كلمة المرور إلى بريدكم الإلكتروني!',
'reset' => 'تم تجديد كلمة المرور الخاصة بكم!',
'settings_save_success' => 'تم حفظ الإعدادات',
// App Settings
- 'app_customization' => 'Customization',
- 'app_features_security' => 'Features & Security',
+ 'app_customization' => 'تخصيص',
+ 'app_features_security' => 'الميزات و الأمان',
'app_name' => 'اسم التطبيق',
'app_name_desc' => 'سيتم عرض هذا الاسم في الترويسة وفي أي رسالة بريد إلكتروني.',
'app_name_header' => 'عرض اسم التطبيق في الترويسة؟',
- 'app_public_access' => 'Public Access',
- 'app_public_access_desc' => 'Enabling this option will allow visitors, that are not logged-in, to access content in your BookStack instance.',
- 'app_public_access_desc_guest' => 'Access for public visitors can be controlled through the "Guest" user.',
- 'app_public_access_toggle' => 'Allow public access',
+ 'app_public_access' => 'الوصول العام',
+ 'app_public_access_desc' => 'تمكين هذا الخيار سيسمح للزوار، الذين لم يتم تسجيل دخولهم، بالوصول إلى المحتوى في مثيل مكدس الكتب الخاص بك.',
+ 'app_public_access_desc_guest' => 'يمكن التحكم في وصول الزوار العموميين من خلال المستخدم "الضيف".',
+ 'app_public_access_toggle' => 'السماح بالوصول العام',
'app_public_viewing' => 'السماح بالعرض على العامة؟',
'app_secure_images' => 'تفعيل حماية أكبر لرفع الصور؟',
- 'app_secure_images_toggle' => 'Enable higher security image uploads',
+ 'app_secure_images_toggle' => 'لمزيد من الحماية',
'app_secure_images_desc' => 'لتحسين أداء النظام, ستكون جميع الصور متاحة للعامة. هذا الخيار يضيف سلسلة من الحروف والأرقام العشوائية صعبة التخمين إلى رابط الصورة. الرجاء التأكد من تعطيل فهرسة المسارات لمنع الوصول السهل.',
'app_editor' => 'محرر الصفحة',
'app_editor_desc' => 'الرجاء اختيار محرر النص الذي سيستخدم من قبل جميع المستخدمين لتحرير الصفحات.',
'app_custom_html' => 'Custom HTML head content',
- 'app_custom_html_desc' => 'Any content added here will be inserted into the bottom of the <head> section of every page. This is handy for overriding styles or adding analytics code.',
- 'app_custom_html_disabled_notice' => 'Custom HTML head content is disabled on this settings page to ensure any breaking changes can be reverted.',
+ 'app_custom_html_desc' => 'سيتم إدراج أي محتوى مضاف هنا في الجزء السفلي من قسم <head> من كل صفحة. هذا أمر مفيد لتجاوز الأنماط أو إضافة رمز التحليل.',
+ 'app_custom_html_disabled_notice' => 'تم تعطيل محتوى HTML الرئيسي المخصص في صفحة الإعدادات هذه لضمان عكس أي تغييرات متتالية.',
'app_logo' => 'شعار التطبيق',
'app_logo_desc' => 'يجب أن تكون الصورة بارتفاع 43 بكسل. <br>سيتم تصغير الصور الأكبر من ذلك.',
'app_primary_color' => 'اللون الأساسي للتطبيق',
'app_primary_color_desc' => 'يجب أن تكون القيمة من نوع hex. <br>اترك الخانة فارغة للرجوع للون الافتراضي.',
'app_homepage' => 'الصفحة الرئيسية للتطبيق',
'app_homepage_desc' => 'الرجاء اختيار صفحة لتصبح الصفحة الرئيسية بدل من الافتراضية. سيتم تجاهل جميع الأذونات الخاصة بالصفحة المختارة.',
- 'app_homepage_select' => 'Select a page',
+ 'app_homepage_select' => 'اختر صفحة',
+ 'app_footer_links' => 'Footer Links',
+ 'app_footer_links_desc' => 'Add links to show within the site footer. These will be displayed at the bottom of most pages, including those that do not require login. You can use a label of "trans::<key>" to use system-defined translations. For example: Using "trans::common.privacy_policy" will provide the translated text "Privacy Policy" and "trans::common.terms_of_service" will provide the translated text "Terms of Service".',
+ 'app_footer_links_label' => 'Link Label',
+ 'app_footer_links_url' => 'Link URL',
+ 'app_footer_links_add' => 'Add Footer Link',
'app_disable_comments' => 'تعطيل التعليقات',
- 'app_disable_comments_toggle' => 'Disable comments',
+ 'app_disable_comments_toggle' => 'تعطيل التعليقات',
'app_disable_comments_desc' => 'تعطيل التعليقات على جميع الصفحات داخل التطبيق. التعليقات الموجودة من الأصل لن تكون ظاهرة.',
// Color settings
- 'content_colors' => 'Content Colors',
- 'content_colors_desc' => 'Sets colors for all elements in the page organisation hierarchy. Choosing colors with a similar brightness to the default colors is recommended for readability.',
- 'bookshelf_color' => 'Shelf Color',
- 'book_color' => 'Book Color',
- 'chapter_color' => 'Chapter Color',
- 'page_color' => 'Page Color',
- 'page_draft_color' => 'Page Draft Color',
+ 'content_colors' => 'ألوان المحتوى',
+ 'content_colors_desc' => 'تعيين الألوان لجميع العناصر في التسلسل الهرمي لتنظيم الصفحات. يوصى باختيار الألوان ذات السطوع المماثل للألوان الافتراضية للقراءة.',
+ 'bookshelf_color' => 'لون الرف',
+ 'book_color' => 'لون الكتاب',
+ 'chapter_color' => 'لون الفصل',
+ 'page_color' => 'لون الصفحة',
+ 'page_draft_color' => 'لون مسودة الصفحة',
// Registration Settings
'reg_settings' => 'إعدادات التسجيل',
- 'reg_enable' => 'Enable Registration',
- 'reg_enable_toggle' => 'Enable registration',
- 'reg_enable_desc' => 'When registration is enabled user will be able to sign themselves up as an application user. Upon registration they are given a single, default user role.',
+ 'reg_enable' => 'تمكين التسجيل',
+ 'reg_enable_toggle' => 'تمكين التسجيل',
+ 'reg_enable_desc' => 'عند تمكين التسجيل سيكون المستخدم قادرا على تسجيل نفسه كمستخدم تطبيق. عند التسجيل يعطى لهم دور مستخدم افتراضي وحيد.',
'reg_default_role' => 'دور المستخدم الأساسي بعد التسجيل',
- 'reg_enable_external_warning' => 'The option above is ignored while external LDAP or SAML authentication is active. User accounts for non-existing members will be auto-created if authentication, against the external system in use, is successful.',
- 'reg_email_confirmation' => 'Email Confirmation',
- 'reg_email_confirmation_toggle' => 'Require email confirmation',
+ 'reg_enable_external_warning' => 'يتم تجاهل الخيار أعلاه بينما يتم تفعيل مصادقة LDAP الخارجية أو SAML. حسابات المستخدم للأعضاء غير الحاليين سيتم إنشاؤها تلقائياً إذا كانت المصادقة، مقابل النظام الخارجي المستخدم، ناجحة.',
+ 'reg_email_confirmation' => 'تأكيد البريد الإلكتروني',
+ 'reg_email_confirmation_toggle' => 'يتطلب تأكيد البريد الإلكتروني',
'reg_confirm_email_desc' => 'إذا تم استخدام قيود للمجال سيصبح التأكيد عن طريق البريد الإلكتروني إلزامي وسيتم تجاهل القيمة أسفله.',
'reg_confirm_restrict_domain' => 'تقييد التسجيل على مجال محدد',
- 'reg_confirm_restrict_domain_desc' => 'Enter a comma separated list of email domains you would like to restrict registration to. Users will be sent an email to confirm their address before being allowed to interact with the application. <br> Note that users will be able to change their email addresses after successful registration.',
+ 'reg_confirm_restrict_domain_desc' => 'أدخل قائمة مفصولة بفواصل لنطاقات البريد الإلكتروني التي ترغب في تقييد التسجيل إليها. سيتم إرسال بريد إلكتروني للمستخدمين لتأكيد عنوانهم قبل السماح لهم بالتفاعل مع التطبيق. <br> لاحظ أن المستخدمين سيكونون قادرين على تغيير عناوين البريد الإلكتروني الخاصة بهم بعد التسجيل بنجاح.',
'reg_confirm_restrict_domain_placeholder' => 'لم يتم اختيار أي قيود',
// Maintenance settings
'maint' => 'الصيانة',
'maint_image_cleanup' => 'تنظيف الصور',
- 'maint_image_cleanup_desc' => "Scans page & revision content to check which images and drawings are currently in use and which images are redundant. Ensure you create a full database and image backup before running this.",
- 'maint_image_cleanup_ignore_revisions' => 'تجاهل الصور في المراجعات',
+ 'maint_image_cleanup_desc' => "مسح الصفحة ومراجعة المحتوى للتحقق من أي الصور والرسوم المستخدمة حاليًا وأي الصور زائدة عن الحاجة. تأكد من إنشاء قاعدة بيانات كاملة و نسخة احتياطية للصور قبل تشغيل هذا.",
+ 'maint_delete_images_only_in_revisions' => 'Also delete images that only exist in old page revisions',
'maint_image_cleanup_run' => 'بدء التنظيف',
'maint_image_cleanup_warning' => 'يوجد عدد :count من الصور المحتمل عدم استخدامها. تأكيد حذف الصور؟',
'maint_image_cleanup_success' => 'تم إيجاد وحذف عدد :count من الصور المحتمل عدم استخدامها!',
'maint_image_cleanup_nothing_found' => 'لم يتم حذف أي شيء لعدم وجود أي صور غير مسمتخدمة',
- 'maint_send_test_email' => 'Send a Test Email',
- 'maint_send_test_email_desc' => 'This sends a test email to your email address specified in your profile.',
- 'maint_send_test_email_run' => 'Send test email',
- 'maint_send_test_email_success' => 'Email sent to :address',
- 'maint_send_test_email_mail_subject' => 'Test Email',
- 'maint_send_test_email_mail_greeting' => 'Email delivery seems to work!',
- 'maint_send_test_email_mail_text' => 'Congratulations! As you received this email notification, your email settings seem to be configured properly.',
+ 'maint_send_test_email' => 'إرسال بريد إلكتروني تجريبي',
+ 'maint_send_test_email_desc' => 'يرسل هذا بريدًا إلكترونيًا تجريبيًا إلى عنوان بريدك الإلكتروني المحدد في ملفك الشخصي.',
+ 'maint_send_test_email_run' => 'إرسال بريد إليكتروني تجريبي',
+ 'maint_send_test_email_success' => 'تم إرسال البريد الإلكتروني إلى:العنوان',
+ 'maint_send_test_email_mail_subject' => 'اختبار البريد الإلكتروني',
+ 'maint_send_test_email_mail_greeting' => 'يبدو أن تسليم البريد الإلكتروني يعمل!',
+ 'maint_send_test_email_mail_text' => 'تهانينا! كما تلقيت إشعار هذا البريد الإلكتروني، يبدو أن إعدادات البريد الإلكتروني الخاص بك قد تم تكوينها بشكل صحيح.',
+ 'maint_recycle_bin_desc' => 'تُرسل الأرفف والكتب والفصول والصفحات المحذوفة إلى سلة المحذوفات حتى يمكن استعادتها أو حذفها نهائيًا. قد يتم إزالة العناصر الأقدم في سلة المحذوفات تلقائيًا بعد فترة اعتمادًا على تكوين النظام.',
+ 'maint_recycle_bin_open' => 'افتح سلة المحذوفات',
+
+ // Recycle Bin
+ 'recycle_bin' => 'سلة المحذوفات',
+ 'recycle_bin_desc' => 'هنا يمكنك استعادة العناصر التي تم حذفها أو اختيار إزالتها نهائيا من النظام. هذه القائمة غير مصفاة خلافاً لقوائم الأنشطة المماثلة في النظام حيث يتم تطبيق عوامل تصفية الأذونات.',
+ 'recycle_bin_deleted_item' => 'عنصر محذوف',
+ 'recycle_bin_deleted_by' => 'حُذف بواسطة',
+ 'recycle_bin_deleted_at' => 'وقت الحذف',
+ 'recycle_bin_permanently_delete' => 'حُذف نهائيًا',
+ 'recycle_bin_restore' => 'استرجاع',
+ 'recycle_bin_contents_empty' => 'سلة المحذوفات فارغة حاليًا',
+ 'recycle_bin_empty' => 'إفراغ سلة المحذوفات',
+ 'recycle_bin_empty_confirm' => 'سيؤدي هذا إلى إتلاف جميع العناصر الموجودة في سلة المحذوفات بشكل دائم بما في ذلك المحتوى الموجود داخل كل عنصر. هل أنت متأكد من أنك تريد إفراغ سلة المحذوفات؟',
+ 'recycle_bin_destroy_confirm' => 'سيؤدي هذا الإجراء إلى حذف هذا العنصر نهائيًا ، إلى جانب أي عناصر فرعية مدرجة أدناه ، من النظام ولن تتمكن من استعادة هذا المحتوى. هل أنت متأكد من أنك تريد حذف هذا العنصر نهائيًا؟',
+ 'recycle_bin_destroy_list' => 'العناصر المراد تدميرها',
+ 'recycle_bin_restore_list' => 'العناصر المراد استرجاعها',
+ 'recycle_bin_restore_confirm' => 'سيعيد هذا الإجراء العنصر المحذوف ، بما في ذلك أي عناصر فرعية ، إلى موقعه الأصلي. إذا تم حذف الموقع الأصلي منذ ذلك الحين ، وهو الآن في سلة المحذوفات ، فسيلزم أيضًا استعادة العنصر الأصلي.',
+ 'recycle_bin_restore_deleted_parent' => 'تم حذف أصل هذا العنصر أيضًا. سيبقى حذفه حتى يتم استعادة ذلك الأصل أيضًا.',
+ 'recycle_bin_destroy_notification' => 'المحذوف: قُم بعد إجمالي العناصر من سلة المحذوفات.',
+ 'recycle_bin_restore_notification' => 'المرتجع: قُم بعد إجمالي العناصر من سلة المحذوفات.',
// Audit Log
- 'audit' => 'Audit Log',
- 'audit_desc' => 'This audit log displays a list of activities tracked in the system. This list is unfiltered unlike similar activity lists in the system where permission filters are applied.',
- 'audit_event_filter' => 'Event Filter',
- 'audit_event_filter_no_filter' => 'No Filter',
- 'audit_deleted_item' => 'Deleted Item',
- 'audit_deleted_item_name' => 'Name: :name',
- 'audit_table_user' => 'User',
- 'audit_table_event' => 'Event',
- 'audit_table_item' => 'Related Item',
- 'audit_table_date' => 'Activity Date',
- 'audit_date_from' => 'Date Range From',
- 'audit_date_to' => 'Date Range To',
+ 'audit' => 'سجل المراجعة',
+ 'audit_desc' => 'يعرض هذا السجل قائمة بالأنشطة المتعقبة في النظام. هذه القائمة غير مصفاة خلافاً لقوائم الأنشطة المماثلة في النظام حيث يتم تطبيق عوامل تصفية الأذونات.',
+ 'audit_event_filter' => 'تصفية الحدث',
+ 'audit_event_filter_no_filter' => 'لا يوجد فلتر',
+ 'audit_deleted_item' => 'عنصر محذوف',
+ 'audit_deleted_item_name' => 'الاسم: كتابة الاسم',
+ 'audit_table_user' => 'المستخدم',
+ 'audit_table_event' => 'الحدث',
+ 'audit_table_related' => 'العنصر أو التفاصيل ذات الصلة',
+ 'audit_table_date' => 'تاريخ النشاط',
+ 'audit_date_from' => 'نطاق التاريخ من',
+ 'audit_date_to' => 'نطاق التاريخ إلى',
// Role Settings
'roles' => 'الأدوار',
'role_create_success' => 'تم إنشاء الدور بنجاح',
'role_delete' => 'حذف الدور',
'role_delete_confirm' => 'سيتم حذف الدور المسمى \':roleName\'.',
- 'role_delete_users_assigned' => 'This role has :userCount users assigned to it. If you would like to migrate the users from this role select a new role below.',
+ 'role_delete_users_assigned' => 'هذا الدور له: عدد المستخدمين المعينين له. إذا كنت ترغب في ترحيل المستخدمين من هذا الدور ، فحدد دورًا جديدًا أدناه.',
'role_delete_no_migration' => "لا تقم بترجيل المستخدمين",
'role_delete_sure' => 'تأكيد حذف الدور؟',
'role_delete_success' => 'تم حذف الدور بنجاح',
'role_details' => 'تفاصيل الدور',
'role_name' => 'اسم الدور',
'role_desc' => 'وصف مختصر للدور',
- 'role_external_auth_id' => 'External Authentication IDs',
+ 'role_external_auth_id' => 'ربط الحساب بمواقع التواصل',
'role_system' => 'أذونات النظام',
'role_manage_users' => 'إدارة المستخدمين',
'role_manage_roles' => 'إدارة الأدوار وأذوناتها',
'role_manage_entity_permissions' => 'إدارة جميع أذونات الكتب والفصول والصفحات',
'role_manage_own_entity_permissions' => 'إدارة الأذونات الخاصة بكتابك أو فصلك أو صفحاتك',
- 'role_manage_page_templates' => 'Manage page templates',
- 'role_access_api' => 'Access system API',
+ 'role_manage_page_templates' => 'إدارة قوالب الصفحة',
+ 'role_access_api' => 'الوصول إلى واجهة برمجة تطبيقات النظام API',
'role_manage_settings' => 'إدارة إعدادات التطبيق',
- 'role_asset' => 'Asset Permissions',
- 'roles_system_warning' => 'Be aware that access to any of the above three permissions can allow a user to alter their own privileges or the privileges of others in the system. Only assign roles with these permissions to trusted users.',
- 'role_asset_desc' => 'These permissions control default access to the assets within the system. Permissions on Books, Chapters and Pages will override these permissions.',
- 'role_asset_admins' => 'Admins are automatically given access to all content but these options may show or hide UI options.',
+ 'role_asset' => 'أذونات الأصول',
+ 'roles_system_warning' => 'اعلم أن الوصول إلى أي من الأذونات الثلاثة المذكورة أعلاه يمكن أن يسمح للمستخدم بتغيير امتيازاته الخاصة أو امتيازات الآخرين في النظام. قم بتعيين الأدوار مع هذه الأذونات فقط للمستخدمين الموثوق بهم.',
+ 'role_asset_desc' => 'تتحكم هذه الأذونات في الوصول الافتراضي إلى الأصول داخل النظام. ستتجاوز الأذونات الخاصة بالكتب والفصول والصفحات هذه الأذونات.',
+ 'role_asset_admins' => 'يُمنح المسؤولين حق الوصول تلقائيًا إلى جميع المحتويات ولكن هذه الخيارات قد تعرض خيارات واجهة المستخدم أو تخفيها.',
'role_all' => 'الكل',
- 'role_own' => 'Own',
- 'role_controlled_by_asset' => 'Controlled by the asset they are uploaded to',
+ 'role_own' => 'ما يخص',
+ 'role_controlled_by_asset' => 'يتحكم فيها الأصول التي يتم رفعها إلى',
'role_save' => 'حفظ الدور',
'role_update_success' => 'تم تحديث الدور بنجاح',
'role_users' => 'مستخدمون داخل هذا الدور',
'user_profile' => 'ملف المستخدم',
'users_add_new' => 'إضافة مستخدم جديد',
'users_search' => 'بحث عن مستخدم',
- 'users_details' => 'User Details',
- 'users_details_desc' => 'Set a display name and an email address for this user. The email address will be used for logging into the application.',
- 'users_details_desc_no_email' => 'Set a display name for this user so others can recognise them.',
+ 'users_latest_activity' => 'أحدث نشاط',
+ 'users_details' => 'بيانات المستخدم',
+ 'users_details_desc' => 'قم بتعيين اسم عرض وعنوان بريد إلكتروني لهذا المستخدم. سيتم استخدام عنوان البريد الإلكتروني لتسجيل الدخول إلى التطبيق.',
+ 'users_details_desc_no_email' => 'قم بتعيين اسم عرض لهذا المستخدم حتى يتمكن الآخرون من التعرف عليه.',
'users_role' => 'أدوار المستخدمين',
- 'users_role_desc' => 'Select which roles this user will be assigned to. If a user is assigned to multiple roles the permissions from those roles will stack and they will receive all abilities of the assigned roles.',
- 'users_password' => 'User Password',
- 'users_password_desc' => 'Set a password used to log-in to the application. This must be at least 6 characters long.',
- 'users_send_invite_text' => 'You can choose to send this user an invitation email which allows them to set their own password otherwise you can set their password yourself.',
- 'users_send_invite_option' => 'Send user invite email',
- 'users_external_auth_id' => 'External Authentication ID',
- 'users_external_auth_id_desc' => 'This is the ID used to match this user when communicating with your external authentication system.',
+ 'users_role_desc' => 'حدد الأدوار التي سيتم تعيين هذا المستخدم لها. إذا تم تعيين مستخدم لأدوار متعددة ، فسيتم تكديس الأذونات من هذه الأدوار وسيتلقى كل قدرات الأدوار المعينة.',
+ 'users_password' => 'كلمة مرور المستخدم',
+ 'users_password_desc' => 'قم بتعيين كلمة مرور مستخدمة لتسجيل الدخول إلى التطبيق. يجب ألا يقل طول هذه الكلمة عن 6 أحرف.',
+ 'users_send_invite_text' => 'يمكنك اختيار إرسال دعوة بالبريد الإلكتروني إلى هذا المستخدم مما يسمح له بتعيين كلمة المرور الخاصة به أو يمكنك تعيين كلمة المرور الخاصة به بنفسك.',
+ 'users_send_invite_option' => 'أرسل بريدًا إلكترونيًا لدعوة المستخدم',
+ 'users_external_auth_id' => 'ربط الحساب بمواقع التواصل',
+ 'users_external_auth_id_desc' => 'تستخدم هذه الهوية لإثبات شخصية المستخدم عند الدخول إلى مواقع التواصل الخاصة بك.',
'users_password_warning' => 'الرجاء ملئ الحقل أدناه فقط في حال أردتم تغيير كلمة المرور:',
'users_system_public' => 'هذا المستخدم يمثل أي ضيف يقوم بزيارة شيء يخصك. لا يمكن استخدامه لتسجيل الدخول ولكن يتم تعيينه تلقائياً.',
'users_delete' => 'حذف المستخدم',
'users_delete_named' => 'حذف المستخدم :userName',
'users_delete_warning' => 'سيتم حذف المستخدم \':userName\' بشكل تام من النظام.',
'users_delete_confirm' => 'تأكيد حذف المستخدم؟',
- 'users_delete_success' => 'تم حذف المستخدم بنجاح',
+ 'users_migrate_ownership' => 'Migrate Ownership',
+ 'users_migrate_ownership_desc' => 'Select a user here if you want another user to become the owner of all items currently owned by this user.',
+ 'users_none_selected' => 'No user selected',
+ 'users_delete_success' => 'User successfully removed',
'users_edit' => 'تعديل المستخدم',
'users_edit_profile' => 'تعديل الملف',
'users_edit_success' => 'تم تحديث المستخدم بنجاح',
'users_avatar' => 'صورة المستخدم',
'users_avatar_desc' => 'يجب أن تكون الصورة مربعة ومقاربة لحجم 256 بكسل',
'users_preferred_language' => 'اللغة المفضلة',
- 'users_preferred_language_desc' => 'This option will change the language used for the user-interface of the application. This will not affect any user-created content.',
+ 'users_preferred_language_desc' => 'سيؤدي هذا الخيار إلى تغيير اللغة المستخدمة لواجهة المستخدم الخاصة بالتطبيق. لن يؤثر هذا على أي محتوى قد أنشائه المستخدم.',
'users_social_accounts' => 'الحسابات الاجتماعية',
'users_social_accounts_info' => 'Here you can connect your other accounts for quicker and easier login. Disconnecting an account here does not previously authorized access. Revoke access from your profile settings on the connected social account.',
'users_social_connect' => 'ربط الحساب',
'users_social_disconnect' => 'فصل الحساب',
'users_social_connected' => 'تم ربط حساب :socialAccount بملفك بنجاح.',
'users_social_disconnected' => 'تم فصل حساب :socialAccount من ملفك بنجاح.',
- 'users_api_tokens' => 'API Tokens',
- 'users_api_tokens_none' => 'No API tokens have been created for this user',
- 'users_api_tokens_create' => 'Create Token',
- 'users_api_tokens_expires' => 'Expires',
- 'users_api_tokens_docs' => 'API Documentation',
+ 'users_api_tokens' => 'رموز الـ API',
+ 'users_api_tokens_none' => 'لم يتم إنشاء رموز API لهذا المستخدم',
+ 'users_api_tokens_create' => 'قم بإنشاء رمز مميز',
+ 'users_api_tokens_expires' => 'انتهاء مدة الصلاحية',
+ 'users_api_tokens_docs' => 'وثائق API',
// API Tokens
- 'user_api_token_create' => 'Create API Token',
- 'user_api_token_name' => 'Name',
- 'user_api_token_name_desc' => 'Give your token a readable name as a future reminder of its intended purpose.',
- 'user_api_token_expiry' => 'Expiry Date',
- 'user_api_token_expiry_desc' => 'Set a date at which this token expires. After this date, requests made using this token will no longer work. Leaving this field blank will set an expiry 100 years into the future.',
- 'user_api_token_create_secret_message' => 'Immediately after creating this token a "Token ID" & "Token Secret" will be generated and displayed. The secret will only be shown a single time so be sure to copy the value to somewhere safe and secure before proceeding.',
- 'user_api_token_create_success' => 'API token successfully created',
- 'user_api_token_update_success' => 'API token successfully updated',
- 'user_api_token' => 'API Token',
- 'user_api_token_id' => 'Token ID',
- 'user_api_token_id_desc' => 'This is a non-editable system generated identifier for this token which will need to be provided in API requests.',
- 'user_api_token_secret' => 'Token Secret',
- 'user_api_token_secret_desc' => 'This is a system generated secret for this token which will need to be provided in API requests. This will only be displayed this one time so copy this value to somewhere safe and secure.',
- 'user_api_token_created' => 'Token created :timeAgo',
- 'user_api_token_updated' => 'Token updated :timeAgo',
- 'user_api_token_delete' => 'Delete Token',
- 'user_api_token_delete_warning' => 'This will fully delete this API token with the name \':tokenName\' from the system.',
- 'user_api_token_delete_confirm' => 'Are you sure you want to delete this API token?',
- 'user_api_token_delete_success' => 'API token successfully deleted',
+ 'user_api_token_create' => 'قم بإنشاء رمز API',
+ 'user_api_token_name' => 'الاسم',
+ 'user_api_token_name_desc' => 'اعطي الرمز الخاص بك اسمًا يمكن قراءته للتذكير مستقبلًا بالغرض المقصود منه.',
+ 'user_api_token_expiry' => 'تاريخ انتهاء الصلاحية',
+ 'user_api_token_expiry_desc' => 'حدد التاريخ الذي تنتهي فيه صلاحية هذا الرمز. بعد هذا التاريخ ، لن تعمل الطلبات المقدمة باستخدام هذا الرمز. سيؤدي ترك هذا الحقل فارغًا إلى تعيين انتهاء صلاحية لمدة 100 عام في المستقبل.',
+ 'user_api_token_create_secret_message' => 'عقب إنشاء هذا الرمز مباشرة، سيتم إنشاء "مُعرّف الرمز" و "رمز سري" وعرضهما. وسيتم عرض الرمز السري لمرة واحدة فقط ، لذا تأكد من نسخ قيمة هذا الرمز إلى مكان آمن ومضمون قبل المتابعة.',
+ 'user_api_token_create_success' => 'تم إنشاء رمز الـ API بنجاح',
+ 'user_api_token_update_success' => 'تم تحديث رمز الـ API بنجاح',
+ 'user_api_token' => 'رمز الـ API',
+ 'user_api_token_id' => 'مُعرّف الرمز',
+ 'user_api_token_id_desc' => 'هذا مُعرّف تم إنشاؤه بواسطة النظام غير قابل للتحرير لهذا الرمز والذي يجب توفيره في طلبات API.',
+ 'user_api_token_secret' => 'الرمز السري',
+ 'user_api_token_secret_desc' => 'هذا الرمز السري تم إنشاؤه بواسطة النظام والذي يجب توفيره ضمن طلبات API. سيتم عرضه لمرة واحدة فقط ، لذا انسخ قيمة هذا الرمز إلى مكان آمن ومضمون.',
+ 'user_api_token_created' => 'تم إنشاء رمز :الوقت الزمني',
+ 'user_api_token_updated' => 'تم تحديث الرمز :الوقت الزمني',
+ 'user_api_token_delete' => 'حذف الرمز',
+ 'user_api_token_delete_warning' => 'سيؤدي هذا إلى حذف رمز API المُشار إليه بالكامل باسم \'اسم الرمز\' من النظام.',
+ 'user_api_token_delete_confirm' => 'هل أنت متأكد من أنك تريد حذف رمز API؟',
+ 'user_api_token_delete_success' => 'تم حذف رمز الـ API بنجاح',
//! If editing translations files directly please ignore this in all
//! languages apart from en. Content will be auto-copied from en.
'en' => 'English',
'ar' => 'العربية',
'bg' => 'Bǎlgarski',
+ 'bs' => 'Bosanski',
+ 'ca' => 'Català',
'cs' => 'Česky',
'da' => 'Dansk',
'de' => 'Deutsch (Sie)',
'es_AR' => 'Español Argentina',
'fr' => 'Français',
'he' => 'עברית',
+ 'hr' => 'Hrvatski',
'hu' => 'Magyar',
+ 'id' => 'Bahasa Indonesia',
'it' => 'Italian',
'ja' => '日本語',
'ko' => '한국어',
+ 'lv' => 'Latviešu Valoda',
'nl' => 'Nederlands',
+ 'nb' => 'Norsk (Bokmål)',
'pl' => 'Polski',
+ 'pt' => 'Português',
'pt_BR' => 'Português do Brasil',
'ru' => 'Русский',
'sk' => 'Slovensky',
'alpha' => 'يجب أن يقتصر :attribute على الحروف فقط.',
'alpha_dash' => 'يجب أن يقتصر :attribute على حروف أو أرقام أو شرطات فقط.',
'alpha_num' => 'يجب أن يقتصر :attribute على الحروف والأرقام فقط.',
- 'array' => 'The :attribute must be an array.',
+ 'array' => 'يجب أن تكون السمة مصفوفة.',
'before' => 'يجب أن يكون التاريخ :attribute قبل :date.',
'between' => [
'numeric' => 'يجب أن يكون :attribute بين :min و :max.',
'string' => 'يجب أن يكون :attribute بين :min و :max حرف / حروف.',
'array' => 'يجب أن يكون :attribute بين :min و :max عنصر / عناصر.',
],
- 'boolean' => 'The :attribute field must be true or false.',
+ 'boolean' => 'يجب أن يحتمل حقل السمة الصحة أو الخطأ.',
'confirmed' => ':attribute غير مطابق.',
'date' => ':attribute ليس تاريخ صالح.',
'date_format' => ':attribute لا يطابق الصيغة :format.',
'digits' => 'يجب أن يكون :attribute بعدد :digits خانات.',
'digits_between' => 'يجب أن يكون :attribute بعدد خانات بين :min و :max.',
'email' => 'يجب أن يكون :attribute عنوان بريد إلكتروني صالح.',
- 'ends_with' => 'The :attribute must end with one of the following: :values',
+ 'ends_with' => 'يجب أن تنتهي السمة بأحد القيم التالية',
'filled' => 'حقل :attribute مطلوب.',
'gt' => [
- 'numeric' => 'The :attribute must be greater than :value.',
- 'file' => 'The :attribute must be greater than :value kilobytes.',
- 'string' => 'The :attribute must be greater than :value characters.',
- 'array' => 'The :attribute must have more than :value items.',
+ 'numeric' => 'يجب أن تكون السمة أكبر من: القيمة.',
+ 'file' => 'يجب أن تكون السمة أكبر من: القيمة كيلوبايت.',
+ 'string' => 'يجب أن تكون السمة أكبر من: أحرف القيمة.',
+ 'array' => 'يجب أن تحتوي السمة على أكثر من: عناصر القيمة.',
],
'gte' => [
- 'numeric' => 'The :attribute must be greater than or equal :value.',
- 'file' => 'The :attribute must be greater than or equal :value kilobytes.',
- 'string' => 'The :attribute must be greater than or equal :value characters.',
- 'array' => 'The :attribute must have :value items or more.',
+ 'numeric' => 'يجب أن تكون السمة أكبر من أو تساوي: القيمة.',
+ 'file' => 'يجب أن تكون السمة أكبر من أو تساوي: القيمة كيلوبايت.',
+ 'string' => 'يجب أن تكون السمة أكبر من أو تساوي: أحرف القيمة.',
+ 'array' => 'يجب أن تحتوي السمة على: عناصر القيمة أو أكثر.',
],
'exists' => ':attribute المحدد غير صالح.',
'image' => 'يجب أن يكون :attribute صورة.',
- 'image_extension' => 'The :attribute must have a valid & supported image extension.',
+ 'image_extension' => 'يجب أن تحتوي السمة على امتداد صورة صالح ومدعوم.',
'in' => ':attribute المحدد غير صالح.',
'integer' => 'يجب أن يكون :attribute عدد صحيح.',
'ip' => 'يجب أن يكون :attribute عنوان IP صالح.',
- 'ipv4' => 'The :attribute must be a valid IPv4 address.',
- 'ipv6' => 'The :attribute must be a valid IPv6 address.',
- 'json' => 'The :attribute must be a valid JSON string.',
+ 'ipv4' => 'يجب أن تكون السمة: عنوان IPv4 صالحًا.',
+ 'ipv6' => 'يجب أن تكون السمة: عنوان IPv6 صالحًا.',
+ 'json' => 'يجب أن تكون السمة: سلسلة من نوع جسون JSON صالح.',
'lt' => [
- 'numeric' => 'The :attribute must be less than :value.',
- 'file' => 'The :attribute must be less than :value kilobytes.',
- 'string' => 'The :attribute must be less than :value characters.',
- 'array' => 'The :attribute must have less than :value items.',
+ 'numeric' => 'يجب أن تكون السمة أقل من: القيمة.',
+ 'file' => 'يجب أن تكون السمة أقل من: القيمة كيلوبايت.',
+ 'string' => 'يجب أن تكون السمة أقل من: أحرف القيمة.',
+ 'array' => 'يجب أن تحتوي السمة على أقل من: عناصر القيمة.',
],
'lte' => [
- 'numeric' => 'The :attribute must be less than or equal :value.',
- 'file' => 'The :attribute must be less than or equal :value kilobytes.',
- 'string' => 'The :attribute must be less than or equal :value characters.',
- 'array' => 'The :attribute must not have more than :value items.',
+ 'numeric' => 'يجب أن تكون السمة أقل من أو تساوي: القيمة.',
+ 'file' => 'يجب أن تكون السمة أقل من أو تساوي: القيمة كيلوبايت.',
+ 'string' => 'يجب أن تكون السمة أقل من أو تساوي: أحرف القيمة.',
+ 'array' => 'يجب ألا تحتوي السمة على أكثر من: عناصر القيمة.',
],
'max' => [
'numeric' => 'يجب ألا يكون :attribute أكبر من :max.',
'string' => 'يجب أن يكون :attribute على الأقل :min حرف / حروف.',
'array' => 'يجب أن يحتوي :attribute على :min عنصر / عناصر كحد أدنى.',
],
- 'no_double_extension' => 'The :attribute must only have a single file extension.',
'not_in' => ':attribute المحدد غير صالح.',
- 'not_regex' => 'The :attribute format is invalid.',
+ 'not_regex' => 'صيغة السمة: غير صالحة.',
'numeric' => 'يجب أن يكون :attribute رقم.',
'regex' => 'صيغة :attribute غير صالحة.',
'required' => 'حقل :attribute مطلوب.',
'required_without' => 'حقل :attribute مطلوب عندما تكون :values غير موجودة.',
'required_without_all' => 'حقل :attribute مطلوب عندما لا يكون أي من :values موجودة.',
'same' => 'يجب تطابق :attribute مع :other.',
+ 'safe_url' => 'قد لايكون الرابط المتوفر آمنا.',
'size' => [
'numeric' => 'يجب أن يكون :attribute بحجم :size.',
'file' => 'يجب أن يكون :attribute بحجم :size كيلو بايت.',
'string' => 'يجب أن يكون :attribute بعدد :size حرف / حروف.',
'array' => 'يجب أن يحتوي :attribute على :size عنصر / عناصر.',
],
- 'string' => 'The :attribute must be a string.',
+ 'string' => 'يجب أن تكون السمة: سلسلة.',
'timezone' => 'يجب أن تكون :attribute منطقة صالحة.',
'unique' => 'تم حجز :attribute من قبل.',
'url' => 'صيغة :attribute غير صالحة.',
- 'uploaded' => 'The file could not be uploaded. The server may not accept files of this size.',
+ 'uploaded' => 'تعذر تحميل الملف. قد لا يقبل الخادم ملفات بهذا الحجم.',
// Custom validation lines
'custom' => [
'bookshelf_delete' => 'изтрит рафт',
'bookshelf_delete_notification' => 'Рафтът беше успешно изтрит',
+ // Favourites
+ 'favourite_add_notification' => '":name" has been added to your favourites',
+ 'favourite_remove_notification' => '":name" has been removed from your favourites',
+
// Other
'commented_on' => 'коментирано на',
+ 'permissions_update' => 'updated permissions',
];
'copy' => 'Копирай',
'reply' => 'Отговори',
'delete' => 'Изтрий',
- 'delete_confirm' => 'Confirm Deletion',
+ 'delete_confirm' => 'Потвърдете изтриването',
'search' => 'Търси',
'search_clear' => 'Изчисти търсенето',
'reset' => 'Нулирай',
'remove' => 'Премахване',
'add' => 'Добави',
'fullscreen' => 'Пълен екран',
+ 'favourite' => 'Favourite',
+ 'unfavourite' => 'Unfavourite',
+ 'next' => 'Next',
+ 'previous' => 'Previous',
// Sort Options
'sort_options' => 'Опции за сортиране',
'sort_ascending' => 'Сортирай възходящо',
'sort_descending' => 'Низходящо сортиране',
'sort_name' => 'Име',
+ 'sort_default' => 'Default',
'sort_created_at' => 'Дата на създаване',
'sort_updated_at' => 'Дата на обновяване',
'breadcrumb' => 'Трасиране',
// Header
+ 'header_menu_expand' => 'Expand Header Menu',
'profile_menu' => 'Профил меню',
'view_profile' => 'Разглеждане на профил',
'edit_profile' => 'Редактиране на профила',
// Layout tabs
'tab_info' => 'Информация',
+ 'tab_info_label' => 'Tab: Show Secondary Information',
'tab_content' => 'Съдържание',
+ 'tab_content_label' => 'Tab: Show Primary Content',
// Email Content
'email_action_help' => 'Ако имате проблеми с бутона ":actionText" по-горе, копирайте и поставете URL адреса по-долу в уеб браузъра си:',
'email_rights' => 'Всички права запазени',
+
+ // Footer Link Options
+ // Not directly used but available for convenience to users.
+ 'privacy_policy' => 'Лични данни',
+ 'terms_of_service' => 'Общи условия',
];
'image_load_more' => 'Зареди повече',
'image_image_name' => 'Име на изображението',
'image_delete_used' => 'Това изображение е използвано в страницата по-долу.',
- 'image_delete_confirm_text' => 'Are you sure you want to delete this image?',
+ 'image_delete_confirm_text' => 'Сигурни ли сте, че искате да изтриете това изображение?',
'image_select_image' => 'Изберете изображение',
'image_dropzone' => 'Поставете тук изображение или кликнете тук за да качите',
'images_deleted' => 'Изображението е изтрито',
'meta_created_name' => 'Създадено преди :timeLength от :user',
'meta_updated' => 'Актуализирано :timeLength',
'meta_updated_name' => 'Актуализирано преди :timeLength от :user',
+ 'meta_owned_name' => 'Притежавано от :user',
'entity_select' => 'Избор на обект',
'images' => 'Изображения',
'my_recent_drafts' => 'Моите скорошни драфтове',
'my_recently_viewed' => 'Моите скорошни преглеждания',
+ 'my_most_viewed_favourites' => 'My Most Viewed Favourites',
+ 'my_favourites' => 'Моите фаворити',
'no_pages_viewed' => 'Не сте прегледали никакви страници',
'no_pages_recently_created' => 'Не са били създавани страници скоро',
'no_pages_recently_updated' => 'Не са били актуализирани страници скоро',
'permissions_intro' => 'Веднъж добавени, тези права ще вземат приоритет над всички други установени права.',
'permissions_enable' => 'Разреши уникални права',
'permissions_save' => 'Запази права',
+ 'permissions_owner' => 'Собственик',
// Search
'search_results' => 'Резултати от търсенето',
'search_no_pages' => 'Няма страници отговарящи на търсенето',
'search_for_term' => 'Търси :term',
'search_more' => 'Още резултати',
- 'search_advanced' => 'Advanced Search',
+ 'search_advanced' => 'Подробно търсене',
'search_terms' => 'Search Terms',
'search_content_type' => 'Тип на съдържание',
'search_exact_matches' => 'Точни съвпадения',
'search_permissions_set' => 'Задаване на права',
'search_created_by_me' => 'Създадено от мен',
'search_updated_by_me' => 'Обновено от мен',
+ 'search_owned_by_me' => 'Притежаван от мен',
'search_date_options' => 'Настройки на дати',
'search_updated_before' => 'Обновено преди',
'search_updated_after' => 'Обновено след',
'chapters_create' => 'Създай нова глава',
'chapters_delete' => 'Изтрий глава',
'chapters_delete_named' => 'Изтрий глава :chapterName',
- 'chapters_delete_explain' => 'Ще бъде изтрита глава с име \':chapterName\'. Всички страници в нея ще бъдат премахнати и добавени в основната книга.',
+ 'chapters_delete_explain' => 'This will delete the chapter with the name \':chapterName\'. All pages that exist within this chapter will also be deleted.',
'chapters_delete_confirm' => 'Сигурни ли сте, че искате да изтриете тази глава?',
'chapters_edit' => 'Редактирай глава',
'chapters_edit_named' => 'Актуализирай глава :chapterName',
'pages_revisions' => 'Ревизии на страницата',
'pages_revisions_named' => 'Ревизии на страницата :pageName',
'pages_revision_named' => 'Ревизия на страницата :pageName',
+ 'pages_revision_restored_from' => 'Restored from #:id; :summary',
'pages_revisions_created_by' => 'Създадено от',
'pages_revisions_date' => 'Дата на ревизията',
'pages_revisions_number' => '№',
'attachments_upload' => 'Прикачен файл',
'attachments_link' => 'Прикачване на линк',
'attachments_set_link' => 'Поставяне на линк',
- 'attachments_delete' => 'Are you sure you want to delete this attachment?',
+ 'attachments_delete' => 'Сигурни ли сте, че искате да изтриете прикачения файл?',
'attachments_dropzone' => 'Поставете файлове или цъкнете тук за да прикачите файл',
'attachments_no_files' => 'Няма прикачени фалове',
'attachments_explain_link' => 'Може да прикачите линк, ако не искате да качвате файл. Този линк може да бъде към друга страница или към файл в облакова пространство.',
'revision_restore_confirm' => 'Сигурни ли сте, че искате да изтриете тази версия? Настоящата страница ще бъде заместена.',
'revision_delete_success' => 'Версията беше изтрита',
'revision_cannot_delete_latest' => 'Не може да изтриете последната версия.'
-];
\ No newline at end of file
+];
'404_page_not_found' => 'Страницата не е намерена',
'sorry_page_not_found' => 'Страницата, която търсите не може да бъде намерена.',
'sorry_page_not_found_permission_warning' => 'Ако смятате, че тази страница съществува, най-вероятно нямате право да я преглеждате.',
+ 'image_not_found' => 'Image Not Found',
+ 'image_not_found_subtitle' => 'Sorry, The image file you were looking for could not be found.',
+ 'image_not_found_details' => 'If you expected this image to exist it might have been deleted.',
'return_home' => 'Назад към Начало',
'error_occurred' => 'Възникна грешка',
'app_down' => ':appName не е достъпно в момента',
'app_primary_color' => 'Основен цвят на приложението',
'app_primary_color_desc' => 'Изберете основния цвят на приложението, включително на банера, бутоните и линковете.',
'app_homepage' => 'Application Homepage',
- 'app_homepage_desc' => 'Select a view to show on the homepage instead of the default view. Page permissions are ignored for selected pages.',
- 'app_homepage_select' => 'Select a page',
+ 'app_homepage_desc' => 'Изберете начална страница, която ще замени изгледа по подразбиране. Дефинираните права на страницата, която е избрана ще бъдат игнорирани.',
+ 'app_homepage_select' => 'Избери страница',
+ 'app_footer_links' => 'Футър линкове',
+ 'app_footer_links_desc' => 'Добави линк в съдържанието на футъра. Добавените линкове ще се показват долу в повечето страници, включително и в страниците, в които логването не е задължително. Можете да използвате заместител "trans::<key>", за да използвате дума дефинирана от системата. Пример: Използването на "trans::common.privacy_policy" ще покаже "Лични данни" или на "trans::common.terms_of_service" ще покаже "Общи условия".',
+ 'app_footer_links_label' => 'Link Label',
+ 'app_footer_links_url' => 'Линк URL',
+ 'app_footer_links_add' => 'Добави футър линк',
'app_disable_comments' => 'Disable Comments',
'app_disable_comments_toggle' => 'Disable comments',
'app_disable_comments_desc' => 'Disables comments across all pages in the application. <br> Existing comments are not shown.',
'maint' => 'Maintenance',
'maint_image_cleanup' => 'Cleanup Images',
'maint_image_cleanup_desc' => "Scans page & revision content to check which images and drawings are currently in use and which images are redundant. Ensure you create a full database and image backup before running this.",
- 'maint_image_cleanup_ignore_revisions' => 'Ignore images in revisions',
+ 'maint_delete_images_only_in_revisions' => 'Also delete images that only exist in old page revisions',
'maint_image_cleanup_run' => 'Run Cleanup',
'maint_image_cleanup_warning' => ':count potentially unused images were found. Are you sure you want to delete these images?',
'maint_image_cleanup_success' => ':count potentially unused images found and deleted!',
'maint_image_cleanup_nothing_found' => 'No unused images found, Nothing deleted!',
'maint_send_test_email' => 'Send a Test Email',
'maint_send_test_email_desc' => 'This sends a test email to your email address specified in your profile.',
- 'maint_send_test_email_run' => 'Send test email',
- 'maint_send_test_email_success' => 'Email sent to :address',
- 'maint_send_test_email_mail_subject' => 'Test Email',
- 'maint_send_test_email_mail_greeting' => 'Email delivery seems to work!',
- 'maint_send_test_email_mail_text' => 'Congratulations! As you received this email notification, your email settings seem to be configured properly.',
+ 'maint_send_test_email_run' => 'Изпрати тестов имейл',
+ 'maint_send_test_email_success' => 'Имейл изпратен на :address',
+ 'maint_send_test_email_mail_subject' => 'Тестов Имейл',
+ 'maint_send_test_email_mail_greeting' => 'Изпращането на Имейл работи!',
+ 'maint_send_test_email_mail_text' => 'Поздравления! След като получихте този имейл, Вашите имейл настройки са конфигурирани правилно.',
+ 'maint_recycle_bin_desc' => 'Изтрити рафти, книги, глави и страници се преместват в кошчето, откъдето можете да ги възстановите или изтриете завинаги. Стари съдържания в кошчето ще бъдат изтрити автоматично след време, в зависимост от настройките на системата.',
+ 'maint_recycle_bin_open' => 'Отвори Кошчето',
+
+ // Recycle Bin
+ 'recycle_bin' => 'Кошче',
+ 'recycle_bin_desc' => 'Here you can restore items that have been deleted or choose to permanently remove them from the system. This list is unfiltered unlike similar activity lists in the system where permission filters are applied.',
+ 'recycle_bin_deleted_item' => 'Изтрит предмет',
+ 'recycle_bin_deleted_by' => 'Изтрит от',
+ 'recycle_bin_deleted_at' => 'Час на изтриване',
+ 'recycle_bin_permanently_delete' => 'Permanently Delete',
+ 'recycle_bin_restore' => 'Restore',
+ 'recycle_bin_contents_empty' => 'The recycle bin is currently empty',
+ 'recycle_bin_empty' => 'Empty Recycle Bin',
+ 'recycle_bin_empty_confirm' => 'This will permanently destroy all items in the recycle bin including content contained within each item. Are you sure you want to empty the recycle bin?',
+ 'recycle_bin_destroy_confirm' => 'This action will permanently delete this item, along with any child elements listed below, from the system and you will not be able to restore this content. Are you sure you want to permanently delete this item?',
+ 'recycle_bin_destroy_list' => 'Items to be Destroyed',
+ 'recycle_bin_restore_list' => 'Items to be Restored',
+ 'recycle_bin_restore_confirm' => 'This action will restore the deleted item, including any child elements, to their original location. If the original location has since been deleted, and is now in the recycle bin, the parent item will also need to be restored.',
+ 'recycle_bin_restore_deleted_parent' => 'The parent of this item has also been deleted. These will remain deleted until that parent is also restored.',
+ 'recycle_bin_destroy_notification' => 'Deleted :count total items from the recycle bin.',
+ 'recycle_bin_restore_notification' => 'Restored :count total items from the recycle bin.',
// Audit Log
'audit' => 'Audit Log',
'audit_desc' => 'This audit log displays a list of activities tracked in the system. This list is unfiltered unlike similar activity lists in the system where permission filters are applied.',
'audit_event_filter' => 'Event Filter',
- 'audit_event_filter_no_filter' => 'No Filter',
- 'audit_deleted_item' => 'Deleted Item',
- 'audit_deleted_item_name' => 'Name: :name',
- 'audit_table_user' => 'User',
- 'audit_table_event' => 'Event',
- 'audit_table_item' => 'Related Item',
- 'audit_table_date' => 'Activity Date',
- 'audit_date_from' => 'Date Range From',
- 'audit_date_to' => 'Date Range To',
+ 'audit_event_filter_no_filter' => 'Без филтър',
+ 'audit_deleted_item' => 'Изтрит предмет',
+ 'audit_deleted_item_name' => 'Име: :name',
+ 'audit_table_user' => 'Потребител',
+ 'audit_table_event' => 'Събитие',
+ 'audit_table_related' => 'Related Item or Detail',
+ 'audit_table_date' => 'Дата на активност',
+ 'audit_date_from' => 'Време от',
+ 'audit_date_to' => 'Време до',
// Role Settings
- 'roles' => 'Roles',
- 'role_user_roles' => 'User Roles',
- 'role_create' => 'Create New Role',
- 'role_create_success' => 'Role successfully created',
- 'role_delete' => 'Delete Role',
- 'role_delete_confirm' => 'This will delete the role with the name \':roleName\'.',
- 'role_delete_users_assigned' => 'This role has :userCount users assigned to it. If you would like to migrate the users from this role select a new role below.',
- 'role_delete_no_migration' => "Don't migrate users",
- 'role_delete_sure' => 'Are you sure you want to delete this role?',
- 'role_delete_success' => 'Role successfully deleted',
+ 'roles' => 'Роли',
+ 'role_user_roles' => 'Потребителски роли',
+ 'role_create' => 'Създай нова роля',
+ 'role_create_success' => 'Ролята беше успешно създадена',
+ 'role_delete' => 'Изтрий роля',
+ 'role_delete_confirm' => 'Това ще изтрие ролята \':roleName\'.',
+ 'role_delete_users_assigned' => 'В тази роля се намират :userCount потребители. Ако искате да преместите тези потребители в друга роля, моля изберете нова роля отдолу.',
+ 'role_delete_no_migration' => "Не премествай потребителите в нова роля",
+ 'role_delete_sure' => 'Сигурни ли сте, че искате да изтриете тази роля?',
+ 'role_delete_success' => 'Ролята беше успешно изтрита',
'role_edit' => 'Редактиране на роля',
'role_details' => 'Детайли на роля',
'role_name' => 'Име на ролята',
'role_access_api' => 'Достъп до API на системата',
'role_manage_settings' => 'Управление на настройките на приложението',
'role_asset' => 'Настройки за достъп до активи',
- 'roles_system_warning' => 'Be aware that access to any of the above three permissions can allow a user to alter their own privileges or the privileges of others in the system. Only assign roles with these permissions to trusted users.',
- 'role_asset_desc' => 'Тези настойки за достъп контролират достъпа по подразбиране до активите в системата. Настойките за достъп до книги, глави и страници ще отменят тези настройки.',
+ 'roles_system_warning' => 'Важно: Добавянето на потребител в някое от горните три роли може да му позволи да промени собствените си права или правата на другите в системата. Възлагайте тези роли само на доверени потребители.',
+ 'role_asset_desc' => 'Тези настройки за достъп контролират достъпа по подразбиране до активите в системата. Настройките за достъп до книги, глави и страници ще отменят тези настройки.',
'role_asset_admins' => 'Администраторите автоматично получават достъп до цялото съдържание, но тези опции могат да показват или скриват опциите за потребителския интерфейс.',
'role_all' => 'Всички',
'role_own' => 'Собствени',
'role_controlled_by_asset' => 'Controlled by the asset they are uploaded to',
- 'role_save' => 'Save Role',
- 'role_update_success' => 'Role successfully updated',
- 'role_users' => 'Users in this role',
- 'role_users_none' => 'No users are currently assigned to this role',
+ 'role_save' => 'Запази ролята',
+ 'role_update_success' => 'Ролята беше успешно актуализирана',
+ 'role_users' => 'Потребители в тази роля',
+ 'role_users_none' => 'В момента няма потребители, назначени за тази роля',
// Users
- 'users' => 'Users',
- 'user_profile' => 'User Profile',
- 'users_add_new' => 'Add New User',
- 'users_search' => 'Search Users',
- 'users_details' => 'User Details',
+ 'users' => 'Потребители',
+ 'user_profile' => 'Потребителски профил',
+ 'users_add_new' => 'Добави нов потребител',
+ 'users_search' => 'Търси Потребители',
+ 'users_latest_activity' => 'Последна активност',
+ 'users_details' => 'Потребителски детайли',
'users_details_desc' => 'Set a display name and an email address for this user. The email address will be used for logging into the application.',
'users_details_desc_no_email' => 'Set a display name for this user so others can recognise them.',
'users_role' => 'User Roles',
'users_external_auth_id_desc' => 'This is the ID used to match this user when communicating with your external authentication system.',
'users_password_warning' => 'Only fill the below if you would like to change your password.',
'users_system_public' => 'This user represents any guest users that visit your instance. It cannot be used to log in but is assigned automatically.',
- 'users_delete' => 'Delete User',
- 'users_delete_named' => 'Delete user :userName',
- 'users_delete_warning' => 'This will fully delete this user with the name \':userName\' from the system.',
- 'users_delete_confirm' => 'Are you sure you want to delete this user?',
- 'users_delete_success' => 'Users successfully removed',
+ 'users_delete' => 'Изтрий потребител',
+ 'users_delete_named' => 'Изтрий потребителя :userName',
+ 'users_delete_warning' => 'Това изцяло ще изтрие този потребител с името \':userName\' от системата.',
+ 'users_delete_confirm' => 'Сигурни ли сте, че искате да изтриете този потребител?',
+ 'users_migrate_ownership' => 'Мигрирайте собствеността на сайта',
+ 'users_migrate_ownership_desc' => 'Select a user here if you want another user to become the owner of all items currently owned by this user.',
+ 'users_none_selected' => 'Няма избрани потребители',
+ 'users_delete_success' => 'User successfully removed',
'users_edit' => 'Edit User',
'users_edit_profile' => 'Edit Profile',
'users_edit_success' => 'User successfully updated',
'en' => 'English',
'ar' => 'العربية',
'bg' => 'Bǎlgarski',
+ 'bs' => 'Bosanski',
+ 'ca' => 'Català',
'cs' => 'Česky',
'da' => 'Dansk',
'de' => 'Deutsch (Sie)',
'es_AR' => 'Español Argentina',
'fr' => 'Français',
'he' => 'עברית',
+ 'hr' => 'Hrvatski',
'hu' => 'Magyar',
+ 'id' => 'Bahasa Indonesia',
'it' => 'Italian',
'ja' => '日本語',
'ko' => '한국어',
+ 'lv' => 'Latviešu Valoda',
'nl' => 'Nederlands',
+ 'nb' => 'Norsk (Bokmål)',
'pl' => 'Polski',
+ 'pt' => 'Português',
'pt_BR' => 'Português do Brasil',
'ru' => 'Русский',
'sk' => 'Slovensky',
return [
// Standard laravel validation lines
- 'accepted' => 'The :attribute must be accepted.',
- 'active_url' => 'The :attribute is not a valid URL.',
- 'after' => 'The :attribute must be a date after :date.',
- 'alpha' => 'The :attribute may only contain letters.',
- 'alpha_dash' => 'The :attribute may only contain letters, numbers, dashes and underscores.',
- 'alpha_num' => 'The :attribute may only contain letters and numbers.',
- 'array' => 'The :attribute must be an array.',
- 'before' => 'The :attribute must be a date before :date.',
+ 'accepted' => ':attribute трябва да бъде одобрен.',
+ 'active_url' => ':attribute не е валиден URL адрес.',
+ 'after' => ':attribute трябва да е дата след :date.',
+ 'alpha' => ':attribute може да съдържа само букви.',
+ 'alpha_dash' => ':attribute може да съдържа само букви, числа, тире и долна черта.',
+ 'alpha_num' => ':attribute може да съдържа само букви и числа.',
+ 'array' => ':attribute трябва да е масив (array).',
+ 'before' => ':attribute трябва да е дата след :date.',
'between' => [
- 'numeric' => 'The :attribute must be between :min and :max.',
- 'file' => 'The :attribute must be between :min and :max kilobytes.',
- 'string' => 'The :attribute must be between :min and :max characters.',
+ 'numeric' => ':attribute трябва да е между :min и :max.',
+ 'file' => ':attribute трябва да е между :min и :max килобайта.',
+ 'string' => 'Дължината на :attribute трябва да бъде между :min и :max символа.',
'array' => 'The :attribute must have between :min and :max items.',
],
- 'boolean' => 'The :attribute field must be true or false.',
- 'confirmed' => 'The :attribute confirmation does not match.',
- 'date' => 'The :attribute is not a valid date.',
- 'date_format' => 'The :attribute does not match the format :format.',
- 'different' => 'The :attribute and :other must be different.',
- 'digits' => 'The :attribute must be :digits digits.',
- 'digits_between' => 'The :attribute must be between :min and :max digits.',
- 'email' => 'The :attribute must be a valid email address.',
- 'ends_with' => 'The :attribute must end with one of the following: :values',
- 'filled' => 'The :attribute field is required.',
+ 'boolean' => 'Полето :attribute трябва да съдържа булева стойност (true или false).',
+ 'confirmed' => 'Потвърждението на :attribute не съвпада.',
+ 'date' => ':attribute не е валидна дата.',
+ 'date_format' => ':attribute не е в посоченият формат - :format.',
+ 'different' => ':attribute и :other трябва да са различни.',
+ 'digits' => ':attribute трябва да съдържа :digits цифри.',
+ 'digits_between' => ':attribute трябва да бъде с дължина между :min и :max цифри.',
+ 'email' => ':attribute трябва да бъде валиден имейл адрес.',
+ 'ends_with' => ':attribute трябва да свършва с един от следните символи: :values',
+ 'filled' => 'Полето :attribute е задължителен.',
'gt' => [
- 'numeric' => 'The :attribute must be greater than :value.',
- 'file' => 'The :attribute must be greater than :value kilobytes.',
- 'string' => 'The :attribute must be greater than :value characters.',
+ 'numeric' => ':attribute трябва да бъде по-голям от :value.',
+ 'file' => 'Големината на :attribute трябва да бъде по-голямо от :value килобайта.',
+ 'string' => 'Дължината на :attribute трябва да бъде по-голямо от :value символа.',
'array' => 'The :attribute must have more than :value items.',
],
'gte' => [
'numeric' => 'The :attribute must be greater than or equal :value.',
- 'file' => 'The :attribute must be greater than or equal :value kilobytes.',
- 'string' => 'The :attribute must be greater than or equal :value characters.',
+ 'file' => 'Големината на :attribute трябва да бъде по-голямо или равно на :value килобайта.',
+ 'string' => 'Дължината на :attribute трябва да бъде по-голямо или равно на :value символа.',
'array' => 'The :attribute must have :value items or more.',
],
- 'exists' => 'The selected :attribute is invalid.',
- 'image' => 'The :attribute must be an image.',
- 'image_extension' => 'The :attribute must have a valid & supported image extension.',
- 'in' => 'The selected :attribute is invalid.',
- 'integer' => 'The :attribute must be an integer.',
- 'ip' => 'The :attribute must be a valid IP address.',
- 'ipv4' => 'The :attribute must be a valid IPv4 address.',
- 'ipv6' => 'The :attribute must be a valid IPv6 address.',
- 'json' => 'The :attribute must be a valid JSON string.',
+ 'exists' => 'Избраният :attribute е невалиден.',
+ 'image' => ':attribute трябва да e изображение.',
+ 'image_extension' => ':attribute трябва да е валиден и/или допустим графичен файлов формат.',
+ 'in' => 'Избраният :attribute е невалиден.',
+ 'integer' => ':attribute трябва да бъде цяло число.',
+ 'ip' => ':attribute трябва да бъде валиден IP адрес.',
+ 'ipv4' => ':attribute трябва да бъде валиден IPv4 адрес.',
+ 'ipv6' => ':attribute трябва да бъде валиден IPv6 адрес.',
+ 'json' => ':attribute трябва да съдържа валиден JSON.',
'lt' => [
- 'numeric' => 'The :attribute must be less than :value.',
- 'file' => 'The :attribute must be less than :value kilobytes.',
- 'string' => 'The :attribute must be less than :value characters.',
+ 'numeric' => ':attribute трябва да бъде по-малко от :value.',
+ 'file' => 'Големината на :attribute трябва да бъде по-малко от :value килобайта.',
+ 'string' => 'Дължината на :attribute трябва да бъде по-малко от :value символа.',
'array' => 'The :attribute must have less than :value items.',
],
'lte' => [
- 'numeric' => 'The :attribute must be less than or equal :value.',
- 'file' => 'The :attribute must be less than or equal :value kilobytes.',
- 'string' => 'The :attribute must be less than or equal :value characters.',
+ 'numeric' => ':attribute трябва да бъде по-малко или равно на :value.',
+ 'file' => 'Големината на :attribute трябва да бъде по-малко или равно на :value килобайта.',
+ 'string' => 'Дължината на :attribute трябва да бъде по-малко или равно на :value символа.',
'array' => 'The :attribute must not have more than :value items.',
],
'max' => [
- 'numeric' => 'The :attribute may not be greater than :max.',
- 'file' => 'The :attribute may not be greater than :max kilobytes.',
- 'string' => 'The :attribute may not be greater than :max characters.',
+ 'numeric' => ':attribute не трябва да бъде по-голям от :max.',
+ 'file' => 'Големината на :attribute не може да бъде по-голямо от :value килобайта.',
+ 'string' => 'Дължината на :attribute не може да бъде по-голямо от :value символа.',
'array' => 'The :attribute may not have more than :max items.',
],
'mimes' => 'The :attribute must be a file of type: :values.',
'string' => 'The :attribute must be at least :min characters.',
'array' => 'The :attribute must have at least :min items.',
],
- 'no_double_extension' => 'The :attribute must only have a single file extension.',
'not_in' => 'The selected :attribute is invalid.',
'not_regex' => 'The :attribute format is invalid.',
'numeric' => 'The :attribute must be a number.',
'required_without' => 'The :attribute field is required when :values is not present.',
'required_without_all' => 'The :attribute field is required when none of :values are present.',
'same' => 'The :attribute and :other must match.',
+ 'safe_url' => 'The provided link may not be safe.',
'size' => [
'numeric' => 'The :attribute must be :size.',
'file' => 'The :attribute must be :size kilobytes.',
--- /dev/null
+<?php
+/**
+ * Activity text strings.
+ * Is used for all the text within activity logs & notifications.
+ */
+return [
+
+ // Pages
+ 'page_create' => 'je kreirao/la stranicu',
+ 'page_create_notification' => 'Stranica Uspješno Kreirana',
+ 'page_update' => 'je ažurirao/la stranicu',
+ 'page_update_notification' => 'Stranica Uspješno Ažurirana',
+ 'page_delete' => 'je izbrisao/la stranicu',
+ 'page_delete_notification' => 'Stranica Uspješno Izbrisana',
+ 'page_restore' => 'je vratio/la stranicu',
+ 'page_restore_notification' => 'Stranica Uspješno Vraćena',
+ 'page_move' => 'je premjestio/la stranicu',
+
+ // Chapters
+ 'chapter_create' => 'je kreirao/la poglavlje',
+ 'chapter_create_notification' => 'Poglavlje Uspješno Kreirano',
+ 'chapter_update' => 'je ažurirao/la poglavlje',
+ 'chapter_update_notification' => 'Poglavlje Uspješno Ažurirano',
+ 'chapter_delete' => 'je izbrisao/la poglavlje',
+ 'chapter_delete_notification' => 'Poglavlje Uspješno Izbrisano',
+ 'chapter_move' => 'je premjestio/la poglavlje',
+
+ // Books
+ 'book_create' => 'je kreirao/la knjigu',
+ 'book_create_notification' => 'Knjiga Uspješno Kreirana',
+ 'book_update' => 'je ažurirao/la knjigu',
+ 'book_update_notification' => 'Knjiga Uspješno Ažurirana',
+ 'book_delete' => 'je izbrisao/la knjigu',
+ 'book_delete_notification' => 'Knjiga Uspješno Izbrisana',
+ 'book_sort' => 'je sortirao/la knjigu',
+ 'book_sort_notification' => 'Knjiga Uspješno Ponovno Sortirana',
+
+ // Bookshelves
+ 'bookshelf_create' => 'je kreirao/la Policu za knjige',
+ 'bookshelf_create_notification' => 'Polica za knjige Uspješno Kreirana',
+ 'bookshelf_update' => 'je ažurirao/la policu za knjige',
+ 'bookshelf_update_notification' => 'Polica za knjige Uspješno Ažurirana',
+ 'bookshelf_delete' => 'je izbrisao/la policu za knjige',
+ 'bookshelf_delete_notification' => 'Polica za knjige Uspješno Izbrisana',
+
+ // Favourites
+ 'favourite_add_notification' => '":name" has been added to your favourites',
+ 'favourite_remove_notification' => '":name" has been removed from your favourites',
+
+ // Other
+ 'commented_on' => 'je komentarisao/la na',
+ 'permissions_update' => 'je ažurirao/la dozvole',
+];
--- /dev/null
+<?php
+/**
+ * Authentication Language Lines
+ * The following language lines are used during authentication for various
+ * messages that we need to display to the user.
+ */
+return [
+
+ 'failed' => 'Ovi pristupni podaci se ne slažu sa našom evidencijom.',
+ 'throttle' => 'Preveliki broj pokušaja prijave. Molimo vas da pokušate ponovo za :seconds sekundi.',
+
+ // Login & Register
+ 'sign_up' => 'Registruj se',
+ 'log_in' => 'Prijavi se',
+ 'log_in_with' => 'Prijavi se sa :socialDriver',
+ 'sign_up_with' => 'Registruj se sa :socialDriver',
+ 'logout' => 'Odjavi se',
+
+ 'name' => 'Ime',
+ 'username' => 'Korisničko ime',
+ 'email' => 'E-mail',
+ 'password' => 'Lozinka',
+ 'password_confirm' => 'Potvrdi lozinku',
+ 'password_hint' => 'Mora imati više od 7 karaktera',
+ 'forgot_password' => 'Zaboravljena lozinka?',
+ 'remember_me' => 'Zapamti me',
+ 'ldap_email_hint' => 'Unesite e-mail koji će se koristiti za ovaj račun.',
+ 'create_account' => 'Napravi račun',
+ 'already_have_account' => 'Već imate račun?',
+ 'dont_have_account' => 'Nemate korisnički račun?',
+ 'social_login' => 'Prijava preko društvene mreže',
+ 'social_registration' => 'Registracija pomoću društvene mreže',
+ 'social_registration_text' => 'Registruj i prijavi se koristeći drugi servis.',
+
+ 'register_thanks' => 'Hvala na registraciji!',
+ 'register_confirm' => 'Provjerite vašu e-mail adresu i pritisnite dugme za potvrdu da bi dobili pristup :appName.',
+ 'registrations_disabled' => 'Registracije su trenutno onemogućene',
+ 'registration_email_domain_invalid' => 'Ta e-mail domena nema pristup ovoj aplikaciji',
+ 'register_success' => 'Hvala na registraciji! Sada ste registrovani i prijavljeni.',
+
+
+ // Password Reset
+ 'reset_password' => 'Resetuj Lozinku',
+ 'reset_password_send_instructions' => 'Unesite vašu e-mail adresu ispod i na nju ćemo vam poslati e-mail sa linkom za promjenu lozinke.',
+ 'reset_password_send_button' => 'Pošalji link za promjenu',
+ 'reset_password_sent' => 'Link za promjenu lozinke će biti poslan na :email ako ta adresa postoji u sistemu.',
+ 'reset_password_success' => 'Vaša lozinka je uspješno promijenjena.',
+ 'email_reset_subject' => 'Resetujte vašu lozinku od :appName',
+ 'email_reset_text' => 'Primate ovaj e-mail jer smo dobili zahtjev za promjenu lozinke za vaš račun.',
+ 'email_reset_not_requested' => 'Ako niste zahtijevali promjenu lozinke ne trebate ništa više uraditi.',
+
+
+ // Email Confirmation
+ 'email_confirm_subject' => 'Potvrdite vaš e-mail na :appName',
+ 'email_confirm_greeting' => 'Hvala na pristupanju :appName!',
+ 'email_confirm_text' => 'Potvrdite vašu e-mail adresu pritiskom na dugme ispod:',
+ 'email_confirm_action' => 'Potvrdi e-mail',
+ 'email_confirm_send_error' => 'Potvrda e-maila je obavezna ali sistem nije mogao poslati e-mail. Kontaktirajte administratora da biste bili sigurni da je e-mail postavljen ispravno.',
+ 'email_confirm_success' => 'Vaš e-mail je potvrđen!',
+ 'email_confirm_resent' => 'E-mail za potvrdu je ponovno poslan. Provjerite vaš e-mail.',
+
+ 'email_not_confirmed' => 'E-mail adresa nije potvrđena',
+ 'email_not_confirmed_text' => 'Vaša e-mail adresa nije još potvrđena.',
+ 'email_not_confirmed_click_link' => 'Kliknite na link u e-mailu koji vam je poslan nakon što ste se registrovali.',
+ 'email_not_confirmed_resend' => 'Ako ne možete naći e-mail možete ponovno poslati e-mail za potvrdu tako što ćete ispuniti formu ispod.',
+ 'email_not_confirmed_resend_button' => 'Ponovno pošalji e-mail za potvrdu',
+
+ // User Invite
+ 'user_invite_email_subject' => 'Pozvani ste da se pridružite :appName!',
+ 'user_invite_email_greeting' => 'Račun je napravljen za vas na :appName.',
+ 'user_invite_email_text' => 'Pritisnite dugme ispod da niste postavili lozinku vašeg računa i tako dobili pristup:',
+ 'user_invite_email_action' => 'Postavi lozinku računa',
+ 'user_invite_page_welcome' => 'Dobrodošli na :appName!',
+ 'user_invite_page_text' => 'Da biste završili vaš račun i dobili pristup morate postaviti lozinku koju ćete koristiti da se prijavite na :appName tokom budućih posjeta.',
+ 'user_invite_page_confirm_button' => 'Potvrdi lozinku',
+ 'user_invite_success' => 'Lozinka postavljena, sada imate pristup :sppName!'
+];
\ No newline at end of file
--- /dev/null
+<?php
+/**
+ * Common elements found throughout many areas of BookStack.
+ */
+return [
+
+ // Buttons
+ 'cancel' => 'Otkaži',
+ 'confirm' => 'Potvrdi',
+ 'back' => 'Nazad',
+ 'save' => 'Spremi',
+ 'continue' => 'Nastavi',
+ 'select' => 'Odaberi',
+ 'toggle_all' => 'Prebaci sve',
+ 'more' => 'Više',
+
+ // Form Labels
+ 'name' => 'Ime',
+ 'description' => 'Opis',
+ 'role' => 'Uloga',
+ 'cover_image' => 'Naslovna slika',
+ 'cover_image_description' => 'Ova slika treba biti približno 440x250px.',
+
+ // Actions
+ 'actions' => 'Akcije',
+ 'view' => 'Prikaz',
+ 'view_all' => 'Prikaži sve',
+ 'create' => 'Kreiraj',
+ 'update' => 'Ažuriraj',
+ 'edit' => 'Uredi',
+ 'sort' => 'Sortiraj',
+ 'move' => 'Pomjeri',
+ 'copy' => 'Kopiraj',
+ 'reply' => 'Odgovori',
+ 'delete' => 'Izbriši',
+ 'delete_confirm' => 'Potvrdi brisanje',
+ 'search' => 'Traži',
+ 'search_clear' => 'Očisti pretragu',
+ 'reset' => 'Resetuj',
+ 'remove' => 'Ukloni',
+ 'add' => 'Dodaj',
+ 'fullscreen' => 'Prikaz preko čitavog ekrana',
+ 'favourite' => 'Favourite',
+ 'unfavourite' => 'Unfavourite',
+ 'next' => 'Next',
+ 'previous' => 'Previous',
+
+ // Sort Options
+ 'sort_options' => 'Opcije sortiranja',
+ 'sort_direction_toggle' => 'Prebacivanje smjera sortiranja',
+ 'sort_ascending' => 'Sortiraj uzlazno',
+ 'sort_descending' => 'Sortiraj silazno',
+ 'sort_name' => 'Ime',
+ 'sort_default' => 'Default',
+ 'sort_created_at' => 'Datum kreiranja',
+ 'sort_updated_at' => 'Datum ažuriranja',
+
+ // Misc
+ 'deleted_user' => 'Obrisani korisnik',
+ 'no_activity' => 'Nema aktivnosti za prikazivanje',
+ 'no_items' => 'Nema dostupnih stavki',
+ 'back_to_top' => 'Povratak na vrh',
+ 'toggle_details' => 'Vidi detalje',
+ 'toggle_thumbnails' => 'Vidi prikaze slika',
+ 'details' => 'Detalji',
+ 'grid_view' => 'Prikaz rešetke',
+ 'list_view' => 'Prikaz liste',
+ 'default' => 'Početne postavke',
+ 'breadcrumb' => 'Navigacijske stavke',
+
+ // Header
+ 'header_menu_expand' => 'Expand Header Menu',
+ 'profile_menu' => 'Meni profila',
+ 'view_profile' => 'Pogledaj profil',
+ 'edit_profile' => 'Izmjeni profil',
+ 'dark_mode' => 'Tamni način rada',
+ 'light_mode' => 'Svijetli način rada',
+
+ // Layout tabs
+ 'tab_info' => 'Informacije',
+ 'tab_info_label' => 'Tab: Show Secondary Information',
+ 'tab_content' => 'Sadržaj',
+ 'tab_content_label' => 'Tab: Show Primary Content',
+
+ // Email Content
+ 'email_action_help' => 'Ukoliko imate poteškoća sa pritiskom na ":actionText" dugme, kopirajte i zaljepite URL koji se nalazi ispod u vaš web pretraživač:',
+ 'email_rights' => 'Sva prava pridržana',
+
+ // Footer Link Options
+ // Not directly used but available for convenience to users.
+ 'privacy_policy' => 'Pravila o privatnosti',
+ 'terms_of_service' => 'Uslovi korištenja',
+];
--- /dev/null
+<?php
+/**
+ * Text used in custom JavaScript driven components.
+ */
+return [
+
+ // Image Manager
+ 'image_select' => 'Biraj sliku',
+ 'image_all' => 'Sve',
+ 'image_all_title' => 'Pogledaj sve slike',
+ 'image_book_title' => 'Pogledaj slike prenesene u ovu knjigu',
+ 'image_page_title' => 'Pogledaj slike prenesene na ovu stranicu',
+ 'image_search_hint' => 'Traži po nazivu slike',
+ 'image_uploaded' => 'Preneseno :uploadedDate',
+ 'image_load_more' => 'Učitaj još',
+ 'image_image_name' => 'Naziv slike',
+ 'image_delete_used' => 'Ova slika se koristi na stranicama prikazanim ispod.',
+ 'image_delete_confirm_text' => 'Jeste li sigurni da želite obrisati ovu sliku?',
+ 'image_select_image' => 'Odaberi sliku',
+ 'image_dropzone' => 'Ostavi slike ili pritisnite ovdje da ih prenesete',
+ 'images_deleted' => 'Slike su izbrisane',
+ 'image_preview' => 'Pregled Slike',
+ 'image_upload_success' => 'Slika uspješno učitana',
+ 'image_update_success' => 'Detalji slike uspješno ažurirani',
+ 'image_delete_success' => 'Slika uspješno izbrisana',
+ 'image_upload_remove' => 'Ukloni',
+
+ // Code Editor
+ 'code_editor' => 'Uredi Kod',
+ 'code_language' => 'Jezik koda',
+ 'code_content' => 'Sadržaj Koda',
+ 'code_session_history' => 'Historija Sesije',
+ 'code_save' => 'Snimi Kod',
+];
--- /dev/null
+<?php
+/**
+ * Text used for 'Entities' (Document Structure Elements) such as
+ * Books, Shelves, Chapters & Pages
+ */
+return [
+
+ // Shared
+ 'recently_created' => 'Nedavno napravljen',
+ 'recently_created_pages' => 'Nedavno napravljene stranice',
+ 'recently_updated_pages' => 'Nedavno ažurirane stranice',
+ 'recently_created_chapters' => 'Nedavno napravljena poglavlja',
+ 'recently_created_books' => 'Nedavno napravljene knjige',
+ 'recently_created_shelves' => 'Nedavno napravljene police',
+ 'recently_update' => 'Nedavno ažurirana',
+ 'recently_viewed' => 'Nedavno pogledana',
+ 'recent_activity' => 'Nedavna aktivnost',
+ 'create_now' => 'Napravi jednu sada',
+ 'revisions' => 'Promjene',
+ 'meta_revision' => 'Promjena #:revisionCount',
+ 'meta_created' => 'Napravljena :timeLength',
+ 'meta_created_name' => 'Napravljena :timeLength od :user',
+ 'meta_updated' => 'Ažurirana :timeLength',
+ 'meta_updated_name' => 'Ažurirana :timeLength od :user',
+ 'meta_owned_name' => 'Vlasnik je :user',
+ 'entity_select' => 'Odaberi entitet',
+ 'images' => 'Slike',
+ 'my_recent_drafts' => 'Moje nedavne skice',
+ 'my_recently_viewed' => 'Moji nedavni pregledi',
+ 'my_most_viewed_favourites' => 'My Most Viewed Favourites',
+ 'my_favourites' => 'My Favourites',
+ 'no_pages_viewed' => 'Niste pogledali nijednu stranicu',
+ 'no_pages_recently_created' => 'Nijedna stranica nije napravljena nedavno',
+ 'no_pages_recently_updated' => 'Niijedna stranica nije ažurirana nedavno',
+ 'export' => 'Izvezi',
+ 'export_html' => 'Sadržani web fajl',
+ 'export_pdf' => 'PDF fajl',
+ 'export_text' => 'Plain Text fajl',
+
+ // Permissions and restrictions
+ 'permissions' => 'Dozvole',
+ 'permissions_intro' => 'Jednom omogućene, ove dozvole imaju prednost nad dozvolama uloge.',
+ 'permissions_enable' => 'Omogući prilagođena dopuštenja',
+ 'permissions_save' => 'Snimi dozvole',
+ 'permissions_owner' => 'Vlasnik',
+
+ // Search
+ 'search_results' => 'Rezultati pretrage',
+ 'search_total_results_found' => ':count rezultata je nađeno|:count ukupno rezultata je nađeno',
+ 'search_clear' => 'Očisti pretragu',
+ 'search_no_pages' => 'Nijedna stranica nije nađena',
+ 'search_for_term' => 'Traži :term',
+ 'search_more' => 'Više rezultata',
+ 'search_advanced' => 'Napredna pretraga',
+ 'search_terms' => 'Pojmovi za pretragu',
+ 'search_content_type' => 'Vrsta sadržaja',
+ 'search_exact_matches' => 'Tačna podudaranja',
+ 'search_tags' => 'Pretraga oznaka',
+ 'search_options' => 'Opcije',
+ 'search_viewed_by_me' => 'Ja sam pogledao/la',
+ 'search_not_viewed_by_me' => 'Nisam pogledao/la',
+ 'search_permissions_set' => 'Dozvole',
+ 'search_created_by_me' => 'Ja sam napravio/la',
+ 'search_updated_by_me' => 'Ja sam ažurirao/la',
+ 'search_owned_by_me' => 'Owned by me',
+ 'search_date_options' => 'Opcije datuma',
+ 'search_updated_before' => 'Ažurirano prije',
+ 'search_updated_after' => 'Ažurirano nakon',
+ 'search_created_before' => 'Kreirano prije',
+ 'search_created_after' => 'Kreirano nakon',
+ 'search_set_date' => 'Postavi datum',
+ 'search_update' => 'Ažuriraj pretragu',
+
+ // Shelves
+ 'shelf' => 'Polica',
+ 'shelves' => 'Police',
+ 'x_shelves' => ':count Polica|:count Police',
+ 'shelves_long' => 'Police za knjige',
+ 'shelves_empty' => 'Niti jedna polica nije kreirana',
+ 'shelves_create' => 'Kreiraj novu policu',
+ 'shelves_popular' => 'Popularne police',
+ 'shelves_new' => 'Nove police',
+ 'shelves_new_action' => 'Nova polica',
+ 'shelves_popular_empty' => 'Najpopularnije police će se pojaviti ovdje.',
+ 'shelves_new_empty' => 'Najnovije police će se pojaviti ovdje.',
+ 'shelves_save' => 'Spremi policu',
+ 'shelves_books' => 'Knjige na ovoj polici',
+ 'shelves_add_books' => 'Dodaj knjige na ovu policu',
+ 'shelves_drag_books' => 'Prenesi knjige ovdje da bi ih dodao/la na ovu policu',
+ 'shelves_empty_contents' => 'Ova polica nema knjiga koje su postavljene na nju',
+ 'shelves_edit_and_assign' => 'Uredi policu da bi dodao/la knjige',
+ 'shelves_edit_named' => 'Uredi :name police za knjige',
+ 'shelves_edit' => 'Uredi policu za knjige',
+ 'shelves_delete' => 'Izbriši policu za knjige',
+ 'shelves_delete_named' => 'Izbriši policu za knjige :name',
+ 'shelves_delete_explain' => "This will delete the bookshelf with the name ':name'. Contained books will not be deleted.",
+ 'shelves_delete_confirmation' => 'Are you sure you want to delete this bookshelf?',
+ 'shelves_permissions' => 'Bookshelf Permissions',
+ 'shelves_permissions_updated' => 'Bookshelf Permissions Updated',
+ 'shelves_permissions_active' => 'Bookshelf Permissions Active',
+ 'shelves_copy_permissions_to_books' => 'Copy Permissions to Books',
+ 'shelves_copy_permissions' => 'Copy Permissions',
+ 'shelves_copy_permissions_explain' => 'This will apply the current permission settings of this bookshelf to all books contained within. Before activating, ensure any changes to the permissions of this bookshelf have been saved.',
+ 'shelves_copy_permission_success' => 'Bookshelf permissions copied to :count books',
+
+ // Books
+ 'book' => 'Book',
+ 'books' => 'Books',
+ 'x_books' => ':count Book|:count Books',
+ 'books_empty' => 'No books have been created',
+ 'books_popular' => 'Popular Books',
+ 'books_recent' => 'Recent Books',
+ 'books_new' => 'New Books',
+ 'books_new_action' => 'New Book',
+ 'books_popular_empty' => 'The most popular books will appear here.',
+ 'books_new_empty' => 'The most recently created books will appear here.',
+ 'books_create' => 'Create New Book',
+ 'books_delete' => 'Delete Book',
+ 'books_delete_named' => 'Delete Book :bookName',
+ 'books_delete_explain' => 'Ovo će izbrisati knjigu naziva \':bookName\'. Sve stranice i poglavlja će biti uklonjene.',
+ 'books_delete_confirmation' => 'Jeste li sigurni da želite izbrisati ovu knjigu?',
+ 'books_edit' => 'Uredi knjigu',
+ 'books_edit_named' => 'Uredi knjigu :bookName',
+ 'books_form_book_name' => 'Naziv knjige',
+ 'books_save' => 'Spremi knjigu',
+ 'books_permissions' => 'Dozvole knjige',
+ 'books_permissions_updated' => 'Dozvole knjige su ažurirane',
+ 'books_empty_contents' => 'Za ovu knjigu nisu napravljene ni stranice ni poglavlja.',
+ 'books_empty_create_page' => 'Napravi novu stranicu',
+ 'books_empty_sort_current_book' => 'Sortiraj trenutnu knjigu',
+ 'books_empty_add_chapter' => 'Dodaj poglavlje',
+ 'books_permissions_active' => 'Dozvole za knjigu su aktivne',
+ 'books_search_this' => 'Pretraži ovu knjigu',
+ 'books_navigation' => 'Navigacija knjige',
+ 'books_sort' => 'Sortiraj sadržaj knjige',
+ 'books_sort_named' => 'Sortiraj knjigu :bookName',
+ 'books_sort_name' => 'Sortiraj po imenu',
+ 'books_sort_created' => 'Sortiraj po datumu kreiranja',
+ 'books_sort_updated' => 'Sortiraj po datumu ažuriranja',
+ 'books_sort_chapters_first' => 'Poglavlja prva',
+ 'books_sort_chapters_last' => 'Poglavlja zadnja',
+ 'books_sort_show_other' => 'Prikaži druge knjige',
+ 'books_sort_save' => 'Spremi trenutni poredak',
+
+ // Chapters
+ 'chapter' => 'Poglavlje',
+ 'chapters' => 'Poglavlja',
+ 'x_chapters' => ':count Poglavlje|:count Poglavlja',
+ 'chapters_popular' => 'Popularna poglavlja',
+ 'chapters_new' => 'Novo poglavlje',
+ 'chapters_create' => 'Napravi novo poglavlje',
+ 'chapters_delete' => 'Izbriši poglavlje',
+ 'chapters_delete_named' => 'Izbriši poglavlje :chapterName',
+ 'chapters_delete_explain' => 'Ovo će izbrisati poglavlje naziva \':chapterName\'. Sve stranice koje postoje u ovom poglavlju će također biti izbrisane.',
+ 'chapters_delete_confirm' => 'Jeste li sigurni da želite izbrisati ovo poglavlje?',
+ 'chapters_edit' => 'Uredi poglavlje',
+ 'chapters_edit_named' => 'Uredi poglavlje :chapterName',
+ 'chapters_save' => 'Spremi poglavlje',
+ 'chapters_move' => 'Premjesti poglavlje',
+ 'chapters_move_named' => 'Premjesti poglavlje :chapterName',
+ 'chapter_move_success' => 'Poglavlje premješteno u :bookName',
+ 'chapters_permissions' => 'Dozvole poglavlja',
+ 'chapters_empty' => 'U ovom poglavlju trenutno nema stranica.',
+ 'chapters_permissions_active' => 'Dozvole za poglavlje su aktivne',
+ 'chapters_permissions_success' => 'Dozvole za poglavlje su ažurirane',
+ 'chapters_search_this' => 'Pretražuj ovo poglavlje',
+
+ // Pages
+ 'page' => 'Stranica',
+ 'pages' => 'Stranice',
+ 'x_pages' => ':count Stranica|:count Stranice',
+ 'pages_popular' => 'Popularne stranice',
+ 'pages_new' => 'Nova stranica',
+ 'pages_attachments' => 'Attachments',
+ 'pages_navigation' => 'Page Navigation',
+ 'pages_delete' => 'Delete Page',
+ 'pages_delete_named' => 'Delete Page :pageName',
+ 'pages_delete_draft_named' => 'Delete Draft Page :pageName',
+ 'pages_delete_draft' => 'Delete Draft Page',
+ 'pages_delete_success' => 'Page deleted',
+ 'pages_delete_draft_success' => 'Draft page deleted',
+ 'pages_delete_confirm' => 'Are you sure you want to delete this page?',
+ 'pages_delete_draft_confirm' => 'Are you sure you want to delete this draft page?',
+ 'pages_editing_named' => 'Editing Page :pageName',
+ 'pages_edit_draft_options' => 'Draft Options',
+ 'pages_edit_save_draft' => 'Save Draft',
+ 'pages_edit_draft' => 'Edit Page Draft',
+ 'pages_editing_draft' => 'Editing Draft',
+ 'pages_editing_page' => 'Editing Page',
+ 'pages_edit_draft_save_at' => 'Draft saved at ',
+ 'pages_edit_delete_draft' => 'Delete Draft',
+ 'pages_edit_discard_draft' => 'Discard Draft',
+ 'pages_edit_set_changelog' => 'Set Changelog',
+ 'pages_edit_enter_changelog_desc' => 'Enter a brief description of the changes you\'ve made',
+ 'pages_edit_enter_changelog' => 'Enter Changelog',
+ 'pages_save' => 'Save Page',
+ 'pages_title' => 'Page Title',
+ 'pages_name' => 'Page Name',
+ 'pages_md_editor' => 'Editor',
+ 'pages_md_preview' => 'Preview',
+ 'pages_md_insert_image' => 'Insert Image',
+ 'pages_md_insert_link' => 'Insert Entity Link',
+ 'pages_md_insert_drawing' => 'Insert Drawing',
+ 'pages_not_in_chapter' => 'Page is not in a chapter',
+ 'pages_move' => 'Move Page',
+ 'pages_move_success' => 'Page moved to ":parentName"',
+ 'pages_copy' => 'Copy Page',
+ 'pages_copy_desination' => 'Copy Destination',
+ 'pages_copy_success' => 'Page successfully copied',
+ 'pages_permissions' => 'Page Permissions',
+ 'pages_permissions_success' => 'Page permissions updated',
+ 'pages_revision' => 'Revision',
+ 'pages_revisions' => 'Page Revisions',
+ 'pages_revisions_named' => 'Page Revisions for :pageName',
+ 'pages_revision_named' => 'Page Revision for :pageName',
+ 'pages_revision_restored_from' => 'Restored from #:id; :summary',
+ 'pages_revisions_created_by' => 'Created By',
+ 'pages_revisions_date' => 'Revision Date',
+ 'pages_revisions_number' => '#',
+ 'pages_revisions_numbered' => 'Revision #:id',
+ 'pages_revisions_numbered_changes' => 'Revision #:id Changes',
+ 'pages_revisions_changelog' => 'Changelog',
+ 'pages_revisions_changes' => 'Changes',
+ 'pages_revisions_current' => 'Trenutna verzija',
+ 'pages_revisions_preview' => 'Pregled',
+ 'pages_revisions_restore' => 'Vrati',
+ 'pages_revisions_none' => 'Ova stranica nema promjena',
+ 'pages_copy_link' => 'Iskopiraj link',
+ 'pages_edit_content_link' => 'Uredi sadržaj',
+ 'pages_permissions_active' => 'Dozvole za stranicu su aktivne',
+ 'pages_initial_revision' => 'Prvo izdavanje',
+ 'pages_initial_name' => 'Nova stranica',
+ 'pages_editing_draft_notification' => 'Trenutno uređujete skicu koja je posljednji put snimljena :timeDiff.',
+ 'pages_draft_edited_notification' => 'Ova stranica je ažurirana nakon tog vremena. Preporučujemo da odbacite ovu skicu.',
+ 'pages_draft_edit_active' => [
+ 'start_a' => ':count korisnika je počelo sa uređivanjem ove stranice',
+ 'start_b' => ':userName je počeo/la sa uređivanjem ove stranice',
+ 'time_a' => 'od kada je stranica posljednji put ažurirana',
+ 'time_b' => 'u posljednjih :minCount minuta',
+ 'message' => ':start :time. Pazite da jedni drugima ne prepišete promjene!',
+ ],
+ 'pages_draft_discarded' => 'Skica je odbačena, uređivač je ažuriran sa trenutnim sadržajem stranice',
+ 'pages_specific' => 'Specifična stranica',
+ 'pages_is_template' => 'Predložak stranice',
+
+ // Editor Sidebar
+ 'page_tags' => 'Oznake stranice',
+ 'chapter_tags' => 'Oznake poglavlja',
+ 'book_tags' => 'Oznake knjige',
+ 'shelf_tags' => 'Oznake police',
+ 'tag' => 'Oznaka',
+ 'tags' => 'Oznake',
+ 'tag_name' => 'Naziv oznake',
+ 'tag_value' => 'Vrijednost oznake (nije obavezno)',
+ 'tags_explain' => "Dodaj nekoliko oznaka da bi sadržaj bio bolje kategorisan. \n Možeš dodati vrijednost oznaci za dublju organizaciju.",
+ 'tags_add' => 'Dodaj još jednu oznaku',
+ 'tags_remove' => 'Ukloni ovu oznaku',
+ 'attachments' => 'Prilozi',
+ 'attachments_explain' => 'Učitajte fajlove ili priložite poveznice da bi ih prikazali na stranici. Oni su onda vidljivi u navigaciji sa strane.',
+ 'attachments_explain_instant_save' => 'Sve promjene se snimaju odmah.',
+ 'attachments_items' => 'Priložene stavke',
+ 'attachments_upload' => 'Učitaj fajl',
+ 'attachments_link' => 'Zakači link',
+ 'attachments_set_link' => 'Postavi link',
+ 'attachments_delete' => 'Jeste li sigurni da želite obrisati ovaj prilog?',
+ 'attachments_dropzone' => 'Spustite fajlove ili pritisnite ovdje da priložite fajl',
+ 'attachments_no_files' => 'Niti jedan fajl nije prenesen',
+ 'attachments_explain_link' => 'Možete zakačiti link ako ne želite učitati fajl. To može biti link druge stranice ili link za fajl u oblaku.',
+ 'attachments_link_name' => 'Naziv linka',
+ 'attachment_link' => 'Link poveznice',
+ 'attachments_link_url' => 'Link do fajla',
+ 'attachments_link_url_hint' => 'Url stranice ili fajla',
+ 'attach' => 'Zakači',
+ 'attachments_insert_link' => 'Dodaj priloženi link na stranicu',
+ 'attachments_edit_file' => 'Uredi fajl',
+ 'attachments_edit_file_name' => 'Naziv fajla',
+ 'attachments_edit_drop_upload' => 'Spusti fajlove ili pritisni ovdje da učitaš i prepišeš',
+ 'attachments_order_updated' => 'Attachment order updated',
+ 'attachments_updated_success' => 'Attachment details updated',
+ 'attachments_deleted' => 'Attachment deleted',
+ 'attachments_file_uploaded' => 'File successfully uploaded',
+ 'attachments_file_updated' => 'File successfully updated',
+ 'attachments_link_attached' => 'Link successfully attached to page',
+ 'templates' => 'Templates',
+ 'templates_set_as_template' => 'Page is a template',
+ 'templates_explain_set_as_template' => 'You can set this page as a template so its contents be utilized when creating other pages. Other users will be able to use this template if they have view permissions for this page.',
+ 'templates_replace_content' => 'Replace page content',
+ 'templates_append_content' => 'Append to page content',
+ 'templates_prepend_content' => 'Prepend to page content',
+
+ // Profile View
+ 'profile_user_for_x' => 'User for :time',
+ 'profile_created_content' => 'Created Content',
+ 'profile_not_created_pages' => ':userName has not created any pages',
+ 'profile_not_created_chapters' => ':userName has not created any chapters',
+ 'profile_not_created_books' => ':userName has not created any books',
+ 'profile_not_created_shelves' => ':userName has not created any shelves',
+
+ // Comments
+ 'comment' => 'Comment',
+ 'comments' => 'Comments',
+ 'comment_add' => 'Add Comment',
+ 'comment_placeholder' => 'Leave a comment here',
+ 'comment_count' => '{0} No Comments|{1} 1 Comment|[2,*] :count Comments',
+ 'comment_save' => 'Save Comment',
+ 'comment_saving' => 'Saving comment...',
+ 'comment_deleting' => 'Deleting comment...',
+ 'comment_new' => 'New Comment',
+ 'comment_created' => 'commented :createDiff',
+ 'comment_updated' => 'Updated :updateDiff by :username',
+ 'comment_deleted_success' => 'Comment deleted',
+ 'comment_created_success' => 'Comment added',
+ 'comment_updated_success' => 'Comment updated',
+ 'comment_delete_confirm' => 'Are you sure you want to delete this comment?',
+ 'comment_in_reply_to' => 'In reply to :commentId',
+
+ // Revision
+ 'revision_delete_confirm' => 'Are you sure you want to delete this revision?',
+ 'revision_restore_confirm' => 'Are you sure you want to restore this revision? The current page contents will be replaced.',
+ 'revision_delete_success' => 'Revision deleted',
+ 'revision_cannot_delete_latest' => 'Cannot delete the latest revision.'
+];
--- /dev/null
+<?php
+/**
+ * Text shown in error messaging.
+ */
+return [
+
+ // Permissions
+ 'permission' => 'Nemate ovlaštenje da pristupite ovoj stranici.',
+ 'permissionJson' => 'Nemate ovlaštenje da izvršite tu akciju.',
+
+ // Auth
+ 'error_user_exists_different_creds' => 'Korisnik sa e-mailom :email već postoji ali sa različitim podacima.',
+ 'email_already_confirmed' => 'E-mail je već potvrđen, pokušajte se prijaviti.',
+ 'email_confirmation_invalid' => 'Ovaj token za potvrdu nije ispravan ili je već iskorišten, molimo vas pokušajte se registrovati ponovno.',
+ 'email_confirmation_expired' => 'Ovaj token za potvrdu je istekao, novi e-mail za potvrdu je poslan.',
+ 'email_confirmation_awaiting' => 'E-mail adresa za račun koji se koristi mora biti potvrđena',
+ 'ldap_fail_anonymous' => 'LDAP pristup nije uspio koristeći anonimno povezivanje',
+ 'ldap_fail_authed' => 'LDAP pristup nije uspio koristeći date detalje lozinke i dn',
+ 'ldap_extension_not_installed' => 'LDAP PHP ekstenzija nije instalirana',
+ 'ldap_cannot_connect' => 'Nije se moguće povezati sa ldap serverom, incijalna konekcija nije uspjela',
+ 'saml_already_logged_in' => 'Već prijavljeni',
+ 'saml_user_not_registered' => 'Korisnik :user nije registrovan i automatska registracija je onemogućena',
+ 'saml_no_email_address' => 'E-mail adresa za ovog korisnika nije nađena u podacima dobijenim od eksternog autentifikacijskog sistema',
+ 'saml_invalid_response_id' => 'Proces, koji je pokrenula ova aplikacija, nije prepoznao zahtjev od eksternog sistema za autentifikaciju. Navigacija nazad nakon prijave može uzrokovati ovaj problem.',
+ 'saml_fail_authed' => 'Prijava koristeći :system nije uspjela, sistem nije obezbijedio uspješnu autorizaciju',
+ 'social_no_action_defined' => 'Nema definisane akcije',
+ 'social_login_bad_response' => "Došlo je do greške prilikom prijave preko :socialAccount :\n:error",
+ 'social_account_in_use' => 'Ovaj :socialAccount račun se već koristi, pokušajte se prijaviti putem :socialAccount opcije.',
+ 'social_account_email_in_use' => 'E-mail :email se već koristi. Ako već imate račun možete povezati vaš :socialAccount račun u postavkama profila.',
+ 'social_account_existing' => 'Ovaj :socialAccount je već povezan sa vašim profilom.',
+ 'social_account_already_used_existing' => 'Drugi korisnik već koristi ovaj :socialAccount.',
+ 'social_account_not_used' => 'Ovaj :socialAccount nije povezan ni sa jednim korisnikom. Povežite ga u postavkama profila. ',
+ 'social_account_register_instructions' => 'Ako još uvijek nemate račun, možete se registrovati koristeći :socialAccount opciju.',
+ 'social_driver_not_found' => 'Driver društvene mreže nije pronađen',
+ 'social_driver_not_configured' => 'Vaše :socialAccount postavke nisu konfigurisane ispravno.',
+ 'invite_token_expired' => 'Pozivni link je istekao. Možete umjesto toga pokušati da resetujete lozinku.',
+
+ // System
+ 'path_not_writable' => 'Na putanju fajla :filePath se ne može učitati. Potvrdite da je omogućeno pisanje na server.',
+ 'cannot_get_image_from_url' => 'Nije moguće dobiti sliku sa :url',
+ 'cannot_create_thumbs' => 'Server ne može kreirati sličice. Provjerite da imate instaliranu GD PHP ekstenziju.',
+ 'server_upload_limit' => 'Server ne dopušta učitavanja ove veličine. Pokušajte sa manjom veličinom fajla.',
+ 'uploaded' => 'Server ne dopušta učitavanja ove veličine. Pokušajte sa manjom veličinom fajla.',
+ 'image_upload_error' => 'Desila se greška prilikom učitavanja slike',
+ 'image_upload_type_error' => 'Vrsta slike koja se učitava je neispravna',
+ 'file_upload_timeout' => 'Vrijeme učitavanja fajla je isteklo.',
+
+ // Attachments
+ 'attachment_not_found' => 'Prilog nije pronađen',
+
+ // Pages
+ 'page_draft_autosave_fail' => 'Snimanje skice nije uspjelo. Provjerite da ste povezani na internet prije snimanja ove stranice',
+ 'page_custom_home_deletion' => 'Stranicu nije moguće izbrisati dok se koristi kao početna stranica',
+
+ // Entities
+ 'entity_not_found' => 'Entitet nije pronađen',
+ 'bookshelf_not_found' => 'Polica za knjige nije pronađena',
+ 'book_not_found' => 'Knjiga nije pronađena',
+ 'page_not_found' => 'Stranica nije pronađena',
+ 'chapter_not_found' => 'Poglavlje nije pronađeno',
+ 'selected_book_not_found' => 'Odabrana knjiga nije pronađena',
+ 'selected_book_chapter_not_found' => 'Odabrana knjiga ili poglavlje nije pronađeno',
+ 'guests_cannot_save_drafts' => 'Gosti ne mogu snimati skice',
+
+ // Users
+ 'users_cannot_delete_only_admin' => 'Ne možete izbrisati jedinog administratora',
+ 'users_cannot_delete_guest' => 'Ne možete izbrisati gost korisnika',
+
+ // Roles
+ 'role_cannot_be_edited' => 'Ova uloga ne može biti mijenjana',
+ 'role_system_cannot_be_deleted' => 'Ova uloga je sistemska uloga i ne može biti izbrisana',
+ 'role_registration_default_cannot_delete' => 'Ova uloga ne može biti izbrisana dok je postavljena kao osnovna registracijska uloga',
+ 'role_cannot_remove_only_admin' => 'Ovaj korisnik je jedini korisnik sa ulogom administratora. Postavite ulogu administratora drugom korisniku prije nego je uklonite ovdje.',
+
+ // Comments
+ 'comment_list' => 'Desila se greška prilikom dobavljanja komentara.',
+ 'cannot_add_comment_to_draft' => 'Ne možete dodati komentare na skicu.',
+ 'comment_add' => 'Desila se greška prilikom dodavanja / ažuriranja komentara.',
+ 'comment_delete' => 'Desila se greška prilikom brisanja komentara.',
+ 'empty_comment' => 'Nemoguće dodati prazan komentar.',
+
+ // Error pages
+ '404_page_not_found' => 'Stranica nije pronađena',
+ 'sorry_page_not_found' => 'Stranica koju ste tražili nije pronađena.',
+ 'sorry_page_not_found_permission_warning' => 'Ako ste očekivali da ova stranica postoji, možda nemate privilegije da joj pristupite.',
+ 'image_not_found' => 'Image Not Found',
+ 'image_not_found_subtitle' => 'Sorry, The image file you were looking for could not be found.',
+ 'image_not_found_details' => 'If you expected this image to exist it might have been deleted.',
+ 'return_home' => 'Nazad na početnu stranu',
+ 'error_occurred' => 'Desila se greška',
+ 'app_down' => ':appName trenutno nije u funkciji',
+ 'back_soon' => 'Biti će uskoro u funkciji.',
+
+ // API errors
+ 'api_no_authorization_found' => 'Na zahtjevu nije pronađen token za autorizaciju',
+ 'api_bad_authorization_format' => 'Token za autorizaciju je pronađen u zahtjevu ali je format neispravan',
+ 'api_user_token_not_found' => 'Nije pronađen odgovarajući API token za pruženi token autorizacije',
+ 'api_incorrect_token_secret' => 'Tajni ključ naveden za dati korišteni API token nije tačan',
+ 'api_user_no_api_permission' => 'Vlasnik korištenog API tokena nema dozvolu za upućivanje API poziva',
+ 'api_user_token_expired' => 'Autorizacijski token je istekao',
+
+ // Settings & Maintenance
+ 'maintenance_test_email_failure' => 'Došlo je do greške prilikom slanja testnog e-maila:',
+
+];
--- /dev/null
+<?php
+/**
+ * Pagination Language Lines
+ * The following language lines are used by the paginator library to build
+ * the simple pagination links.
+ */
+return [
+
+ 'previous' => '« Prethodna',
+ 'next' => 'Sljedeća »',
+
+];
--- /dev/null
+<?php
+/**
+ * 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.
+ */
+return [
+
+ 'password' => 'Lozinke moraju sadržavati najmanje osam karaktera i podudarati se sa potvrdom lozinke.',
+ 'user' => "Ne možemo naći korisnika sa tom e-mail adresom.",
+ 'token' => 'Token za poništavanje lozinke nije validan za ovu e-mail adresu.',
+ 'sent' => 'Poslali smo link za poništavanje vaše lozinke na e-mail!',
+ 'reset' => 'Vaša lozinka je resetovana!',
+
+];
--- /dev/null
+<?php
+/**
+ * Settings text strings
+ * Contains all text strings used in the general settings sections of BookStack
+ * including users and roles.
+ */
+return [
+
+ // Common Messages
+ 'settings' => 'Settings',
+ 'settings_save' => 'Save Settings',
+ 'settings_save_success' => 'Settings saved',
+
+ // App Settings
+ 'app_customization' => 'Customization',
+ 'app_features_security' => 'Features & Security',
+ 'app_name' => 'Application Name',
+ 'app_name_desc' => 'This name is shown in the header and in any system-sent emails.',
+ 'app_name_header' => 'Show name in header',
+ 'app_public_access' => 'Public Access',
+ 'app_public_access_desc' => 'Enabling this option will allow visitors, that are not logged-in, to access content in your BookStack instance.',
+ 'app_public_access_desc_guest' => 'Access for public visitors can be controlled through the "Guest" user.',
+ 'app_public_access_toggle' => 'Allow public access',
+ 'app_public_viewing' => 'Allow public viewing?',
+ 'app_secure_images' => 'Higher Security Image Uploads',
+ 'app_secure_images_toggle' => 'Enable higher security image uploads',
+ 'app_secure_images_desc' => 'For performance reasons, all images are public. This option adds a random, hard-to-guess string in front of image urls. Ensure directory indexes are not enabled to prevent easy access.',
+ 'app_editor' => 'Page Editor',
+ 'app_editor_desc' => 'Select which editor will be used by all users to edit pages.',
+ 'app_custom_html' => 'Custom HTML Head Content',
+ 'app_custom_html_desc' => 'Any content added here will be inserted into the bottom of the <head> section of every page. This is handy for overriding styles or adding analytics code.',
+ 'app_custom_html_disabled_notice' => 'Custom HTML head content is disabled on this settings page to ensure any breaking changes can be reverted.',
+ 'app_logo' => 'Application Logo',
+ 'app_logo_desc' => 'This image should be 43px in height. <br>Large images will be scaled down.',
+ 'app_primary_color' => 'Application Primary Color',
+ 'app_primary_color_desc' => 'Sets the primary color for the application including the banner, buttons, and links.',
+ 'app_homepage' => 'Application Homepage',
+ 'app_homepage_desc' => 'Select a view to show on the homepage instead of the default view. Page permissions are ignored for selected pages.',
+ 'app_homepage_select' => 'Select a page',
+ 'app_footer_links' => 'Footer Links',
+ 'app_footer_links_desc' => 'Add links to show within the site footer. These will be displayed at the bottom of most pages, including those that do not require login. You can use a label of "trans::<key>" to use system-defined translations. For example: Using "trans::common.privacy_policy" will provide the translated text "Privacy Policy" and "trans::common.terms_of_service" will provide the translated text "Terms of Service".',
+ 'app_footer_links_label' => 'Link Label',
+ 'app_footer_links_url' => 'Link URL',
+ 'app_footer_links_add' => 'Add Footer Link',
+ 'app_disable_comments' => 'Disable Comments',
+ 'app_disable_comments_toggle' => 'Disable comments',
+ 'app_disable_comments_desc' => 'Disables comments across all pages in the application. <br> Existing comments are not shown.',
+
+ // Color settings
+ 'content_colors' => 'Content Colors',
+ 'content_colors_desc' => 'Sets colors for all elements in the page organisation hierarchy. Choosing colors with a similar brightness to the default colors is recommended for readability.',
+ 'bookshelf_color' => 'Shelf Color',
+ 'book_color' => 'Book Color',
+ 'chapter_color' => 'Chapter Color',
+ 'page_color' => 'Page Color',
+ 'page_draft_color' => 'Page Draft Color',
+
+ // Registration Settings
+ 'reg_settings' => 'Registration',
+ 'reg_enable' => 'Enable Registration',
+ 'reg_enable_toggle' => 'Enable registration',
+ 'reg_enable_desc' => 'When registration is enabled user will be able to sign themselves up as an application user. Upon registration they are given a single, default user role.',
+ 'reg_default_role' => 'Default user role after registration',
+ 'reg_enable_external_warning' => 'The option above is ignored while external LDAP or SAML authentication is active. User accounts for non-existing members will be auto-created if authentication, against the external system in use, is successful.',
+ 'reg_email_confirmation' => 'Email Confirmation',
+ 'reg_email_confirmation_toggle' => 'Require email confirmation',
+ 'reg_confirm_email_desc' => 'If domain restriction is used then email confirmation will be required and this option will be ignored.',
+ 'reg_confirm_restrict_domain' => 'Domain Restriction',
+ 'reg_confirm_restrict_domain_desc' => 'Enter a comma separated list of email domains you would like to restrict registration to. Users will be sent an email to confirm their address before being allowed to interact with the application. <br> Note that users will be able to change their email addresses after successful registration.',
+ 'reg_confirm_restrict_domain_placeholder' => 'No restriction set',
+
+ // Maintenance settings
+ 'maint' => 'Maintenance',
+ 'maint_image_cleanup' => 'Cleanup Images',
+ 'maint_image_cleanup_desc' => "Scans page & revision content to check which images and drawings are currently in use and which images are redundant. Ensure you create a full database and image backup before running this.",
+ 'maint_delete_images_only_in_revisions' => 'Also delete images that only exist in old page revisions',
+ 'maint_image_cleanup_run' => 'Run Cleanup',
+ 'maint_image_cleanup_warning' => ':count potentially unused images were found. Are you sure you want to delete these images?',
+ 'maint_image_cleanup_success' => ':count potentially unused images found and deleted!',
+ 'maint_image_cleanup_nothing_found' => 'No unused images found, Nothing deleted!',
+ 'maint_send_test_email' => 'Send a Test Email',
+ 'maint_send_test_email_desc' => 'This sends a test email to your email address specified in your profile.',
+ 'maint_send_test_email_run' => 'Send test email',
+ 'maint_send_test_email_success' => 'Email sent to :address',
+ 'maint_send_test_email_mail_subject' => 'Test Email',
+ 'maint_send_test_email_mail_greeting' => 'Email delivery seems to work!',
+ 'maint_send_test_email_mail_text' => 'Congratulations! As you received this email notification, your email settings seem to be configured properly.',
+ 'maint_recycle_bin_desc' => 'Deleted shelves, books, chapters & pages are sent to the recycle bin so they can be restored or permanently deleted. Older items in the recycle bin may be automatically removed after a while depending on system configuration.',
+ 'maint_recycle_bin_open' => 'Open Recycle Bin',
+
+ // Recycle Bin
+ 'recycle_bin' => 'Recycle Bin',
+ 'recycle_bin_desc' => 'Here you can restore items that have been deleted or choose to permanently remove them from the system. This list is unfiltered unlike similar activity lists in the system where permission filters are applied.',
+ 'recycle_bin_deleted_item' => 'Deleted Item',
+ 'recycle_bin_deleted_by' => 'Deleted By',
+ 'recycle_bin_deleted_at' => 'Deletion Time',
+ 'recycle_bin_permanently_delete' => 'Permanently Delete',
+ 'recycle_bin_restore' => 'Restore',
+ 'recycle_bin_contents_empty' => 'The recycle bin is currently empty',
+ 'recycle_bin_empty' => 'Empty Recycle Bin',
+ 'recycle_bin_empty_confirm' => 'This will permanently destroy all items in the recycle bin including content contained within each item. Are you sure you want to empty the recycle bin?',
+ 'recycle_bin_destroy_confirm' => 'This action will permanently delete this item, along with any child elements listed below, from the system and you will not be able to restore this content. Are you sure you want to permanently delete this item?',
+ 'recycle_bin_destroy_list' => 'Items to be Destroyed',
+ 'recycle_bin_restore_list' => 'Items to be Restored',
+ 'recycle_bin_restore_confirm' => 'This action will restore the deleted item, including any child elements, to their original location. If the original location has since been deleted, and is now in the recycle bin, the parent item will also need to be restored.',
+ 'recycle_bin_restore_deleted_parent' => 'The parent of this item has also been deleted. These will remain deleted until that parent is also restored.',
+ 'recycle_bin_destroy_notification' => 'Deleted :count total items from the recycle bin.',
+ 'recycle_bin_restore_notification' => 'Restored :count total items from the recycle bin.',
+
+ // Audit Log
+ 'audit' => 'Audit Log',
+ 'audit_desc' => 'This audit log displays a list of activities tracked in the system. This list is unfiltered unlike similar activity lists in the system where permission filters are applied.',
+ 'audit_event_filter' => 'Event Filter',
+ 'audit_event_filter_no_filter' => 'No Filter',
+ 'audit_deleted_item' => 'Deleted Item',
+ 'audit_deleted_item_name' => 'Name: :name',
+ 'audit_table_user' => 'User',
+ 'audit_table_event' => 'Event',
+ 'audit_table_related' => 'Related Item or Detail',
+ 'audit_table_date' => 'Activity Date',
+ 'audit_date_from' => 'Date Range From',
+ 'audit_date_to' => 'Date Range To',
+
+ // Role Settings
+ 'roles' => 'Roles',
+ 'role_user_roles' => 'User Roles',
+ 'role_create' => 'Create New Role',
+ 'role_create_success' => 'Role successfully created',
+ 'role_delete' => 'Delete Role',
+ 'role_delete_confirm' => 'This will delete the role with the name \':roleName\'.',
+ 'role_delete_users_assigned' => 'This role has :userCount users assigned to it. If you would like to migrate the users from this role select a new role below.',
+ 'role_delete_no_migration' => "Don't migrate users",
+ 'role_delete_sure' => 'Are you sure you want to delete this role?',
+ 'role_delete_success' => 'Role successfully deleted',
+ 'role_edit' => 'Edit Role',
+ 'role_details' => 'Role Details',
+ 'role_name' => 'Role Name',
+ 'role_desc' => 'Short Description of Role',
+ 'role_external_auth_id' => 'External Authentication IDs',
+ 'role_system' => 'System Permissions',
+ 'role_manage_users' => 'Manage users',
+ 'role_manage_roles' => 'Manage roles & role permissions',
+ 'role_manage_entity_permissions' => 'Manage all book, chapter & page permissions',
+ 'role_manage_own_entity_permissions' => 'Manage permissions on own book, chapter & pages',
+ 'role_manage_page_templates' => 'Manage page templates',
+ 'role_access_api' => 'Access system API',
+ 'role_manage_settings' => 'Manage app settings',
+ 'role_asset' => 'Asset Permissions',
+ 'roles_system_warning' => 'Be aware that access to any of the above three permissions can allow a user to alter their own privileges or the privileges of others in the system. Only assign roles with these permissions to trusted users.',
+ 'role_asset_desc' => 'These permissions control default access to the assets within the system. Permissions on Books, Chapters and Pages will override these permissions.',
+ 'role_asset_admins' => 'Admins are automatically given access to all content but these options may show or hide UI options.',
+ 'role_all' => 'All',
+ 'role_own' => 'Own',
+ 'role_controlled_by_asset' => 'Controlled by the asset they are uploaded to',
+ 'role_save' => 'Save Role',
+ 'role_update_success' => 'Role successfully updated',
+ 'role_users' => 'Users in this role',
+ 'role_users_none' => 'No users are currently assigned to this role',
+
+ // Users
+ 'users' => 'Users',
+ 'user_profile' => 'User Profile',
+ 'users_add_new' => 'Add New User',
+ 'users_search' => 'Search Users',
+ 'users_latest_activity' => 'Latest Activity',
+ 'users_details' => 'User Details',
+ 'users_details_desc' => 'Set a display name and an email address for this user. The email address will be used for logging into the application.',
+ 'users_details_desc_no_email' => 'Set a display name for this user so others can recognise them.',
+ 'users_role' => 'User Roles',
+ 'users_role_desc' => 'Select which roles this user will be assigned to. If a user is assigned to multiple roles the permissions from those roles will stack and they will receive all abilities of the assigned roles.',
+ 'users_password' => 'User Password',
+ 'users_password_desc' => 'Set a password used to log-in to the application. This must be at least 6 characters long.',
+ 'users_send_invite_text' => 'You can choose to send this user an invitation email which allows them to set their own password otherwise you can set their password yourself.',
+ 'users_send_invite_option' => 'Send user invite email',
+ 'users_external_auth_id' => 'External Authentication ID',
+ 'users_external_auth_id_desc' => 'This is the ID used to match this user when communicating with your external authentication system.',
+ 'users_password_warning' => 'Only fill the below if you would like to change your password.',
+ 'users_system_public' => 'This user represents any guest users that visit your instance. It cannot be used to log in but is assigned automatically.',
+ 'users_delete' => 'Delete User',
+ 'users_delete_named' => 'Delete user :userName',
+ 'users_delete_warning' => 'This will fully delete this user with the name \':userName\' from the system.',
+ 'users_delete_confirm' => 'Are you sure you want to delete this user?',
+ 'users_migrate_ownership' => 'Migrate Ownership',
+ 'users_migrate_ownership_desc' => 'Select a user here if you want another user to become the owner of all items currently owned by this user.',
+ 'users_none_selected' => 'No user selected',
+ 'users_delete_success' => 'User successfully removed',
+ 'users_edit' => 'Edit User',
+ 'users_edit_profile' => 'Edit Profile',
+ 'users_edit_success' => 'User successfully updated',
+ 'users_avatar' => 'User Avatar',
+ 'users_avatar_desc' => 'Select an image to represent this user. This should be approx 256px square.',
+ 'users_preferred_language' => 'Preferred Language',
+ 'users_preferred_language_desc' => 'This option will change the language used for the user-interface of the application. This will not affect any user-created content.',
+ 'users_social_accounts' => 'Social Accounts',
+ 'users_social_accounts_info' => 'Here you can connect your other accounts for quicker and easier login. Disconnecting an account here does not revoke previously authorized access. Revoke access from your profile settings on the connected social account.',
+ 'users_social_connect' => 'Connect Account',
+ 'users_social_disconnect' => 'Disconnect Account',
+ 'users_social_connected' => ':socialAccount account was successfully attached to your profile.',
+ 'users_social_disconnected' => ':socialAccount account was successfully disconnected from your profile.',
+ 'users_api_tokens' => 'API Tokens',
+ 'users_api_tokens_none' => 'No API tokens have been created for this user',
+ 'users_api_tokens_create' => 'Create Token',
+ 'users_api_tokens_expires' => 'Expires',
+ 'users_api_tokens_docs' => 'API Documentation',
+
+ // API Tokens
+ 'user_api_token_create' => 'Create API Token',
+ 'user_api_token_name' => 'Name',
+ 'user_api_token_name_desc' => 'Give your token a readable name as a future reminder of its intended purpose.',
+ 'user_api_token_expiry' => 'Expiry Date',
+ 'user_api_token_expiry_desc' => 'Set a date at which this token expires. After this date, requests made using this token will no longer work. Leaving this field blank will set an expiry 100 years into the future.',
+ 'user_api_token_create_secret_message' => 'Immediately after creating this token a "Token ID" & "Token Secret" will be generated and displayed. The secret will only be shown a single time so be sure to copy the value to somewhere safe and secure before proceeding.',
+ 'user_api_token_create_success' => 'API token successfully created',
+ 'user_api_token_update_success' => 'API token successfully updated',
+ 'user_api_token' => 'API Token',
+ 'user_api_token_id' => 'Token ID',
+ 'user_api_token_id_desc' => 'This is a non-editable system generated identifier for this token which will need to be provided in API requests.',
+ 'user_api_token_secret' => 'Token Secret',
+ 'user_api_token_secret_desc' => 'This is a system generated secret for this token which will need to be provided in API requests. This will only be displayed this one time so copy this value to somewhere safe and secure.',
+ 'user_api_token_created' => 'Token created :timeAgo',
+ 'user_api_token_updated' => 'Token updated :timeAgo',
+ 'user_api_token_delete' => 'Delete Token',
+ 'user_api_token_delete_warning' => 'This will fully delete this API token with the name \':tokenName\' from the system.',
+ 'user_api_token_delete_confirm' => 'Are you sure you want to delete this API token?',
+ 'user_api_token_delete_success' => 'API token successfully deleted',
+
+ //! If editing translations files directly please ignore this in all
+ //! languages apart from en. Content will be auto-copied from en.
+ //!////////////////////////////////
+ 'language_select' => [
+ 'en' => 'English',
+ 'ar' => 'العربية',
+ 'bg' => 'Bǎlgarski',
+ 'bs' => 'Bosanski',
+ 'ca' => 'Català',
+ 'cs' => 'Česky',
+ 'da' => 'Dansk',
+ 'de' => 'Deutsch (Sie)',
+ 'de_informal' => 'Deutsch (Du)',
+ 'es' => 'Español',
+ 'es_AR' => 'Español Argentina',
+ 'fr' => 'Français',
+ 'he' => 'עברית',
+ 'hr' => 'Hrvatski',
+ 'hu' => 'Magyar',
+ 'id' => 'Bahasa Indonesia',
+ 'it' => 'Italian',
+ 'ja' => '日本語',
+ 'ko' => '한국어',
+ 'lv' => 'Latviešu Valoda',
+ 'nl' => 'Nederlands',
+ 'nb' => 'Norsk (Bokmål)',
+ 'pl' => 'Polski',
+ 'pt' => 'Português',
+ 'pt_BR' => 'Português do Brasil',
+ 'ru' => 'Русский',
+ 'sk' => 'Slovensky',
+ 'sl' => 'Slovenščina',
+ 'sv' => 'Svenska',
+ 'tr' => 'Türkçe',
+ 'uk' => 'Українська',
+ 'vi' => 'Tiếng Việt',
+ 'zh_CN' => '简体中文',
+ 'zh_TW' => '繁體中文',
+ ]
+ //!////////////////////////////////
+];
--- /dev/null
+<?php
+/**
+ * Validation Lines
+ * The following language lines contain the default error messages used by
+ * the validator class. Some of these rules have multiple versions such
+ * as the size rules. Feel free to tweak each of these messages here.
+ */
+return [
+
+ // Standard laravel validation lines
+ 'accepted' => ':attribute mora biti prihvaćen.',
+ 'active_url' => ':attribute nije ispravan URL.',
+ 'after' => ':attribute mora biti datum nakon :date.',
+ 'alpha' => ':attribute može sadržavati samo slova.',
+ 'alpha_dash' => ':attribute može sadržavati samo slova, brojeve, crtice i donje crtice.',
+ 'alpha_num' => ':attribute može sadržavati samo slova i brojeve.',
+ 'array' => ':attribute mora biti niz.',
+ 'before' => ':attribute mora biti datum prije :date.',
+ 'between' => [
+ 'numeric' => ':attribute mora biti između :min i :max.',
+ 'file' => ':attribute mora biti između :min i :max kilobajta.',
+ 'string' => ':attribute mora biti između :min i :max karaktera.',
+ 'array' => ':attribute mora imati između :min i :max stavki.',
+ ],
+ 'boolean' => ':attribute polje mora biti tačno ili netačno.',
+ 'confirmed' => ':attribute potvrda se ne slaže.',
+ 'date' => ':attribute nije ispravan datum.',
+ 'date_format' => ':attribute ne odgovara formatu :format.',
+ 'different' => ':attribute i :other moraju biti različiti.',
+ 'digits' => ':attribute mora imati :digits brojeve.',
+ 'digits_between' => ':attribute mora imati između :min i :max brojeva.',
+ 'email' => ':attribute mora biti ispravna e-mail adresa.',
+ 'ends_with' => ':attribute mora završavati sa jednom od sljedećih: :values',
+ 'filled' => 'Polje :attribute je obavezno.',
+ 'gt' => [
+ 'numeric' => ':attribute mora biti veći od :value.',
+ 'file' => ':attribute mota biti veći od :value kilobajta.',
+ 'string' => ':attribute mora imati više od :value karaktera.',
+ 'array' => ':attribute mora imati više od :value stavki.',
+ ],
+ 'gte' => [
+ 'numeric' => ':attribute mora biti veći od ili jednak :value.',
+ 'file' => ':attribute mora imati više od ili jednako :value kilobajta.',
+ 'string' => ':attribute mora imati više od ili jednako :value karaktera.',
+ 'array' => ':attribute mora imati :value stavki ili više.',
+ ],
+ 'exists' => 'Odabrani :attribute je neispravan.',
+ 'image' => ':attribute mora biti slika.',
+ 'image_extension' => ':attribute mora imati ispravnu i podržanu ekstenziju slike.',
+ 'in' => 'Odabrani :attribute je neispravan.',
+ 'integer' => ':attribute mora biti integer.',
+ 'ip' => ':attribute mora biti ispravna IP adresa.',
+ 'ipv4' => ':attribute mora biti ispravna IPv4 adresa.',
+ 'ipv6' => ':attribute mora biti ispravna IPv6 adresa.',
+ 'json' => ':attribute mora biti ispravan JSON string.',
+ 'lt' => [
+ 'numeric' => ':attribute mora biti manji od :value.',
+ 'file' => ':attribute mora imati manje od :value kilobajta.',
+ 'string' => ':attribute mora imati manje od :value karaktera.',
+ 'array' => ':attribute mora imati manje od :value stavki.',
+ ],
+ 'lte' => [
+ 'numeric' => ':attribute mora imati vrijednost manju od ili jednaku :value.',
+ 'file' => ':attribute mora imati manje od ili jednako :value kilobajta.',
+ 'string' => ':attribute mora imati manje od ili jednako :value karaktera.',
+ 'array' => ':attribute ne smije imati više od :value stavki.',
+ ],
+ 'max' => [
+ 'numeric' => ':attribute ne može biti veći od :max.',
+ 'file' => ':attribute ne može imati više od :max kilobajta.',
+ 'string' => ':attribute ne može imati više od :max karaktera.',
+ 'array' => ':attribute ne može imati više od :max stavki.',
+ ],
+ 'mimes' => ':attribute mora biti fajl vrste: values.',
+ 'min' => [
+ 'numeric' => ':attribute mora biti najmanje :min.',
+ 'file' => ':attribute mora imati najmanje :min kilobajta.',
+ 'string' => ':attribute mora imati najmanje :min karaktera.',
+ 'array' => ':attribute mora imati najmanje :min stavki.',
+ ],
+ 'not_in' => 'Odabrani :attribute je neispravan.',
+ 'not_regex' => 'Format :attribute je neispravan.',
+ 'numeric' => ':attribute mora biti broj.',
+ 'regex' => 'Format :attribute je neispravan.',
+ 'required' => 'Polje :attribute je obavezno.',
+ 'required_if' => 'Polje :attribute je obavezno kada :other ima vrijednost :value.',
+ 'required_with' => 'Polje :attribute je obavezno kada su prisutne :values.',
+ 'required_with_all' => 'Polje :attribute je obavezno kada su prisutne :values.',
+ 'required_without' => 'Polje :attribute je obavezno kada :values nisu prisutne.',
+ 'required_without_all' => 'Polje :attribute je obavezno kada nijedno od :values nije prisutno.',
+ 'same' => ':attribute i :other se moraju poklapati.',
+ 'safe_url' => 'Navedeni link možda nije siguran.',
+ 'size' => [
+ 'numeric' => ':attribute mora biti :size.',
+ 'file' => ':attribute mora imati :size kilobajta.',
+ 'string' => ':attribute mora imati :size karaktera.',
+ 'array' => ':attribute mora sadržavati :size stavki.',
+ ],
+ 'string' => ':attribute mora biti string.',
+ 'timezone' => ':attribute mora biti ispravna zona.',
+ 'unique' => ':attribute je zauzet.',
+ 'url' => 'Format :attribute je neispravan.',
+ 'uploaded' => 'Fajl nije učitan. Server ne prihvata fajlove ove veličine.',
+
+ // Custom validation lines
+ 'custom' => [
+ 'password-confirm' => [
+ 'required_with' => 'Zahtijeva se potvrda lozinke',
+ ],
+ ],
+
+ // Custom validation attributes
+ 'attributes' => [],
+];
--- /dev/null
+<?php
+/**
+ * Activity text strings.
+ * Is used for all the text within activity logs & notifications.
+ */
+return [
+
+ // Pages
+ 'page_create' => 'ha creat la pàgina',
+ 'page_create_notification' => 'Pàgina creada correctament',
+ 'page_update' => 'ha actualitzat la pàgina',
+ 'page_update_notification' => 'Pàgina actualitzada correctament',
+ 'page_delete' => 'ha suprimit una pàgina',
+ 'page_delete_notification' => 'Pàgina suprimida correctament',
+ 'page_restore' => 'ha restaurat la pàgina',
+ 'page_restore_notification' => 'Pàgina restaurada correctament',
+ 'page_move' => 'ha mogut la pàgina',
+
+ // Chapters
+ 'chapter_create' => 'ha creat el capítol',
+ 'chapter_create_notification' => 'Capítol creat correctament',
+ 'chapter_update' => 'ha actualitzat el capítol',
+ 'chapter_update_notification' => 'Capítol actualitzat correctament',
+ 'chapter_delete' => 'ha suprimit un capítol',
+ 'chapter_delete_notification' => 'Capítol suprimit correctament',
+ 'chapter_move' => 'ha mogut el capítol',
+
+ // Books
+ 'book_create' => 'ha creat el llibre',
+ 'book_create_notification' => 'Llibre creat correctament',
+ 'book_update' => 'ha actualitzat el llibre',
+ 'book_update_notification' => 'Llibre actualitzat correctament',
+ 'book_delete' => 'ha suprimit un llibre',
+ 'book_delete_notification' => 'Llibre suprimit correctament',
+ 'book_sort' => 'ha ordenat el llibre',
+ 'book_sort_notification' => 'Llibre reordenat correctament',
+
+ // Bookshelves
+ 'bookshelf_create' => 'ha creat el prestatge',
+ 'bookshelf_create_notification' => 'Prestatge creat correctament',
+ 'bookshelf_update' => 'ha actualitzat el prestatge',
+ 'bookshelf_update_notification' => 'Prestatge actualitzat correctament',
+ 'bookshelf_delete' => 'ha suprimit un prestatge',
+ 'bookshelf_delete_notification' => 'Prestatge suprimit correctament',
+
+ // Favourites
+ 'favourite_add_notification' => '":name" has been added to your favourites',
+ 'favourite_remove_notification' => '":name" has been removed from your favourites',
+
+ // Other
+ 'commented_on' => 'ha comentat a',
+ 'permissions_update' => 'ha actualitzat els permisos',
+];
--- /dev/null
+<?php
+/**
+ * Authentication Language Lines
+ * The following language lines are used during authentication for various
+ * messages that we need to display to the user.
+ */
+return [
+
+ 'failed' => 'Les credencials no coincideixen amb les que hi ha emmagatzemades.',
+ 'throttle' => 'Massa intents d\'inici de sessió. Torna-ho a provar d\'aquí a :seconds segons.',
+
+ // Login & Register
+ 'sign_up' => 'Registra-m\'hi',
+ 'log_in' => 'Inicia la sessió',
+ 'log_in_with' => 'Inicia la sessió amb :socialDriver',
+ 'sign_up_with' => 'Registra-m\'hi amb :socialDriver',
+ 'logout' => 'Tanca la sessió',
+
+ 'name' => 'Nom',
+ 'username' => 'Nom d\'usuari',
+ 'email' => 'Adreça electrònica',
+ 'password' => 'Contrasenya',
+ 'password_confirm' => 'Confirmeu la contrasenya',
+ 'password_hint' => 'Cal que tingui més de 7 caràcters',
+ 'forgot_password' => 'Heu oblidat la contrasenya?',
+ 'remember_me' => 'Recorda\'m',
+ 'ldap_email_hint' => 'Introduïu una adreça electrònica per a aquest compte.',
+ 'create_account' => 'Crea el compte',
+ 'already_have_account' => 'Ja teniu un compte?',
+ 'dont_have_account' => 'No teniu cap compte?',
+ 'social_login' => 'Inici de sessió amb xarxes social',
+ 'social_registration' => 'Registre social',
+ 'social_registration_text' => 'Registreu-vos i inicieu la sessió fent servir un altre servei.',
+
+ 'register_thanks' => 'Gràcies per registrar-vos!',
+ 'register_confirm' => 'Reviseu el vostre correu electrònic i feu clic al botó de confirmació per a accedir a :appName.',
+ 'registrations_disabled' => 'Actualment, els registres estan desactivats',
+ 'registration_email_domain_invalid' => 'Aquest domini de correu electrònic no té accés a aquesta aplicació',
+ 'register_success' => 'Gràcies per registrar-vos! Ja us hi heu registrat i heu iniciat la sessió.',
+
+
+ // Password Reset
+ 'reset_password' => 'Restableix la contrasenya',
+ 'reset_password_send_instructions' => 'Introduïu la vostra adreça electrònica a continuació i us enviarem un correu electrònic amb un enllaç per a restablir la contrasenya.',
+ 'reset_password_send_button' => 'Envia l\'enllaç de restabliment',
+ 'reset_password_sent' => 'S\'enviarà un enllaç per a restablir la contrasenya a :email, si es troba aquesta adreça al sistema.',
+ 'reset_password_success' => 'La vostra contrasenya s\'ha restablert correctament.',
+ 'email_reset_subject' => 'Restabliu la contrasenya a :appName',
+ 'email_reset_text' => 'Rebeu aquest correu electrònic perquè heu rebut una petició de restabliment de contrasenya per al vostre compte.',
+ 'email_reset_not_requested' => 'Si no heu demanat restablir la contrasenya, no cal que prengueu cap acció.',
+
+
+ // Email Confirmation
+ 'email_confirm_subject' => 'Confirmeu la vostra adreça electrònica a :appName',
+ 'email_confirm_greeting' => 'Gràcies per unir-vos a :appName!',
+ 'email_confirm_text' => 'Confirmeu la vostra adreça electrònica fent clic al botó a continuació:',
+ 'email_confirm_action' => 'Confirma el correu',
+ 'email_confirm_send_error' => 'Cal confirmar l\'adreça electrònica, però el sistema no ha pogut enviar el correu electrònic. Poseu-vos en contacte amb l\'administrador perquè s\'asseguri que el correu electrònic està ben configurat.',
+ 'email_confirm_success' => 'S\'ha confirmat el vostre correu electrònic!',
+ 'email_confirm_resent' => 'S\'ha tornat a enviar el correu electrònic de confirmació. Reviseu la vostra safata d\'entrada.',
+
+ 'email_not_confirmed' => 'Adreça electrònica no confirmada',
+ 'email_not_confirmed_text' => 'La vostra adreça electrònica encara no està confirmada.',
+ 'email_not_confirmed_click_link' => 'Feu clic a l\'enllaç del correu electrònic que us vam enviar poc després que us registréssiu.',
+ 'email_not_confirmed_resend' => 'Si no podeu trobar el correu, podeu tornar a enviar el correu electrònic de confirmació enviant el formulari a continuació.',
+ 'email_not_confirmed_resend_button' => 'Torna a enviar el correu de confirmació',
+
+ // User Invite
+ 'user_invite_email_subject' => 'Us han convidat a unir-vos a :appName!',
+ 'user_invite_email_greeting' => 'Us hem creat un compte en el vostre nom a :appName.',
+ 'user_invite_email_text' => 'Feu clic al botó a continuació per a definir una contrasenya per al compte i obtenir-hi accés:',
+ 'user_invite_email_action' => 'Defineix una contrasenya per al compte',
+ 'user_invite_page_welcome' => 'Us donem la benvinguda a :appName!',
+ 'user_invite_page_text' => 'Per a enllestir el vostre compte i obtenir-hi accés, cal que definiu una contrasenya, que es farà servir per a iniciar la sessió a :appName en futures visites.',
+ 'user_invite_page_confirm_button' => 'Confirma la contrasenya',
+ 'user_invite_success' => 'S\'ha establert la contrasenya, ara ja teniu accés a :appName!'
+];
\ No newline at end of file
--- /dev/null
+<?php
+/**
+ * Common elements found throughout many areas of BookStack.
+ */
+return [
+
+ // Buttons
+ 'cancel' => 'Cancel·la',
+ 'confirm' => 'D\'acord',
+ 'back' => 'Enrere',
+ 'save' => 'Desa',
+ 'continue' => 'Continua',
+ 'select' => 'Selecciona',
+ 'toggle_all' => 'Commuta-ho tot',
+ 'more' => 'Més',
+
+ // Form Labels
+ 'name' => 'Nom',
+ 'description' => 'Descripció',
+ 'role' => 'Rol',
+ 'cover_image' => 'Imatge de portada',
+ 'cover_image_description' => 'Aquesta imatge hauria de fer aproximadament 440x250 px.',
+
+ // Actions
+ 'actions' => 'Accions',
+ 'view' => 'Visualitza',
+ 'view_all' => 'Visualitza-ho tot',
+ 'create' => 'Crea',
+ 'update' => 'Actualitza',
+ 'edit' => 'Edita',
+ 'sort' => 'Ordena',
+ 'move' => 'Mou',
+ 'copy' => 'Copia',
+ 'reply' => 'Respon',
+ 'delete' => 'Suprimeix',
+ 'delete_confirm' => 'Confirma la supressió',
+ 'search' => 'Cerca',
+ 'search_clear' => 'Esborra la cerca',
+ 'reset' => 'Reinicialitza',
+ 'remove' => 'Elimina',
+ 'add' => 'Afegeix',
+ 'fullscreen' => 'Pantalla completa',
+ 'favourite' => 'Favourite',
+ 'unfavourite' => 'Unfavourite',
+ 'next' => 'Next',
+ 'previous' => 'Previous',
+
+ // Sort Options
+ 'sort_options' => 'Opcions d\'ordenació',
+ 'sort_direction_toggle' => 'Commuta la direcció de l\'ordenació',
+ 'sort_ascending' => 'Ordre ascendent',
+ 'sort_descending' => 'Ordre descendent',
+ 'sort_name' => 'Nom',
+ 'sort_default' => 'Per defecte',
+ 'sort_created_at' => 'Data de creació',
+ 'sort_updated_at' => 'Data d\'actualització',
+
+ // Misc
+ 'deleted_user' => 'Usuari eliminat',
+ 'no_activity' => 'No hi ha activitat',
+ 'no_items' => 'No hi ha cap element',
+ 'back_to_top' => 'Torna a dalt',
+ 'toggle_details' => 'Commuta els detalls',
+ 'toggle_thumbnails' => 'Commuta les miniatures',
+ 'details' => 'Detalls',
+ 'grid_view' => 'Visualització en graella',
+ 'list_view' => 'Visualització en llista',
+ 'default' => 'Per defecte',
+ 'breadcrumb' => 'Ruta de navegació',
+
+ // Header
+ 'header_menu_expand' => 'Expand Header Menu',
+ 'profile_menu' => 'Menú del perfil',
+ 'view_profile' => 'Mostra el perfil',
+ 'edit_profile' => 'Edita el perfil',
+ 'dark_mode' => 'Mode fosc',
+ 'light_mode' => 'Mode clar',
+
+ // Layout tabs
+ 'tab_info' => 'Informació',
+ 'tab_info_label' => 'Tab: Show Secondary Information',
+ 'tab_content' => 'Contingut',
+ 'tab_content_label' => 'Tab: Show Primary Content',
+
+ // Email Content
+ 'email_action_help' => 'Si teniu problemes per fer clic al botó ":actionText", copieu i enganxeu l\'URL següent al vostre navegador web:',
+ 'email_rights' => 'Tots els drets reservats',
+
+ // Footer Link Options
+ // Not directly used but available for convenience to users.
+ 'privacy_policy' => 'Política de privadesa',
+ 'terms_of_service' => 'Condicions del servei',
+];
--- /dev/null
+<?php
+/**
+ * Text used in custom JavaScript driven components.
+ */
+return [
+
+ // Image Manager
+ 'image_select' => 'Selecciona una imatge',
+ 'image_all' => 'Totes',
+ 'image_all_title' => 'Mostra totes les imatges',
+ 'image_book_title' => 'Mostra les imatges pujades a aquest llibre',
+ 'image_page_title' => 'Mostra les imatges pujades a aquesta pàgina',
+ 'image_search_hint' => 'Cerca per nom d\'imatge',
+ 'image_uploaded' => 'Pujada :uploadedDate',
+ 'image_load_more' => 'Carrega\'n més',
+ 'image_image_name' => 'Nom de la imatge',
+ 'image_delete_used' => 'Aquesta imatge s\'utilitza a les pàgines següents.',
+ 'image_delete_confirm_text' => 'Segur que voleu suprimir aquesta imatge?',
+ 'image_select_image' => 'Selecciona una imatge',
+ 'image_dropzone' => 'Arrossegueu imatges o feu clic aquí per a pujar-les',
+ 'images_deleted' => 'Imatges suprimides',
+ 'image_preview' => 'Previsualització de la imatge',
+ 'image_upload_success' => 'Imatge pujada correctament',
+ 'image_update_success' => 'Detalls de la imatge actualitzats correctament',
+ 'image_delete_success' => 'Imatge suprimida correctament',
+ 'image_upload_remove' => 'Suprimeix',
+
+ // Code Editor
+ 'code_editor' => 'Edita el codi',
+ 'code_language' => 'Llenguatge del codi',
+ 'code_content' => 'Contingut del codi',
+ 'code_session_history' => 'Historial de la sessió',
+ 'code_save' => 'Desa el codi',
+];
--- /dev/null
+<?php
+/**
+ * Text used for 'Entities' (Document Structure Elements) such as
+ * Books, Shelves, Chapters & Pages
+ */
+return [
+
+ // Shared
+ 'recently_created' => 'Creat fa poc',
+ 'recently_created_pages' => 'Pàgines creades fa poc',
+ 'recently_updated_pages' => 'Pàgines actualitzades fa poc',
+ 'recently_created_chapters' => 'Capítols creats fa poc',
+ 'recently_created_books' => 'Llibres creats fa poc',
+ 'recently_created_shelves' => 'Prestatges creats fa poc',
+ 'recently_update' => 'Actualitzat fa poc',
+ 'recently_viewed' => 'Vist fa poc',
+ 'recent_activity' => 'Activitat recent',
+ 'create_now' => 'Crea\'n ara',
+ 'revisions' => 'Revisions',
+ 'meta_revision' => 'Revisió núm. :revisionCount',
+ 'meta_created' => 'Creat :timeLength',
+ 'meta_created_name' => 'Creat :timeLength per :user',
+ 'meta_updated' => 'Actualitzat :timeLength',
+ 'meta_updated_name' => 'Actualitzat :timeLength per :user',
+ 'meta_owned_name' => 'Propietat de :user',
+ 'entity_select' => 'Selecciona una entitat',
+ 'images' => 'Imatges',
+ 'my_recent_drafts' => 'Els vostres esborranys recents',
+ 'my_recently_viewed' => 'Les vostres visualitzacions recents',
+ 'my_most_viewed_favourites' => 'My Most Viewed Favourites',
+ 'my_favourites' => 'My Favourites',
+ 'no_pages_viewed' => 'No heu vist cap pàgina',
+ 'no_pages_recently_created' => 'No s\'ha creat cap pàgina fa poc',
+ 'no_pages_recently_updated' => 'No s\'ha actualitzat cap pàgina fa poc',
+ 'export' => 'Exporta',
+ 'export_html' => 'Fitxer web independent',
+ 'export_pdf' => 'Fitxer PDF',
+ 'export_text' => 'Fitxer de text sense format',
+
+ // Permissions and restrictions
+ 'permissions' => 'Permisos',
+ 'permissions_intro' => 'Si els activeu, aquests permisos tindran més prioritat que qualsevol permís de rol.',
+ 'permissions_enable' => 'Activa els permisos personalitzats',
+ 'permissions_save' => 'Desa els permisos',
+ 'permissions_owner' => 'Propietari',
+
+ // Search
+ 'search_results' => 'Resultats de la cerca',
+ 'search_total_results_found' => 'S\'ha trobat :count resultat en total|S\'han trobat :count resultats en total',
+ 'search_clear' => 'Esborra la cerca',
+ 'search_no_pages' => 'La cerca no coincideix amb cap pàgina',
+ 'search_for_term' => 'Cerca :term',
+ 'search_more' => 'Més resultats',
+ 'search_advanced' => 'Cerca avançada',
+ 'search_terms' => 'Termes de la cerca',
+ 'search_content_type' => 'Tipus de contingut',
+ 'search_exact_matches' => 'Coincidències exactes',
+ 'search_tags' => 'Cerca d\'etiquetes',
+ 'search_options' => 'Opcions',
+ 'search_viewed_by_me' => 'Visualitzat per mi',
+ 'search_not_viewed_by_me' => 'No visualitzat per mi',
+ 'search_permissions_set' => 'Amb permisos definits',
+ 'search_created_by_me' => 'Creat per mi',
+ 'search_updated_by_me' => 'Actualitzat per mi',
+ 'search_owned_by_me' => 'Owned by me',
+ 'search_date_options' => 'Opcions de dates',
+ 'search_updated_before' => 'Actualitzat abans de',
+ 'search_updated_after' => 'Actualitzat després de',
+ 'search_created_before' => 'Creat abans de',
+ 'search_created_after' => 'Creat després de',
+ 'search_set_date' => 'Defineix una data',
+ 'search_update' => 'Actualitza la cerca',
+
+ // Shelves
+ 'shelf' => 'Prestatge',
+ 'shelves' => 'Prestatges',
+ 'x_shelves' => ':count prestatge|:count prestatges',
+ 'shelves_long' => 'Prestatges',
+ 'shelves_empty' => 'No hi ha cap prestatge creat',
+ 'shelves_create' => 'Crea un prestatge nou',
+ 'shelves_popular' => 'Prestatges populars',
+ 'shelves_new' => 'Prestatges nous',
+ 'shelves_new_action' => 'Prestatge nou',
+ 'shelves_popular_empty' => 'Aquí apareixeran els prestatges més populars.',
+ 'shelves_new_empty' => 'Aquí apareixeran els prestatges creats fa poc.',
+ 'shelves_save' => 'Desa el prestatge',
+ 'shelves_books' => 'Llibres en aquest prestatge',
+ 'shelves_add_books' => 'Afegeix llibres a aquest prestatge',
+ 'shelves_drag_books' => 'Arrossegueu llibres aquí per a afegir-los a aquest prestatge',
+ 'shelves_empty_contents' => 'Aquest prestatge no té cap llibre assignat',
+ 'shelves_edit_and_assign' => 'Editeu el prestatge per a assignar-hi llibres',
+ 'shelves_edit_named' => 'Edita el prestatge :name',
+ 'shelves_edit' => 'Edita el prestatge',
+ 'shelves_delete' => 'Suprimeix el prestatge',
+ 'shelves_delete_named' => 'Suprimeix el prestatge :name',
+ 'shelves_delete_explain' => "Se suprimirà el prestatge amb el nom ':name'. Els llibres que contingui no se suprimiran.",
+ 'shelves_delete_confirmation' => 'Segur que voleu suprimir aquest prestatge?',
+ 'shelves_permissions' => 'Permisos del prestatge',
+ 'shelves_permissions_updated' => 'S\'han actualitzat els permisos del prestatge',
+ 'shelves_permissions_active' => 'S\'han activat els permisos del prestatge',
+ 'shelves_copy_permissions_to_books' => 'Copia els permisos als llibres',
+ 'shelves_copy_permissions' => 'Copia els permisos',
+ 'shelves_copy_permissions_explain' => 'Això aplicarà la configuració de permisos actual d\'aquest prestatge a tots els llibres que contingui. Abans d\'activar-ho, assegureu-vos que hàgiu desat qualsevol canvi als permisos d\'aquest prestatge.',
+ 'shelves_copy_permission_success' => 'S\'han copiat els permisos del prestatge a :count llibres',
+
+ // Books
+ 'book' => 'Llibre',
+ 'books' => 'Llibres',
+ 'x_books' => ':count llibre|:count llibres',
+ 'books_empty' => 'No hi ha cap llibre creat',
+ 'books_popular' => 'Llibres populars',
+ 'books_recent' => 'Llibres recents',
+ 'books_new' => 'Llibres nous',
+ 'books_new_action' => 'Llibre nou',
+ 'books_popular_empty' => 'Aquí apareixeran els llibres més populars.',
+ 'books_new_empty' => 'Aquí apareixeran els llibres creats fa poc.',
+ 'books_create' => 'Crea un llibre nou',
+ 'books_delete' => 'Suprimeix el llibre',
+ 'books_delete_named' => 'Suprimeix el llibre :bookName',
+ 'books_delete_explain' => 'Se suprimirà el llibre amb el nom \':bookName\'. Se\'n suprimiran les pàgines i els capítols.',
+ 'books_delete_confirmation' => 'Segur que voleu suprimir aquest llibre?',
+ 'books_edit' => 'Edita el llibre',
+ 'books_edit_named' => 'Edita el llibre :bookName',
+ 'books_form_book_name' => 'Nom del llibre',
+ 'books_save' => 'Desa el llibre',
+ 'books_permissions' => 'Permisos del llibre',
+ 'books_permissions_updated' => 'S\'han actualitzat els permisos del llibre',
+ 'books_empty_contents' => 'No hi ha cap pàgina ni cap capítol creat en aquest llibre.',
+ 'books_empty_create_page' => 'Crea una pàgina nova',
+ 'books_empty_sort_current_book' => 'Ordena el llibre actual',
+ 'books_empty_add_chapter' => 'Afegeix un capítol',
+ 'books_permissions_active' => 'S\'han activat els permisos del llibre',
+ 'books_search_this' => 'Cerca en aquest llibre',
+ 'books_navigation' => 'Navegació pel llibre',
+ 'books_sort' => 'Ordena el contingut del llibre',
+ 'books_sort_named' => 'Ordena el llibre :bookName',
+ 'books_sort_name' => 'Ordena per nom',
+ 'books_sort_created' => 'Ordena per data de creació',
+ 'books_sort_updated' => 'Ordena per data d\'actualització',
+ 'books_sort_chapters_first' => 'Els capítols al principi',
+ 'books_sort_chapters_last' => 'Els capítols al final',
+ 'books_sort_show_other' => 'Mostra altres llibres',
+ 'books_sort_save' => 'Desa l\'ordre nou',
+
+ // Chapters
+ 'chapter' => 'Capítol',
+ 'chapters' => 'Capítols',
+ 'x_chapters' => ':count capítol|:count capítols',
+ 'chapters_popular' => 'Capítols populars',
+ 'chapters_new' => 'Capítol nou',
+ 'chapters_create' => 'Crea un capítol nou',
+ 'chapters_delete' => 'Suprimeix el capítol',
+ 'chapters_delete_named' => 'Suprimeix el capítol :chapterName',
+ 'chapters_delete_explain' => 'Se suprimirà el capítol amb el nom \':chapterName\'. Totes les pàgines que contingui també se suprimiran.',
+ 'chapters_delete_confirm' => 'Segur que voleu suprimir aquest capítol?',
+ 'chapters_edit' => 'Edita el capítol',
+ 'chapters_edit_named' => 'Edita el capítol :chapterName',
+ 'chapters_save' => 'Desa el capítol',
+ 'chapters_move' => 'Mou el capítol',
+ 'chapters_move_named' => 'Mou el capítol :chapterName',
+ 'chapter_move_success' => 'S\'ha mogut el capítol a :bookName',
+ 'chapters_permissions' => 'Permisos del capítol',
+ 'chapters_empty' => 'De moment, aquest capítol no conté cap pàgina.',
+ 'chapters_permissions_active' => 'S\'han activat els permisos del capítol',
+ 'chapters_permissions_success' => 'S\'han actualitzat els permisos del capítol',
+ 'chapters_search_this' => 'Cerca en aquest capítol',
+
+ // Pages
+ 'page' => 'Pàgina',
+ 'pages' => 'Pàgines',
+ 'x_pages' => ':count pàgina|:count pàgines',
+ 'pages_popular' => 'Pàgines populars',
+ 'pages_new' => 'Pàgina nova',
+ 'pages_attachments' => 'Adjuncions',
+ 'pages_navigation' => 'Navegació per la pàgina',
+ 'pages_delete' => 'Suprimeix la pàgina',
+ 'pages_delete_named' => 'Suprimeix la pàgina :pageName',
+ 'pages_delete_draft_named' => 'Suprimeix l\'esborrany de pàgina :pageName',
+ 'pages_delete_draft' => 'Suprimeix l\'esborrany de pàgina',
+ 'pages_delete_success' => 'S\'ha suprimit la pàgina',
+ 'pages_delete_draft_success' => 'S\'ha suprimit l\'esborrany de pàgina',
+ 'pages_delete_confirm' => 'Segur que voleu suprimir aquesta pàgina?',
+ 'pages_delete_draft_confirm' => 'Segur que voleu suprimir aquest esborrany de pàgina?',
+ 'pages_editing_named' => 'Esteu editant :pageName',
+ 'pages_edit_draft_options' => 'Opcions d\'esborrany',
+ 'pages_edit_save_draft' => 'Desa l\'esborrany',
+ 'pages_edit_draft' => 'Edita l\'esborrany de pàgina',
+ 'pages_editing_draft' => 'Esteu editant l\'esborrany',
+ 'pages_editing_page' => 'Esteu editant la pàgina',
+ 'pages_edit_draft_save_at' => 'Esborrany desat ',
+ 'pages_edit_delete_draft' => 'Suprimeix l\'esborrany',
+ 'pages_edit_discard_draft' => 'Descarta l\'esborrany',
+ 'pages_edit_set_changelog' => 'Defineix el registre de canvis',
+ 'pages_edit_enter_changelog_desc' => 'Introduïu una breu descripció dels canvis que heu fet',
+ 'pages_edit_enter_changelog' => 'Introduïu un registre de canvis',
+ 'pages_save' => 'Desa la pàgina',
+ 'pages_title' => 'Títol de la pàgina',
+ 'pages_name' => 'Nom de la pàgina',
+ 'pages_md_editor' => 'Editor',
+ 'pages_md_preview' => 'Previsualització',
+ 'pages_md_insert_image' => 'Insereix una imatge',
+ 'pages_md_insert_link' => 'Insereix un enllaç a una entitat',
+ 'pages_md_insert_drawing' => 'Insereix un diagrama',
+ 'pages_not_in_chapter' => 'La pàgina no pertany a cap capítol',
+ 'pages_move' => 'Mou la pàgina',
+ 'pages_move_success' => 'S\'ha mogut la pàgina a ":parentName"',
+ 'pages_copy' => 'Copia la pàgina',
+ 'pages_copy_desination' => 'Destinació de la còpia',
+ 'pages_copy_success' => 'Pàgina copiada correctament',
+ 'pages_permissions' => 'Permisos de la pàgina',
+ 'pages_permissions_success' => 'S\'han actualitzat els permisos de la pàgina',
+ 'pages_revision' => 'Revisió',
+ 'pages_revisions' => 'Revisions de la pàgina',
+ 'pages_revisions_named' => 'Revisions de la pàgina :pageName',
+ 'pages_revision_named' => 'Revisió de la pàgina :pageName',
+ 'pages_revision_restored_from' => 'Restaurada de núm. :id; :summary',
+ 'pages_revisions_created_by' => 'Creada per',
+ 'pages_revisions_date' => 'Data de la revisió',
+ 'pages_revisions_number' => 'Núm. ',
+ 'pages_revisions_numbered' => 'Revisió núm. :id',
+ 'pages_revisions_numbered_changes' => 'Canvis de la revisió núm. :id',
+ 'pages_revisions_changelog' => 'Registre de canvis',
+ 'pages_revisions_changes' => 'Canvis',
+ 'pages_revisions_current' => 'Versió actual',
+ 'pages_revisions_preview' => 'Previsualitza',
+ 'pages_revisions_restore' => 'Restaura',
+ 'pages_revisions_none' => 'Aquesta pàgina no té cap revisió',
+ 'pages_copy_link' => 'Copia l\'enllaç',
+ 'pages_edit_content_link' => 'Edita el contingut',
+ 'pages_permissions_active' => 'S\'han activat els permisos de la pàgina',
+ 'pages_initial_revision' => 'Publicació inicial',
+ 'pages_initial_name' => 'Pàgina nova',
+ 'pages_editing_draft_notification' => 'Esteu editant un esborrany que es va desar per darrer cop :timeDiff.',
+ 'pages_draft_edited_notification' => 'Aquesta pàgina s\'ha actualitzat d\'ençà d\'aleshores. Us recomanem que descarteu aquest esborrany.',
+ 'pages_draft_edit_active' => [
+ 'start_a' => ':count usuaris han començat a editar aquesta pàgina',
+ 'start_b' => ':userName ha començat a editar aquesta pàgina',
+ 'time_a' => 'd\'ençà que la pàgina es va actualitzar per darrer cop',
+ 'time_b' => 'en els darrers :minCount minuts',
+ 'message' => ':start :time. Aneu amb compte de no trepitjar-vos les actualitzacions entre vosaltres!',
+ ],
+ 'pages_draft_discarded' => 'S\'ha descartat l\'esborrany, l\'editor s\'ha actualitzat amb el contingut actual de la pàgina',
+ 'pages_specific' => 'Una pàgina específica',
+ 'pages_is_template' => 'Plantilla de pàgina',
+
+ // Editor Sidebar
+ 'page_tags' => 'Etiquetes de la pàgina',
+ 'chapter_tags' => 'Etiquetes del capítol',
+ 'book_tags' => 'Etiquetes del llibre',
+ 'shelf_tags' => 'Etiquetes del prestatge',
+ 'tag' => 'Etiqueta',
+ 'tags' => 'Etiquetes',
+ 'tag_name' => 'Nom de l\'etiqueta',
+ 'tag_value' => 'Valor de l\'etiqueta (opcional)',
+ 'tags_explain' => "Afegiu etiquetes per a categoritzar millor el contingut. \n Podeu assignar un valor a cada etiqueta per a una organització més detallada.",
+ 'tags_add' => 'Afegeix una altra etiqueta',
+ 'tags_remove' => 'Elimina aquesta etiqueta',
+ 'attachments' => 'Adjuncions',
+ 'attachments_explain' => 'Pugeu fitxers o adjunteu enllaços per a mostrar-los a la pàgina. Són visibles a la barra lateral de la pàgina.',
+ 'attachments_explain_instant_save' => 'Els canvis fets aquí es desen instantàniament.',
+ 'attachments_items' => 'Elements adjunts',
+ 'attachments_upload' => 'Puja un fitxer',
+ 'attachments_link' => 'Adjunta un enllaç',
+ 'attachments_set_link' => 'Defineix l\'enllaç',
+ 'attachments_delete' => 'Seguir que voleu suprimir aquesta adjunció?',
+ 'attachments_dropzone' => 'Arrossegueu fitxers o feu clic aquí per a adjuntar un fitxer',
+ 'attachments_no_files' => 'No s\'ha pujat cap fitxer',
+ 'attachments_explain_link' => 'Podeu adjuntar un enllaç si preferiu no pujar un fitxer. Pot ser un enllaç a una altra pàgina o un enllaç a un fitxer al núvol.',
+ 'attachments_link_name' => 'Nom de l\'enllaç',
+ 'attachment_link' => 'Enllaç de l\'adjunció',
+ 'attachments_link_url' => 'Enllaç al fitxer',
+ 'attachments_link_url_hint' => 'URL del lloc o fitxer',
+ 'attach' => 'Adjunta',
+ 'attachments_insert_link' => 'Afegeix un enllaç de l\'adjunció a la pàgina',
+ 'attachments_edit_file' => 'Edita el fitxer',
+ 'attachments_edit_file_name' => 'Nom del fitxer',
+ 'attachments_edit_drop_upload' => 'Arrossegueu fitxers o feu clic aquí per a pujar-los i sobreescriure\'ls',
+ 'attachments_order_updated' => 'S\'ha actualitzat l\'ordre de les adjuncions',
+ 'attachments_updated_success' => 'S\'han actualitzat els detalls de les adjuncions',
+ 'attachments_deleted' => 'S\'ha suprimit l\'adjunció',
+ 'attachments_file_uploaded' => 'Fitxer pujat correctament',
+ 'attachments_file_updated' => 'Fitxer actualitzat correctament',
+ 'attachments_link_attached' => 'Enllaç adjuntat a la pàgina correctament',
+ 'templates' => 'Plantilles',
+ 'templates_set_as_template' => 'La pàgina és una plantilla',
+ 'templates_explain_set_as_template' => 'Podeu definir aquesta pàgina com a plantilla perquè el seu contingut es pugui fer servir en crear altres pàgines. Els altres usuaris podran fer servir la plantilla si tenen permís per a veure aquesta pàgina.',
+ 'templates_replace_content' => 'Substitueix el contingut de la pàgina',
+ 'templates_append_content' => 'Afegeix al final del contingut de la pàgina',
+ 'templates_prepend_content' => 'Afegeix al principi del contingut de la pàgina',
+
+ // Profile View
+ 'profile_user_for_x' => 'Usuari fa :time',
+ 'profile_created_content' => 'Contingut creat',
+ 'profile_not_created_pages' => ':userName no ha creat cap pàgina',
+ 'profile_not_created_chapters' => ':userName no ha creat cap capítol',
+ 'profile_not_created_books' => ':userName no ha creat cap llibre',
+ 'profile_not_created_shelves' => ':userName no ha creat cap prestatge',
+
+ // Comments
+ 'comment' => 'Comentari',
+ 'comments' => 'Comentaris',
+ 'comment_add' => 'Afegeix un comentari',
+ 'comment_placeholder' => 'Deixeu un comentari aquí',
+ 'comment_count' => '{0} Sense comentaris|{1} 1 comentari|[2,*] :count comentaris',
+ 'comment_save' => 'Desa el comentari',
+ 'comment_saving' => 'S\'està desant el comentari...',
+ 'comment_deleting' => 'S\'està suprimint el comentari...',
+ 'comment_new' => 'Comentari nou',
+ 'comment_created' => 'ha comentat :createDiff',
+ 'comment_updated' => 'Actualitzat :updateDiff per :username',
+ 'comment_deleted_success' => 'Comentari suprimit',
+ 'comment_created_success' => 'Comentari afegit',
+ 'comment_updated_success' => 'Comentari actualitzat',
+ 'comment_delete_confirm' => 'Segur que voleu suprimir aquest comentari?',
+ 'comment_in_reply_to' => 'En resposta a :commentId',
+
+ // Revision
+ 'revision_delete_confirm' => 'Segur que voleu suprimir aquesta revisió?',
+ 'revision_restore_confirm' => 'Segur que voleu restaurar aquesta revisió? Se substituirà el contingut de la pàgina actual.',
+ 'revision_delete_success' => 'S\'ha suprimit la revisió',
+ 'revision_cannot_delete_latest' => 'No es pot suprimir la darrera revisió.'
+];
--- /dev/null
+<?php
+/**
+ * Text shown in error messaging.
+ */
+return [
+
+ // Permissions
+ 'permission' => 'No teniu permís per a accedir a la pàgina sol·licitada.',
+ 'permissionJson' => 'No teniu permís per a executar l\'acció sol·licitada.',
+
+ // Auth
+ 'error_user_exists_different_creds' => 'Ja hi ha un usuari amb l\'adreça electrònica :email però amb credencials diferents.',
+ 'email_already_confirmed' => 'L\'adreça electrònica ja està confirmada. Proveu d\'iniciar la sessió.',
+ 'email_confirmation_invalid' => 'Aquest testimoni de confirmació no és vàlid o ja ha estat utilitzat. Proveu de tornar-vos a registrar.',
+ 'email_confirmation_expired' => 'El testimoni de confirmació ha caducat. S\'ha enviat un nou correu electrònic de confirmació.',
+ 'email_confirmation_awaiting' => 'Cal confirmar l\'adreça electrònica del compte que utilitzeu',
+ 'ldap_fail_anonymous' => 'L\'accés a l\'LDAP ha fallat fent servir un lligam anònim',
+ 'ldap_fail_authed' => 'L\'accés a l\'LDAP ha fallat fent servir els detalls de DN i contrasenya proporcionats',
+ 'ldap_extension_not_installed' => 'L\'extensió de l\'LDAP de PHP no està instal·lada',
+ 'ldap_cannot_connect' => 'No s\'ha pogut connectar amb el servidor de l\'LDAP, la connexió inicial ha fallat',
+ 'saml_already_logged_in' => 'Ja heu iniciat la sessió',
+ 'saml_user_not_registered' => 'L\'usuari :name no està registrat i els registres automàtics estan desactivats',
+ 'saml_no_email_address' => 'No s\'ha pogut trobar cap adreça electrònica, per a aquest usuari, en les dades proporcionades pel sistema d\'autenticació extern',
+ 'saml_invalid_response_id' => 'La petició del sistema d\'autenticació extern no és reconeguda per un procés iniciat per aquesta aplicació. Aquest problema podria ser causat per navegar endarrere després d\'iniciar la sessió.',
+ 'saml_fail_authed' => 'L\'inici de sessió fent servir :system ha fallat, el sistema no ha proporcionat una autorització satisfactòria',
+ 'social_no_action_defined' => 'No hi ha cap acció definida',
+ 'social_login_bad_response' => "S'ha rebut un error mentre s'iniciava la sessió amb :socialAccount: \n:error",
+ 'social_account_in_use' => 'Aquest compte de :socialAccount ja està en ús, proveu d\'iniciar la sessió mitjançant l\'opció de :socialAccount.',
+ 'social_account_email_in_use' => 'L\'adreça electrònica :email ja està en ús. Si ja teniu un compte, podeu connectar-hi el vostre compte de :socialAccount a la configuració del vostre perfil.',
+ 'social_account_existing' => 'Aquest compte de :socialAccount ja està associat al vostre perfil.',
+ 'social_account_already_used_existing' => 'Aquest compte de :socialAccount ja el fa servir un altre usuari.',
+ 'social_account_not_used' => 'Aquest compte de :socialAccount no està associat a cap usuari. Associeu-lo a la configuració del vostre perfil. ',
+ 'social_account_register_instructions' => 'Si encara no teniu cap compte, podeu registrar-vos fent servir l\'opció de :socialAccount.',
+ 'social_driver_not_found' => 'No s\'ha trobat el controlador social',
+ 'social_driver_not_configured' => 'La configuració social de :socialAccount no és correcta.',
+ 'invite_token_expired' => 'Aquest enllaç d\'invitació ha caducat. Podeu provar de restablir la contrasenya del vostre compte.',
+
+ // System
+ 'path_not_writable' => 'No s\'ha pogut pujar al camí del fitxer :filePath. Assegureu-vos que el servidor hi té permisos d\'escriptura.',
+ 'cannot_get_image_from_url' => 'No s\'ha pogut obtenir la imatge de :url',
+ 'cannot_create_thumbs' => 'El servidor no pot crear miniatures. Reviseu que tingueu instal·lada l\'extensió GD del PHP.',
+ 'server_upload_limit' => 'El servidor no permet pujades d\'aquesta mida. Proveu-ho amb una mida de fitxer més petita.',
+ 'uploaded' => 'El servidor no permet pujades d\'aquesta mida. Proveu-ho amb una mida de fitxer més petita.',
+ 'image_upload_error' => 'S\'ha produït un error en pujar la imatge',
+ 'image_upload_type_error' => 'El tipus d\'imatge que heu pujat no és vàlid',
+ 'file_upload_timeout' => 'La pujada del fitxer ha superat el temps màxim d\'espera.',
+
+ // Attachments
+ 'attachment_not_found' => 'No s\'ha trobat l\'adjunció',
+
+ // Pages
+ 'page_draft_autosave_fail' => 'No s\'ha pogut desar l\'esborrany. Assegureu-vos que tingueu connexió a Internet abans de desar la pàgina',
+ 'page_custom_home_deletion' => 'No es pot suprimir una pàgina mentre estigui definida com a pàgina d\'inici',
+
+ // Entities
+ 'entity_not_found' => 'No s\'ha trobat l\'entitat',
+ 'bookshelf_not_found' => 'No s\'ha trobat el prestatge',
+ 'book_not_found' => 'No s\'ha trobat el llibre',
+ 'page_not_found' => 'No s\'ha trobat la pàgina',
+ 'chapter_not_found' => 'No s\'ha trobat el capítol',
+ 'selected_book_not_found' => 'No s\'ha trobat el llibre seleccionat',
+ 'selected_book_chapter_not_found' => 'No s\'ha trobat el llibre o el capítol seleccionat',
+ 'guests_cannot_save_drafts' => 'Els convidats no poden desar esborranys',
+
+ // Users
+ 'users_cannot_delete_only_admin' => 'No podeu suprimir l\'únic administrador',
+ 'users_cannot_delete_guest' => 'No podeu suprimir l\'usuari convidat',
+
+ // Roles
+ 'role_cannot_be_edited' => 'Aquest rol no es pot editar',
+ 'role_system_cannot_be_deleted' => 'Aquest rol és un rol del sistema i no es pot suprimir',
+ 'role_registration_default_cannot_delete' => 'No es pot suprimir aquest rol mentre estigui definit com a rol per defecte dels registres',
+ 'role_cannot_remove_only_admin' => 'Aquest usuari és l\'únic usuari assignat al rol d\'administrador. Assigneu el rol d\'administrador a un altre usuari abans de provar de suprimir aquest.',
+
+ // Comments
+ 'comment_list' => 'S\'ha produït un error en obtenir els comentaris.',
+ 'cannot_add_comment_to_draft' => 'No podeu afegir comentaris a un esborrany.',
+ 'comment_add' => 'S\'ha produït un error en afegir o actualitzar el comentari.',
+ 'comment_delete' => 'S\'ha produït un error en suprimir el comentari.',
+ 'empty_comment' => 'No podeu afegir un comentari buit.',
+
+ // Error pages
+ '404_page_not_found' => 'No s\'ha trobat la pàgina',
+ 'sorry_page_not_found' => 'No hem pogut trobar la pàgina que cerqueu.',
+ 'sorry_page_not_found_permission_warning' => 'Si esperàveu que existís, és possible que no tingueu permisos per a veure-la.',
+ 'image_not_found' => 'Image Not Found',
+ 'image_not_found_subtitle' => 'Sorry, The image file you were looking for could not be found.',
+ 'image_not_found_details' => 'If you expected this image to exist it might have been deleted.',
+ 'return_home' => 'Torna a l\'inici',
+ 'error_occurred' => 'S\'ha produït un error',
+ 'app_down' => ':appName està fora de servei en aquests moments',
+ 'back_soon' => 'Tornarà a estar disponible aviat.',
+
+ // API errors
+ 'api_no_authorization_found' => 'No s\'ha trobat cap testimoni d\'autorització a la petició',
+ 'api_bad_authorization_format' => 'S\'ha trobat un testimoni d\'autorització a la petició però el format sembla erroni',
+ 'api_user_token_not_found' => 'No s\'ha trobat cap testimoni d\'API per al testimoni d\'autorització proporcionat',
+ 'api_incorrect_token_secret' => 'El secret proporcionat per al testimoni d\'API proporcionat és incorrecte',
+ 'api_user_no_api_permission' => 'El propietari del testimoni d\'API utilitzat no té permís per a fer crides a l\'API',
+ 'api_user_token_expired' => 'El testimoni d\'autorització utilitzat ha caducat',
+
+ // Settings & Maintenance
+ 'maintenance_test_email_failure' => 'S\'ha produït un error en enviar un correu electrònic de prova:',
+
+];
--- /dev/null
+<?php
+/**
+ * Pagination Language Lines
+ * The following language lines are used by the paginator library to build
+ * the simple pagination links.
+ */
+return [
+
+ 'previous' => '« Anterior',
+ 'next' => 'Següent »',
+
+];
--- /dev/null
+<?php
+/**
+ * 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.
+ */
+return [
+
+ 'password' => 'Les contrasenyes han de tenir com a mínim vuit caràcters i la confirmació ha de coincidir.',
+ 'user' => "No s'ha trobat cap usuari amb aquest correu electrònic.",
+ 'token' => 'El token de restabliment de contrasenya no és vàlid per aquest correu electrònic.',
+ 'sent' => 'T\'hem enviat un enllaç per a restablir la contrasenya!',
+ 'reset' => 'S\'ha restablert la teva contrasenya!',
+
+];
--- /dev/null
+<?php
+/**
+ * Settings text strings
+ * Contains all text strings used in the general settings sections of BookStack
+ * including users and roles.
+ */
+return [
+
+ // Common Messages
+ 'settings' => 'Configuració',
+ 'settings_save' => 'Desa la configuració',
+ 'settings_save_success' => 'S\'ha desat la configuració',
+
+ // App Settings
+ 'app_customization' => 'Personalització',
+ 'app_features_security' => 'Funcionalitats i seguretat',
+ 'app_name' => 'Nom de l\'aplicació',
+ 'app_name_desc' => 'Aquest nom es mostra a la capçalera i en tots els correus electrònics enviats pel sistema.',
+ 'app_name_header' => 'Mostra el nom a la capçalera',
+ 'app_public_access' => 'Accés públic',
+ 'app_public_access_desc' => 'Si activeu aquesta opció, es permetrà que els visitants que no hagin iniciat la sessió accedeixin al contingut de la vostra instància del BookStack.',
+ 'app_public_access_desc_guest' => 'Podeu controlar l\'accés dels visitants públics amb l\'usuari "Convidat".',
+ 'app_public_access_toggle' => 'Permet l\'accés públic',
+ 'app_public_viewing' => 'Voleu permetre la visualització pública?',
+ 'app_secure_images' => 'Pujades d\'imatges amb més seguretat',
+ 'app_secure_images_toggle' => 'Activa les pujades d\'imatges amb més seguretat',
+ 'app_secure_images_desc' => 'Per motius de rendiment, totes les imatges són públiques. Aquesta opció afegeix una cadena aleatòria i difícil d\'endevinar al davant dels URL d\'imatges. Assegureu-vos que els índexs de directoris no estiguin activats per a evitar-hi l\'accés de manera fàcil.',
+ 'app_editor' => 'Editor de pàgines',
+ 'app_editor_desc' => 'Seleccioneu quin editor faran servir tots els usuaris per a editar les pàgines.',
+ 'app_custom_html' => 'Contingut personalitzat a la capçalera HTML',
+ 'app_custom_html_desc' => 'Aquí podeu afegir contingut que s\'inserirà a la part final de la secció <head> de cada pàgina. És útil per a sobreescriure estils o afegir-hi codi d\'analítiques.',
+ 'app_custom_html_disabled_notice' => 'El contingut personalitzat a la capçalera HTML es desactiva en aquesta pàgina de la configuració per a assegurar que qualsevol canvi que trenqui el web es pugui desfer.',
+ 'app_logo' => 'Logo de l\'aplicació',
+ 'app_logo_desc' => 'Aquesta imatge hauria de tenir 43 px d\'alçada. <br>Les imatges grosses es reduiran.',
+ 'app_primary_color' => 'Color primari de l\'aplicació',
+ 'app_primary_color_desc' => 'Defineix el color primari de l\'aplicació, incloent-hi la part superior, els botons i els enllaços.',
+ 'app_homepage' => 'Pàgina d\'inici de l\'aplicació',
+ 'app_homepage_desc' => 'Seleccioneu la visualització que es mostrarà a la pàgina d\'inici en lloc de la visualització per defecte. Els permisos de pàgines s\'ignoraran per a les pàgines seleccionades.',
+ 'app_homepage_select' => 'Selecciona una pàgina',
+ 'app_footer_links' => 'Enllaços al peu de pàgina',
+ 'app_footer_links_desc' => 'Afegiu enllaços que es mostraran al peu de pàgina del lloc. Es mostraran a la part inferior de la majoria de pàgines, incloent-hi les que no requereixen iniciar la sessió. Podeu utilitzar l\'etiqueta "trans::<clau>" per a fer servir traduccions definides pel sistema. Per exemple, si feu servir "trans::common.privacy_policy", es mostrarà el text traduït "Política de privadesa", i amb "trans::common.terms_of_service" es mostrarà el text traduït "Condicions del servei".',
+ 'app_footer_links_label' => 'Etiqueta de l\'enllaç',
+ 'app_footer_links_url' => 'URL de l\'enllaç',
+ 'app_footer_links_add' => 'Afegeix un enllaç al peu de pàgina',
+ 'app_disable_comments' => 'Desactiva els comentaris',
+ 'app_disable_comments_toggle' => 'Desactiva els comentaris',
+ 'app_disable_comments_desc' => 'Desactiva els comentaris a totes les pàgines de l\'aplicació. <br> Els comentaris existents no es mostraran.',
+
+ // Color settings
+ 'content_colors' => 'Colors del contingut',
+ 'content_colors_desc' => 'Defineix els colors de tots els elements de la jerarquia d\'organització de pàgines. És recomanable triar colors amb una brillantor semblant als colors per defecte per a mantenir-ne la llegibilitat.',
+ 'bookshelf_color' => 'Color dels prestatges',
+ 'book_color' => 'Color dels llibres',
+ 'chapter_color' => 'Color dels capítols',
+ 'page_color' => 'Color de les pàgines',
+ 'page_draft_color' => 'Color dels esborranys de pàgines',
+
+ // Registration Settings
+ 'reg_settings' => 'Registre',
+ 'reg_enable' => 'Activa el registre d\'usuaris',
+ 'reg_enable_toggle' => 'Activa el registre d\'usuaris',
+ 'reg_enable_desc' => 'Si els registres estan activats, els usuaris podran registrar-se ells mateixos com a usuaris de l\'aplicació. Un cop registrats, se\'ls assigna un únic rol d\'usuari per defecte.',
+ 'reg_default_role' => 'Rol d\'usuari per defecte en registrar-se',
+ 'reg_enable_external_warning' => 'L\'opció anterior s\'ignora quan hi ha activada l\'autenticació SAML o LDAP externa. Els comptes d\'usuari de membres inexistents es creada automàticament si l\'autenticació contra el sistema extern és satisfactòria.',
+ 'reg_email_confirmation' => 'Confirmació de correu electrònic',
+ 'reg_email_confirmation_toggle' => 'Requereix la confirmació per correu electrònic',
+ 'reg_confirm_email_desc' => 'Si s\'utilitza la restricció de dominis, serà obligatòria la confirmació per correu electrònic, i s\'ignorarà aquesta opció.',
+ 'reg_confirm_restrict_domain' => 'Restricció de dominis',
+ 'reg_confirm_restrict_domain_desc' => 'Introduïu una llista separada per comes de dominis de correu electrònic als quals voleu restringir els registres. S\'enviarà un correu electrònic als usuaris perquè confirmin la seva adreça abans de permetre\'ls interactuar amb l\'aplicació. <br> Tingueu en compte que els usuaris podran canviar les seves adreces electròniques després de registrar-se correctament.',
+ 'reg_confirm_restrict_domain_placeholder' => 'No hi ha cap restricció',
+
+ // Maintenance settings
+ 'maint' => 'Manteniment',
+ 'maint_image_cleanup' => 'Neteja les imatges',
+ 'maint_image_cleanup_desc' => "Escaneja el contingut de les pàgines i les revisions per a comprovar quines imatges i diagrames estan en ús actualment i quines imatges són redundants. Assegureu-vos de crear una còpia de seguretat completa de la base de dades i de les imatges abans d'executar això.",
+ 'maint_delete_images_only_in_revisions' => 'Suprimeix també les imatges que només existeixin en revisions antigues de pàgines',
+ 'maint_image_cleanup_run' => 'Executa la neteja',
+ 'maint_image_cleanup_warning' => 'S\'han trobat :count imatges potencialment no utilitzades. Segur que voleu suprimir aquestes imatges?',
+ 'maint_image_cleanup_success' => 'S\'han trobat i suprimit :count imatges potencialment no utilitzades!',
+ 'maint_image_cleanup_nothing_found' => 'No s\'ha trobat cap imatge no utilitzada, i no s\'ha suprimit res!',
+ 'maint_send_test_email' => 'Envia un correu electrònic de prova',
+ 'maint_send_test_email_desc' => 'Envia un correu electrònic de prova a l\'adreça electrònica que hàgiu especificat al perfil.',
+ 'maint_send_test_email_run' => 'Envia el correu electrònic de prova',
+ 'maint_send_test_email_success' => 'S\'ha enviat el correu electrònic a :address',
+ 'maint_send_test_email_mail_subject' => 'Correu electrònic de prova',
+ 'maint_send_test_email_mail_greeting' => 'El lliurament de correus electrònics sembla que funciona!',
+ 'maint_send_test_email_mail_text' => 'Enhorabona! Com que heu rebut aquesta notificació per correu electrònic, la vostra configuració del correu electrònic sembla que està ben configurada.',
+ 'maint_recycle_bin_desc' => 'Els prestatges, llibres, capítols i pàgines eliminats s\'envien a la paperera de reciclatge perquè es puguin restaurar o suprimir de manera permanent. Pot ser que els elements més antics de la paperera de reciclatge se suprimeixin automàticament després d\'un temps, depenent de la configuració del sistema.',
+ 'maint_recycle_bin_open' => 'Obre la paperera de reciclatge',
+
+ // Recycle Bin
+ 'recycle_bin' => 'Paperera de reciclatge',
+ 'recycle_bin_desc' => 'Aquí podeu restaurar els elements que hàgiu suprimit o triar suprimir-los del sistema de manera permanent. Aquesta llista no té cap filtre, al contrari que altres llistes d\'activitat similars en què es tenen en compte els filtres de permisos.',
+ 'recycle_bin_deleted_item' => 'Element suprimit',
+ 'recycle_bin_deleted_by' => 'Suprimit per',
+ 'recycle_bin_deleted_at' => 'Moment de la supressió',
+ 'recycle_bin_permanently_delete' => 'Suprimeix permanentment',
+ 'recycle_bin_restore' => 'Restaura',
+ 'recycle_bin_contents_empty' => 'La paperera de reciclatge és buida',
+ 'recycle_bin_empty' => 'Buida la paperera de reciclatge',
+ 'recycle_bin_empty_confirm' => 'Se suprimiran de manera permanent tots els elements de la paperera de reciclatge, incloent-hi el contingut dins de cada element. Segur que voleu buidar la paperera de reciclatge?',
+ 'recycle_bin_destroy_confirm' => 'Aquesta acció suprimirà del sistema de manera permanent aquest element, juntament amb tots els elements fills que es llisten a sota, i no podreu restaurar aquest contingut. Segur que voleu suprimir de manera permanent aquest element?',
+ 'recycle_bin_destroy_list' => 'Elements que es destruiran',
+ 'recycle_bin_restore_list' => 'Elements que es restauraran',
+ 'recycle_bin_restore_confirm' => 'Aquesta acció restaurarà l\'element suprimit, incloent-hi tots els elements fills, a la seva ubicació original. Si la ubicació original ha estat suprimida, i ara és a la paperera de reciclatge, caldrà que també en restaureu l\'element pare.',
+ 'recycle_bin_restore_deleted_parent' => 'El pare d\'aquest element també ha estat suprimit. L\'element es mantindrà suprimit fins que el pare també es restauri.',
+ 'recycle_bin_destroy_notification' => 'S\'han suprimit :count elements en total de la paperera de reciclatge.',
+ 'recycle_bin_restore_notification' => 'S\'han restaurat :count elements en total de la paperera de reciclatge.',
+
+ // Audit Log
+ 'audit' => 'Registre d\'auditoria',
+ 'audit_desc' => 'Aquest registre d\'auditoria mostra una llista d\'activitats registrades al sistema. Aquesta llista no té cap filtre, al contrari que altres llistes d\'activitat similars en què es tenen en compte els filtres de permisos.',
+ 'audit_event_filter' => 'Filtre d\'esdeveniments',
+ 'audit_event_filter_no_filter' => 'Sense filtre',
+ 'audit_deleted_item' => 'Element suprimit',
+ 'audit_deleted_item_name' => 'Nom: :name',
+ 'audit_table_user' => 'Usuari',
+ 'audit_table_event' => 'Esdeveniment',
+ 'audit_table_related' => 'Element relacionat o detall',
+ 'audit_table_date' => 'Data de l\'activitat',
+ 'audit_date_from' => 'Rang de dates a partir de',
+ 'audit_date_to' => 'Rang de rates fins a',
+
+ // Role Settings
+ 'roles' => 'Rols',
+ 'role_user_roles' => 'Rols d\'usuari',
+ 'role_create' => 'Crea un rol nou',
+ 'role_create_success' => 'Rol creat correctament',
+ 'role_delete' => 'Suprimeix el rol',
+ 'role_delete_confirm' => 'Se suprimirà el rol amb el nom \':roleName\'.',
+ 'role_delete_users_assigned' => 'Aquest rol té :userCount usuaris assignats. Si voleu migrar els usuaris d\'aquest rol, seleccioneu un rol nou a continuació.',
+ 'role_delete_no_migration' => "No migris els usuaris",
+ 'role_delete_sure' => 'Segur que voleu suprimir aquest rol?',
+ 'role_delete_success' => 'Rol suprimit correctament',
+ 'role_edit' => 'Edita el rol',
+ 'role_details' => 'Detalls del rol',
+ 'role_name' => 'Nom del rol',
+ 'role_desc' => 'Descripció curta del rol',
+ 'role_external_auth_id' => 'Identificadors d\'autenticació externa',
+ 'role_system' => 'Permisos del sistema',
+ 'role_manage_users' => 'Gestiona usuaris',
+ 'role_manage_roles' => 'Gestiona rols i permisos de rols',
+ 'role_manage_entity_permissions' => 'Gestiona els permisos de tots els llibres, capítols i pàgines',
+ 'role_manage_own_entity_permissions' => 'Gestiona els permisos dels llibres, capítols i pàgines propis',
+ 'role_manage_page_templates' => 'Gestiona les plantilles de pàgines',
+ 'role_access_api' => 'Accedeix a l\'API del sistema',
+ 'role_manage_settings' => 'Gestiona la configuració de l\'aplicació',
+ 'role_asset' => 'Permisos de recursos',
+ 'roles_system_warning' => 'Tingueu en compte que l\'accés a qualsevol dels tres permisos de dalt pot permetre que un usuari alteri els seus propis permisos o els privilegis d\'altres usuaris del sistema. Assigneu rols amb aquests permisos només a usuaris de confiança.',
+ 'role_asset_desc' => 'Aquests permisos controlen l\'accés per defecte als recursos del sistema. Els permisos de llibres, capítols i pàgines tindran més importància que aquests permisos.',
+ 'role_asset_admins' => 'Els administradors tenen accés automàticament a tot el contingut, però aquestes opcions poden mostrar o amagar opcions de la interfície d\'usuari.',
+ 'role_all' => 'Tot',
+ 'role_own' => 'Propi',
+ 'role_controlled_by_asset' => 'Controlat pel recurs en què es pugen',
+ 'role_save' => 'Desa el rol',
+ 'role_update_success' => 'Rol actualitzat correctament',
+ 'role_users' => 'Usuaris amb aquest rol',
+ 'role_users_none' => 'Ara mateix no hi ha cap usuari assignat a aquest rol',
+
+ // Users
+ 'users' => 'Usuaris',
+ 'user_profile' => 'Perfil de l\'usuari',
+ 'users_add_new' => 'Afegeix un usuari nou',
+ 'users_search' => 'Cerca usuaris',
+ 'users_latest_activity' => 'Darrera activitat',
+ 'users_details' => 'Detalls de l\'usuari',
+ 'users_details_desc' => 'Definiu un nom públic i una adreça electrònica per a aquest usuari. L\'adreça electrònica es farà servir per a iniciar la sessió a l\'aplicació.',
+ 'users_details_desc_no_email' => 'Definiu un nom públic per a aquest usuari perquè els altres el puguin reconèixer.',
+ 'users_role' => 'Rols de l\'usuari',
+ 'users_role_desc' => 'Seleccioneu a quins rols s\'assignarà l\'usuari. Si un usuari s\'assigna a múltiples rols, els permisos dels rols s\'acumularan i l\'usuari rebrà tots els permisos dels rols assignats.',
+ 'users_password' => 'Contrasenya de l\'usuari',
+ 'users_password_desc' => 'Definiu una contrasenya per a iniciar la sessió a l\'aplicació. Cal que tingui un mínim de 6 caràcters.',
+ 'users_send_invite_text' => 'Podeu elegir enviar un correu d\'invitació a aquest usuari, la qual cosa li permetrà definir la seva contrasenya, o podeu definir-li una contrasenya vós.',
+ 'users_send_invite_option' => 'Envia un correu d\'invitació a l\'usuari',
+ 'users_external_auth_id' => 'Identificador d\'autenticació extern',
+ 'users_external_auth_id_desc' => 'Aquest és l\'identificador que s\'utilitza per a enllaçar aquest usuari en comunicar amb el sistema d\'autenticació extern.',
+ 'users_password_warning' => 'Ompliu-ho només si voleu canviar la vostra contrasenya.',
+ 'users_system_public' => 'Aquest usuari representa qualsevol usuari convidat que visita la vostra instància. No es pot fer servir per a iniciar la sessió però s\'assigna automàticament.',
+ 'users_delete' => 'Suprimeix l\'usuari',
+ 'users_delete_named' => 'Suprimeix l\'usuari :userName',
+ 'users_delete_warning' => 'Se suprimirà completament del sistema l\'usuari amb el nom \':userName\'.',
+ 'users_delete_confirm' => 'Segur que voleu suprimir aquest usuari?',
+ 'users_migrate_ownership' => 'Migra l\'autoria',
+ 'users_migrate_ownership_desc' => 'Seleccioneu un usuari si voleu que un altre usuari esdevingui el propietari de tots els elements que ara són propietat d\'aquest usuari.',
+ 'users_none_selected' => 'No hi ha cap usuari seleccionat',
+ 'users_delete_success' => 'Usuari suprimit correctament',
+ 'users_edit' => 'Edita l\'usuari',
+ 'users_edit_profile' => 'Edita el perfil',
+ 'users_edit_success' => 'Usuari actualitzat correctament',
+ 'users_avatar' => 'Avatar de l\'usuari',
+ 'users_avatar_desc' => 'Seleccioneu una imatge que representi aquest usuari. Hauria de ser un quadrat d\'aproximadament 256 px.',
+ 'users_preferred_language' => 'Llengua preferida',
+ 'users_preferred_language_desc' => 'Aquesta opció canviarà la llengua utilitzada a la interfície d\'usuari de l\'aplicació. No afectarà el contingut creat pels usuaris.',
+ 'users_social_accounts' => 'Comptes socials',
+ 'users_social_accounts_info' => 'Aquí podeu connectar altres comptes per a un inici de sessió més ràpid i còmode. Si desconnecteu un compte aquí, no en revoqueu l\'accés d\'autorització donat amb anterioritat. Revoqueu-hi l\'accés a la configuració del perfil del compte social que hàgiu connectat.',
+ 'users_social_connect' => 'Connecta un compte',
+ 'users_social_disconnect' => 'Desconnecta el compte',
+ 'users_social_connected' => 'El compte de :socialAccount s\'ha associat correctament al vostre perfil.',
+ 'users_social_disconnected' => 'El compte de :socialAccount s\'ha desassociat correctament del vostre perfil.',
+ 'users_api_tokens' => 'Testimonis d\'API',
+ 'users_api_tokens_none' => 'No s\'ha creat cap testimoni d\'API per a aquest usuari',
+ 'users_api_tokens_create' => 'Crea un testimoni',
+ 'users_api_tokens_expires' => 'Caducitat',
+ 'users_api_tokens_docs' => 'Documentació de l\'API',
+
+ // API Tokens
+ 'user_api_token_create' => 'Crea un testimoni d\'API',
+ 'user_api_token_name' => 'Nom',
+ 'user_api_token_name_desc' => 'Poseu un nom llegible al vostre testimoni com a recordatori futur del propòsit al qual el voleu destinar.',
+ 'user_api_token_expiry' => 'Data de caducitat',
+ 'user_api_token_expiry_desc' => 'Definiu una data en què aquest testimoni caducarà. Després d\'aquesta data, les peticions fetes amb aquest testimoni deixaran de funcionar. Si deixeu aquest camp en blanc, es definirà una caducitat d\'aquí a 100 anys..',
+ 'user_api_token_create_secret_message' => 'Just després de crear aquest testimoni, es generaran i es mostraran un "Identificador del testimoni" i un "Secret del testimoni". El secret només es mostrarà una única vegada, assegureu-vos de copiar-lo a un lloc segur abans de continuar.',
+ 'user_api_token_create_success' => 'Testimoni d\'API creat correctament',
+ 'user_api_token_update_success' => 'Testimoni d\'API actualitzat correctament',
+ 'user_api_token' => 'Testimoni d\'API',
+ 'user_api_token_id' => 'Identificador del testimoni',
+ 'user_api_token_id_desc' => 'Aquest identificador és generat pel sistema per a aquest testimoni i no és editable, caldrà que el proporcioneu a les peticions a l\'API.',
+ 'user_api_token_secret' => 'Secret del testimoni',
+ 'user_api_token_secret_desc' => 'Aquest secret és generat pel sistema per a aquest testimoni, caldrà que el proporcioneu a les peticions a l\'API. Només es mostrarà aquesta única vegada, assegureu-vos de copiar-lo a un lloc segur.',
+ 'user_api_token_created' => 'Testimoni creat :timeAgo',
+ 'user_api_token_updated' => 'Testimoni actualitzat :timeAgo',
+ 'user_api_token_delete' => 'Suprimeix el testimoni',
+ 'user_api_token_delete_warning' => 'Se suprimirà completament del sistema aquest testimoni d\'API amb el nom \':tokenName\'.',
+ 'user_api_token_delete_confirm' => 'Segur que voleu suprimir aquest testimoni d\'API?',
+ 'user_api_token_delete_success' => 'Testimoni d\'API suprimit correctament',
+
+ //! If editing translations files directly please ignore this in all
+ //! languages apart from en. Content will be auto-copied from en.
+ //!////////////////////////////////
+ 'language_select' => [
+ 'en' => 'English',
+ 'ar' => 'العربية',
+ 'bg' => 'Bǎlgarski',
+ 'bs' => 'Bosanski',
+ 'ca' => 'Català',
+ 'cs' => 'Česky',
+ 'da' => 'Dansk',
+ 'de' => 'Deutsch (Sie)',
+ 'de_informal' => 'Deutsch (Du)',
+ 'es' => 'Español',
+ 'es_AR' => 'Español Argentina',
+ 'fr' => 'Français',
+ 'he' => 'עברית',
+ 'hr' => 'Hrvatski',
+ 'hu' => 'Magyar',
+ 'id' => 'Bahasa Indonesia',
+ 'it' => 'Italian',
+ 'ja' => '日本語',
+ 'ko' => '한국어',
+ 'lv' => 'Latviešu Valoda',
+ 'nl' => 'Nederlands',
+ 'nb' => 'Norsk (Bokmål)',
+ 'pl' => 'Polski',
+ 'pt' => 'Português',
+ 'pt_BR' => 'Português do Brasil',
+ 'ru' => 'Русский',
+ 'sk' => 'Slovensky',
+ 'sl' => 'Slovenščina',
+ 'sv' => 'Svenska',
+ 'tr' => 'Türkçe',
+ 'uk' => 'Українська',
+ 'vi' => 'Tiếng Việt',
+ 'zh_CN' => '简体中文',
+ 'zh_TW' => '繁體中文',
+ ]
+ //!////////////////////////////////
+];
--- /dev/null
+<?php
+/**
+ * Validation Lines
+ * The following language lines contain the default error messages used by
+ * the validator class. Some of these rules have multiple versions such
+ * as the size rules. Feel free to tweak each of these messages here.
+ */
+return [
+
+ // Standard laravel validation lines
+ 'accepted' => 'Cal que acceptis :attribute.',
+ 'active_url' => 'L\':attribute no és un URL vàlid.',
+ 'after' => 'El camp :attribute ha de ser una data posterior a :date.',
+ 'alpha' => 'El camp :attribute només pot contenir lletres.',
+ 'alpha_dash' => 'El camp :attribute només pot contenir lletres, números, guions i guions baixos.',
+ 'alpha_num' => 'El camp :attribute només pot contenir lletres i números.',
+ 'array' => 'El camp :attribute ha de ser un vector.',
+ 'before' => 'El camp :attribute ha de ser una data anterior a :date.',
+ 'between' => [
+ 'numeric' => 'El camp :attribute ha d\'estar entre :min i :max.',
+ 'file' => 'El camp :attribute ha de tenir entre :min i :max kilobytes.',
+ 'string' => 'El camp :attribute ha de tenir entre :min i :max caràcters.',
+ 'array' => 'El camp :attribute ha de tenir entre :min i :max elements.',
+ ],
+ 'boolean' => 'El camp :attribute ha de ser cert o fals.',
+ 'confirmed' => 'La confirmació del camp :attribute no coincideix.',
+ 'date' => 'El camp :attribute no és una data vàlida.',
+ 'date_format' => 'El camp :attribute no coincideix amb el format :format.',
+ 'different' => 'Els camps :attribute i :other han de ser diferents.',
+ 'digits' => 'El camp :attribute ha de tenir :digits dígits.',
+ 'digits_between' => 'El camp :attribute ha de tenir entre :min i :max dígits.',
+ 'email' => 'El camp :attribute ha de ser una adreça electrònica vàlida.',
+ 'ends_with' => 'El camp :attribute ha d\'acabar amb un dels següents valors: :values',
+ 'filled' => 'El camp :attribute és obligatori.',
+ 'gt' => [
+ 'numeric' => 'El camp :attribute ha de ser més gran que :value.',
+ 'file' => 'El camp :attribute ha de tenir més de :value kilobytes.',
+ 'string' => 'El camp :attribute ha de tenir més de :value caràcters.',
+ 'array' => 'El camp :attribute ha de tenir més de :value elements.',
+ ],
+ 'gte' => [
+ 'numeric' => 'El camp :attribute ha de ser més gran o igual que :value.',
+ 'file' => 'El camp :attribute ha de tenir :value kilobytes o més.',
+ 'string' => 'El camp :attribute ha de tenir :value caràcters o més.',
+ 'array' => 'El camp :attribute ha de tenir :value elements o més.',
+ ],
+ 'exists' => 'El camp :attribute no és vàlid.',
+ 'image' => 'El camp :attribute ha de ser una imatge.',
+ 'image_extension' => 'El camp :attribute ha de tenir una extensió d\'imatge vàlida i suportada.',
+ 'in' => 'El camp :attribute seleccionat no és vàlid.',
+ 'integer' => 'El camp :attribute ha de ser un enter.',
+ 'ip' => 'El camp :attribute ha de ser una adreça IP vàlida.',
+ 'ipv4' => 'El camp :attribute ha de ser una adreça IPv4 vàlida.',
+ 'ipv6' => 'El camp :attribute ha de ser una adreça IPv6 vàlida.',
+ 'json' => 'El camp :attribute ha de ser una cadena JSON vàlida.',
+ 'lt' => [
+ 'numeric' => 'El camp :attribute ha de ser menor que :value.',
+ 'file' => 'El camp :attribute ha de tenir menys de :value kilobytes.',
+ 'string' => 'El camp :attribute ha de tenir menys de :value caràcters.',
+ 'array' => 'El camp :attribute ha de tenir menys de :value elements.',
+ ],
+ 'lte' => [
+ 'numeric' => 'El camp :attribute ha de ser més petit o igual que :value.',
+ 'file' => 'El camp :attribute ha de tenir :value kilobytes o menys.',
+ 'string' => 'El camp :attribute ha de tenir :value caràcters o menys.',
+ 'array' => 'El camp :attribute ha de tenir :value elements o menys.',
+ ],
+ 'max' => [
+ 'numeric' => 'El camp :attribute no pot ser més gran que :max.',
+ 'file' => 'El camp :attribute no pot tenir més de :max kilobytes.',
+ 'string' => 'El camp :attribute no pot tenir més de :max caràcters.',
+ 'array' => 'El camp :attribute no pot tenir més de :max elements.',
+ ],
+ 'mimes' => 'El camp :attribute ha de ser un fitxer del tipus: :values.',
+ 'min' => [
+ 'numeric' => 'El camp :attribute no pot ser més petit que :min.',
+ 'file' => 'El camp :attribute no pot tenir menys de :min kilobytes.',
+ 'string' => 'El camp :attribute no pot tenir menys de :min caràcters.',
+ 'array' => 'El camp :attribute no pot tenir menys de :min elements.',
+ ],
+ 'not_in' => 'El camp :attribute seleccionat no és vàlid.',
+ 'not_regex' => 'El format del camp :attribute no és vàlid.',
+ 'numeric' => 'El camp :attribute ha de ser un número.',
+ 'regex' => 'El format del camp :attribute no és vàlid.',
+ 'required' => 'El camp :attribute és obligatori.',
+ 'required_if' => 'El camp :attribute és obligatori quan :other és :value.',
+ 'required_with' => 'El camp :attribute és obligatori quan hi ha aquest valor: :values.',
+ 'required_with_all' => 'El camp :attribute és obligatori quan hi ha algun d\'aquests valors: :values.',
+ 'required_without' => 'El camp :attribute és obligatori quan no hi ha aquest valor: :values.',
+ 'required_without_all' => 'El camp :attribute és obligatori quan no hi ha cap d\'aquests valors: :values.',
+ 'same' => 'Els camps :attribute i :other han de coincidir.',
+ 'safe_url' => 'L\'enllaç proporcionat podria no ser segur.',
+ 'size' => [
+ 'numeric' => 'El camp :attribute ha de ser :size.',
+ 'file' => 'El camp :attribute ha de tenir :size kilobytes.',
+ 'string' => 'El camp :attribute ha de tenir :size caràcters.',
+ 'array' => 'El camp :attribute ha de contenir :size elements.',
+ ],
+ 'string' => 'El camp :attribute ha de ser una cadena.',
+ 'timezone' => 'El camp :attribute ha de ser una zona vàlida.',
+ 'unique' => 'El camp :attribute ja està ocupat.',
+ 'url' => 'El format del camp :attribute no és vàlid.',
+ 'uploaded' => 'No s\'ha pogut pujar el fitxer. És possible que el servidor no accepti fitxers d\'aquesta mida.',
+
+ // Custom validation lines
+ 'custom' => [
+ 'password-confirm' => [
+ 'required_with' => 'Cal la confirmació de la contrasenya',
+ ],
+ ],
+
+ // Custom validation attributes
+ 'attributes' => [],
+];
'bookshelf_delete' => 'odstranil/a knihovnu',
'bookshelf_delete_notification' => 'Knihovna byla úspěšně odstraněna',
+ // Favourites
+ 'favourite_add_notification' => '":name" has been added to your favourites',
+ 'favourite_remove_notification' => '":name" has been removed from your favourites',
+
// Other
'commented_on' => 'okomentoval/a',
+ 'permissions_update' => 'updated permissions',
];
'remove' => 'Odebrat',
'add' => 'Přidat',
'fullscreen' => 'Celá obrazovka',
+ 'favourite' => 'Favourite',
+ 'unfavourite' => 'Unfavourite',
+ 'next' => 'Next',
+ 'previous' => 'Previous',
// Sort Options
'sort_options' => 'Možnosti řazení',
'sort_ascending' => 'Řadit vzestupně',
'sort_descending' => 'Řadit sestupně',
'sort_name' => 'Název',
+ 'sort_default' => 'Default',
'sort_created_at' => 'Datum vytvoření',
'sort_updated_at' => 'Datum aktualizace',
'breadcrumb' => 'Drobečková navigace',
// Header
+ 'header_menu_expand' => 'Expand Header Menu',
'profile_menu' => 'Nabídka profilu',
'view_profile' => 'Zobrazit profil',
'edit_profile' => 'Upravit profil',
// Layout tabs
'tab_info' => 'Informace',
+ 'tab_info_label' => 'Tab: Show Secondary Information',
'tab_content' => 'Obsah',
+ 'tab_content_label' => 'Tab: Show Primary Content',
// Email Content
'email_action_help' => 'Pokud se vám nedaří kliknout na tlačítko „:actionText“, zkopírujte a vložte níže uvedenou URL do vašeho webového prohlížeče:',
'email_rights' => 'Všechna práva vyhrazena',
+
+ // Footer Link Options
+ // Not directly used but available for convenience to users.
+ 'privacy_policy' => 'Privacy Policy',
+ 'terms_of_service' => 'Terms of Service',
];
'meta_created_name' => 'Vytvořeno :timeLength uživatelem :user',
'meta_updated' => 'Aktualizováno :timeLength',
'meta_updated_name' => 'Aktualizováno :timeLength uživatelem :user',
+ 'meta_owned_name' => 'Owned by :user',
'entity_select' => 'Výběr entity',
'images' => 'Obrázky',
'my_recent_drafts' => 'Mé nedávné koncepty',
'my_recently_viewed' => 'Mé nedávno zobrazené',
+ 'my_most_viewed_favourites' => 'My Most Viewed Favourites',
+ 'my_favourites' => 'My Favourites',
'no_pages_viewed' => 'Nezobrazili jste žádné stránky',
'no_pages_recently_created' => 'Nedávno nebyly vytvořeny žádné stránky',
'no_pages_recently_updated' => 'Nedávno nebyly aktualizovány žádné stránky',
'permissions_intro' => 'Pokud je povoleno, tato oprávnění budou mít přednost před všemi nastavenými oprávněními role.',
'permissions_enable' => 'Povolit vlastní oprávnění',
'permissions_save' => 'Uložit oprávnění',
+ 'permissions_owner' => 'Owner',
// Search
'search_results' => 'Výsledky hledání',
'search_permissions_set' => 'Sada oprávnění',
'search_created_by_me' => 'Vytvořeno mnou',
'search_updated_by_me' => 'Aktualizováno mnou',
+ 'search_owned_by_me' => 'Owned by me',
'search_date_options' => 'Možnosti data',
'search_updated_before' => 'Aktualizováno před',
'search_updated_after' => 'Aktualizováno po',
'chapters_create' => 'Vytvořit novou kapitolu',
'chapters_delete' => 'Smazat kapitolu',
'chapters_delete_named' => 'Smazat kapitolu :chapterName',
- 'chapters_delete_explain' => 'Kapitola \':chapterName\' bude smazána. Všechny stránky v ní obsažené budou přesunuty přímo pod samotnou knihu.',
+ 'chapters_delete_explain' => 'This will delete the chapter with the name \':chapterName\'. All pages that exist within this chapter will also be deleted.',
'chapters_delete_confirm' => 'Opravdu chcete tuto kapitolu smazat?',
'chapters_edit' => 'Upravit kapitolu',
'chapters_edit_named' => 'Upravit kapitolu :chapterName',
'pages_revisions' => 'Revize stránky',
'pages_revisions_named' => 'Revize stránky pro :pageName',
'pages_revision_named' => 'Revize stránky pro :pageName',
+ 'pages_revision_restored_from' => 'Restored from #:id; :summary',
'pages_revisions_created_by' => 'Vytvořeno uživatelem',
'pages_revisions_date' => 'Datum revize',
'pages_revisions_number' => 'Č.',
'revision_restore_confirm' => 'Jste si jisti, že chcete obnovit tuto revizi? Aktuální obsah stránky bude nahrazen.',
'revision_delete_success' => 'Revize smazána',
'revision_cannot_delete_latest' => 'Nelze smazat poslední revizi.'
-];
\ No newline at end of file
+];
'404_page_not_found' => 'Stránka nenalezena',
'sorry_page_not_found' => 'Omlouváme se, ale stránka, kterou hledáte nebyla nalezena.',
'sorry_page_not_found_permission_warning' => 'Pokud očekáváte, že by stránka měla existovat, možná jen nemáte oprávnění pro její zobrazení.',
+ 'image_not_found' => 'Image Not Found',
+ 'image_not_found_subtitle' => 'Sorry, The image file you were looking for could not be found.',
+ 'image_not_found_details' => 'If you expected this image to exist it might have been deleted.',
'return_home' => 'Návrat domů',
'error_occurred' => 'Nastala chyba',
'app_down' => ':appName je momentálně vypnutá',
'app_homepage' => 'Úvodní stránka aplikace',
'app_homepage_desc' => 'Vyberte si zobrazení, které se použije jako úvodní stránka. U zvolených stránek bude ignorováno jejich oprávnění.',
'app_homepage_select' => 'Zvolte stránku',
+ 'app_footer_links' => 'Footer Links',
+ 'app_footer_links_desc' => 'Add links to show within the site footer. These will be displayed at the bottom of most pages, including those that do not require login. You can use a label of "trans::<key>" to use system-defined translations. For example: Using "trans::common.privacy_policy" will provide the translated text "Privacy Policy" and "trans::common.terms_of_service" will provide the translated text "Terms of Service".',
+ 'app_footer_links_label' => 'Link Label',
+ 'app_footer_links_url' => 'Link URL',
+ 'app_footer_links_add' => 'Add Footer Link',
'app_disable_comments' => 'Vypnutí komentářů',
'app_disable_comments_toggle' => 'Vypnout komentáře',
'app_disable_comments_desc' => 'Vypne komentáře napříč všemi stránkami. <br> Existující komentáře se přestanou zobrazovat.',
'maint' => 'Údržba',
'maint_image_cleanup' => 'Pročistění obrázků',
'maint_image_cleanup_desc' => "Prohledá stránky a jejich revize, aby zjistil, které obrázky a kresby jsou momentálně používány a které jsou zbytečné. Zajistěte plnou zálohu databáze a obrázků než se do toho pustíte.",
- 'maint_image_cleanup_ignore_revisions' => 'Ignorovat obrázky v revizích',
+ 'maint_delete_images_only_in_revisions' => 'Also delete images that only exist in old page revisions',
'maint_image_cleanup_run' => 'Spustit pročištění',
'maint_image_cleanup_warning' => 'Nalezeno :count potenciálně nepoužitých obrázků. Jste si jistí, že je chcete smazat?',
'maint_image_cleanup_success' => 'Potenciálně nepoužité obrázky byly smazány. Celkem :count.',
'maint_send_test_email_mail_subject' => 'Testovací e-mail',
'maint_send_test_email_mail_greeting' => 'Zdá se, že posílání e-mailů funguje!',
'maint_send_test_email_mail_text' => 'Gratulujeme! Protože jste dostali tento e-mail, zdá se, že nastavení e-mailů je v pořádku.',
+ 'maint_recycle_bin_desc' => 'Deleted shelves, books, chapters & pages are sent to the recycle bin so they can be restored or permanently deleted. Older items in the recycle bin may be automatically removed after a while depending on system configuration.',
+ 'maint_recycle_bin_open' => 'Open Recycle Bin',
+
+ // Recycle Bin
+ 'recycle_bin' => 'Recycle Bin',
+ 'recycle_bin_desc' => 'Here you can restore items that have been deleted or choose to permanently remove them from the system. This list is unfiltered unlike similar activity lists in the system where permission filters are applied.',
+ 'recycle_bin_deleted_item' => 'Deleted Item',
+ 'recycle_bin_deleted_by' => 'Deleted By',
+ 'recycle_bin_deleted_at' => 'Deletion Time',
+ 'recycle_bin_permanently_delete' => 'Permanently Delete',
+ 'recycle_bin_restore' => 'Restore',
+ 'recycle_bin_contents_empty' => 'The recycle bin is currently empty',
+ 'recycle_bin_empty' => 'Empty Recycle Bin',
+ 'recycle_bin_empty_confirm' => 'This will permanently destroy all items in the recycle bin including content contained within each item. Are you sure you want to empty the recycle bin?',
+ 'recycle_bin_destroy_confirm' => 'This action will permanently delete this item, along with any child elements listed below, from the system and you will not be able to restore this content. Are you sure you want to permanently delete this item?',
+ 'recycle_bin_destroy_list' => 'Items to be Destroyed',
+ 'recycle_bin_restore_list' => 'Items to be Restored',
+ 'recycle_bin_restore_confirm' => 'This action will restore the deleted item, including any child elements, to their original location. If the original location has since been deleted, and is now in the recycle bin, the parent item will also need to be restored.',
+ 'recycle_bin_restore_deleted_parent' => 'The parent of this item has also been deleted. These will remain deleted until that parent is also restored.',
+ 'recycle_bin_destroy_notification' => 'Deleted :count total items from the recycle bin.',
+ 'recycle_bin_restore_notification' => 'Restored :count total items from the recycle bin.',
// Audit Log
'audit' => 'Protokol auditu',
'audit_deleted_item_name' => 'Jméno: :name',
'audit_table_user' => 'Uživatel',
'audit_table_event' => 'Událost',
- 'audit_table_item' => 'Související položka',
+ 'audit_table_related' => 'Related Item or Detail',
'audit_table_date' => 'Datum aktivity',
'audit_date_from' => 'Časový rozsah od',
'audit_date_to' => 'Časový rozsah do',
'user_profile' => 'Profil uživatele',
'users_add_new' => 'Přidat nového uživatele',
'users_search' => 'Vyhledávání uživatelů',
+ 'users_latest_activity' => 'Latest Activity',
'users_details' => 'Údaje o uživateli',
'users_details_desc' => 'Nastavte zobrazované jméno a e-mailovou adresu pro tohoto uživatele. E-mailová adresa bude použita pro přihlášení do aplikace.',
'users_details_desc_no_email' => 'Nastavte zobrazované jméno pro tohoto uživatele, aby jej ostatní uživatele poznali.',
'users_delete_named' => 'Odstranit uživatele :userName',
'users_delete_warning' => 'Uživatel \':userName\' bude zcela smazán ze systému.',
'users_delete_confirm' => 'Opravdu chcete tohoto uživatele smazat?',
- 'users_delete_success' => 'Uživatel byl úspěšně smazán',
+ 'users_migrate_ownership' => 'Migrate Ownership',
+ 'users_migrate_ownership_desc' => 'Select a user here if you want another user to become the owner of all items currently owned by this user.',
+ 'users_none_selected' => 'No user selected',
+ 'users_delete_success' => 'User successfully removed',
'users_edit' => 'Upravit uživatele',
'users_edit_profile' => 'Upravit profil',
'users_edit_success' => 'Uživatel byl úspěšně aktualizován',
'en' => 'English',
'ar' => 'العربية',
'bg' => 'Bǎlgarski',
+ 'bs' => 'Bosanski',
+ 'ca' => 'Català',
'cs' => 'Česky',
'da' => 'Dansk',
'de' => 'Deutsch (Sie)',
'es_AR' => 'Español Argentina',
'fr' => 'Français',
'he' => 'עברית',
+ 'hr' => 'Hrvatski',
'hu' => 'Magyar',
+ 'id' => 'Bahasa Indonesia',
'it' => 'Italian',
'ja' => '日本語',
'ko' => '한국어',
+ 'lv' => 'Latviešu Valoda',
'nl' => 'Nederlands',
+ 'nb' => 'Norsk (Bokmål)',
'pl' => 'Polski',
+ 'pt' => 'Português',
'pt_BR' => 'Português do Brasil',
'ru' => 'Русский',
'sk' => 'Slovensky',
'string' => ':attribute musí být delší než :min znaků.',
'array' => ':attribute musí obsahovat více než :min prvků.',
],
- 'no_double_extension' => ':attribute musí obsahovat pouze jednu příponu souboru.',
'not_in' => 'Zvolená hodnota pro :attribute je neplatná.',
'not_regex' => ':attribute musí být regulární výraz.',
'numeric' => ':attribute musí být číslo.',
'required_without' => ':attribute musí být vyplněno pokud :values není vyplněno.',
'required_without_all' => ':attribute musí být vyplněno pokud není žádné z :values zvoleno.',
'same' => ':attribute a :other se musí shodovat.',
+ 'safe_url' => 'The provided link may not be safe.',
'size' => [
'numeric' => ':attribute musí být přesně :size.',
'file' => ':attribute musí mít přesně :size Kilobytů.',
'chapter_create' => 'oprettede kapitel',
'chapter_create_notification' => 'Kapitel blev oprettet',
'chapter_update' => 'opdaterede kapitel',
- 'chapter_update_notification' => 'Kapitel blev opdateret',
+ 'chapter_update_notification' => 'Kapitlet blev opdateret',
'chapter_delete' => 'slettede kapitel',
'chapter_delete_notification' => 'Kapitel blev slettet',
'chapter_move' => 'flyttede kapitel',
'bookshelf_delete' => 'slettede bogreol',
'bookshelf_delete_notification' => 'Bogreolen blev opdateret',
+ // Favourites
+ 'favourite_add_notification' => '":name" has been added to your favourites',
+ 'favourite_remove_notification' => '":name" has been removed from your favourites',
+
// Other
'commented_on' => 'kommenterede til',
+ 'permissions_update' => 'Tilladelser opdateret',
];
*/
return [
- 'failed' => 'Det indtastede stemmer ikke overens med vores registrering.',
- 'throttle' => 'For mange mislykkede loginforsøg. Prøv igen om :seconds seconds.',
+ 'failed' => 'Dee indtastede brugeroplysninger stemmer ikke overens med vores registreringer.',
+ 'throttle' => 'For mange mislykkede loginforsøg. Prøv igen om :seconds sekunder.',
// Login & Register
'sign_up' => 'Registrér',
'email' => 'E-mail',
'password' => 'Adgangskode',
'password_confirm' => 'Bekræft adgangskode',
- 'password_hint' => 'Skal være på mindst 8 karakterer',
+ 'password_hint' => 'Skal være på mindst 7 karakterer',
'forgot_password' => 'Glemt Adgangskode?',
- 'remember_me' => 'Husk Mig',
+ 'remember_me' => 'Husk mig',
'ldap_email_hint' => 'Angiv venligst din kontos e-mail.',
- 'create_account' => 'Opret Konto',
+ 'create_account' => 'Opret konto',
'already_have_account' => 'Har du allerede en konto?',
'dont_have_account' => 'Har du ikke en konto?',
'social_login' => 'Social Log ind',
'copy' => 'Kopier',
'reply' => 'Besvar',
'delete' => 'Slet',
- 'delete_confirm' => 'Confirm Deletion',
+ 'delete_confirm' => 'Bekræft sletning',
'search' => 'Søg',
'search_clear' => 'Ryd søgning',
'reset' => 'Nulstil',
'remove' => 'Fjern',
'add' => 'Tilføj',
'fullscreen' => 'Fuld skærm',
+ 'favourite' => 'Favourite',
+ 'unfavourite' => 'Unfavourite',
+ 'next' => 'Next',
+ 'previous' => 'Previous',
// Sort Options
'sort_options' => 'Sorteringsindstillinger',
'sort_ascending' => 'Sorter stigende',
'sort_descending' => 'Sorter faldende',
'sort_name' => 'Navn',
+ 'sort_default' => 'Standard',
'sort_created_at' => 'Oprettelsesdato',
'sort_updated_at' => 'Opdateringsdato',
'breadcrumb' => 'Brødkrumme',
// Header
+ 'header_menu_expand' => 'Udvid header menu',
'profile_menu' => 'Profilmenu',
'view_profile' => 'Vis profil',
'edit_profile' => 'Redigér Profil',
// Layout tabs
'tab_info' => 'Info',
+ 'tab_info_label' => 'Faneblad: Vis sekundær information',
'tab_content' => 'Indhold',
+ 'tab_content_label' => 'Faneblad: Vis primær indhold',
// Email Content
'email_action_help' => 'Hvis du har problemer med at trykke på ":actionText" knappen, prøv at kopiere og indsætte linket herunder ind i din webbrowser:',
'email_rights' => 'Alle rettigheder forbeholdes',
+
+ // Footer Link Options
+ // Not directly used but available for convenience to users.
+ 'privacy_policy' => 'Privatlivspolitik',
+ 'terms_of_service' => 'Tjenestevilkår',
];
'image_load_more' => 'Indlæse mere',
'image_image_name' => 'Billednavn',
'image_delete_used' => 'Dette billede er brugt på siderne nedenfor.',
- 'image_delete_confirm_text' => 'Are you sure you want to delete this image?',
+ 'image_delete_confirm_text' => 'Er du sikker på at du vil slette dette billede?',
'image_select_image' => 'Vælg billede',
'image_dropzone' => 'Træk-og-slip billede eller klik her for at uploade',
'images_deleted' => 'Billede slettet',
'code_editor' => 'Rediger kode',
'code_language' => 'Kodesprog',
'code_content' => 'Kodeindhold',
- 'code_session_history' => 'Session History',
+ 'code_session_history' => 'Sessionshistorik',
'code_save' => 'Gem kode',
];
'meta_created_name' => 'Oprettet :timeLength af :user',
'meta_updated' => 'Opdateret :timeLength',
'meta_updated_name' => 'Opdateret :timeLength af :user',
+ 'meta_owned_name' => 'Ejet af :user',
'entity_select' => 'Vælg emne',
'images' => 'Billeder',
'my_recent_drafts' => 'Mine seneste kladder',
'my_recently_viewed' => 'Mine senest viste',
+ 'my_most_viewed_favourites' => 'My Most Viewed Favourites',
+ 'my_favourites' => 'My Favourites',
'no_pages_viewed' => 'Du har ikke besøgt nogle sider',
'no_pages_recently_created' => 'Ingen sider er blevet oprettet for nyligt',
'no_pages_recently_updated' => 'Ingen sider er blevet opdateret for nyligt',
'permissions_intro' => 'Når de er aktiveret, vil disse tilladelser have prioritet over alle indstillede rolletilladelser.',
'permissions_enable' => 'Aktivér tilpassede tilladelser',
'permissions_save' => 'Gem tilladelser',
+ 'permissions_owner' => 'Ejer',
// Search
'search_results' => 'Søgeresultater',
'search_no_pages' => 'Ingen sider matchede søgning',
'search_for_term' => 'Søgning for :term',
'search_more' => 'Flere resultater',
- 'search_advanced' => 'Advanced Search',
- 'search_terms' => 'Search Terms',
+ 'search_advanced' => 'Avanceret søgning',
+ 'search_terms' => 'Søgeord',
'search_content_type' => 'Indholdstype',
'search_exact_matches' => 'Nøjagtige matches',
'search_tags' => 'Tagsøgninger',
'search_permissions_set' => 'Rettigheders sæt',
'search_created_by_me' => 'Oprettet af mig',
'search_updated_by_me' => 'Opdateret af mig',
+ 'search_owned_by_me' => 'Ejet af mig',
'search_date_options' => 'Datoindstillinger',
'search_updated_before' => 'Opdateret før',
'search_updated_after' => 'Opdateret efter',
'chapters_create' => 'Opret nyt kapitel',
'chapters_delete' => 'Slet kapitel',
'chapters_delete_named' => 'Slet kapitel :chapterName',
- 'chapters_delete_explain' => 'Dette vil slette kapitlet med navnet \':chapterName\'. Alle sider fjernes og tilføjes direkte til den tilhørende bog.',
+ 'chapters_delete_explain' => 'Dette vil slette kapitlet med navnet \':chapterName\'. Alle sider i dette kapitel vil også blive slettet.',
'chapters_delete_confirm' => 'Er du sikker på du vil slette dette kapitel?',
'chapters_edit' => 'Rediger kapitel',
'chapters_edit_named' => 'Rediger kapitel :chapterName',
'pages_revisions' => 'Sidserevisioner',
'pages_revisions_named' => 'Siderevisioner for :pageName',
'pages_revision_named' => 'Siderevision for :pageName',
+ 'pages_revision_restored_from' => 'Genoprettet fra #:id; :summary',
'pages_revisions_created_by' => 'Oprettet af',
'pages_revisions_date' => 'Revisionsdato',
'pages_revisions_number' => '#',
'attachments_upload' => 'Upload fil',
'attachments_link' => 'Vedhæft link',
'attachments_set_link' => 'Sæt link',
- 'attachments_delete' => 'Are you sure you want to delete this attachment?',
+ 'attachments_delete' => 'Er du sikker på at du vil slette denne vedhæftning?',
'attachments_dropzone' => 'Slip filer eller klik her for at vedhæfte en fil',
'attachments_no_files' => 'Ingen filer er blevet overført',
'attachments_explain_link' => 'Du kan vedhæfte et link, hvis du foretrækker ikke at uploade en fil. Dette kan være et link til en anden side eller et link til en fil i skyen.',
'attachments_link_url' => 'Link til filen',
'attachments_link_url_hint' => 'Adresse (URL) på side eller fil',
'attach' => 'Vedhæft',
- 'attachments_insert_link' => 'Add Attachment Link to Page',
+ 'attachments_insert_link' => 'Tilføj vedhæftningslink til side',
'attachments_edit_file' => 'Rediger fil',
'attachments_edit_file_name' => 'Filnavn',
'attachments_edit_drop_upload' => 'Slip filer eller klik her for at uploade og overskrive',
'revision_restore_confirm' => 'Er du sikker på at du ønsker at gendanne denne revision? Nuværende sideindhold vil blive erstattet.',
'revision_delete_success' => 'Revision slettet',
'revision_cannot_delete_latest' => 'Kan ikke slette seneste revision.'
-];
\ No newline at end of file
+];
'404_page_not_found' => 'Siden blev ikke fundet',
'sorry_page_not_found' => 'Beklager, siden du leder efter blev ikke fundet.',
'sorry_page_not_found_permission_warning' => 'Hvis du forventede, at denne side skulle eksistere, har du muligvis ikke tilladelse til at se den.',
+ 'image_not_found' => 'Image Not Found',
+ 'image_not_found_subtitle' => 'Sorry, The image file you were looking for could not be found.',
+ 'image_not_found_details' => 'If you expected this image to exist it might have been deleted.',
'return_home' => 'Gå tilbage til hjem',
'error_occurred' => 'Der opstod en fejl',
'app_down' => ':appName er nede lige nu',
// Common Messages
'settings' => 'Indstillinger',
'settings_save' => 'Gem indstillinger',
- 'settings_save_success' => 'Indstillinger gemt',
+ 'settings_save_success' => 'Indstillingerne blev gemt',
// App Settings
'app_customization' => 'Tilpasning',
- 'app_features_security' => 'Funktioner & sikkerhed',
- 'app_name' => 'Programnavn',
- 'app_name_desc' => 'Dette er navnet vist i headeren og i systemafsendte E-Mails.',
+ 'app_features_security' => 'Funktionalitet og sikkerhed',
+ 'app_name' => 'Applikationsnavn',
+ 'app_name_desc' => 'Dette navn vises i headeren og i alle e-mails sendt fra systemet.',
'app_name_header' => 'Vis navn i header',
'app_public_access' => 'Offentlig adgang',
'app_public_access_desc' => 'Aktivering af denne funktion giver besøgende, der ikke er logget ind, adgang til indhold i din BookStack-instans.',
'app_public_viewing' => 'Tillad offentlig visning?',
'app_secure_images' => 'Højere sikkerhed for billeduploads',
'app_secure_images_toggle' => 'Aktiver højere sikkerhed for billeduploads',
- 'app_secure_images_desc' => 'Af ydeevneårsager er alle billeder offentlige. Denne funktion tilføjer en tilfældig, vanskelig at gætte streng foran billed-Url\'er. Sørg for, at mappeindekser ikke er aktiveret for at forhindre nem adgang.',
+ 'app_secure_images_desc' => 'Af performanceårsager er alle billeder offentlige. Denne funktion tilføjer en tilfældig, vanskelig at gætte streng foran billed-url\'er. Sørg for, at mappeindeksering ikke er aktiveret for at forhindre nem adgang.',
'app_editor' => 'Sideeditor',
'app_editor_desc' => 'Vælg hvilken editor der skal bruges af alle brugere til at redigere sider.',
- 'app_custom_html' => 'Tilpasset HTML head-indhold',
- 'app_custom_html_desc' => 'Al indhold tilføjet her, vil blive indsat i bunden af <head> sektionen på alle sider. Dette er brugbart til overskrivning af styling og tilføjelse af analysekode.',
- 'app_custom_html_disabled_notice' => 'Brugerdefineret HTML-head indhold er deaktiveret på denne indstillingsside for at sikre, at ødelæggende ændringer kan rettes.',
- 'app_logo' => 'Programlogo',
- 'app_logo_desc' => 'Dette billede skal være 43px højt. <br> Større billeder vil blive skaleret ned.',
- 'app_primary_color' => 'Primær programfarve',
+ 'app_custom_html' => 'Tilpasset HTML head indhold',
+ 'app_custom_html_desc' => 'Alt indhold tilføjet her, vil blive indsat i bunden af <head> sektionen på alle sider. Dette er brugbart til overskrivning af styles og tilføjelse af analytics kode.',
+ 'app_custom_html_disabled_notice' => 'Brugerdefineret HTML head indhold er deaktiveret på denne indstillingsside for at, at ændringer kan rulles tilbage.',
+ 'app_logo' => 'Applikationslogo',
+ 'app_logo_desc' => 'Dette billede skal være 43px højt. <br>Store billeder vil blive skaleret ned.',
+ 'app_primary_color' => 'Primær applikationsfarve',
'app_primary_color_desc' => 'Sætter den primære farve for applikationen herunder banneret, knapper og links.',
- 'app_homepage' => 'Programforside',
- 'app_homepage_desc' => 'Vælg en visning, der skal vises på startsiden i stedet for standardvisningen. Sidetilladelser ignoreres for valgte sider.',
+ 'app_homepage' => 'Applikationsforside',
+ 'app_homepage_desc' => 'Vælg en visning, der skal vises på forsiden i stedet for standardvisningen. Sidetilladelser ignoreres for de valgte sider.',
'app_homepage_select' => 'Vælg en side',
+ 'app_footer_links' => 'Footer links',
+ 'app_footer_links_desc' => 'Tilføj links til footeren. Linksene vil blive vist nederst på de fleste sider, inkluderet sider, som ikke kræver login. Brug en label med "trans::<key>" for at bruge systemdefinerede oversættelser. For eksempel: "trans::common.privacy_policy" giver den oversatte tekst "Privacy Policy" og "trans::common.terms_of_service" vil give den oversatte tekst "Terms of Service".',
+ 'app_footer_links_label' => 'Link label',
+ 'app_footer_links_url' => 'Link URL',
+ 'app_footer_links_add' => 'Tilføj footer link',
'app_disable_comments' => 'Deaktiver kommentarer',
'app_disable_comments_toggle' => 'Deaktiver kommentar',
'app_disable_comments_desc' => 'Deaktiverer kommentarer på tværs af alle sider i applikationen. <br> Eksisterende kommentarer vises ikke.',
'maint' => 'Vedligeholdelse',
'maint_image_cleanup' => 'Ryd op i billeder',
'maint_image_cleanup_desc' => "Scanner side & revisionsindhold for at kontrollere, hvilke billeder og tegninger, der i øjeblikket er i brug, og hvilke billeder, der er overflødige. Sørg for, at du opretter en komplet database og billedbackup, før du kører dette.",
- 'maint_image_cleanup_ignore_revisions' => 'Ignorer billeder i revisioner',
+ 'maint_delete_images_only_in_revisions' => 'Slet også billeder, der kun findes i gamle siderevisioner',
'maint_image_cleanup_run' => 'Kør Oprydning',
'maint_image_cleanup_warning' => 'der blev fundet :count potentielt ubrugte billeder. Er du sikker på, at du vil slette disse billeder?',
'maint_image_cleanup_success' => ':count: potentielt ubrugte billeder fundet og slettet!',
'maint_send_test_email_mail_subject' => 'Test E-Mail',
'maint_send_test_email_mail_greeting' => 'E-Mail levering ser ud til at virke!',
'maint_send_test_email_mail_text' => 'Tillykke! Da du har modtaget denne mailnotifikation, ser det ud som om, at dine mailindstillinger er opsat korrekt.',
+ 'maint_recycle_bin_desc' => 'Slettede hylder, bøger, kapitler og sider overføres til papirkurven, så de kan gendannes eller slettes permanent. Ældre elementer i papirkurven fjernes automatisk efter et stykke tid afhængigt af systemets konfiguration.',
+ 'maint_recycle_bin_open' => 'Åbn papirkurven',
+
+ // Recycle Bin
+ 'recycle_bin' => 'Papirkurv',
+ 'recycle_bin_desc' => 'Her kan du gendanne elementer, der er blevet slettet eller vælge at permanent fjerne dem fra systemet. Denne liste er ufiltreret, i modsætning til lignende aktivitetslister i systemet, hvor tilladelsesfiltre anvendes.',
+ 'recycle_bin_deleted_item' => 'Slettet element',
+ 'recycle_bin_deleted_by' => 'Slettet af',
+ 'recycle_bin_deleted_at' => 'Sletningstidspunkt',
+ 'recycle_bin_permanently_delete' => 'Slet permanent',
+ 'recycle_bin_restore' => 'Gendan',
+ 'recycle_bin_contents_empty' => 'Papirkurven er tom',
+ 'recycle_bin_empty' => 'Tøm papirkurv',
+ 'recycle_bin_empty_confirm' => 'Dette vil permanent slette alle elementer i papirkurven, inkluderet hvert elements indhold. Er du sikker på, at du vil tømme papirkurven?',
+ 'recycle_bin_destroy_confirm' => 'Denne handling sletter dette element permanent, sammen med elementerne anført nedenfor, fra systemet. Du vil ikke være i stand til at gendanne dette indhold. Er du sikker på, at du vil slette dette element permanent?',
+ 'recycle_bin_destroy_list' => 'Elementer der skal slettes',
+ 'recycle_bin_restore_list' => 'Elementer der skal gendannes',
+ 'recycle_bin_restore_confirm' => 'Denne handling vil gendanne det slettede element, herunder alle underelementer, til deres oprindelige placering. Hvis den oprindelige placering siden er blevet slettet, og nu er i papirkurven, vil det overordnede element også skulle gendannes.',
+ 'recycle_bin_restore_deleted_parent' => 'Det overordnede element til dette element er også blevet slettet. Disse vil forblive slettet indtil det overordnede også er gendannet.',
+ 'recycle_bin_destroy_notification' => 'Slettede :count elementer fra papirkurven.',
+ 'recycle_bin_restore_notification' => 'Gendannede :count elementer fra papirkurven.',
// Audit Log
- 'audit' => 'Audit Log',
- 'audit_desc' => 'This audit log displays a list of activities tracked in the system. This list is unfiltered unlike similar activity lists in the system where permission filters are applied.',
- 'audit_event_filter' => 'Event Filter',
- 'audit_event_filter_no_filter' => 'No Filter',
- 'audit_deleted_item' => 'Deleted Item',
- 'audit_deleted_item_name' => 'Name: :name',
- 'audit_table_user' => 'User',
- 'audit_table_event' => 'Event',
- 'audit_table_item' => 'Related Item',
- 'audit_table_date' => 'Activity Date',
- 'audit_date_from' => 'Date Range From',
- 'audit_date_to' => 'Date Range To',
+ 'audit' => 'Revisionslog',
+ 'audit_desc' => 'Denne revisionslog viser en liste over aktiviteter sporet i systemet. Denne liste er ufiltreret i modsætning til lignende aktivitetslister i systemet, hvor tilladelsesfiltre anvendes.',
+ 'audit_event_filter' => 'Event filter',
+ 'audit_event_filter_no_filter' => 'Intet filter',
+ 'audit_deleted_item' => 'Element slettet',
+ 'audit_deleted_item_name' => 'Navn: :name',
+ 'audit_table_user' => 'Bruger',
+ 'audit_table_event' => 'Hændelse',
+ 'audit_table_related' => 'Relateret element eller detalje',
+ 'audit_table_date' => 'Aktivitetsdato',
+ 'audit_date_from' => 'Datointerval fra',
+ 'audit_date_to' => 'Datointerval til',
// Role Settings
'roles' => 'Roller',
'role_access_api' => 'Tilgå system-API',
'role_manage_settings' => 'Administrer app-indstillinger',
'role_asset' => 'Tilladelser for medier og "assets"',
- 'roles_system_warning' => 'Be aware that access to any of the above three permissions can allow a user to alter their own privileges or the privileges of others in the system. Only assign roles with these permissions to trusted users.',
+ 'roles_system_warning' => 'Vær opmærksom på, at adgang til alle af de ovennævnte tre tilladelser, kan give en bruger mulighed for at ændre deres egne brugerrettigheder eller brugerrettigheder for andre i systemet. Tildel kun roller med disse tilladelser til betroede brugere.',
'role_asset_desc' => 'Disse tilladelser kontrollerer standardadgang til medier og "assets" i systemet. Tilladelser til bøger, kapitler og sider tilsidesætter disse tilladelser.',
'role_asset_admins' => 'Administratorer får automatisk adgang til alt indhold, men disse indstillinger kan vise eller skjule UI-indstillinger.',
'role_all' => 'Alle',
'user_profile' => 'Brugerprofil',
'users_add_new' => 'Tilføj ny bruger',
'users_search' => 'Søg efter brugere',
+ 'users_latest_activity' => 'Seneste aktivitet',
'users_details' => 'Brugeroplysninger',
'users_details_desc' => 'Angiv et visningsnavn og en E-Mail-adresse for denne bruger. E-Mail-adressen bruges til at logge ind på applikationen.',
'users_details_desc_no_email' => 'Sætter et visningsnavn for denne bruger, så andre kan genkende dem.',
'users_delete_named' => 'Slet bruger :userName',
'users_delete_warning' => 'Dette vil helt slette denne bruger med navnet \':userName\' fra systemet.',
'users_delete_confirm' => 'Er du sikker på, at du vil slette denne bruger?',
- 'users_delete_success' => 'Brugere blev fjernet',
+ 'users_migrate_ownership' => 'Overfør ejerskab',
+ 'users_migrate_ownership_desc' => 'Vælg en bruger her, hvis du vil have en anden bruger til at blive ejer af alle elementer, der i øjeblikket ejes af denne bruger.',
+ 'users_none_selected' => 'Ingen bruger valgt',
+ 'users_delete_success' => 'Brugeren blev fjernet',
'users_edit' => 'Rediger bruger',
'users_edit_profile' => 'Rediger profil',
'users_edit_success' => 'Bruger suscesfuldt opdateret',
'en' => 'English',
'ar' => 'العربية',
'bg' => 'Bǎlgarski',
+ 'bs' => 'Bosanski',
+ 'ca' => 'Catalansk',
'cs' => 'Česky',
'da' => 'Dansk',
'de' => 'Deutsch (Sie)',
'es_AR' => 'Español Argentina',
'fr' => 'Français',
'he' => 'Hebraisk',
+ 'hr' => 'Hrvatski',
'hu' => 'Magyar',
+ 'id' => 'Bahasa Indonesia',
'it' => 'Italian',
'ja' => '日本語',
'ko' => '한국어',
+ 'lv' => 'Latviešu Valoda',
'nl' => 'Nederlands',
+ 'nb' => 'Norsk (Bokmål)',
'pl' => 'Polski',
+ 'pt' => 'Português',
'pt_BR' => 'Português do Brasil',
'ru' => 'Русский',
'sk' => 'Slovensky',
'string' => ':attribute skal mindst være :min tegn.',
'array' => ':attribute skal have mindst :min elementer.',
],
- 'no_double_extension' => ':attribute må kun indeholde én filtype.',
'not_in' => 'Den valgte :attribute er ikke gyldig.',
'not_regex' => ':attribute-formatet er ugyldigt.',
'numeric' => ':attribute skal være et tal.',
'required_without' => ':attribute skal udfyldes når :values ikke er udfyldt.',
'required_without_all' => ':attribute skal udfyldes når ingen af :values er udfyldt.',
'same' => ':attribute og :other skal være ens.',
+ 'safe_url' => 'Det angivne link kan være usikkert.',
'size' => [
'numeric' => ':attribute skal være :size.',
'file' => ':attribute skal være :size kilobytes.',
return [
// Pages
- 'page_create' => 'erstellte Seite',
- 'page_create_notification' => 'Die Seite wurde erfolgreich erstellt.',
- 'page_update' => 'aktualisierte Seite',
- 'page_update_notification' => 'Die Seite wurde erfolgreich aktualisiert.',
- 'page_delete' => 'gelöschte Seite',
- 'page_delete_notification' => 'Die Seite wurde erfolgreich gelöscht.',
- 'page_restore' => 'wiederhergestellte Seite',
- 'page_restore_notification' => 'Die Seite wurde erfolgreich wiederhergestellt.',
- 'page_move' => 'Seite verschoben',
+ 'page_create' => 'hat die Seite erstellt',
+ 'page_create_notification' => 'Die Seite wurde erfolgreich erstellt',
+ 'page_update' => 'hat die Seite aktualisiert',
+ 'page_update_notification' => 'Die Seite wurde erfolgreich aktualisiert',
+ 'page_delete' => 'hat die Seite gelöscht',
+ 'page_delete_notification' => 'Die Seite wurde erfolgreich gelöscht',
+ 'page_restore' => 'hat die Seite wiederhergestellt',
+ 'page_restore_notification' => 'Die Seite wurde erfolgreich wiederhergestellt',
+ 'page_move' => 'hat die Seite verschoben',
// Chapters
- 'chapter_create' => 'erstellte Kapitel',
- 'chapter_create_notification' => 'Das Kapitel wurde erfolgreich erstellt.',
- 'chapter_update' => 'aktualisierte Kapitel',
- 'chapter_update_notification' => 'Das Kapitel wurde erfolgreich aktualisiert.',
- 'chapter_delete' => 'löschte Kapitel',
- 'chapter_delete_notification' => 'Das Kapitel wurde erfolgreich gelöscht.',
- 'chapter_move' => 'verschob Kapitel',
+ 'chapter_create' => 'hat das Kapitel erstellt',
+ 'chapter_create_notification' => 'Das Kapitel wurde erfolgreich erstellt',
+ 'chapter_update' => 'hat das Kapitel geändert',
+ 'chapter_update_notification' => 'Das Kapitel wurde erfolgreich aktualisiert',
+ 'chapter_delete' => 'hat das Kapitel gelöscht',
+ 'chapter_delete_notification' => 'Das Kapitel wurde erfolgreich gelöscht',
+ 'chapter_move' => 'hat das Kapitel verschoben',
// Books
- 'book_create' => 'erstellte Buch',
- 'book_create_notification' => 'Das Buch wurde erfolgreich erstellt.',
- 'book_update' => 'aktualisierte Buch',
- 'book_update_notification' => 'Das Buch wurde erfolgreich aktualisiert.',
- 'book_delete' => 'löschte Buch',
- 'book_delete_notification' => 'Das Buch wurde erfolgreich gelöscht.',
- 'book_sort' => 'sortierte Buch',
- 'book_sort_notification' => 'Das Buch wurde erfolgreich umsortiert.',
+ 'book_create' => 'hat das Buch erstellt',
+ 'book_create_notification' => 'Das Buch wurde erfolgreich erstellt',
+ 'book_update' => 'hat das Buch aktualisiert',
+ 'book_update_notification' => 'Das Buch wurde erfolgreich aktualisiert',
+ 'book_delete' => 'hat das Buch gelöscht',
+ 'book_delete_notification' => 'Das Buch wurde erfolgreich gelöscht',
+ 'book_sort' => 'hat die Buch-Sortierung geändert',
+ 'book_sort_notification' => 'Das Buch wurde erfolgreich umsortiert',
// Bookshelves
- 'bookshelf_create' => 'erstellt Bücherregal',
+ 'bookshelf_create' => 'hat das Bücherregal erstellt',
'bookshelf_create_notification' => 'Das Bücherregal wurde erfolgreich erstellt',
- 'bookshelf_update' => 'aktualisiert Bücherregal',
- 'bookshelf_update_notification' => 'Das Bücherregal wurde erfolgreich aktualisiert',
- 'bookshelf_delete' => 'löscht Bücherregal',
+ 'bookshelf_update' => 'hat das Bücherregal geändert',
+ 'bookshelf_update_notification' => 'Das Bücherregal wurde erfolgreich geändert',
+ 'bookshelf_delete' => 'hat das Bücherregal gelöscht',
'bookshelf_delete_notification' => 'Das Bücherregal wurde erfolgreich gelöscht',
+ // Favourites
+ 'favourite_add_notification' => '":name" wurde zu deinen Favoriten hinzugefügt',
+ 'favourite_remove_notification' => '":name" wurde aus Ihren Favoriten entfernt',
+
// Other
- 'commented_on' => 'kommentiert',
+ 'commented_on' => 'hat einen Kommentar hinzugefügt',
+ 'permissions_update' => 'hat die Berechtigungen aktualisiert',
];
'remove' => 'Entfernen',
'add' => 'Hinzufügen',
'fullscreen' => 'Vollbild',
+ 'favourite' => 'Favorit',
+ 'unfavourite' => 'Kein Favorit',
+ 'next' => 'Nächste',
+ 'previous' => 'Vorheriges',
// Sort Options
'sort_options' => 'Sortieroptionen',
'sort_ascending' => 'Aufsteigend sortieren',
'sort_descending' => 'Absteigend sortieren',
'sort_name' => 'Name',
+ 'sort_default' => 'Standard',
'sort_created_at' => 'Erstellungsdatum',
'sort_updated_at' => 'Aktualisierungsdatum',
'breadcrumb' => 'Brotkrumen',
// Header
+ 'header_menu_expand' => 'Header-Menü erweitern',
'profile_menu' => 'Profilmenü',
'view_profile' => 'Profil ansehen',
'edit_profile' => 'Profil bearbeiten',
// Layout tabs
'tab_info' => 'Info',
+ 'tab_info_label' => 'Tab: Sekundäre Informationen anzeigen',
'tab_content' => 'Inhalt',
+ 'tab_content_label' => 'Tab: Hauptinhalt anzeigen',
// Email Content
'email_action_help' => 'Sollte es beim Anklicken der Schaltfläche ":action_text" Probleme geben, öffnen Sie folgende URL in Ihrem Browser:',
'email_rights' => 'Alle Rechte vorbehalten',
+
+ // Footer Link Options
+ // Not directly used but available for convenience to users.
+ 'privacy_policy' => 'Datenschutzbestimmungen',
+ 'terms_of_service' => 'Allgemeine Geschäftsbedingungen',
];
'meta_created_name' => 'Erstellt: :timeLength von :user',
'meta_updated' => 'Zuletzt aktualisiert: :timeLength',
'meta_updated_name' => 'Zuletzt aktualisiert: :timeLength von :user',
+ 'meta_owned_name' => 'Im Besitz von :user',
'entity_select' => 'Eintrag auswählen',
'images' => 'Bilder',
'my_recent_drafts' => 'Meine kürzlichen Entwürfe',
'my_recently_viewed' => 'Kürzlich von mir angesehen',
- 'no_pages_viewed' => 'Sie haben bisher keine Seiten angesehen.',
- 'no_pages_recently_created' => 'Sie haben bisher keine Seiten angelegt.',
- 'no_pages_recently_updated' => 'Sie haben bisher keine Seiten aktualisiert.',
+ 'my_most_viewed_favourites' => 'Meine meistgesehenen Favoriten',
+ 'my_favourites' => 'Meine Favoriten',
+ 'no_pages_viewed' => 'Sie haben bisher keine Seiten angesehen',
+ 'no_pages_recently_created' => 'Sie haben bisher keine Seiten angelegt',
+ 'no_pages_recently_updated' => 'Sie haben bisher keine Seiten aktualisiert',
'export' => 'Exportieren',
'export_html' => 'HTML-Datei',
'export_pdf' => 'PDF-Datei',
'permissions_intro' => 'Wenn individuelle Berechtigungen aktiviert werden, überschreiben diese Einstellungen durch Rollen zugewiesene Berechtigungen.',
'permissions_enable' => 'Individuelle Berechtigungen aktivieren',
'permissions_save' => 'Berechtigungen speichern',
+ 'permissions_owner' => 'Besitzer',
// Search
'search_results' => 'Suchergebnisse',
'search_permissions_set' => 'Berechtigungen gesetzt',
'search_created_by_me' => 'Von mir erstellt',
'search_updated_by_me' => 'Von mir aktualisiert',
+ 'search_owned_by_me' => 'Besitzt von mir',
'search_date_options' => 'Datums Optionen',
'search_updated_before' => 'Aktualisiert vor',
'search_updated_after' => 'Aktualisiert nach',
'chapters_create' => 'Neues Kapitel anlegen',
'chapters_delete' => 'Kapitel entfernen',
'chapters_delete_named' => 'Kapitel ":chapterName" entfernen',
- 'chapters_delete_explain' => 'Das Kapitel ":chapterName" wird gelöscht und alle zugehörigen Seiten dem übergeordneten Buch zugeordnet.',
+ 'chapters_delete_explain' => 'Dies löscht das Kapitel mit dem Namen \':chapterName\'. Alle Seiten, die innerhalb dieses Kapitels existieren, werden ebenfalls gelöscht.',
'chapters_delete_confirm' => 'Sind Sie sicher, dass Sie dieses Kapitel löschen möchten?',
'chapters_edit' => 'Kapitel bearbeiten',
'chapters_edit_named' => 'Kapitel ":chapterName" bearbeiten',
'pages_revisions' => 'Seitenversionen',
'pages_revisions_named' => 'Seitenversionen von ":pageName"',
'pages_revision_named' => 'Seitenversion von ":pageName"',
+ 'pages_revision_restored_from' => 'Wiederhergestellt von #:id; :summary',
'pages_revisions_created_by' => 'Erstellt von',
'pages_revisions_date' => 'Versionsdatum',
'pages_revisions_number' => '#',
'revision_restore_confirm' => 'Sind Sie sicher, dass Sie diese Revision wiederherstellen wollen? Der aktuelle Seiteninhalt wird ersetzt.',
'revision_delete_success' => 'Revision gelöscht',
'revision_cannot_delete_latest' => 'Die letzte Version kann nicht gelöscht werden.'
-];
\ No newline at end of file
+];
'404_page_not_found' => 'Seite nicht gefunden',
'sorry_page_not_found' => 'Entschuldigung. Die Seite, die Sie angefordert haben, wurde nicht gefunden.',
'sorry_page_not_found_permission_warning' => 'Wenn Sie erwartet haben, dass diese Seite existiert, haben Sie möglicherweise nicht die Berechtigung, sie anzuzeigen.',
+ 'image_not_found' => 'Bild nicht gefunden',
+ 'image_not_found_subtitle' => 'Entschuldigung. Das Bild, die Sie angefordert haben, wurde nicht gefunden.',
+ 'image_not_found_details' => 'Wenn Sie erwartet haben, dass dieses Bild existiert, könnte es gelöscht worden sein.',
'return_home' => 'Zurück zur Startseite',
'error_occurred' => 'Es ist ein Fehler aufgetreten',
'app_down' => ':appName befindet sich aktuell im Wartungsmodus.',
'app_homepage' => 'Startseite der Anwendung',
'app_homepage_desc' => 'Wählen Sie eine Seite als Startseite aus, die statt der Standardansicht angezeigt werden soll. Seitenberechtigungen werden für die ausgewählten Seiten ignoriert.',
'app_homepage_select' => 'Wählen Sie eine Seite aus',
+ 'app_footer_links' => 'Fußzeilen-Links',
+ 'app_footer_links_desc' => 'Fügen Sie Links hinzu, die innerhalb der Seitenfußzeile angezeigt werden. Diese werden am unteren Ende der meisten Seiten angezeigt, einschließlich derjenigen, die keinen Login benötigen. Sie können die Bezeichnung "trans::<key>" verwenden, um systemdefinierte Übersetzungen zu verwenden. Beispiel: Mit "trans::common.privacy_policy" wird der übersetzte Text "Privacy Policy" bereitgestellt, und "trans::common.terms_of_service" liefert den übersetzten Text "Terms of Service".',
+ 'app_footer_links_label' => 'Link-Label',
+ 'app_footer_links_url' => 'Link-URL',
+ 'app_footer_links_add' => 'Fußzeilen-Link hinzufügen',
'app_disable_comments' => 'Kommentare deaktivieren',
'app_disable_comments_toggle' => 'Kommentare deaktivieren',
'app_disable_comments_desc' => 'Deaktiviert Kommentare über alle Seiten in der Anwendung. Vorhandene Kommentare werden nicht angezeigt.',
'maint' => 'Wartung',
'maint_image_cleanup' => 'Bilder bereinigen',
'maint_image_cleanup_desc' => "Überprüft Seiten- und Versionsinhalte auf ungenutzte und mehrfach vorhandene Bilder. Erstellen Sie vor dem Start ein Backup Ihrer Datenbank und Bilder.",
- 'maint_image_cleanup_ignore_revisions' => 'Bilder in Versionen ignorieren',
+ 'maint_delete_images_only_in_revisions' => 'Lösche auch Bilder, die nur in alten Seitenüberarbeitungen vorhanden sind',
'maint_image_cleanup_run' => 'Reinigung starten',
'maint_image_cleanup_warning' => ':count eventuell unbenutze Bilder wurden gefunden. Möchten Sie diese Bilder löschen?',
'maint_image_cleanup_success' => ':count eventuell unbenutze Bilder wurden gefunden und gelöscht.',
'maint_send_test_email_mail_subject' => 'Test E-Mail',
'maint_send_test_email_mail_greeting' => 'E-Mail-Versand scheint zu funktionieren!',
'maint_send_test_email_mail_text' => 'Glückwunsch! Da Sie diese E-Mail Benachrichtigung erhalten haben, scheinen Ihre E-Mail-Einstellungen korrekt konfiguriert zu sein.',
+ 'maint_recycle_bin_desc' => 'Gelöschte Regale, Bücher, Kapitel & Seiten werden in den Papierkorb verschoben, so dass sie wiederhergestellt oder dauerhaft gelöscht werden können. Ältere Gegenstände im Papierkorb können, in Abhängigkeit von der Systemkonfiguration, nach einer Weile automatisch entfernt werden.',
+ 'maint_recycle_bin_open' => 'Papierkorb öffnen',
+
+ // Recycle Bin
+ 'recycle_bin' => 'Papierkorb',
+ 'recycle_bin_desc' => 'Hier können Sie gelöschte Elemente wiederherstellen oder sie dauerhaft aus dem System entfernen. Diese Liste ist nicht gefiltert, im Gegensatz zu ähnlichen Aktivitätslisten im System, wo Berechtigungsfilter angewendet werden.',
+ 'recycle_bin_deleted_item' => 'Gelöschtes Element',
+ 'recycle_bin_deleted_by' => 'Gelöscht von',
+ 'recycle_bin_deleted_at' => 'Löschzeitpunkt',
+ 'recycle_bin_permanently_delete' => 'Dauerhaft löschen',
+ 'recycle_bin_restore' => 'Wiederherstellen',
+ 'recycle_bin_contents_empty' => 'Der Papierkorb ist derzeit leer',
+ 'recycle_bin_empty' => 'Papierkorb leeren',
+ 'recycle_bin_empty_confirm' => 'Dies wird alle Gegenstände im Papierkorb dauerhaft entfernen, einschließlich der Inhalte, die darin enthalten sind. Sind Sie sicher, dass Sie den Papierkorb leeren möchten?',
+ 'recycle_bin_destroy_confirm' => 'Diese Aktion wird dieses Element zusammen mit allen unten aufgeführten Unterelementen dauerhaft aus dem System löschen und Sie werden nicht in der Lage sein, diesen Inhalt wiederherzustellen. Sind Sie sicher, dass Sie dieses Element endgültig löschen möchten?',
+ 'recycle_bin_destroy_list' => 'Zu löschende Elemente',
+ 'recycle_bin_restore_list' => 'Zu wiederherzustellende Elemente',
+ 'recycle_bin_restore_confirm' => 'Mit dieser Aktion wird das gelöschte Element einschließlich aller untergeordneten Elemente an seinen ursprünglichen Ort wiederherstellen. Wenn der ursprüngliche Ort gelöscht wurde und sich nun im Papierkorb befindet, muss auch das übergeordnete Element wiederhergestellt werden.',
+ 'recycle_bin_restore_deleted_parent' => 'Das übergeordnete Elements wurde ebenfalls gelöscht. Dieses Element wird weiterhin als gelöscht zählen, bis auch das übergeordnete Element wiederhergestellt wurde.',
+ 'recycle_bin_destroy_notification' => ':count Elemente wurden aus dem Papierkorb gelöscht.',
+ 'recycle_bin_restore_notification' => ':count Elemente wurden aus dem Papierkorb wiederhergestellt.',
// Audit Log
'audit' => 'Audit-Protokoll',
'audit_deleted_item_name' => 'Name: :name',
'audit_table_user' => 'Benutzer',
'audit_table_event' => 'Ereignis',
- 'audit_table_item' => 'Verwendetes Objekt',
+ 'audit_table_related' => 'Verknüpftes Element oder Detail',
'audit_table_date' => 'Aktivitätsdatum',
'audit_date_from' => 'Zeitraum von',
'audit_date_to' => 'Zeitraum bis',
'user_profile' => 'Benutzerprofil',
'users_add_new' => 'Benutzer hinzufügen',
'users_search' => 'Benutzer suchen',
+ 'users_latest_activity' => 'Neueste Aktivitäten',
'users_details' => 'Benutzerdetails',
'users_details_desc' => 'Legen Sie für diesen Benutzer einen Anzeigenamen und eine E-Mail-Adresse fest. Die E-Mail-Adresse wird bei der Anmeldung verwendet.',
'users_details_desc_no_email' => 'Legen Sie für diesen Benutzer einen Anzeigenamen fest, damit andere ihn erkennen können.',
'users_delete_named' => 'Benutzer ":userName" löschen',
'users_delete_warning' => 'Der Benutzer ":userName" wird aus dem System gelöscht.',
'users_delete_confirm' => 'Sind Sie sicher, dass Sie diesen Benutzer löschen möchten?',
- 'users_delete_success' => 'Benutzer erfolgreich gelöscht.',
+ 'users_migrate_ownership' => 'Besitz migrieren',
+ 'users_migrate_ownership_desc' => 'Wählen Sie hier einen Benutzer, wenn Sie möchten, dass ein anderer Benutzer der Besitzer aller Einträge wird, die diesem Benutzer derzeit gehören.',
+ 'users_none_selected' => 'Kein Benutzer ausgewählt',
+ 'users_delete_success' => 'Benutzer erfolgreich entfernt',
'users_edit' => 'Benutzer bearbeiten',
'users_edit_profile' => 'Profil bearbeiten',
'users_edit_success' => 'Benutzer erfolgreich aktualisisert',
'en' => 'English',
'ar' => 'العربية',
'bg' => 'Bulgarisch',
+ 'bs' => 'Bosanski',
+ 'ca' => 'Katalanisch',
'cs' => 'Česky',
'da' => 'Dänisch',
'de' => 'Deutsch (Sie)',
'es_AR' => 'Español Argentina',
'fr' => 'Français',
'he' => 'Hebräisch',
+ 'hr' => 'Hrvatski',
'hu' => 'Magyar',
+ 'id' => 'Bahasa Indonesia',
'it' => 'Italian',
'ja' => '日本語',
'ko' => '한국어',
+ 'lv' => 'Latviešu Valoda',
'nl' => 'Nederlands',
+ 'nb' => 'Norsk (Bokmål)',
'pl' => 'Polski',
+ 'pt' => 'Português',
'pt_BR' => 'Português do Brasil',
'ru' => 'Русский',
'sk' => 'Slovensky',
'string' => ':attribute muss mindestens :min Zeichen lang sein.',
'array' => ':attribute muss mindesten :min Elemente enthalten.',
],
- 'no_double_extension' => ':attribute darf nur eine gültige Dateiendung',
'not_in' => ':attribute ist ungültig.',
'not_regex' => ':attribute ist kein valides Format.',
'numeric' => ':attribute muss eine Zahl sein.',
'required_without' => ':attribute ist erforderlich, wenn :values nicht vorhanden ist.',
'required_without_all' => ':attribute ist erforderlich, wenn :values nicht vorhanden sind.',
'same' => ':attribute und :other müssen übereinstimmen.',
+ 'safe_url' => 'Der angegebene Link ist möglicherweise nicht sicher.',
'size' => [
'numeric' => ':attribute muss :size sein.',
'file' => ':attribute muss :size Kilobytes groß sein.',
'bookshelf_delete' => 'löscht Bücherregal',
'bookshelf_delete_notification' => 'Das Bücherregal wurde erfolgreich gelöscht',
+ // Favourites
+ 'favourite_add_notification' => '":name" wurde zu deinen Favoriten hinzugefügt',
+ 'favourite_remove_notification' => '":name" wurde aus Ihren Favoriten entfernt',
+
// Other
'commented_on' => 'kommentiert',
+ 'permissions_update' => 'aktualisierte Berechtigungen',
];
'remove' => 'Entfernen',
'add' => 'Hinzufügen',
'fullscreen' => 'Vollbild',
+ 'favourite' => 'Favorit',
+ 'unfavourite' => 'Kein Favorit',
+ 'next' => 'Next',
+ 'previous' => 'Previous',
// Sort Options
'sort_options' => 'Sortieroptionen',
'sort_ascending' => 'Aufsteigend sortieren',
'sort_descending' => 'Absteigend sortieren',
'sort_name' => 'Name',
+ 'sort_default' => 'Standard',
'sort_created_at' => 'Erstellungsdatum',
'sort_updated_at' => 'Aktualisierungsdatum',
'breadcrumb' => 'Brotkrumen',
// Header
+ 'header_menu_expand' => 'Header-Menü erweitern',
'profile_menu' => 'Profilmenü',
'view_profile' => 'Profil ansehen',
'edit_profile' => 'Profil bearbeiten',
// Layout tabs
'tab_info' => 'Info',
+ 'tab_info_label' => 'Tab: Sekundäre Informationen anzeigen',
'tab_content' => 'Inhalt',
+ 'tab_content_label' => 'Tab: Hauptinhalt anzeigen',
// Email Content
'email_action_help' => 'Sollte es beim Anklicken der Schaltfläche ":action_text" Probleme geben, öffne die folgende URL in Deinem Browser:',
'email_rights' => 'Alle Rechte vorbehalten',
+
+ // Footer Link Options
+ // Not directly used but available for convenience to users.
+ 'privacy_policy' => 'Datenschutzerklärung',
+ 'terms_of_service' => 'Allgemeine Geschäftsbedingungen',
];
'meta_created_name' => 'Erstellt: :timeLength von :user',
'meta_updated' => 'Zuletzt aktualisiert: :timeLength',
'meta_updated_name' => 'Zuletzt aktualisiert: :timeLength von :user',
+ 'meta_owned_name' => 'Im Besitz von :user',
'entity_select' => 'Eintrag auswählen',
'images' => 'Bilder',
'my_recent_drafts' => 'Meine kürzlichen Entwürfe',
'my_recently_viewed' => 'Kürzlich von mir angesehen',
+ 'my_most_viewed_favourites' => 'Meine meistgesehenen Favoriten',
+ 'my_favourites' => 'Meine Favoriten',
'no_pages_viewed' => 'Du hast bisher keine Seiten angesehen.',
'no_pages_recently_created' => 'Du hast bisher keine Seiten angelegt.',
'no_pages_recently_updated' => 'Du hast bisher keine Seiten aktualisiert.',
'permissions_intro' => 'Wenn individuelle Berechtigungen aktiviert werden, überschreiben diese Einstellungen durch Rollen zugewiesene Berechtigungen.',
'permissions_enable' => 'Individuelle Berechtigungen aktivieren',
'permissions_save' => 'Berechtigungen speichern',
+ 'permissions_owner' => 'Besitzer',
// Search
'search_results' => 'Suchergebnisse',
'search_permissions_set' => 'Berechtigungen gesetzt',
'search_created_by_me' => 'Von mir erstellt',
'search_updated_by_me' => 'Von mir aktualisiert',
+ 'search_owned_by_me' => 'Besitzt von mir',
'search_date_options' => 'Datums Optionen',
'search_updated_before' => 'Aktualisiert vor',
'search_updated_after' => 'Aktualisiert nach',
'chapters_create' => 'Neues Kapitel anlegen',
'chapters_delete' => 'Kapitel entfernen',
'chapters_delete_named' => 'Kapitel ":chapterName" entfernen',
- 'chapters_delete_explain' => 'Das Kapitel ":chapterName" wird gelöscht und alle zugehörigen Seiten dem übergeordneten Buch zugeordnet.',
+ 'chapters_delete_explain' => 'Hiermit löschen Sie das Kapitel mit dem Namen \':chapterName\'. Alle Seiten, die innerhalb dieses Kapitels existieren, werden ebenfalls gelöscht.',
'chapters_delete_confirm' => 'Bist Du sicher, dass Du dieses Kapitel löschen möchtest?',
'chapters_edit' => 'Kapitel bearbeiten',
'chapters_edit_named' => 'Kapitel ":chapterName" bearbeiten',
'pages_revisions' => 'Seitenversionen',
'pages_revisions_named' => 'Seitenversionen von ":pageName"',
'pages_revision_named' => 'Seitenversion von ":pageName"',
+ 'pages_revision_restored_from' => 'Wiederhergestellt von #:id; :summary',
'pages_revisions_created_by' => 'Erstellt von',
'pages_revisions_date' => 'Versionsdatum',
'pages_revisions_number' => '#',
'attachments_link_url' => 'Link zu einer Datei',
'attachments_link_url_hint' => 'URL einer Seite oder Datei',
'attach' => 'Hinzufügen',
- 'attachments_insert_link' => 'Link zum Anhang auf Seite einfügen',
+ 'attachments_insert_link' => 'Anhangslink zur Seite hinzufügen',
'attachments_edit_file' => 'Datei bearbeiten',
'attachments_edit_file_name' => 'Dateiname',
'attachments_edit_drop_upload' => 'Ziehe Dateien hierher, um diese hochzuladen und zu überschreiben',
'revision_restore_confirm' => 'Sind Sie sicher, dass Sie diese Revision wiederherstellen wollen? Der aktuelle Seiteninhalt wird ersetzt.',
'revision_delete_success' => 'Revision gelöscht',
'revision_cannot_delete_latest' => 'Die letzte Version kann nicht gelöscht werden.'
-];
\ No newline at end of file
+];
'404_page_not_found' => 'Seite nicht gefunden',
'sorry_page_not_found' => 'Entschuldigung. Die Seite, die Du angefordert hast, wurde nicht gefunden.',
'sorry_page_not_found_permission_warning' => 'Wenn du erwartet hast, dass diese Seite existiert, hast du möglicherweise nicht die Berechtigung, sie anzuzeigen.',
+ 'image_not_found' => 'Bild nicht gefunden',
+ 'image_not_found_subtitle' => 'Entschuldigung. Das Bild, die Sie angefordert haben, wurde nicht gefunden.',
+ 'image_not_found_details' => 'Wenn Sie erwartet haben, dass dieses Bild existiert, könnte es gelöscht worden sein.',
'return_home' => 'Zurück zur Startseite',
'error_occurred' => 'Es ist ein Fehler aufgetreten',
'app_down' => ':appName befindet sich aktuell im Wartungsmodus.',
'app_homepage' => 'Startseite der Anwendung',
'app_homepage_desc' => 'Wähle eine Seite als Startseite aus, die statt der Standardansicht angezeigt werden soll. Seitenberechtigungen werden für die ausgewählten Seiten ignoriert.',
'app_homepage_select' => 'Wählen Sie eine Seite aus',
+ 'app_footer_links' => 'Fußzeilen-Links',
+ 'app_footer_links_desc' => 'Fügen Sie Links hinzu, die innerhalb der Seitenfußzeile angezeigt werden. Diese werden am unteren Ende der meisten Seiten angezeigt, einschließlich derjenigen, die keinen Login benötigen. Sie können die Bezeichnung "trans::<key>" verwenden, um systemdefinierte Übersetzungen zu verwenden. Beispiel: Mit "trans::common.privacy_policy" wird der übersetzte Text "Privacy Policy" bereitgestellt, und "trans::common.terms_of_service" liefert den übersetzten Text "Terms of Service".',
+ 'app_footer_links_label' => 'Link-Label',
+ 'app_footer_links_url' => 'Link-URL',
+ 'app_footer_links_add' => 'Fußzeilenlink hinzufügen',
'app_disable_comments' => 'Kommentare deaktivieren',
'app_disable_comments_toggle' => 'Kommentare deaktivieren',
'app_disable_comments_desc' => 'Deaktiviert Kommentare über alle Seiten in der Anwendung. Vorhandene Kommentare werden nicht angezeigt.',
'maint' => 'Wartung',
'maint_image_cleanup' => 'Bilder bereinigen',
'maint_image_cleanup_desc' => "Überprüft Seiten- und Versionsinhalte auf ungenutzte und mehrfach vorhandene Bilder. Erstelle vor dem Start ein Backup Deiner Datenbank und Bilder.",
- 'maint_image_cleanup_ignore_revisions' => 'Bilder in Versionen ignorieren',
+ 'maint_delete_images_only_in_revisions' => 'Lösche auch Bilder, die nur in alten Seitenüberarbeitungen vorhanden sind',
'maint_image_cleanup_run' => 'Reinigung starten',
'maint_image_cleanup_warning' => ':count eventuell unbenutze Bilder wurden gefunden. Möchtest Du diese Bilder löschen?',
'maint_image_cleanup_success' => ':count eventuell unbenutze Bilder wurden gefunden und gelöscht.',
'maint_send_test_email_mail_subject' => 'Test E-Mail',
'maint_send_test_email_mail_greeting' => 'E-Mail-Versand scheint zu funktionieren!',
'maint_send_test_email_mail_text' => 'Glückwunsch! Da du diese E-Mail Benachrichtigung erhalten hast, scheinen deine E-Mail-Einstellungen korrekt konfiguriert zu sein.',
+ 'maint_recycle_bin_desc' => 'Gelöschte Regale, Bücher, Kapitel & Seiten werden in den Papierkorb verschoben, so dass sie wiederhergestellt oder dauerhaft gelöscht werden können. Ältere Einträge im Papierkorb können, in Abhängigkeit von der Systemkonfiguration, nach einer Weile automatisch entfernt werden.',
+ 'maint_recycle_bin_open' => 'Papierkorb öffnen',
+
+ // Recycle Bin
+ 'recycle_bin' => 'Papierkorb',
+ 'recycle_bin_desc' => 'Hier können Sie gelöschte Einträge wiederherstellen oder sie dauerhaft aus dem System entfernen. Diese Liste ist nicht gefiltert, im Gegensatz zu ähnlichen Aktivitätslisten im System, wo Berechtigungsfilter angewendet werden.',
+ 'recycle_bin_deleted_item' => 'Gelöschter Eintrag',
+ 'recycle_bin_deleted_by' => 'Gelöscht von',
+ 'recycle_bin_deleted_at' => 'Löschzeitpunkt',
+ 'recycle_bin_permanently_delete' => 'Dauerhaft löschen',
+ 'recycle_bin_restore' => 'Wiederherstellen',
+ 'recycle_bin_contents_empty' => 'Der Papierkorb ist derzeit leer',
+ 'recycle_bin_empty' => 'Papierkorb leeren',
+ 'recycle_bin_empty_confirm' => 'Dies wird alle Einträge im Papierkorb dauerhaft entfernen, einschließlich der Inhalte, die darin enthalten sind. Sind Sie sicher, dass Sie den Papierkorb leeren möchten?',
+ 'recycle_bin_destroy_confirm' => 'Diese Aktion wird diesen Eintrag zusammen mit allen unten aufgeführten Untereinträgen dauerhaft aus dem System löschen und Sie werden nicht in der Lage sein, diesen Inhalt wiederherzustellen. Sind Sie sicher, dass Sie diesen Eintrag endgültig löschen möchten?',
+ 'recycle_bin_destroy_list' => 'Zu löschende Einträge',
+ 'recycle_bin_restore_list' => 'Wiederherzustellende Einträge',
+ 'recycle_bin_restore_confirm' => 'Mit dieser Aktion wird der gelöschte Eintrag einschließlich aller untergeordneten Einträge an seinen ursprünglichen Ort wiederherstellen. Wenn der ursprüngliche Ort gelöscht wurde und sich nun im Papierkorb befindet, muss auch der übergeordnete Eintrag wiederhergestellt werden.',
+ 'recycle_bin_restore_deleted_parent' => 'Der übergeordnete Eintrag wurde ebenfalls gelöscht. Dieser Eintrag wird weiterhin als gelöscht zählen, bis auch der übergeordnete Eintrag wiederhergestellt wurde.',
+ 'recycle_bin_destroy_notification' => ':count Einträge wurden aus dem Papierkorb gelöscht.',
+ 'recycle_bin_restore_notification' => ':count Einträge wurden aus dem Papierkorb wiederhergestellt.',
// Audit Log
- 'audit' => 'Audit-Protokoll',
+ 'audit' => 'Änderungsprotokoll',
'audit_desc' => 'Dieses Audit-Protokoll zeigt eine Liste der Aktivitäten an, welche vom System protokolliert werden. Im Gegensatz zu den anderen Aktivitätslisten im System, bei denen Berechtigungen angewendet werden, ist diese Liste ungefiltert.',
'audit_event_filter' => 'Ereignisfilter',
'audit_event_filter_no_filter' => 'Kein Filter',
- 'audit_deleted_item' => 'Gelöschtes Objekt',
+ 'audit_deleted_item' => 'Gelöschtes Element',
'audit_deleted_item_name' => 'Name: :name',
'audit_table_user' => 'Benutzer',
'audit_table_event' => 'Ereignis',
- 'audit_table_item' => 'Verwendetes Objekt',
+ 'audit_table_related' => 'Verknüpfter Eintrag oder Detail',
'audit_table_date' => 'Aktivitätsdatum',
'audit_date_from' => 'Zeitraum von',
'audit_date_to' => 'Zeitraum bis',
'user_profile' => 'Benutzerprofil',
'users_add_new' => 'Benutzer hinzufügen',
'users_search' => 'Benutzer suchen',
+ 'users_latest_activity' => 'Neueste Aktivitäten',
'users_details' => 'Benutzerdetails',
'users_details_desc' => 'Legen Sie für diesen Benutzer einen Anzeigenamen und eine E-Mail-Adresse fest. Die E-Mail-Adresse wird bei der Anmeldung verwendet.',
'users_details_desc_no_email' => 'Legen Sie für diesen Benutzer einen Anzeigenamen fest, damit andere ihn erkennen können.',
'users_delete_named' => 'Benutzer ":userName" löschen',
'users_delete_warning' => 'Der Benutzer ":userName" wird aus dem System gelöscht.',
'users_delete_confirm' => 'Bist Du sicher, dass Du diesen Benutzer löschen möchtest?',
- 'users_delete_success' => 'Benutzer erfolgreich gelöscht.',
+ 'users_migrate_ownership' => 'Besitz migrieren',
+ 'users_migrate_ownership_desc' => 'Wählen Sie hier einen Benutzer, wenn Sie möchten, dass ein anderer Benutzer der Besitzer aller Einträge wird, die diesem Benutzer derzeit gehören.',
+ 'users_none_selected' => 'Kein Benutzer ausgewählt',
+ 'users_delete_success' => 'Benutzer erfolgreich entfernt',
'users_edit' => 'Benutzer bearbeiten',
'users_edit_profile' => 'Profil bearbeiten',
'users_edit_success' => 'Benutzer erfolgreich aktualisisert',
'en' => 'English',
'ar' => 'العربية',
'bg' => 'Bulgarisch',
+ 'bs' => 'Bosanski',
+ 'ca' => 'Katalanisch',
'cs' => 'Česky',
'da' => 'Dänisch',
'de' => 'Deutsch (Sie)',
'es_AR' => 'Español Argentina',
'fr' => 'Français',
'he' => 'עברית',
+ 'hr' => 'Hrvatski',
'hu' => 'Magyar',
+ 'id' => 'Bahasa Indonesia',
'it' => 'Italian',
'ja' => '日本語',
'ko' => '한국어',
+ 'lv' => 'Latviešu Valoda',
'nl' => 'Nederlands',
+ 'nb' => 'Norsk (Bokmål)',
'pl' => 'Polski',
+ 'pt' => 'Português',
'pt_BR' => 'Português do Brasil',
'ru' => 'Русский',
'sk' => 'Slovensky',
'string' => ':attribute muss mindestens :min Zeichen lang sein.',
'array' => ':attribute muss mindesten :min Elemente enthalten.',
],
- 'no_double_extension' => ':attribute darf nur eine gültige Dateiendung',
'not_in' => ':attribute ist ungültig.',
'not_regex' => ':attribute ist kein gültiges Format.',
'numeric' => ':attribute muss eine Zahl sein.',
'required_without' => ':attribute ist erforderlich, wenn :values nicht vorhanden ist.',
'required_without_all' => ':attribute ist erforderlich, wenn :values nicht vorhanden sind.',
'same' => ':attribute und :other müssen übereinstimmen.',
+ 'safe_url' => 'Der angegebene Link ist möglicherweise nicht sicher.',
'size' => [
'numeric' => ':attribute muss :size sein.',
'file' => ':attribute muss :size Kilobytes groß sein.',
'bookshelf_delete' => 'deleted bookshelf',
'bookshelf_delete_notification' => 'Bookshelf Successfully Deleted',
+ // Favourites
+ 'favourite_add_notification' => '":name" has been added to your favourites',
+ 'favourite_remove_notification' => '":name" has been removed from your favourites',
+
// Other
'commented_on' => 'commented on',
'permissions_update' => 'updated permissions',
'remove' => 'Remove',
'add' => 'Add',
'fullscreen' => 'Fullscreen',
+ 'favourite' => 'Favourite',
+ 'unfavourite' => 'Unfavourite',
+ 'next' => 'Next',
+ 'previous' => 'Previous',
// Sort Options
'sort_options' => 'Sort Options',
'sort_ascending' => 'Sort Ascending',
'sort_descending' => 'Sort Descending',
'sort_name' => 'Name',
+ 'sort_default' => 'Default',
'sort_created_at' => 'Created Date',
'sort_updated_at' => 'Updated Date',
'no_activity' => 'No activity to show',
'no_items' => 'No items available',
'back_to_top' => 'Back to top',
+ 'skip_to_main_content' => 'Skip to main content',
'toggle_details' => 'Toggle Details',
'toggle_thumbnails' => 'Toggle Thumbnails',
'details' => 'Details',
'breadcrumb' => 'Breadcrumb',
// Header
+ 'header_menu_expand' => 'Expand Header Menu',
'profile_menu' => 'Profile Menu',
'view_profile' => 'View Profile',
'edit_profile' => 'Edit Profile',
// Layout tabs
'tab_info' => 'Info',
+ 'tab_info_label' => 'Tab: Show Secondary Information',
'tab_content' => 'Content',
+ 'tab_content_label' => 'Tab: Show Primary Content',
// Email Content
'email_action_help' => 'If you’re having trouble clicking the ":actionText" button, copy and paste the URL below into your web browser:',
'email_rights' => 'All rights reserved',
+
+ // Footer Link Options
+ // Not directly used but available for convenience to users.
+ 'privacy_policy' => 'Privacy Policy',
+ 'terms_of_service' => 'Terms of Service',
];
'meta_created_name' => 'Created :timeLength by :user',
'meta_updated' => 'Updated :timeLength',
'meta_updated_name' => 'Updated :timeLength by :user',
+ 'meta_owned_name' => 'Owned by :user',
'entity_select' => 'Entity Select',
'images' => 'Images',
'my_recent_drafts' => 'My Recent Drafts',
'my_recently_viewed' => 'My Recently Viewed',
+ 'my_most_viewed_favourites' => 'My Most Viewed Favourites',
+ 'my_favourites' => 'My Favourites',
'no_pages_viewed' => 'You have not viewed any pages',
'no_pages_recently_created' => 'No pages have been recently created',
'no_pages_recently_updated' => 'No pages have been recently updated',
'export_html' => 'Contained Web File',
'export_pdf' => 'PDF File',
'export_text' => 'Plain Text File',
+ 'export_md' => 'Markdown File',
// Permissions and restrictions
'permissions' => 'Permissions',
'permissions_intro' => 'Once enabled, These permissions will take priority over any set role permissions.',
'permissions_enable' => 'Enable Custom Permissions',
'permissions_save' => 'Save Permissions',
+ 'permissions_owner' => 'Owner',
// Search
'search_results' => 'Search Results',
'search_permissions_set' => 'Permissions set',
'search_created_by_me' => 'Created by me',
'search_updated_by_me' => 'Updated by me',
+ 'search_owned_by_me' => 'Owned by me',
'search_date_options' => 'Date Options',
'search_updated_before' => 'Updated before',
'search_updated_after' => 'Updated after',
'chapters_create' => 'Create New Chapter',
'chapters_delete' => 'Delete Chapter',
'chapters_delete_named' => 'Delete Chapter :chapterName',
- 'chapters_delete_explain' => 'This will delete the chapter with the name \':chapterName\'. All pages will be removed and added directly to the parent book.',
+ 'chapters_delete_explain' => 'This will delete the chapter with the name \':chapterName\'. All pages that exist within this chapter will also be deleted.',
'chapters_delete_confirm' => 'Are you sure you want to delete this chapter?',
'chapters_edit' => 'Edit Chapter',
'chapters_edit_named' => 'Edit Chapter :chapterName',
'pages_revisions' => 'Page Revisions',
'pages_revisions_named' => 'Page Revisions for :pageName',
'pages_revision_named' => 'Page Revision for :pageName',
+ 'pages_revision_restored_from' => 'Restored from #:id; :summary',
'pages_revisions_created_by' => 'Created By',
'pages_revisions_date' => 'Revision Date',
'pages_revisions_number' => '#',
'revision_restore_confirm' => 'Are you sure you want to restore this revision? The current page contents will be replaced.',
'revision_delete_success' => 'Revision deleted',
'revision_cannot_delete_latest' => 'Cannot delete the latest revision.'
-];
\ No newline at end of file
+];
'404_page_not_found' => 'Page Not Found',
'sorry_page_not_found' => 'Sorry, The page you were looking for could not be found.',
'sorry_page_not_found_permission_warning' => 'If you expected this page to exist, you might not have permission to view it.',
+ 'image_not_found' => 'Image Not Found',
+ 'image_not_found_subtitle' => 'Sorry, The image file you were looking for could not be found.',
+ 'image_not_found_details' => 'If you expected this image to exist it might have been deleted.',
'return_home' => 'Return to home',
'error_occurred' => 'An Error Occurred',
'app_down' => ':appName is down right now',
'app_homepage' => 'Application Homepage',
'app_homepage_desc' => 'Select a view to show on the homepage instead of the default view. Page permissions are ignored for selected pages.',
'app_homepage_select' => 'Select a page',
+ 'app_footer_links' => 'Footer Links',
+ 'app_footer_links_desc' => 'Add links to show within the site footer. These will be displayed at the bottom of most pages, including those that do not require login. You can use a label of "trans::<key>" to use system-defined translations. For example: Using "trans::common.privacy_policy" will provide the translated text "Privacy Policy" and "trans::common.terms_of_service" will provide the translated text "Terms of Service".',
+ 'app_footer_links_label' => 'Link Label',
+ 'app_footer_links_url' => 'Link URL',
+ 'app_footer_links_add' => 'Add Footer Link',
'app_disable_comments' => 'Disable Comments',
'app_disable_comments_toggle' => 'Disable comments',
'app_disable_comments_desc' => 'Disables comments across all pages in the application. <br> Existing comments are not shown.',
'maint' => 'Maintenance',
'maint_image_cleanup' => 'Cleanup Images',
'maint_image_cleanup_desc' => "Scans page & revision content to check which images and drawings are currently in use and which images are redundant. Ensure you create a full database and image backup before running this.",
- 'maint_image_cleanup_ignore_revisions' => 'Ignore images in revisions',
+ 'maint_delete_images_only_in_revisions' => 'Also delete images that only exist in old page revisions',
'maint_image_cleanup_run' => 'Run Cleanup',
'maint_image_cleanup_warning' => ':count potentially unused images were found. Are you sure you want to delete these images?',
'maint_image_cleanup_success' => ':count potentially unused images found and deleted!',
'users_delete_named' => 'Delete user :userName',
'users_delete_warning' => 'This will fully delete this user with the name \':userName\' from the system.',
'users_delete_confirm' => 'Are you sure you want to delete this user?',
- 'users_delete_success' => 'Users successfully removed',
+ 'users_migrate_ownership' => 'Migrate Ownership',
+ 'users_migrate_ownership_desc' => 'Select a user here if you want another user to become the owner of all items currently owned by this user.',
+ 'users_none_selected' => 'No user selected',
+ 'users_delete_success' => 'User successfully removed',
'users_edit' => 'Edit User',
'users_edit_profile' => 'Edit Profile',
'users_edit_success' => 'User successfully updated',
'en' => 'English',
'ar' => 'العربية',
'bg' => 'Bǎlgarski',
+ 'bs' => 'Bosanski',
+ 'ca' => 'Català',
'cs' => 'Česky',
'da' => 'Dansk',
'de' => 'Deutsch (Sie)',
'es_AR' => 'Español Argentina',
'fr' => 'Français',
'he' => 'עברית',
+ 'hr' => 'Hrvatski',
'hu' => 'Magyar',
+ 'id' => 'Bahasa Indonesia',
'it' => 'Italian',
'ja' => '日本語',
'ko' => '한국어',
+ 'lv' => 'Latviešu Valoda',
'nl' => 'Nederlands',
+ 'nb' => 'Norsk (Bokmål)',
'pl' => 'Polski',
+ 'pt' => 'Português',
'pt_BR' => 'Português do Brasil',
'ru' => 'Русский',
'sk' => 'Slovensky',
'string' => 'The :attribute must be at least :min characters.',
'array' => 'The :attribute must have at least :min items.',
],
- 'no_double_extension' => 'The :attribute must only have a single file extension.',
'not_in' => 'The selected :attribute is invalid.',
'not_regex' => 'The :attribute format is invalid.',
'numeric' => 'The :attribute must be a number.',
'bookshelf_delete' => 'estante eliminado',
'bookshelf_delete_notification' => 'Estante eliminado correctamente',
+ // Favourites
+ 'favourite_add_notification' => '".name" ha sido añadido a sus favoritos',
+ 'favourite_remove_notification' => '".name" ha sido eliminado de sus favoritos',
+
// Other
'commented_on' => 'comentada el',
+ 'permissions_update' => 'permisos actualizados',
];
'remove' => 'Remover',
'add' => 'Añadir',
'fullscreen' => 'Pantalla completa',
+ 'favourite' => 'Añadir a favoritos',
+ 'unfavourite' => 'Eliminar de favoritos',
+ 'next' => 'Siguiente',
+ 'previous' => 'Anterior',
// Sort Options
'sort_options' => 'Opciones de ordenación',
'sort_ascending' => 'Ordenar Ascendentemente',
'sort_descending' => 'Ordenar Descendentemente',
'sort_name' => 'Nombre',
+ 'sort_default' => 'Predeterminada',
'sort_created_at' => 'Fecha de Creación',
'sort_updated_at' => 'Fecha de Modificación',
'breadcrumb' => 'Rastro de migas de pan',
// Header
+ 'header_menu_expand' => 'Expandir el Menú de la Cabecera',
'profile_menu' => 'Menú de Perfil',
'view_profile' => 'Ver Perfil',
'edit_profile' => 'Editar Perfil',
// Layout tabs
'tab_info' => 'Información',
+ 'tab_info_label' => 'Pestaña: Mostrar Información Secundaria',
'tab_content' => 'Contenido',
+ 'tab_content_label' => 'Pestaña: Mostrar Contenido Primario',
// Email Content
'email_action_help' => 'Si está teniendo problemas clicando en el botón ":actionText", copie y pegue la siguiente URL en su navegador web:',
'email_rights' => 'Todos los derechos reservados',
+
+ // Footer Link Options
+ // Not directly used but available for convenience to users.
+ 'privacy_policy' => 'Política de privacidad',
+ 'terms_of_service' => 'Términos de Servicio',
];
'meta_created_name' => 'Creado :timeLength por :user',
'meta_updated' => 'Actualizado :timeLength',
'meta_updated_name' => 'Actualizado :timeLength por :user',
+ 'meta_owned_name' => 'Propiedad de :user',
'entity_select' => 'Seleccione entidad',
'images' => 'Imágenes',
'my_recent_drafts' => 'Mis borradores recientes',
'my_recently_viewed' => 'Mis visualizaciones recientes',
+ 'my_most_viewed_favourites' => 'Mis favoritos más vistos',
+ 'my_favourites' => 'Mis favoritos',
'no_pages_viewed' => 'No ha visto ninguna página',
'no_pages_recently_created' => 'Ninguna página ha sido creada recientemente',
'no_pages_recently_updated' => 'Ninguna página ha sido actualizada recientemente',
'permissions_intro' => 'Una vez habilitado, estos permisos tendrán prioridad por encima de cualquier permiso establecido.',
'permissions_enable' => 'Habilitar permisos personalizados',
'permissions_save' => 'Guardar permisos',
+ 'permissions_owner' => 'Propietario',
// Search
'search_results' => 'Resultados de búsqueda',
'search_permissions_set' => 'Permisos ajustados',
'search_created_by_me' => 'Creadas por mí',
'search_updated_by_me' => 'Actualizadas por mí',
+ 'search_owned_by_me' => 'De mi propiedad',
'search_date_options' => 'Opciones de fecha',
'search_updated_before' => 'Actualizadas antes de',
'search_updated_after' => 'Actualizadas después de',
'chapters_create' => 'Crear nuevo capítulo',
'chapters_delete' => 'Borrar capítulo',
'chapters_delete_named' => 'Borrar capítulo :chapterName',
- 'chapters_delete_explain' => 'Esto borrará el capítulo con el nombre \':chapterName\', todas las páginas serán eliminadas y agregadas directamente al libro padre.',
+ 'chapters_delete_explain' => 'Esto eliminará el capítulo con el nombre \':chapterName\'. También se eliminarán todas las páginas que existen dentro de este capítulo.',
'chapters_delete_confirm' => '¿Está seguro de borrar este capítulo?',
'chapters_edit' => 'Editar capítulo',
'chapters_edit_named' => 'Editar capítulo :chapterName',
'pages_revisions' => 'Revisiones de página',
'pages_revisions_named' => 'Revisiones de página para :pageName',
'pages_revision_named' => 'Revisión de página para :pageName',
+ 'pages_revision_restored_from' => 'Restaurado de #:id; :summary',
'pages_revisions_created_by' => 'Creado por',
'pages_revisions_date' => 'Fecha de revisión',
'pages_revisions_number' => '#',
'revision_restore_confirm' => '¿Está seguro de que desea restaurar esta revisión? El contenido actual de la página será reemplazado.',
'revision_delete_success' => 'Revisión eliminada',
'revision_cannot_delete_latest' => 'No se puede eliminar la última revisión.'
-];
\ No newline at end of file
+];
'404_page_not_found' => 'Página no encontrada',
'sorry_page_not_found' => 'Lo sentimos, la página a la que intenta acceder no pudo ser encontrada.',
'sorry_page_not_found_permission_warning' => 'Si esperaba que esta página existiera, puede que no tenga permiso para verla.',
+ 'image_not_found' => 'Imagen no encontrada',
+ 'image_not_found_subtitle' => 'Lo sentimos, no se pudo encontrar el archivo de imagen que estaba buscando.',
+ 'image_not_found_details' => 'Si esperaba que esta imagen existiera, podría haber sido eliminada.',
'return_home' => 'Volver a la página de inicio',
'error_occurred' => 'Ha ocurrido un error',
'app_down' => 'La aplicación :appName se encuentra caída en este momento',
'app_homepage' => 'Página de inicio',
'app_homepage_desc' => 'Elija la vista que se mostrará en la página de inicio en lugar de la vista predeterminada. Se ignorarán los permisos de la página seleccionada.',
'app_homepage_select' => 'Elija una página',
+ 'app_footer_links' => 'Enlaces de pie de página',
+ 'app_footer_links_desc' => 'Añade enlaces para mostrar dentro del pie de página del sitio. Estos se mostrarán en la parte inferior de la mayoría de las páginas, incluyendo aquellas que no requieren estar registrado. Puede utilizar una etiqueta de "trans::<key>" para utilizar traducciones definidas por el sistema. Por ejemplo: el uso de "trans::common.privacy_policy" proporcionará el texto traducido "Política de privacidad" y "trans::common.terms_of_service" proporcionará el texto traducido "Términos de servicio".',
+ 'app_footer_links_label' => 'Etiqueta del enlace',
+ 'app_footer_links_url' => 'Dirección URL del enlace',
+ 'app_footer_links_add' => 'Añadir enlace al pie de página',
'app_disable_comments' => 'Deshabilitar Comentarios',
'app_disable_comments_toggle' => 'Deshabilitar comentarios',
'app_disable_comments_desc' => 'Deshabilita los comentarios en todas las páginas de la aplicación. <br> Los comentarios existentes no se muestran.',
'maint' => 'Mantenimiento',
'maint_image_cleanup' => 'Limpiar imágenes',
'maint_image_cleanup_desc' => "Analiza las páginas y sus revisiones para comprobar qué imágenes y dibujos están siendo utilizadas y cuales no son necesarias. Asegúrate de crear una copia completa de la base de datos y de las imágenes antes de lanzar esta opción.",
- 'maint_image_cleanup_ignore_revisions' => 'Ignorar imágenes en revisiones',
+ 'maint_delete_images_only_in_revisions' => 'Elimina también imágenes que sólo existen en antiguas revisiones de páginas',
'maint_image_cleanup_run' => 'Lanzar limpieza',
'maint_image_cleanup_warning' => 'Se han encontrado :count imágenes posiblemente no utilizadas . ¿Estás seguro de querer borrar estas imágenes?',
'maint_image_cleanup_success' => '¡Se han encontrado y borrado :count imágenes posiblemente no utilizadas!',
'maint_send_test_email_mail_subject' => 'Probar correo electrónico',
'maint_send_test_email_mail_greeting' => '¡El envío de correos electrónicos parece funcionar!',
'maint_send_test_email_mail_text' => '¡Enhorabuena! Al recibir esta notificación de correo electrónico, tu configuración de correo electrónico parece estar ajustada correctamente.',
+ 'maint_recycle_bin_desc' => 'Los estantes, libros, capítulos y páginas eliminados se envían a la papelera de reciclaje para que puedan ser restauradas o eliminadas permanentemente. Los elementos más antiguos en la papelera de reciclaje pueden ser eliminados automáticamente después de un tiempo dependiendo de la configuración del sistema.',
+ 'maint_recycle_bin_open' => 'Abrir papelera de reciclaje',
+
+ // Recycle Bin
+ 'recycle_bin' => 'Papelera de Reciclaje',
+ 'recycle_bin_desc' => 'Aquí puede restaurar elementos que hayan sido eliminados o elegir eliminarlos permanentemente del sistema. Esta lista no está filtrada a diferencia de las listas de actividad similares en el sistema donde se aplican los filtros de permisos.',
+ 'recycle_bin_deleted_item' => 'Elemento Eliminado',
+ 'recycle_bin_deleted_by' => 'Eliminado por',
+ 'recycle_bin_deleted_at' => 'Fecha de eliminación',
+ 'recycle_bin_permanently_delete' => 'Eliminar permanentemente',
+ 'recycle_bin_restore' => 'Restaurar',
+ 'recycle_bin_contents_empty' => 'La papelera de reciclaje está vacía',
+ 'recycle_bin_empty' => 'Vaciar Papelera de reciclaje',
+ 'recycle_bin_empty_confirm' => 'Esto destruirá permanentemente todos los elementos de la papelera de reciclaje, incluyendo el contenido existente en cada elemento. ¿Está seguro de que desea vaciar la papelera de reciclaje?',
+ 'recycle_bin_destroy_confirm' => 'Esta acción eliminará permanentemente este elemento del sistema, junto con los elementos secundarios listados a continuación, y no podrá restaurar este contenido de nuevo. ¿Está seguro de que desea eliminar permanentemente este elemento?',
+ 'recycle_bin_destroy_list' => 'Elementos a eliminar',
+ 'recycle_bin_restore_list' => 'Elementos a restaurar',
+ 'recycle_bin_restore_confirm' => 'Esta acción restaurará el elemento eliminado, incluyendo cualquier elemento secundario, a su ubicación original. Si la ubicación original ha sido eliminada, y ahora está en la papelera de reciclaje, el elemento padre también tendrá que ser restaurado.',
+ 'recycle_bin_restore_deleted_parent' => 'El padre de este elemento también ha sido eliminado. Estos permanecerán eliminados hasta que el padre también sea restaurado.',
+ 'recycle_bin_destroy_notification' => 'Eliminados :count artículos de la papelera de reciclaje.',
+ 'recycle_bin_restore_notification' => 'Restaurados :count artículos desde la papelera de reciclaje.',
// Audit Log
'audit' => 'Registro de Auditoría',
'audit_deleted_item_name' => 'Nombre: :name',
'audit_table_user' => 'Usuario',
'audit_table_event' => 'Evento',
- 'audit_table_item' => 'Elemento relacionado',
+ 'audit_table_related' => 'Elemento o detalle relacionados',
'audit_table_date' => 'Fecha de la actividad',
'audit_date_from' => 'Rango de fecha desde',
'audit_date_to' => 'Rango de fecha hasta',
'user_profile' => 'Perfil de Usuario',
'users_add_new' => 'Agregar Nuevo Usuario',
'users_search' => 'Buscar usuarios',
+ 'users_latest_activity' => 'Actividad Reciente',
'users_details' => 'Detalles de Usuario',
'users_details_desc' => 'Ajusta un nombre público y email para este usuario. El email será empleado para acceder a la aplicación.',
'users_details_desc_no_email' => 'Ajusta un nombre público para este usuario para que pueda ser reconocido por otros.',
'users_delete_named' => 'Borrar usuario :userName',
'users_delete_warning' => 'Se borrará completamente el usuario con el nombre \':userName\' del sistema.',
'users_delete_confirm' => '¿Está seguro que desea borrar este usuario?',
- 'users_delete_success' => 'Usuarios removidos éxitosamente',
+ 'users_migrate_ownership' => 'Cambiar Propietario',
+ 'users_migrate_ownership_desc' => 'Seleccione un usuario aquí si desea que otro usuario se convierta en el dueño de todos los elementos que actualmente son propiedad de este usuario.',
+ 'users_none_selected' => 'Usuario no seleccionado',
+ 'users_delete_success' => 'El usuario se ha eliminado correctamente',
'users_edit' => 'Editar Usuario',
'users_edit_profile' => 'Editar perfil',
'users_edit_success' => 'Usuario actualizado',
'en' => 'English',
'ar' => 'العربية',
'bg' => 'Bǎlgarski',
+ 'bs' => 'Bosanski',
+ 'ca' => 'Català',
'cs' => 'Česky',
'da' => 'Danés',
'de' => 'Deutsch (Sie)',
'es_AR' => 'Español Argentina',
'fr' => 'Français',
'he' => 'עברית',
+ 'hr' => 'Hrvatski',
'hu' => 'Magyar',
+ 'id' => 'Bahasa Indonesia',
'it' => 'Italian',
'ja' => '日本語',
'ko' => '한국어',
+ 'lv' => 'Latviešu Valoda',
'nl' => 'Nederlands',
+ 'nb' => 'Norsk (Bokmål)',
'pl' => 'Polski',
+ 'pt' => 'Português',
'pt_BR' => 'Português do Brasil',
'ru' => 'Русский',
'sk' => 'Slovensky',
'string' => 'El :attribute debe ser al menos :min caracteres.',
'array' => 'El :attribute debe tener como mínimo :min items.',
],
- 'no_double_extension' => 'El :attribute solo debe tener una extensión de archivo.',
'not_in' => 'El :attribute seleccionado es inválio.',
'not_regex' => 'El formato de :attribute es inválido.',
'numeric' => 'El :attribute debe ser numérico.',
'required_without' => 'El :attribute es requerido cuando no se encuentre entre los valores :values.',
'required_without_all' => 'El :attribute es requerido cuando ninguno de los valores :values están presentes.',
'same' => 'El :attribute y :other deben coincidir.',
+ 'safe_url' => 'El enlace proporcionado puede no ser seguro.',
'size' => [
'numeric' => ':attribute debe ser :size.',
'file' => ':attribute debe ser :size kilobytes.',
'bookshelf_delete' => 'Estante borrado',
'bookshelf_delete_notification' => 'Estante borrado exitosamente',
+ // Favourites
+ 'favourite_add_notification' => '".name" se añadió a sus favoritos',
+ 'favourite_remove_notification' => '".name" se eliminó de sus favoritos',
+
// Other
'commented_on' => 'comentado',
+ 'permissions_update' => 'permisos actualizados',
];
'remove' => 'Remover',
'add' => 'Agregar',
'fullscreen' => 'Pantalla completa',
+ 'favourite' => 'Favoritos',
+ 'unfavourite' => 'Eliminar de favoritos',
+ 'next' => 'Siguiente',
+ 'previous' => 'Anterior',
// Sort Options
'sort_options' => 'Opciones de Orden',
'sort_ascending' => 'Orden Ascendente',
'sort_descending' => 'Orden Descendente',
'sort_name' => 'Nombre',
+ 'sort_default' => 'Por defecto',
'sort_created_at' => 'Fecha de creación',
'sort_updated_at' => 'Fecha de actualización',
// Misc
'deleted_user' => 'Usuario borrado',
'no_activity' => 'Ninguna actividad para mostrar',
- 'no_items' => 'No hay items disponibles',
+ 'no_items' => 'No hay elementos disponibles',
'back_to_top' => 'Volver arriba',
'toggle_details' => 'Alternar detalles',
'toggle_thumbnails' => 'Alternar miniaturas',
'breadcrumb' => 'Miga de Pan',
// Header
+ 'header_menu_expand' => 'Expandir el Menú de Cabecera',
'profile_menu' => 'Menu del Perfil',
'view_profile' => 'Ver Perfil',
'edit_profile' => 'Editar Perfil',
// Layout tabs
'tab_info' => 'Información',
+ 'tab_info_label' => 'Pestaña: Mostrar Información Secundaria',
'tab_content' => 'Contenido',
+ 'tab_content_label' => 'Pestaña: Mostrar Contenido Primario',
// Email Content
'email_action_help' => 'Si está teniendo problemas haga click en el botón ":actionText", copie y pegue la siguiente URL en su navegador web:',
'email_rights' => 'Todos los derechos reservados',
+
+ // Footer Link Options
+ // Not directly used but available for convenience to users.
+ 'privacy_policy' => 'Política de privacidad',
+ 'terms_of_service' => 'Términos de Servicio',
];
'meta_created_name' => 'Creado el :timeLength por :user',
'meta_updated' => 'Actualizado el :timeLength',
'meta_updated_name' => 'Actualizado el :timeLength por :user',
+ 'meta_owned_name' => 'Propiedad de :user',
'entity_select' => 'Seleccione entidad',
'images' => 'Imágenes',
'my_recent_drafts' => 'Mis borradores recientes',
'my_recently_viewed' => 'Mis visualizaciones recientes',
+ 'my_most_viewed_favourites' => 'Mis Favoritos Más Vistos',
+ 'my_favourites' => 'Mis Favoritos',
'no_pages_viewed' => 'Ud. no ha visto ninguna página',
'no_pages_recently_created' => 'Ninguna página ha sido creada recientemente',
'no_pages_recently_updated' => 'Ninguna página ha sido actualizada recientemente',
'permissions_intro' => 'una vez habilitado, Estos permisos tendrán prioridad por encima de cualquier permiso establecido.',
'permissions_enable' => 'Habilitar permisos custom',
'permissions_save' => 'Guardar permisos',
+ 'permissions_owner' => 'Propietario',
// Search
'search_results' => 'Buscar resultados',
'search_permissions_set' => 'Permisos establecidos',
'search_created_by_me' => 'Creado por mí',
'search_updated_by_me' => 'Actualizado por mí',
+ 'search_owned_by_me' => 'De mi propiedad',
'search_date_options' => 'Opciones de fecha',
'search_updated_before' => 'Actualizado antes de',
'search_updated_after' => 'Actualizado después de',
'chapters_create' => 'Crear nuevo capítulo',
'chapters_delete' => 'Borrar capítulo',
'chapters_delete_named' => 'Borrar capítulo :chapterName',
- 'chapters_delete_explain' => 'Esto borrará el capítulo con el nombre \':chapterName\', todas las páginas serán removidas y agregadas directamente al libro padre.',
+ 'chapters_delete_explain' => 'Esta acción eliminará el capítulo con el nombre \':chapterName\'. Todas las páginas que existen dentro del capítulo también se eliminarán.',
'chapters_delete_confirm' => '¿Está seguro de borrar este capítulo?',
'chapters_edit' => 'Editar capítulo',
'chapters_edit_named' => 'Editar capítulo :chapterName',
'pages_revisions' => 'Revisiones de página',
'pages_revisions_named' => 'Revisiones de página para :pageName',
'pages_revision_named' => 'Revisión de ágina para :pageName',
+ 'pages_revision_restored_from' => 'Restaurado desde #:id; :summary',
'pages_revisions_created_by' => 'Creado por',
'pages_revisions_date' => 'Fecha de revisión',
'pages_revisions_number' => '#',
'attachments_link_url' => 'Enlace a archivo',
'attachments_link_url_hint' => 'URL del sitio o archivo',
'attach' => 'Adjuntar',
- 'attachments_insert_link' => 'Añadir enlace al adjunto en la página',
+ 'attachments_insert_link' => 'Agregar el Enlace del adjunto a la Página',
'attachments_edit_file' => 'Editar archivo',
'attachments_edit_file_name' => 'Nombre del archivo',
'attachments_edit_drop_upload' => 'Arrastre los archivos o presione aquí para subir o sobreescribir',
'attachments_link_attached' => 'Enlace agregado exitosamente a la página',
'templates' => 'Plantillas',
'templates_set_as_template' => 'La Página es una plantilla',
- 'templates_explain_set_as_template' => 'Puede establecer esta página como plantilla para que el contenido pueda utilizarse para al crear otras páginas. Otris usuarios podrán utilizar esta plantilla si tienen permisos para ver de esta página.',
+ 'templates_explain_set_as_template' => 'Puede establecer esta página como plantilla para que el contenido pueda utilizarse al crear otras páginas. Otros usuarios podrán utilizar esta plantilla si tienen permisos para ver de esta página.',
'templates_replace_content' => 'Reemplazar el contenido de la página',
'templates_append_content' => 'Incorporar al fina del contenido de la página',
'templates_prepend_content' => 'Incorporar al principio del contenido de la página',
'revision_restore_confirm' => '¿Está seguro de que quiere restaurar esta revisión? Se reemplazará el contenido de la página actual.',
'revision_delete_success' => 'Revisión eliminada',
'revision_cannot_delete_latest' => 'No se puede eliminar la última revisión.'
-];
\ No newline at end of file
+];
'404_page_not_found' => 'Página no encontrada',
'sorry_page_not_found' => 'Lo sentimos, la página que intenta acceder no pudo ser encontrada.',
'sorry_page_not_found_permission_warning' => 'Si esperaba que esta página existiera, puede que no tenga permiso para verla.',
+ 'image_not_found' => 'No se encuentra la imagen',
+ 'image_not_found_subtitle' => 'Lo siento, no se pudo encontrar la imagen que busca.',
+ 'image_not_found_details' => 'Si esperaba que esta imagen exista es probable que se haya eliminado.',
'return_home' => 'Volver al home',
'error_occurred' => 'Ha ocurrido un error',
'app_down' => 'La aplicación :appName se encuentra caída en este momento',
'app_custom_html_desc' => 'Cualquier contenido agregado aquí será agregado al final de la sección <head> de cada página. Esto es útil para sobreescribir estilos o agregar código para analíticas.',
'app_custom_html_disabled_notice' => 'El contenido personailzado para la cabecera HTML está deshabilitado en esta configuración para garantizar que cualquier cambio importante se pueda revertir.',
'app_logo' => 'Logo de la aplicación',
- 'app_logo_desc' => 'Esta imagen debería ser de 43px en altura. <br>Las imágenes grandes seán escaladas.',
+ 'app_logo_desc' => 'Esta imagen debería ser de 43px en altura. <br>Las imágenes grandes serán achicadas.',
'app_primary_color' => 'Color primario de la aplicación',
'app_primary_color_desc' => 'Esto debería ser un valor hexadecimal. <br>Deje el valor vacío para reiniciar al valor por defecto.',
'app_homepage' => 'Página de inicio de la Aplicación',
'app_homepage_desc' => 'Seleccione una página de inicio para mostrar en lugar de la vista por defecto. Se ignoran los permisos de página para las páginas seleccionadas.',
'app_homepage_select' => 'Seleccione una página',
+ 'app_footer_links' => 'Enlaces de pie de página',
+ 'app_footer_links_desc' => 'Añade enlaces para mostrar dentro del pie de página del sitio. Estos se mostrarán en la parte inferior de la mayoría de las páginas, incluyendo aquellas que no requieren estar registrado. Puede utilizar una etiqueta de "trans::<key>" para utilizar traducciones definidas por el sistema. Por ejemplo: el uso de "trans::common.privacy_policy" proporcionará el texto traducido "Política de privacidad" y "trans::common.terms_of_service" proporcionará el texto traducido "Términos de servicio".',
+ 'app_footer_links_label' => 'Etiqueta del enlace',
+ 'app_footer_links_url' => 'Dirección URL del enlace',
+ 'app_footer_links_add' => 'Añadir enlace al pie de página',
'app_disable_comments' => 'Deshabilitar comentarios',
'app_disable_comments_toggle' => 'Deshabilitar comentarios',
'app_disable_comments_desc' => 'Deshabilitar comentarios en todas las páginas de la aplicación. Los comentarios existentes no se muestran.',
'maint' => 'Mantenimiento',
'maint_image_cleanup' => 'Limpiar imágenes',
'maint_image_cleanup_desc' => "Analizar contenido de páginas y revisiones para detectar cuáles imágenes y dibujos están en uso y cuáles son redundantes. Asegúrese de crear un respaldo completo de imágenes y base de datos antes de ejecutar esta tarea.",
- 'maint_image_cleanup_ignore_revisions' => 'Ignorar imágenes en revisión',
+ 'maint_delete_images_only_in_revisions' => 'También elimina imágenes que sólo existen en antiguas revisiones de páginas',
'maint_image_cleanup_run' => 'Ejecutar limpieza',
'maint_image_cleanup_warning' => 'Se encontraron :count imágenes pontencialmente sin uso. Está seguro de que quiere eliminarlas?',
'maint_image_cleanup_success' => 'Se encontraron y se eliminaron :count imágenes pontencialmente sin uso!',
'maint_send_test_email_mail_subject' => 'Probar correo electrónico',
'maint_send_test_email_mail_greeting' => '¡El envío de correos electrónicos parece funcionar!',
'maint_send_test_email_mail_text' => '¡Enhorabuena! Al recibir esta notificación de correo electrónico, tu configuración de correo electrónico parece estar ajustada correctamente.',
+ 'maint_recycle_bin_desc' => 'Los estantes, libros, capítulos y páginas eliminados se envían a la papelera de reciclaje para que puedan ser restauradas o eliminadas permanentemente. Los elementos más antiguos en la papelera de reciclaje pueden ser eliminados automáticamente después de un tiempo dependiendo de la configuración del sistema.',
+ 'maint_recycle_bin_open' => 'Abrir papelera de reciclaje',
+
+ // Recycle Bin
+ 'recycle_bin' => 'Papelera de Reciclaje',
+ 'recycle_bin_desc' => 'Aquí puede restaurar elementos que hayan sido eliminados o elegir eliminarlos permanentemente del sistema. Esta lista no está filtrada a diferencia de las listas de actividad similares en el sistema donde se aplican los filtros de permisos.',
+ 'recycle_bin_deleted_item' => 'Elemento Eliminado',
+ 'recycle_bin_deleted_by' => 'Eliminado por',
+ 'recycle_bin_deleted_at' => 'Fecha de eliminación',
+ 'recycle_bin_permanently_delete' => 'Eliminar permanentemente',
+ 'recycle_bin_restore' => 'Restaurar',
+ 'recycle_bin_contents_empty' => 'La papelera de reciclaje está vacía',
+ 'recycle_bin_empty' => 'Vaciar Papelera de reciclaje',
+ 'recycle_bin_empty_confirm' => 'Esto destruirá permanentemente todos los elementos de la papelera de reciclaje, incluyendo el contenido existente en cada elemento. ¿Está seguro de que desea vaciar la papelera de reciclaje?',
+ 'recycle_bin_destroy_confirm' => 'Esta acción eliminará permanentemente este elemento del sistema, junto con los elementos secundarios listados a continuación, y no podrá restaurar este contenido. ¿Está seguro de que desea eliminar permanentemente este elemento?',
+ 'recycle_bin_destroy_list' => 'Elementos a destruir',
+ 'recycle_bin_restore_list' => 'Elementos a restaurar',
+ 'recycle_bin_restore_confirm' => 'Esta acción restaurará el elemento eliminado, incluyendo cualquier elemento secundario, a su ubicación original. Si la ubicación original ha sido eliminada, y ahora está en la papelera de reciclaje, el elemento padre también tendrá que ser restaurado.',
+ 'recycle_bin_restore_deleted_parent' => 'El padre de este elemento también ha sido eliminado. Estos permanecerán eliminados hasta que el padre también sea restaurado.',
+ 'recycle_bin_destroy_notification' => 'Eliminados :count elementos de la papelera de reciclaje.',
+ 'recycle_bin_restore_notification' => 'Restaurados :count elementos desde la papelera de reciclaje.',
// Audit Log
'audit' => 'Registro de Auditoría',
- 'audit_desc' => 'Este registro de auditoría muestra una lista de actividades registradas en el sistema. Esta lista no está filtrada a diferencia de las listas de actividad similares en el sistema donde se aplican los filtros de permisos.',
- 'audit_event_filter' => 'Filtro de eventos',
- 'audit_event_filter_no_filter' => 'Sin filtro',
- 'audit_deleted_item' => 'Elemento eliminado',
+ 'audit_desc' => 'Este registro de auditoría muestra una lista de actividades rastreadas en el sistema. Esta lista no tiene filtrado a diferencia de listas de actividad similares en el sistema en los que se aplican filtros de permisos.',
+ 'audit_event_filter' => 'Filtro de Eventos',
+ 'audit_event_filter_no_filter' => 'Sin Filtro',
+ 'audit_deleted_item' => 'Elemento borrado',
'audit_deleted_item_name' => 'Nombre: :name',
'audit_table_user' => 'Usuario',
'audit_table_event' => 'Evento',
- 'audit_table_item' => 'Elemento relacionado',
- 'audit_table_date' => 'Fecha de la actividad',
- 'audit_date_from' => 'Rango de fecha desde',
- 'audit_date_to' => 'Rango de fecha hasta',
+ 'audit_table_related' => 'Elemento o detalle relacionados',
+ 'audit_table_date' => 'Fecha de la Actividad',
+ 'audit_date_from' => 'Inicio del Rango de Fecha',
+ 'audit_date_to' => 'Final del Rango de Fecha',
// Role Settings
'roles' => 'Roles',
'role_access_api' => 'API de sistema de acceso',
'role_manage_settings' => 'Gestionar ajustes de activos',
'role_asset' => 'Permisos de activos',
- 'roles_system_warning' => 'Tenga en cuenta que el acceso a cualquiera de los tres permisos anteriores puede permitir a un usuario alterar sus propios privilegios o los privilegios de otros en el sistema. Sólo asignar roles con estos permisos a usuarios de confianza.',
- 'role_asset_desc' => 'Estos permisos controlan el acceso por defecto a los activos del sistema. Permisos a Libros, Capítulos y Páginas sobreescribiran estos permisos.',
+ 'roles_system_warning' => 'Tenga en cuenta que el acceso a cualquiera de los tres permisos anteriores puede permitir a un usuario modificar sus propios privilegios o los privilegios de otros usuarios en el sistema. Asignar roles con estos permisos sólo a usuarios de comfianza.',
+ 'role_asset_desc' => 'Estos permisos controlan el acceso por defecto a los activos del sistema. Permisos definidos en Libros, Capítulos y Páginas ignorarán estos permisos.',
'role_asset_admins' => 'Los administradores reciben automáticamente acceso a todo el contenido pero estas opciones pueden mostrar u ocultar opciones de UI.',
'role_all' => 'Todo',
'role_own' => 'Propio',
'user_profile' => 'Perfil de usuario',
'users_add_new' => 'Agregar nuevo usuario',
'users_search' => 'Buscar usuarios',
+ 'users_latest_activity' => 'Actividad Reciente',
'users_details' => 'Detalles del usuario',
'users_details_desc' => 'Asigne un nombre de visualización y una dirección de correo electrónico para este usuario. La dirección de correo electrónico se usará pra ingresar a la aplicación.',
'users_details_desc_no_email' => 'Asigne un nombre de visualización a este usuario para que los demás puedan reconocerlo.',
'users_delete_named' => 'Borrar usuario :userName',
'users_delete_warning' => 'Se borrará completamente el usuario con el nombre \':userName\' del sistema.',
'users_delete_confirm' => '¿Está seguro que desea borrar este usuario?',
- 'users_delete_success' => 'Usuarios removidos exitosamente',
+ 'users_migrate_ownership' => 'Cambiar Propietario',
+ 'users_migrate_ownership_desc' => 'Seleccione un usuario aquí si desea que otro usuario se convierta en el dueño de todos los elementos que actualmente son propiedad de este usuario.',
+ 'users_none_selected' => 'No hay usuario seleccionado',
+ 'users_delete_success' => 'El usuario fue eliminado correctamente',
'users_edit' => 'Editar Usuario',
'users_edit_profile' => 'Editar perfil',
'users_edit_success' => 'Usuario actualizado',
'user_api_token_name_desc' => 'Dale a tu token un nombre legible como un recordatorio futuro de su propósito.',
'user_api_token_expiry' => 'Fecha de expiración',
'user_api_token_expiry_desc' => 'Establece una fecha en la que este token expira. Después de esta fecha, las solicitudes realizadas usando este token ya no funcionarán. Dejar este campo en blanco fijará un vencimiento de 100 años en el futuro.',
- 'user_api_token_create_secret_message' => 'Immediately after creating this token a "Token ID" & "Token Secret" will be generated and displayed. The secret will only be shown a single time so be sure to copy the value to somewhere safe and secure before proceeding.',
+ 'user_api_token_create_secret_message' => 'Luego de crear este token, inmediatamente se generará y mostrará el "Token ID" y el "Token Secret" correspondientes. El "Token Secret" se mostrará por única vez, asegúrese de copiar el valor a un lugar seguro antes de continuar.',
'user_api_token_create_success' => 'Token API creado correctamente',
'user_api_token_update_success' => 'Token API actualizado correctamente',
'user_api_token' => 'Token API',
'user_api_token_id_desc' => 'Este es un identificador no editable generado por el sistema y único para este token que necesitará ser proporcionado en solicitudes de API.',
'user_api_token_secret' => 'Clave de Token',
'user_api_token_secret_desc' => 'Esta es una clave no editable generada por el sistema que necesitará ser proporcionada en solicitudes de API. Solo se monstraré esta vez así que guarde su valor en un lugar seguro.',
- 'user_api_token_created' => 'Token created :timeAgo',
- 'user_api_token_updated' => 'Token updated :timeAgo',
+ 'user_api_token_created' => 'Token creado :timeAgo',
+ 'user_api_token_updated' => 'Token actualizado :timeAgo',
'user_api_token_delete' => 'Borrar token',
'user_api_token_delete_warning' => 'Esto eliminará completamente este token API con el nombre \':tokenName\' del sistema.',
'user_api_token_delete_confirm' => '¿Está seguro de que desea borrar este API token?',
'en' => 'English',
'ar' => 'العربية',
'bg' => 'Bǎlgarski',
+ 'bs' => 'Bosanski',
+ 'ca' => 'Català',
'cs' => 'Česky',
'da' => 'Danés',
'de' => 'Deutsch (Sie)',
'es_AR' => 'Español Argentina',
'fr' => 'Français',
'he' => 'עברית',
+ 'hr' => 'Hrvatski',
'hu' => 'Magyar',
+ 'id' => 'Bahasa Indonesia',
'it' => 'Italian',
'ja' => '日本語',
'ko' => '한국어',
+ 'lv' => 'Latviešu Valoda',
'nl' => 'Nederlands',
+ 'nb' => 'Norsk (Bokmål)',
'pl' => 'Polski',
+ 'pt' => 'Português',
'pt_BR' => 'Português do Brasil',
'ru' => 'Русский',
'sk' => 'Slovensky',
'string' => ':attribute debe ser al menos :min caracteres.',
'array' => ':attribute debe tener como mínimo :min items.',
],
- 'no_double_extension' => 'El :attribute debe tener una única extensión de archivo.',
'not_in' => ':attribute seleccionado es inválido.',
'not_regex' => 'El formato de :attribute es inválido.',
'numeric' => ':attribute debe ser numérico.',
'required_without' => ':attribute es requerido cuando no se encuentre entre los valores :values.',
'required_without_all' => ':attribute es requerido cuando ninguno de los valores :values están presentes.',
'same' => ':attribute y :other deben coincidir.',
+ 'safe_url' => 'El enlace provisto puede ser inseguro.',
'size' => [
'numeric' => ':attribute debe ser :size.',
'file' => ':attribute debe ser :size kilobytes.',
'bookshelf_delete' => 'deleted bookshelf',
'bookshelf_delete_notification' => 'Bookshelf Successfully Deleted',
+ // Favourites
+ 'favourite_add_notification' => '":name" has been added to your favourites',
+ 'favourite_remove_notification' => '":name" has been removed from your favourites',
+
// Other
'commented_on' => 'commented on',
+ 'permissions_update' => 'updated permissions',
];
'remove' => 'Remove',
'add' => 'Add',
'fullscreen' => 'Fullscreen',
+ 'favourite' => 'Favourite',
+ 'unfavourite' => 'Unfavourite',
+ 'next' => 'Next',
+ 'previous' => 'Previous',
// Sort Options
'sort_options' => 'Sort Options',
'sort_ascending' => 'Sort Ascending',
'sort_descending' => 'Sort Descending',
'sort_name' => 'Name',
+ 'sort_default' => 'Default',
'sort_created_at' => 'Created Date',
'sort_updated_at' => 'Updated Date',
'breadcrumb' => 'Breadcrumb',
// Header
+ 'header_menu_expand' => 'Expand Header Menu',
'profile_menu' => 'Profile Menu',
'view_profile' => 'View Profile',
'edit_profile' => 'Edit Profile',
// Layout tabs
'tab_info' => 'Info',
+ 'tab_info_label' => 'Tab: Show Secondary Information',
'tab_content' => 'Content',
+ 'tab_content_label' => 'Tab: Show Primary Content',
// Email Content
'email_action_help' => 'If you’re having trouble clicking the ":actionText" button, copy and paste the URL below into your web browser:',
'email_rights' => 'All rights reserved',
+
+ // Footer Link Options
+ // Not directly used but available for convenience to users.
+ 'privacy_policy' => 'Privacy Policy',
+ 'terms_of_service' => 'Terms of Service',
];
'meta_created_name' => 'Created :timeLength by :user',
'meta_updated' => 'Updated :timeLength',
'meta_updated_name' => 'Updated :timeLength by :user',
+ 'meta_owned_name' => 'Owned by :user',
'entity_select' => 'Entity Select',
'images' => 'Images',
'my_recent_drafts' => 'My Recent Drafts',
'my_recently_viewed' => 'My Recently Viewed',
+ 'my_most_viewed_favourites' => 'My Most Viewed Favourites',
+ 'my_favourites' => 'My Favourites',
'no_pages_viewed' => 'You have not viewed any pages',
'no_pages_recently_created' => 'No pages have been recently created',
'no_pages_recently_updated' => 'No pages have been recently updated',
'permissions_intro' => 'Once enabled, These permissions will take priority over any set role permissions.',
'permissions_enable' => 'Enable Custom Permissions',
'permissions_save' => 'Save Permissions',
+ 'permissions_owner' => 'Owner',
// Search
'search_results' => 'Search Results',
'search_permissions_set' => 'Permissions set',
'search_created_by_me' => 'Created by me',
'search_updated_by_me' => 'Updated by me',
+ 'search_owned_by_me' => 'Owned by me',
'search_date_options' => 'Date Options',
'search_updated_before' => 'Updated before',
'search_updated_after' => 'Updated after',
'chapters_create' => 'Create New Chapter',
'chapters_delete' => 'Delete Chapter',
'chapters_delete_named' => 'Delete Chapter :chapterName',
- 'chapters_delete_explain' => 'This will delete the chapter with the name \':chapterName\'. All pages will be removed and added directly to the parent book.',
+ 'chapters_delete_explain' => 'This will delete the chapter with the name \':chapterName\'. All pages that exist within this chapter will also be deleted.',
'chapters_delete_confirm' => 'Are you sure you want to delete this chapter?',
'chapters_edit' => 'Edit Chapter',
'chapters_edit_named' => 'Edit Chapter :chapterName',
'pages_revisions' => 'Page Revisions',
'pages_revisions_named' => 'Page Revisions for :pageName',
'pages_revision_named' => 'Page Revision for :pageName',
+ 'pages_revision_restored_from' => 'Restored from #:id; :summary',
'pages_revisions_created_by' => 'Created By',
'pages_revisions_date' => 'Revision Date',
'pages_revisions_number' => '#',
'revision_restore_confirm' => 'Are you sure you want to restore this revision? The current page contents will be replaced.',
'revision_delete_success' => 'Revision deleted',
'revision_cannot_delete_latest' => 'Cannot delete the latest revision.'
-];
\ No newline at end of file
+];
'404_page_not_found' => 'Page Not Found',
'sorry_page_not_found' => 'Sorry, The page you were looking for could not be found.',
'sorry_page_not_found_permission_warning' => 'If you expected this page to exist, you might not have permission to view it.',
+ 'image_not_found' => 'Image Not Found',
+ 'image_not_found_subtitle' => 'Sorry, The image file you were looking for could not be found.',
+ 'image_not_found_details' => 'If you expected this image to exist it might have been deleted.',
'return_home' => 'Return to home',
'error_occurred' => 'An Error Occurred',
'app_down' => ':appName is down right now',
'app_homepage' => 'Application Homepage',
'app_homepage_desc' => 'Select a view to show on the homepage instead of the default view. Page permissions are ignored for selected pages.',
'app_homepage_select' => 'Select a page',
+ 'app_footer_links' => 'Footer Links',
+ 'app_footer_links_desc' => 'Add links to show within the site footer. These will be displayed at the bottom of most pages, including those that do not require login. You can use a label of "trans::<key>" to use system-defined translations. For example: Using "trans::common.privacy_policy" will provide the translated text "Privacy Policy" and "trans::common.terms_of_service" will provide the translated text "Terms of Service".',
+ 'app_footer_links_label' => 'Link Label',
+ 'app_footer_links_url' => 'Link URL',
+ 'app_footer_links_add' => 'Add Footer Link',
'app_disable_comments' => 'Disable Comments',
'app_disable_comments_toggle' => 'Disable comments',
'app_disable_comments_desc' => 'Disables comments across all pages in the application. <br> Existing comments are not shown.',
'maint' => 'Maintenance',
'maint_image_cleanup' => 'Cleanup Images',
'maint_image_cleanup_desc' => "Scans page & revision content to check which images and drawings are currently in use and which images are redundant. Ensure you create a full database and image backup before running this.",
- 'maint_image_cleanup_ignore_revisions' => 'Ignore images in revisions',
+ 'maint_delete_images_only_in_revisions' => 'Also delete images that only exist in old page revisions',
'maint_image_cleanup_run' => 'Run Cleanup',
'maint_image_cleanup_warning' => ':count potentially unused images were found. Are you sure you want to delete these images?',
'maint_image_cleanup_success' => ':count potentially unused images found and deleted!',
'maint_send_test_email_mail_subject' => 'Test Email',
'maint_send_test_email_mail_greeting' => 'Email delivery seems to work!',
'maint_send_test_email_mail_text' => 'Congratulations! As you received this email notification, your email settings seem to be configured properly.',
+ 'maint_recycle_bin_desc' => 'Deleted shelves, books, chapters & pages are sent to the recycle bin so they can be restored or permanently deleted. Older items in the recycle bin may be automatically removed after a while depending on system configuration.',
+ 'maint_recycle_bin_open' => 'Open Recycle Bin',
+
+ // Recycle Bin
+ 'recycle_bin' => 'Recycle Bin',
+ 'recycle_bin_desc' => 'Here you can restore items that have been deleted or choose to permanently remove them from the system. This list is unfiltered unlike similar activity lists in the system where permission filters are applied.',
+ 'recycle_bin_deleted_item' => 'Deleted Item',
+ 'recycle_bin_deleted_by' => 'Deleted By',
+ 'recycle_bin_deleted_at' => 'Deletion Time',
+ 'recycle_bin_permanently_delete' => 'Permanently Delete',
+ 'recycle_bin_restore' => 'Restore',
+ 'recycle_bin_contents_empty' => 'The recycle bin is currently empty',
+ 'recycle_bin_empty' => 'Empty Recycle Bin',
+ 'recycle_bin_empty_confirm' => 'This will permanently destroy all items in the recycle bin including content contained within each item. Are you sure you want to empty the recycle bin?',
+ 'recycle_bin_destroy_confirm' => 'This action will permanently delete this item, along with any child elements listed below, from the system and you will not be able to restore this content. Are you sure you want to permanently delete this item?',
+ 'recycle_bin_destroy_list' => 'Items to be Destroyed',
+ 'recycle_bin_restore_list' => 'Items to be Restored',
+ 'recycle_bin_restore_confirm' => 'This action will restore the deleted item, including any child elements, to their original location. If the original location has since been deleted, and is now in the recycle bin, the parent item will also need to be restored.',
+ 'recycle_bin_restore_deleted_parent' => 'The parent of this item has also been deleted. These will remain deleted until that parent is also restored.',
+ 'recycle_bin_destroy_notification' => 'Deleted :count total items from the recycle bin.',
+ 'recycle_bin_restore_notification' => 'Restored :count total items from the recycle bin.',
// Audit Log
'audit' => 'Audit Log',
'audit_deleted_item_name' => 'Name: :name',
'audit_table_user' => 'User',
'audit_table_event' => 'Event',
- 'audit_table_item' => 'Related Item',
+ 'audit_table_related' => 'Related Item or Detail',
'audit_table_date' => 'Activity Date',
'audit_date_from' => 'Date Range From',
'audit_date_to' => 'Date Range To',
'user_profile' => 'User Profile',
'users_add_new' => 'Add New User',
'users_search' => 'Search Users',
+ 'users_latest_activity' => 'Latest Activity',
'users_details' => 'User Details',
'users_details_desc' => 'Set a display name and an email address for this user. The email address will be used for logging into the application.',
'users_details_desc_no_email' => 'Set a display name for this user so others can recognise them.',
'users_delete_named' => 'Delete user :userName',
'users_delete_warning' => 'This will fully delete this user with the name \':userName\' from the system.',
'users_delete_confirm' => 'Are you sure you want to delete this user?',
- 'users_delete_success' => 'Users successfully removed',
+ 'users_migrate_ownership' => 'Migrate Ownership',
+ 'users_migrate_ownership_desc' => 'Select a user here if you want another user to become the owner of all items currently owned by this user.',
+ 'users_none_selected' => 'No user selected',
+ 'users_delete_success' => 'User successfully removed',
'users_edit' => 'Edit User',
'users_edit_profile' => 'Edit Profile',
'users_edit_success' => 'User successfully updated',
'user_api_token_name_desc' => 'Give your token a readable name as a future reminder of its intended purpose.',
'user_api_token_expiry' => 'Expiry Date',
'user_api_token_expiry_desc' => 'Set a date at which this token expires. After this date, requests made using this token will no longer work. Leaving this field blank will set an expiry 100 years into the future.',
- 'user_api_token_create_secret_message' => 'Immediately after creating this token a "Token ID"" & "Token Secret" will be generated and displayed. The secret will only be shown a single time so be sure to copy the value to somewhere safe and secure before proceeding.',
+ 'user_api_token_create_secret_message' => 'Immediately after creating this token a "Token ID" & "Token Secret" will be generated and displayed. The secret will only be shown a single time so be sure to copy the value to somewhere safe and secure before proceeding.',
'user_api_token_create_success' => 'API token successfully created',
'user_api_token_update_success' => 'API token successfully updated',
'user_api_token' => 'API Token',
'user_api_token_id_desc' => 'This is a non-editable system generated identifier for this token which will need to be provided in API requests.',
'user_api_token_secret' => 'Token Secret',
'user_api_token_secret_desc' => 'This is a system generated secret for this token which will need to be provided in API requests. This will only be displayed this one time so copy this value to somewhere safe and secure.',
- 'user_api_token_created' => 'Token Created :timeAgo',
- 'user_api_token_updated' => 'Token Updated :timeAgo',
+ 'user_api_token_created' => 'Token created :timeAgo',
+ 'user_api_token_updated' => 'Token updated :timeAgo',
'user_api_token_delete' => 'Delete Token',
'user_api_token_delete_warning' => 'This will fully delete this API token with the name \':tokenName\' from the system.',
'user_api_token_delete_confirm' => 'Are you sure you want to delete this API token?',
'language_select' => [
'en' => 'English',
'ar' => 'العربية',
+ 'bg' => 'Bǎlgarski',
+ 'bs' => 'Bosanski',
+ 'ca' => 'Català',
'cs' => 'Česky',
'da' => 'Dansk',
'de' => 'Deutsch (Sie)',
'es_AR' => 'Español Argentina',
'fr' => 'Français',
'he' => 'עברית',
+ 'hr' => 'Hrvatski',
'hu' => 'Magyar',
+ 'id' => 'Bahasa Indonesia',
'it' => 'Italian',
'ja' => '日本語',
'ko' => '한국어',
+ 'lv' => 'Latviešu Valoda',
'nl' => 'Nederlands',
+ 'nb' => 'Norsk (Bokmål)',
'pl' => 'Polski',
+ 'pt' => 'Português',
'pt_BR' => 'Português do Brasil',
'ru' => 'Русский',
'sk' => 'Slovensky',
'string' => 'The :attribute must be at least :min characters.',
'array' => 'The :attribute must have at least :min items.',
],
- 'no_double_extension' => 'The :attribute must only have a single file extension.',
'not_in' => 'The selected :attribute is invalid.',
'not_regex' => 'The :attribute format is invalid.',
'numeric' => 'The :attribute must be a number.',
'required_without' => 'The :attribute field is required when :values is not present.',
'required_without_all' => 'The :attribute field is required when none of :values are present.',
'same' => 'The :attribute and :other must match.',
+ 'safe_url' => 'The provided link may not be safe.',
'size' => [
'numeric' => 'The :attribute must be :size.',
'file' => 'The :attribute must be :size kilobytes.',
'bookshelf_delete' => 'a supprimé l\'étagère',
'bookshelf_delete_notification' => 'Étagère supprimée avec succès',
+ // Favourites
+ 'favourite_add_notification' => '":name" a été ajouté dans vos favoris',
+ 'favourite_remove_notification' => '":name" a été supprimé de vos favoris',
+
// Other
'commented_on' => 'a commenté',
+ 'permissions_update' => 'mettre à jour les autorisations',
];
'remove' => 'Enlever',
'add' => 'Ajouter',
'fullscreen' => 'Plein écran',
+ 'favourite' => 'Favoris',
+ 'unfavourite' => 'Supprimer des favoris',
+ 'next' => 'Suivant',
+ 'previous' => 'Précédent',
// Sort Options
'sort_options' => 'Options de tri',
'sort_ascending' => 'Tri ascendant',
'sort_descending' => 'Tri descendant',
'sort_name' => 'Nom',
+ 'sort_default' => 'Défaut',
'sort_created_at' => 'Date de création',
'sort_updated_at' => 'Date de mise à jour',
'breadcrumb' => 'Fil d\'Ariane',
// Header
+ 'header_menu_expand' => 'Développer le menu',
'profile_menu' => 'Menu du profil',
'view_profile' => 'Voir le profil',
'edit_profile' => 'Modifier le profil',
// Layout tabs
'tab_info' => 'Informations',
+ 'tab_info_label' => 'Onglet : Afficher les informations secondaires',
'tab_content' => 'Contenu',
+ 'tab_content_label' => 'Onglet : Afficher le contenu principal',
// Email Content
'email_action_help' => 'Si vous rencontrez des problèmes pour cliquer sur le bouton ":actionText", copiez et collez l\'adresse ci-dessous dans votre navigateur :',
'email_rights' => 'Tous droits réservés',
+
+ // Footer Link Options
+ // Not directly used but available for convenience to users.
+ 'privacy_policy' => 'Politique de confidentialité',
+ 'terms_of_service' => 'Conditions d\'utilisation',
];
'recently_update' => 'Mis à jour récemment',
'recently_viewed' => 'Vus récemment',
'recent_activity' => 'Activité récente',
- 'create_now' => 'En créer un maintenant',
+ 'create_now' => 'En créer une maintenant',
'revisions' => 'Révisions',
'meta_revision' => 'Révision #:revisionCount',
'meta_created' => 'Créé :timeLength',
'meta_created_name' => 'Créé :timeLength par :user',
'meta_updated' => 'Mis à jour :timeLength',
'meta_updated_name' => 'Mis à jour :timeLength par :user',
+ 'meta_owned_name' => 'Possédé par :user',
'entity_select' => 'Sélectionner l\'entité',
'images' => 'Images',
'my_recent_drafts' => 'Mes brouillons récents',
'my_recently_viewed' => 'Vus récemment',
+ 'my_most_viewed_favourites' => 'Mes Favoris les plus vus',
+ 'my_favourites' => 'Mes favoris',
'no_pages_viewed' => 'Vous n\'avez rien visité récemment',
'no_pages_recently_created' => 'Aucune page créée récemment',
'no_pages_recently_updated' => 'Aucune page mise à jour récemment',
'permissions_intro' => 'Une fois activées ces permissions prendront la priorité sur tous les sets de permissions préexistants.',
'permissions_enable' => 'Activer les permissions personnalisées',
'permissions_save' => 'Enregistrer les permissions',
+ 'permissions_owner' => 'Propriétaire',
// Search
'search_results' => 'Résultats de recherche',
'search_permissions_set' => 'Ensemble d\'autorisations',
'search_created_by_me' => 'Créé par moi',
'search_updated_by_me' => 'Mis à jour par moi',
+ 'search_owned_by_me' => 'Créés par moi',
'search_date_options' => 'Recherche par date',
'search_updated_before' => 'Mis à jour avant',
'search_updated_after' => 'Mis à jour après',
'chapters_create' => 'Créer un nouveau chapitre',
'chapters_delete' => 'Supprimer le chapitre',
'chapters_delete_named' => 'Supprimer le chapitre :chapterName',
- 'chapters_delete_explain' => 'Ceci va supprimer le chapitre \':chapterName\', toutes les pages seront déplacées dans le livre parent.',
+ 'chapters_delete_explain' => 'Ceci supprimera le chapitre portant le nom \':chapterName\'. Toutes les pages qui existent dans ce chapitre seront également supprimées.',
'chapters_delete_confirm' => 'Etes-vous sûr(e) de vouloir supprimer ce chapitre ?',
'chapters_edit' => 'Modifier le chapitre',
'chapters_edit_named' => 'Modifier le chapitre :chapterName',
'pages_revisions' => 'Révisions de la page',
'pages_revisions_named' => 'Révisions pour :pageName',
'pages_revision_named' => 'Révision pour :pageName',
+ 'pages_revision_restored_from' => 'Restauré à partir de #:id; :summary',
'pages_revisions_created_by' => 'Créé par',
'pages_revisions_date' => 'Date de révision',
'pages_revisions_number' => '#',
'revision_restore_confirm' => 'Êtes-vous sûr de vouloir restaurer cette révision ? Le contenu courant de la page va être remplacé.',
'revision_delete_success' => 'Révision supprimée',
'revision_cannot_delete_latest' => 'Impossible de supprimer la dernière révision.'
-];
\ No newline at end of file
+];
'404_page_not_found' => 'Page non trouvée',
'sorry_page_not_found' => 'Désolé, cette page n\'a pas pu être trouvée.',
'sorry_page_not_found_permission_warning' => 'Si vous vous attendiez à ce que cette page existe, il se peut que vous n\'ayez pas l\'autorisation de la consulter.',
+ 'image_not_found' => 'Image non trouvée',
+ 'image_not_found_subtitle' => 'Désolé, l\'image que vous cherchez ne peut être trouvée.',
+ 'image_not_found_details' => 'Si vous vous attendiez à ce que cette image existe, elle pourrait avoir été supprimée.',
'return_home' => 'Retour à l\'accueil',
'error_occurred' => 'Une erreur est survenue',
'app_down' => ':appName n\'est pas en service pour le moment',
'app_homepage' => 'Page d\'accueil de l\'application',
'app_homepage_desc' => 'Choisissez une page à afficher sur la page d\'accueil au lieu de la vue par défaut. Les permissions sont ignorées pour les pages sélectionnées.',
'app_homepage_select' => 'Choisissez une page',
+ 'app_footer_links' => 'Liens de pied de page',
+ 'app_footer_links_desc' => 'Ajoutez des liens dans le pied de page du site. Ils seront affichés en bas de la plupart des pages, incluant celles qui ne nécesittent pas de connexion. Vous pouvez utiliser l\'étiquette "trans::<key>" pour utiliser les traductions définies par le système. Par exemple, utiliser "trans::common.privacy_policy" fournira la traduction de "Politique de Confidentalité" et "trans::common.terms_of_service" fournira la traduction de "Conditions d\'utilisation".',
+ 'app_footer_links_label' => 'Libellé du lien',
+ 'app_footer_links_url' => 'URL du lien',
+ 'app_footer_links_add' => 'Ajouter un lien en pied de page',
'app_disable_comments' => 'Désactiver les commentaires',
'app_disable_comments_toggle' => 'Désactiver les commentaires',
'app_disable_comments_desc' => 'Désactive les commentaires sur toutes les pages de l\'application. Les commentaires existants ne sont pas affichés.',
'maint' => 'Maintenance',
'maint_image_cleanup' => 'Nettoyer les images',
'maint_image_cleanup_desc' => "Scan le contenu des pages et des révisions pour vérifier les images et les dessins en cours d'utilisation et lesquels sont redondant. Veuillez à faire une sauvegarde de la base de données et des images avant de lancer ceci.",
- 'maint_image_cleanup_ignore_revisions' => 'Ignorer les images dans les révisions',
+ 'maint_delete_images_only_in_revisions' => 'Supprimer également les images qui n\'existent que dans les anciennes révisions de page',
'maint_image_cleanup_run' => 'Lancer le nettoyage',
'maint_image_cleanup_warning' => ':count images potentiellement inutilisées trouvées. Etes-vous sûr de vouloir supprimer ces images ?',
'maint_image_cleanup_success' => ':count images potentiellement inutilisées trouvées et supprimées !',
'maint_send_test_email_mail_subject' => 'Email de test',
'maint_send_test_email_mail_greeting' => 'La livraison d\'email semble fonctionner !',
'maint_send_test_email_mail_text' => 'Félicitations ! Lorsque vous avez reçu cette notification par courriel, vos paramètres d\'email semblent être configurés correctement.',
+ 'maint_recycle_bin_desc' => 'Les étagères, livres, chapitres et pages supprimés sont envoyés dans la corbeille afin qu\'ils puissent être restaurés ou supprimés définitivement. Les éléments plus anciens de la corbeille peuvent être supprimés automatiquement après un certain temps selon la configuration du système.',
+ 'maint_recycle_bin_open' => 'Ouvrir la corbeille',
+
+ // Recycle Bin
+ 'recycle_bin' => 'Corbeille',
+ 'recycle_bin_desc' => 'Ici, vous pouvez restaurer les éléments qui ont été supprimés ou choisir de les effacer définitivement du système. Cette liste n\'est pas filtrée contrairement aux listes d\'activités similaires dans le système pour lesquelles les filtres d\'autorisation sont appliqués.',
+ 'recycle_bin_deleted_item' => 'Élément supprimé',
+ 'recycle_bin_deleted_by' => 'Supprimé par',
+ 'recycle_bin_deleted_at' => 'Date de suppression',
+ 'recycle_bin_permanently_delete' => 'Supprimer définitivement',
+ 'recycle_bin_restore' => 'Restaurer',
+ 'recycle_bin_contents_empty' => 'La corbeille est vide',
+ 'recycle_bin_empty' => 'Vider la Corbeille',
+ 'recycle_bin_empty_confirm' => 'Cela détruira définitivement tous les éléments de la corbeille, y compris le contenu contenu de chaque élément. Êtes-vous sûr de vouloir vider la corbeille ?',
+ 'recycle_bin_destroy_confirm' => 'Cette action supprimera définitivement cet élément, ainsi que tous les éléments enfants listés ci-dessous du système et vous ne pourrez pas restaurer ce contenu. Êtes-vous sûr de vouloir supprimer définitivement cet élément ?',
+ 'recycle_bin_destroy_list' => 'Éléments à détruire',
+ 'recycle_bin_restore_list' => 'Éléments à restaurer',
+ 'recycle_bin_restore_confirm' => 'Cette action restaurera l\'élément supprimé, y compris tous les éléments enfants, à leur emplacement d\'origine. Si l\'emplacement d\'origine a été supprimé depuis et est maintenant dans la corbeille, l\'élément parent devra également être restauré.',
+ 'recycle_bin_restore_deleted_parent' => 'Le parent de cet élément a également été supprimé. Ceux-ci resteront supprimés jusqu\'à ce que ce parent soit également restauré.',
+ 'recycle_bin_destroy_notification' => ':count éléments totaux supprimés de la corbeille.',
+ 'recycle_bin_restore_notification' => ':count éléments totaux restaurés de la corbeille.',
// Audit Log
'audit' => 'Journal d\'audit',
'audit_deleted_item_name' => 'Nom: :name',
'audit_table_user' => 'Utilisateur',
'audit_table_event' => 'Evènement',
- 'audit_table_item' => 'Élément Associé',
+ 'audit_table_related' => 'Élément ou détail lié',
'audit_table_date' => 'Date d\'activation',
'audit_date_from' => 'À partir du',
'audit_date_to' => 'Jusqu\'au',
'user_profile' => 'Profil d\'utilisateur',
'users_add_new' => 'Ajouter un nouvel utilisateur',
'users_search' => 'Chercher les utilisateurs',
+ 'users_latest_activity' => 'Dernière activité',
'users_details' => 'Informations de l\'utilisateur',
'users_details_desc' => 'Définissez un nom et une adresse e-mail pour cet utilisateur. L\'adresse e-mail sera utilisée pour se connecter à l\'application.',
'users_details_desc_no_email' => 'Définissez un nom d\'affichage pour cet utilisateur afin que les autres puissent le reconnaître.',
'users_delete_named' => 'Supprimer l\'utilisateur :userName',
'users_delete_warning' => 'Ceci va supprimer \':userName\' du système.',
'users_delete_confirm' => 'Êtes-vous sûr(e) de vouloir supprimer cet utilisateur ?',
- 'users_delete_success' => 'Utilisateurs supprimés avec succès',
+ 'users_migrate_ownership' => 'Migré propriété',
+ 'users_migrate_ownership_desc' => 'Sélectionnez un utilisateur ici si vous voulez qu\'un autre utilisateur devienne le propriétaire de tous les éléments actuellement détenus par cet utilisateur.',
+ 'users_none_selected' => 'Aucun utilisateur n\'a été séléctionné',
+ 'users_delete_success' => 'Utilisateur supprimé avec succès',
'users_edit' => 'Modifier l\'utilisateur',
'users_edit_profile' => 'Modifier le profil',
'users_edit_success' => 'Utilisateur mis à jour avec succès',
'en' => 'English',
'ar' => 'العربية',
'bg' => 'Bulgare',
+ 'bs' => 'Bosanski',
+ 'ca' => 'Catalan',
'cs' => 'Česky',
'da' => 'Danois',
'de' => 'Deutsch (Sie)',
'es_AR' => 'Español Argentina',
'fr' => 'Français',
'he' => 'Hébreu',
+ 'hr' => 'Hrvatski',
'hu' => 'Magyar',
+ 'id' => 'Bahasa Indonesia',
'it' => 'Italian',
'ja' => '日本語',
'ko' => '한국어',
+ 'lv' => 'Latviešu Valoda',
'nl' => 'Nederlands',
+ 'nb' => 'Norvegien',
'pl' => 'Polski',
+ 'pt' => 'Português',
'pt_BR' => 'Português do Brasil',
'ru' => 'Русский',
'sk' => 'Slovensky',
'string' => ':attribute doit contenir au moins :min caractères.',
'array' => ':attribute doit contenir au moins :min éléments.',
],
- 'no_double_extension' => ':attribute ne doit avoir qu\'une seule extension de fichier.',
'not_in' => 'L\'attribut sélectionné :attribute est invalide.',
'not_regex' => ':attribute a un format invalide.',
'numeric' => ':attribute doit être un nombre.',
'required_without' => ':attribute est requis si:values n\'est pas présent.',
'required_without_all' => ':attribute est requis si aucun des valeurs :values n\'est présente.',
'same' => ':attribute et :other doivent être identiques.',
+ 'safe_url' => 'Le lien fourni peut ne pas être sûr.',
'size' => [
'numeric' => ':attribute doit avoir la taille :size.',
'file' => ':attribute doit peser :size kilobytes.',
'bookshelf_delete' => 'deleted bookshelf',
'bookshelf_delete_notification' => 'מדף הספרים הוסר בהצלחה',
+ // Favourites
+ 'favourite_add_notification' => '":name" has been added to your favourites',
+ 'favourite_remove_notification' => '":name" has been removed from your favourites',
+
// Other
'commented_on' => 'commented on',
+ 'permissions_update' => 'updated permissions',
];
'remove' => 'הסר',
'add' => 'הוסף',
'fullscreen' => 'Fullscreen',
+ 'favourite' => 'Favourite',
+ 'unfavourite' => 'Unfavourite',
+ 'next' => 'Next',
+ 'previous' => 'Previous',
// Sort Options
'sort_options' => 'Sort Options',
'sort_ascending' => 'Sort Ascending',
'sort_descending' => 'Sort Descending',
'sort_name' => 'שם',
+ 'sort_default' => 'Default',
'sort_created_at' => 'תאריך יצירה',
'sort_updated_at' => 'תאריך עדכון',
'breadcrumb' => 'Breadcrumb',
// Header
+ 'header_menu_expand' => 'Expand Header Menu',
'profile_menu' => 'Profile Menu',
'view_profile' => 'הצג פרופיל',
'edit_profile' => 'ערוך פרופיל',
// Layout tabs
'tab_info' => 'מידע',
+ 'tab_info_label' => 'Tab: Show Secondary Information',
'tab_content' => 'תוכן',
+ 'tab_content_label' => 'Tab: Show Primary Content',
// Email Content
'email_action_help' => 'אם לא ניתן ללחות על כפתור ״:actionText״, יש להעתיק ולהדביק את הכתובת למטה אל דפדפן האינטרנט שלך:',
'email_rights' => 'כל הזכויות שמורות',
+
+ // Footer Link Options
+ // Not directly used but available for convenience to users.
+ 'privacy_policy' => 'Privacy Policy',
+ 'terms_of_service' => 'Terms of Service',
];
'image_load_more' => 'טען עוד',
'image_image_name' => 'שם התמונה',
'image_delete_used' => 'תמונה זו בשימוש בדפים שמתחת',
- 'image_delete_confirm_text' => 'Are you sure you want to delete this image?',
+ 'image_delete_confirm_text' => 'האם את/ה בטוח/ה שברצונך למחוק את התמונה הזו?',
'image_select_image' => 'בחר תמונה',
'image_dropzone' => 'גרור תמונות או לחץ כאן להעלאה',
'images_deleted' => 'התמונות נמחקו',
'code_editor' => 'ערוך קוד',
'code_language' => 'שפת הקוד',
'code_content' => 'תוכן הקוד',
- 'code_session_history' => 'Session History',
+ 'code_session_history' => 'היסטורית ה-Session',
'code_save' => 'שמור קוד',
];
'meta_created_name' => 'נוצר :timeLength על ידי :user',
'meta_updated' => 'עודכן :timeLength',
'meta_updated_name' => 'עודכן :timeLength על ידי :user',
+ 'meta_owned_name' => 'Owned by :user',
'entity_select' => 'בחר יישות',
'images' => 'תמונות',
'my_recent_drafts' => 'הטיוטות האחרונות שלי',
'my_recently_viewed' => 'הנצפים לאחרונה שלי',
+ 'my_most_viewed_favourites' => 'My Most Viewed Favourites',
+ 'my_favourites' => 'My Favourites',
'no_pages_viewed' => 'לא צפית בדפים כלשהם',
'no_pages_recently_created' => 'לא נוצרו דפים לאחרונה',
'no_pages_recently_updated' => 'לא עודכנו דפים לאחרונה',
'permissions_intro' => 'ברגע שמסומן, הרשאות אלו יגברו על כל הרשאת תפקיד שקיימת',
'permissions_enable' => 'הפעל הרשאות מותאמות אישית',
'permissions_save' => 'שמור הרשאות',
+ 'permissions_owner' => 'Owner',
// Search
'search_results' => 'תוצאות חיפוש',
'search_permissions_set' => 'סט הרשאות',
'search_created_by_me' => 'שנוצרו על ידי',
'search_updated_by_me' => 'שעודכנו על ידי',
+ 'search_owned_by_me' => 'Owned by me',
'search_date_options' => 'אפשרויות תאריך',
'search_updated_before' => 'שעודכנו לפני',
'search_updated_after' => 'שעודכנו לאחר',
'chapters_create' => 'צור פרק חדש',
'chapters_delete' => 'מחק פרק',
'chapters_delete_named' => 'מחק את פרק :chapterName',
- 'chapters_delete_explain' => 'פעולה זו תמחוק את הפרק בשם \':chapterName\'. כל הדפים יועברו אוטומטית לספר עצמו',
+ 'chapters_delete_explain' => 'This will delete the chapter with the name \':chapterName\'. All pages that exist within this chapter will also be deleted.',
'chapters_delete_confirm' => 'האם ברצונך למחוק פרק זה?',
'chapters_edit' => 'ערוך פרק',
'chapters_edit_named' => 'ערוך פרק :chapterName',
'pages_revisions' => 'נוסחי דף',
'pages_revisions_named' => 'נוסחי דף עבור :pageName',
'pages_revision_named' => 'נוסח דף עבור :pageName',
+ 'pages_revision_restored_from' => 'Restored from #:id; :summary',
'pages_revisions_created_by' => 'נוצר על ידי',
'pages_revisions_date' => 'תאריך נוסח',
'pages_revisions_number' => '#',
'revision_restore_confirm' => 'האם ברצונך לשחזר נוסח זה? תוכן הדף הנוכחי יעודכן לנוסח זה.',
'revision_delete_success' => 'נוסח נמחק',
'revision_cannot_delete_latest' => 'לא ניתן למחוק את הנוסח האחרון'
-];
\ No newline at end of file
+];
'404_page_not_found' => 'דף לא קיים',
'sorry_page_not_found' => 'מצטערים, הדף שחיפשת אינו קיים',
'sorry_page_not_found_permission_warning' => 'If you expected this page to exist, you might not have permission to view it.',
+ 'image_not_found' => 'Image Not Found',
+ 'image_not_found_subtitle' => 'Sorry, The image file you were looking for could not be found.',
+ 'image_not_found_details' => 'If you expected this image to exist it might have been deleted.',
'return_home' => 'בחזרה לדף הבית',
'error_occurred' => 'התרחשה שגיאה',
'app_down' => ':appName כרגע אינו זמין',
*/
return [
- 'password' => '×\94ס×\99ס×\9e×\90 ×\97×\99×\99×\91ת ×\9c×\94×\99×\95ת ×\91×¢×\9cת 6 ת×\95×\95×\99×\9d ×\95×\9c×\94ת×\90×\99×\9d ×\9c×\90×\99×\9e×\95ת',
- 'user' => "×\9c×\90 × ×\99ת×\9f ×\9c×\9eצ×\95×\90 ×\9eשת×\9eש ×¢×\9d ×\94×\9e×\99×\99×\9c שס×\95פק",
- 'token' => 'The password reset token is invalid for this email address.',
- 'sent' => '× ×©×\9c×\97 ×\90×\9c×\99×\9a ×\90×\99-×\9e×\99×\99×\9c ×¢×\9d ×§×\99ש×\95ר ×\9c×\90×\99פ×\95ס ×\94ס×\99ס×\9e×\90',
- 'reset' => '×\90×\99פ×\95ס ×\94ס×\99ס×\9e×\90 הושלם בהצלחה!',
+ 'password' => '×\94ס×\99ס×\9e×\94 ×\97×\99×\99×\91ת ×\9c×\94×\99×\95ת ×\91×¢×\9cת 8 ת×\95×\95×\99×\9d ×\9cפ×\97×\95ת ×\95×\9c×\94ת×\90×\99×\9d ×\9c×\90×\99×\9e×\95ת.',
+ 'user' => "×\9c×\90 × ×\9eצ×\90 ×\9eשת×\9eש ×¢×\9d ×\9bת×\95×\91ת ×\93×\95×\90\"×\9c ×\96×\95.",
+ 'token' => 'אסימון איפוס הסיסמה לא תקף עבור כתובת דוא"ל זו.',
+ 'sent' => 'ש×\9c×\97× ×\95 ×\9c×\9a ×\93×\95×\90"×\9c ×¢×\9d ×§×\99ש×\95ר ×\9c×\90×\99פ×\95ס ×\94ס×\99ס×\9e×\94!',
+ 'reset' => '×\90×\99פ×\95ס ×\94ס×\99ס×\9e×\94 הושלם בהצלחה!',
];
'app_homepage' => 'דף הבית של היישום',
'app_homepage_desc' => 'אנא בחר דף להצגה בדף הבית במקום דף ברירת המחדל. הרשאות הדף לא יחולו בדפים הנבחרים.',
'app_homepage_select' => 'בחר דף',
+ 'app_footer_links' => 'קישורים בתחתית הדף',
+ 'app_footer_links_desc' => 'הוסיפו קישורים שיוצגו בתחתית האתר. קישורים אלה יוצגו בתחתית רוב הדפים, לרבות אלה שלא מצריכים התחברות. תוכלו להשתמש בתווית "trans::<key>" כדי להשתמש בתרגומים המוגדרים על ידי המערכת. לדוגמה: שימוש ב"trans::common.privacy_policy" יספק את הטקסט המתורגם "מדיניות פרטיות" ו"trans::common.terms_of_service" יספק את הטקסט המתורגם "תנאי השימוש".',
+ 'app_footer_links_label' => 'תווית הקישור',
+ 'app_footer_links_url' => 'כתובת ה-URL של הקישור',
+ 'app_footer_links_add' => 'הוספת קישור בתחתית הדף',
'app_disable_comments' => 'ביטול תגובות',
'app_disable_comments_toggle' => 'בטל תגובות',
'app_disable_comments_desc' => 'מבטל את התגובות לאורך כל היישום, תגובות קיימות לא יוצגו.',
// Color settings
- 'content_colors' => 'Content Colors',
- 'content_colors_desc' => 'Sets colors for all elements in the page organisation hierarchy. Choosing colors with a similar brightness to the default colors is recommended for readability.',
- 'bookshelf_color' => 'Shelf Color',
- 'book_color' => 'Book Color',
- 'chapter_color' => 'Chapter Color',
- 'page_color' => 'Page Color',
- 'page_draft_color' => 'Page Draft Color',
+ 'content_colors' => 'צבעי התוכן',
+ 'content_colors_desc' => 'מגדיר צבעים לכל האלמנטים בהיררכיה הארגונית של הדף. לחווית קריאה מיטבית, מומלץ לבחור צבעים בבהירות הדומה לצבעי ברירת המחדל.',
+ 'bookshelf_color' => 'צבע המדף',
+ 'book_color' => 'צבע הספר',
+ 'chapter_color' => 'צבע הפרק',
+ 'page_color' => 'צבע העמוד',
+ 'page_draft_color' => 'צבע טיוטת העמוד',
// Registration Settings
'reg_settings' => 'הרשמה',
'reg_enable_toggle' => 'אפשר להרשם',
'reg_enable_desc' => 'כאשר אפשר להרשם משתמשים יוכלו להכנס באופן עצמאי. בעת ההרשמה המשתמש יקבל הרשאה יחידה כברירת מחדל.',
'reg_default_role' => 'הרשאה כברירת מחדל',
- 'reg_enable_external_warning' => 'The option above is ignored while external LDAP or SAML authentication is active. User accounts for non-existing members will be auto-created if authentication, against the external system in use, is successful.',
+ 'reg_enable_external_warning' => 'האפשרות לעיל חסרת השפעה כאשר מתבצע שימוש באותנטיקציה חיצונית מסוג LDAP או SAML. חשבונות משתמש לחברים לא קיימים יווצרו באופן אוטומטי במידה ואותנטיקציה, הנוגדת את המערכת החיצונית בשימוש, מצליחה.',
'reg_email_confirmation' => 'אימות כתובת אי-מייל',
'reg_email_confirmation_toggle' => 'יש לאמת את כתובת המייל',
'reg_confirm_email_desc' => 'אם מופעלת הגבלה לדומיין ספציפי אז אימות המייל לא יבוצע',
'maint' => 'תחזוקה',
'maint_image_cleanup' => 'ניקוי תמונות',
'maint_image_cleanup_desc' => "סורק את הדפים והגרסאות על מנת למצוא אילו תמונות לא בשימוש. יש לוודא גיבוי מלא של מסד הנתונים והתמונות לפני הרצה",
- 'maint_image_cleanup_ignore_revisions' => 'התעלם מהתמונות בגרסאות',
+ 'maint_delete_images_only_in_revisions' => 'מחק בנוסף תמונות שקיימות בגרסאות ישנות של הדף בלבד',
'maint_image_cleanup_run' => 'הפעל ניקוי תמונות',
'maint_image_cleanup_warning' => 'נמצאו כ :count תמונות אשר לא בשימוש האם ברצונך להמשיך?',
'maint_image_cleanup_success' => ':count תמונות שלא בשימוש נמחקו',
'maint_image_cleanup_nothing_found' => 'לא נמצאו תמונות אשר לא בשימוש, לא נמחקו קבצים כלל.',
- 'maint_send_test_email' => 'Send a Test Email',
- 'maint_send_test_email_desc' => 'This sends a test email to your email address specified in your profile.',
- 'maint_send_test_email_run' => 'Send test email',
- 'maint_send_test_email_success' => 'Email sent to :address',
- 'maint_send_test_email_mail_subject' => 'Test Email',
- 'maint_send_test_email_mail_greeting' => 'Email delivery seems to work!',
- 'maint_send_test_email_mail_text' => 'Congratulations! As you received this email notification, your email settings seem to be configured properly.',
+ 'maint_send_test_email' => 'שלח דוא"ל ניסיוני',
+ 'maint_send_test_email_desc' => 'שולח דוא"ל ניסיוני לכתובת הדוא"ל המצוינת בפרופיל שלך.',
+ 'maint_send_test_email_run' => 'שלח דוא"ל ניסיוני',
+ 'maint_send_test_email_success' => 'דוא"ל נשלח לכתובת :address',
+ 'maint_send_test_email_mail_subject' => 'דוא"ל ניסיוני',
+ 'maint_send_test_email_mail_greeting' => 'נראה ששליחת דוא"ל עובדת!',
+ 'maint_send_test_email_mail_text' => 'ברכות! מאחר וקיבלת התראת דוא"ל זו, נראה שהגדרות הדוא"ל שלך הוגדרו כמו שצריך.',
+ 'maint_recycle_bin_desc' => 'מדפים, ספרים, פרקים חדשים שנמחקו נשלחים לסל המיחזור, כדי שתוכלו לאחזר אותם או למחוק אותם לצמיתות. ייתכן שפריטים ישנים יותר בסל המיחזור יימחקו באופן אוטומטי לאחר זמן-מה, בהסתמך על הגדרות המערכת.',
+ 'maint_recycle_bin_open' => 'פתח את סל המיחזור',
+
+ // Recycle Bin
+ 'recycle_bin' => 'סל המיחזור',
+ 'recycle_bin_desc' => 'כאן תוכלו לאחזר פריטים שנמחקו או לבחור למחוק אותם מהמערכת לצמיתות. רשימה זו לא מסוננת, בשונה מרשימות פעילות דומות במערכת, בהן מוחלים מסנני הרשאות.',
+ 'recycle_bin_deleted_item' => 'פריט שנמחק',
+ 'recycle_bin_deleted_by' => 'נמחק על ידי',
+ 'recycle_bin_deleted_at' => 'זמן המחיקה',
+ 'recycle_bin_permanently_delete' => 'מחק לצמיתות',
+ 'recycle_bin_restore' => 'אחזר',
+ 'recycle_bin_contents_empty' => 'סל המיחזור כרגע ריק',
+ 'recycle_bin_empty' => 'רוקן את סל המיחזור',
+ 'recycle_bin_empty_confirm' => 'פעולה זו תשמיד לצמיתות את כל הפריטים בסל המיחזור, לרבות התוכן בכל פריט. אתם בטוחים שאתם מעוניינים לרוקן את סל המיחזור?',
+ 'recycle_bin_destroy_confirm' => 'פעולה זו תמחק מהמערכת לצמיתות פריט זה, יחד עם כל פריטי-הבן ברשימה להלן, ולא תוכלו לאחזר תוכל זה. אתם בטוחים שברצונכם למחוק לצמיתות פריט זה?',
+ 'recycle_bin_destroy_list' => 'פריטים שיושמדו',
+ 'recycle_bin_restore_list' => 'פריטים שיאוחזרו',
+ 'recycle_bin_restore_confirm' => 'פעולה זו תאחזר את הפריט שנמחק, לרבות רכיבי-הבן שלו, למיקומו המקורי. אם המיקום המקורי נמחק מאז, וכעת נמצא בסל המיחזור, יש לאחזר גם את פריט-האב.',
+ 'recycle_bin_restore_deleted_parent' => 'פריט-האב של פריט זה נמחק. פריטים אלה יישארו מחוקים עד שפריט-אב זה יאוחזר.',
+ 'recycle_bin_destroy_notification' => 'נמחקו בסה"כ :count פריטים מסל המיחזור.',
+ 'recycle_bin_restore_notification' => 'אוחזרו בסה"כ :count פריטים מסל המיחזור.',
// Audit Log
- 'audit' => 'Audit Log',
- 'audit_desc' => 'This audit log displays a list of activities tracked in the system. This list is unfiltered unlike similar activity lists in the system where permission filters are applied.',
- 'audit_event_filter' => 'Event Filter',
- 'audit_event_filter_no_filter' => 'No Filter',
- 'audit_deleted_item' => 'Deleted Item',
- 'audit_deleted_item_name' => 'Name: :name',
- 'audit_table_user' => 'User',
- 'audit_table_event' => 'Event',
- 'audit_table_item' => 'Related Item',
- 'audit_table_date' => 'Activity Date',
- 'audit_date_from' => 'Date Range From',
- 'audit_date_to' => 'Date Range To',
+ 'audit' => 'לוג בדיקה',
+ 'audit_desc' => 'לוג בדיקה זה מציג רשימה של פעילויות שנוטרו במערכת. רשימה זו לא מסוננת, בשונה מרשימות פעילות דומות במערכת בהן מוחלים מסנני הרשאות.',
+ 'audit_event_filter' => 'מסנן אירועים',
+ 'audit_event_filter_no_filter' => 'ללא סינון',
+ 'audit_deleted_item' => 'פריט שנמחק',
+ 'audit_deleted_item_name' => 'שם: :name',
+ 'audit_table_user' => 'משתמש',
+ 'audit_table_event' => 'אירוע',
+ 'audit_table_related' => 'פריט או פרט קשור',
+ 'audit_table_date' => 'זמן הפעילות',
+ 'audit_date_from' => 'טווח תאריכים החל מ...',
+ 'audit_date_to' => 'טווח תאריכים עד ל...',
// Role Settings
'roles' => 'תפקידים',
'role_details' => 'פרטי תפקיד',
'role_name' => 'שם התפקיד',
'role_desc' => 'תיאור קצר של התפקיד',
- 'role_external_auth_id' => 'External Authentication IDs',
+ 'role_external_auth_id' => 'ID-י אותנטיקציה חיצוניים',
'role_system' => 'הרשאות מערכת',
'role_manage_users' => 'ניהול משתמשים',
'role_manage_roles' => 'ניהול תפקידים והרשאות תפקידים',
'role_manage_entity_permissions' => 'נהל הרשאות ספרים, פרקים ודפים',
'role_manage_own_entity_permissions' => 'נהל הרשאות על ספרים, פרקים ודפים בבעלותך',
- 'role_manage_page_templates' => 'Manage page templates',
- 'role_access_api' => 'Access system API',
+ 'role_manage_page_templates' => 'נהל תבניות דפים',
+ 'role_access_api' => 'גש ל-API המערכת',
'role_manage_settings' => 'ניהול הגדרות יישום',
'role_asset' => 'הרשאות משאבים',
- 'roles_system_warning' => 'Be aware that access to any of the above three permissions can allow a user to alter their own privileges or the privileges of others in the system. Only assign roles with these permissions to trusted users.',
+ 'roles_system_warning' => 'שימו לב לכך שגישה לכל אחת משלושת ההרשאות הנ"ל יכולה לאפשר למשתמש לשנות את הפריווילגיות שלהם או של אחרים במערכת. הגדירו תפקידים להרשאות אלה למשתמשים בהם אתם בוטחים בלבד.',
'role_asset_desc' => 'הרשאות אלו שולטות בגישת ברירת המחדל למשאבים בתוך המערכת. הרשאות של ספרים, פרקים ודפים יגברו על הרשאות אלו.',
'role_asset_admins' => 'מנהלים מקבלים הרשאה מלאה לכל התוכן אך אפשרויות אלו עלולות להציג או להסתיר אפשרויות בממשק',
'role_all' => 'הכל',
'user_profile' => 'פרופיל משתמש',
'users_add_new' => 'הוסף משתמש חדש',
'users_search' => 'חפש משתמשים',
+ 'users_latest_activity' => 'פעילות אחרונה',
'users_details' => 'פרטי משתמש',
'users_details_desc' => 'הגדר שם לתצוגה ומייל עבור משתמש זה. כתובת המייל תשמש על מנת להתחבר למערכת',
'users_details_desc_no_email' => 'הגדר שם לתצוגה כדי שאחרים יוכלו לזהות',
'users_role_desc' => 'בחר אילו תפקידים ישויכו למשתמש זה. אם המשתמש משוייך למספר תפקידים, ההרשאות יהיו כלל ההרשאות של כל התפקידים',
'users_password' => 'סיסמא',
'users_password_desc' => 'הגדר סיסמא עבור גישה למערכת. על הסיסמא להיות באורך של 5 תווים לפחות',
- 'users_send_invite_text' => 'You can choose to send this user an invitation email which allows them to set their own password otherwise you can set their password yourself.',
- 'users_send_invite_option' => 'Send user invite email',
+ 'users_send_invite_text' => 'תוכלו לבחור לשלוח למשתמש זה דוא"ל הזמנה, המאפשר להם להגדיר סיסמה משלהם. אחרת, תוכלו להגדיר את סיסמתם בעצמכם.',
+ 'users_send_invite_option' => 'שלח דוא"ל הזמנה למשתמש',
'users_external_auth_id' => 'זיהוי חיצוני - ID',
'users_external_auth_id_desc' => 'זיהוי זה יהיה בשימוש מול מערכת ה LDAP שלך',
'users_password_warning' => 'יש למלא רק אם ברצונך לשנות את הסיסמא.',
'users_delete_named' => 'מחק משתמש :userName',
'users_delete_warning' => 'פעולה זו תמחק את המשתמש \':userName\' מהמערכת',
'users_delete_confirm' => 'האם ברצונך למחוק משתמש זה?',
- 'users_delete_success' => 'המשתמש נמחק בהצלחה',
+ 'users_migrate_ownership' => 'העבר בעלות',
+ 'users_migrate_ownership_desc' => 'בחרו משתמש כאן במידה ואתם מעוניינים שמשתמש אחר יהפוך לבעלים של כל הפריטים שכרגע בבעלות משתמש זה.',
+ 'users_none_selected' => 'לא נבחר משתמש',
+ 'users_delete_success' => 'משתמש נמחק בהצלחה',
'users_edit' => 'עריכת משתמש',
'users_edit_profile' => 'עריכת פרופיל',
'users_edit_success' => 'המשתמש עודכן בהצלחה',
'users_social_disconnect' => 'ניתוק חשבון',
'users_social_connected' => 'חשבון :socialAccount חובר בהצלחה לחשבון שלך',
'users_social_disconnected' => ':socialAccount נותק בהצלחה מהחשבון שלך',
- 'users_api_tokens' => 'API Tokens',
- 'users_api_tokens_none' => 'No API tokens have been created for this user',
- 'users_api_tokens_create' => 'Create Token',
- 'users_api_tokens_expires' => 'Expires',
- 'users_api_tokens_docs' => 'API Documentation',
+ 'users_api_tokens' => 'אסימוני API',
+ 'users_api_tokens_none' => 'לא נוצרו אסימוני API למשתמש זה',
+ 'users_api_tokens_create' => 'צור אסימון',
+ 'users_api_tokens_expires' => 'פג',
+ 'users_api_tokens_docs' => 'תיעוד API',
// API Tokens
- 'user_api_token_create' => 'Create API Token',
- 'user_api_token_name' => 'Name',
- 'user_api_token_name_desc' => 'Give your token a readable name as a future reminder of its intended purpose.',
- 'user_api_token_expiry' => 'Expiry Date',
- 'user_api_token_expiry_desc' => 'Set a date at which this token expires. After this date, requests made using this token will no longer work. Leaving this field blank will set an expiry 100 years into the future.',
- 'user_api_token_create_secret_message' => 'Immediately after creating this token a "Token ID" & "Token Secret" will be generated and displayed. The secret will only be shown a single time so be sure to copy the value to somewhere safe and secure before proceeding.',
- 'user_api_token_create_success' => 'API token successfully created',
- 'user_api_token_update_success' => 'API token successfully updated',
- 'user_api_token' => 'API Token',
- 'user_api_token_id' => 'Token ID',
- 'user_api_token_id_desc' => 'This is a non-editable system generated identifier for this token which will need to be provided in API requests.',
- 'user_api_token_secret' => 'Token Secret',
- 'user_api_token_secret_desc' => 'This is a system generated secret for this token which will need to be provided in API requests. This will only be displayed this one time so copy this value to somewhere safe and secure.',
- 'user_api_token_created' => 'Token created :timeAgo',
- 'user_api_token_updated' => 'Token updated :timeAgo',
- 'user_api_token_delete' => 'Delete Token',
- 'user_api_token_delete_warning' => 'This will fully delete this API token with the name \':tokenName\' from the system.',
- 'user_api_token_delete_confirm' => 'Are you sure you want to delete this API token?',
- 'user_api_token_delete_success' => 'API token successfully deleted',
+ 'user_api_token_create' => 'צור אסימון API',
+ 'user_api_token_name' => 'שם',
+ 'user_api_token_name_desc' => 'תנו לאסימון שלכם שם קריא, כתזכורת עתידית למטרה המיועדת שלו.',
+ 'user_api_token_expiry' => 'תאריך תפוגה',
+ 'user_api_token_expiry_desc' => 'הגדירו תאריך בו יפוג תוקף אסימון זה. לאחר תאריך זה, בקשות שיעשו באמצעות אסימון זה לא יעבדו יותר. במידה ושדה זה יושאר ריק, תאריך התפוגה יוגדר לבעוד 100 שנים.',
+ 'user_api_token_create_secret_message' => 'מיד לאחר יצירת אסימון זה, יווצרו ויוצגו "ID אסימון" ו"סוד אסימון". הסוד יוצג פעם אחת בלבד, לכן וודאו להעתיק את הערך למקום שמור ובטוח לפני שתמשיכו הלאה.',
+ 'user_api_token_create_success' => 'אסימון API נוצר בהצלחה',
+ 'user_api_token_update_success' => 'אסימון API עודכן בהצלחה',
+ 'user_api_token' => 'אסימון API',
+ 'user_api_token_id' => 'ID האסימון',
+ 'user_api_token_id_desc' => 'זהו מזהה בלתי ניתן לעריכה לאסימון זה הנוצר על ידי המערכת, אשר יסופק בבקשות API.',
+ 'user_api_token_secret' => 'סוד האסימון',
+ 'user_api_token_secret_desc' => 'זהו סוד המיוצר על ידי המערכת לאסימון זה, אשר יסופק בבקשות API. סוד זה יוצג פעם אחת בלבד, לכן וודאו להעתיק ערך זה למקום שמור ובטוח.',
+ 'user_api_token_created' => 'אסימון נוצר :timeAgo',
+ 'user_api_token_updated' => 'אסימון עודכן :timeAgo',
+ 'user_api_token_delete' => 'מחק אסימון',
+ 'user_api_token_delete_warning' => 'פעולה זו תמחק לחלוטין את אסימון ה-API בשם \':tokenName\' מהמערכת.',
+ 'user_api_token_delete_confirm' => 'האם אתם בטוחים שאתם מעוניינים למחוק אסימון API זה?',
+ 'user_api_token_delete_success' => 'אסימון API נמחק בהצלחה',
//! If editing translations files directly please ignore this in all
//! languages apart from en. Content will be auto-copied from en.
'en' => 'English',
'ar' => 'العربية',
'bg' => 'Bǎlgarski',
+ 'bs' => 'Bosanski',
+ 'ca' => 'Català',
'cs' => 'Česky',
'da' => 'Dansk',
'de' => 'Deutsch (Sie)',
'es_AR' => 'Español Argentina',
'fr' => 'Français',
'he' => 'עברית',
+ 'hr' => 'Hrvatski',
'hu' => 'Magyar',
+ 'id' => 'Bahasa Indonesia',
'it' => 'Italian',
'ja' => '日本語',
'ko' => '한국어',
+ 'lv' => 'Latviešu Valoda',
'nl' => 'Nederlands',
+ 'nb' => 'Norsk (Bokmål)',
'pl' => 'Polski',
+ 'pt' => 'Português',
'pt_BR' => 'Português do Brasil',
'ru' => 'Русский',
'sk' => 'Slovensky',
'string' => 'שדה :attribute חייב להיות לפחות :min תווים.',
'array' => 'שדה :attribute חייב להיות לפחות :min פריטים.',
],
- 'no_double_extension' => 'השדה :attribute חייב להיות בעל סיומת קובץ אחת בלבד.',
'not_in' => 'בחירת ה-:attribute אינה תקפה.',
'not_regex' => 'The :attribute format is invalid.',
'numeric' => 'שדה :attribute חייב להיות מספר.',
'required_without' => 'שדה :attribute נחוץ כאשר :values לא בנמצא.',
'required_without_all' => 'שדה :attribute נחוץ כאשר אף אחד מ-:values נמצאים.',
'same' => 'שדה :attribute ו-:other חייבים להיות זהים.',
+ 'safe_url' => 'The provided link may not be safe.',
'size' => [
'numeric' => 'שדה :attribute חייב להיות :size.',
'file' => 'שדה :attribute חייב להיות :size קילובייטים.',
--- /dev/null
+<?php
+/**
+ * Activity text strings.
+ * Is used for all the text within activity logs & notifications.
+ */
+return [
+
+ // Pages
+ 'page_create' => 'stvorena stranica',
+ 'page_create_notification' => 'Stranica je uspješno stvorena',
+ 'page_update' => 'ažurirana stranica',
+ 'page_update_notification' => 'Stranica je uspješno ažurirana',
+ 'page_delete' => 'izbrisana stranica',
+ 'page_delete_notification' => 'Stranica je uspješno izbrisana',
+ 'page_restore' => 'obnovljena stranica',
+ 'page_restore_notification' => 'Stranica je uspješno obnovljena',
+ 'page_move' => 'premještena stranica',
+
+ // Chapters
+ 'chapter_create' => 'stvoreno poglavlje',
+ 'chapter_create_notification' => 'Poglavlje je uspješno stvoreno',
+ 'chapter_update' => 'ažurirano poglavlje',
+ 'chapter_update_notification' => 'Poglavlje je uspješno ažurirano',
+ 'chapter_delete' => 'izbrisano poglavlje',
+ 'chapter_delete_notification' => 'Poglavlje je uspješno izbrisano',
+ 'chapter_move' => 'premiješteno poglavlje',
+
+ // Books
+ 'book_create' => 'stvorena knjiga',
+ 'book_create_notification' => 'Knjiga je uspješno stvorena',
+ 'book_update' => 'ažurirana knjiga',
+ 'book_update_notification' => 'Knjiga je uspješno ažurirana',
+ 'book_delete' => 'izbrisana knjiga',
+ 'book_delete_notification' => 'Knjiga je uspješno izbrisana',
+ 'book_sort' => 'razvrstana knjiga',
+ 'book_sort_notification' => 'Knjiga je uspješno razvrstana',
+
+ // Bookshelves
+ 'bookshelf_create' => 'stvorena polica za knjige',
+ 'bookshelf_create_notification' => 'Polica za knjige je uspješno stvorena',
+ 'bookshelf_update' => 'ažurirana polica za knjige',
+ 'bookshelf_update_notification' => 'Polica za knjige je uspješno ažurirana',
+ 'bookshelf_delete' => 'izbrisana polica za knjige',
+ 'bookshelf_delete_notification' => 'Polica za knjige je uspješno izbrisana',
+
+ // Favourites
+ 'favourite_add_notification' => '":name" has been added to your favourites',
+ 'favourite_remove_notification' => '":name" has been removed from your favourites',
+
+ // Other
+ 'commented_on' => 'komentirano',
+ 'permissions_update' => 'ažurirana dopuštenja',
+];
--- /dev/null
+<?php
+/**
+ * Authentication Language Lines
+ * The following language lines are used during authentication for various
+ * messages that we need to display to the user.
+ */
+return [
+
+ 'failed' => 'Ove vjerodajnice ne podudaraju se s našim zapisima.',
+ 'throttle' => 'Previše pokušaja prijave. Molimo vas da pokušate za :seconds sekundi.',
+
+ // Login & Register
+ 'sign_up' => 'Registrirajte se',
+ 'log_in' => 'Prijavite se',
+ 'log_in_with' => 'Prijavite se sa :socialDriver',
+ 'sign_up_with' => 'Registrirajte se sa :socialDriver',
+ 'logout' => 'Odjavite se',
+
+ 'name' => 'Ime',
+ 'username' => 'Korisničko ime',
+ 'email' => 'Email',
+ 'password' => 'Lozinka',
+ 'password_confirm' => 'Potvrdite lozinku',
+ 'password_hint' => 'Mora imati više od 7 znakova',
+ 'forgot_password' => 'Zaboravili ste lozinku?',
+ 'remember_me' => 'Zapamti me',
+ 'ldap_email_hint' => 'Molimo upišite mail korišten za ovaj račun.',
+ 'create_account' => 'Stvori račun',
+ 'already_have_account' => 'Imate li već račun?',
+ 'dont_have_account' => 'Nemate račun?',
+ 'social_login' => 'Social Login',
+ 'social_registration' => 'Social Registration',
+ 'social_registration_text' => 'Prijavite se putem drugih servisa.',
+
+ 'register_thanks' => 'Zahvaljujemo na registraciji!',
+ 'register_confirm' => 'Molimo, provjerite svoj email i kliknite gumb za potvrdu pristupa :appName.',
+ 'registrations_disabled' => 'Registracije su trenutno onemogućene',
+ 'registration_email_domain_invalid' => 'Ova e-mail adresa se ne može koristiti u ovoj aplikaciji',
+ 'register_success' => 'Hvala na prijavi! Sada ste registrirani i prijavljeni.',
+
+
+ // Password Reset
+ 'reset_password' => 'Promijenite lozinku',
+ 'reset_password_send_instructions' => 'Upišite svoju e-mail adresu kako biste primili poveznicu za promjenu lozinke.',
+ 'reset_password_send_button' => 'Pošalji poveznicu za promjenu lozinke',
+ 'reset_password_sent' => 'Poveznica za promjenu lozinke poslat će se na :email adresu ako je u našem sustavu.',
+ 'reset_password_success' => 'Vaša lozinka je uspješno promijenjena.',
+ 'email_reset_subject' => 'Promijenite svoju :appName lozinku',
+ 'email_reset_text' => 'Primili ste ovu poruku jer je zatražena promjena lozinke za vaš račun.',
+ 'email_reset_not_requested' => 'Ako niste tražili promjenu lozinke slobodno zanemarite ovu poruku.',
+
+
+ // Email Confirmation
+ 'email_confirm_subject' => 'Potvrdite svoju e-mail adresu na :appName',
+ 'email_confirm_greeting' => 'Hvala na prijavi :appName!',
+ 'email_confirm_text' => 'Molimo potvrdite svoju e-mail adresu klikom na donji gumb.',
+ 'email_confirm_action' => 'Potvrdi Email',
+ 'email_confirm_send_error' => 'Potvrda e-mail adrese je obavezna, ali sustav ne može poslati e-mail. Javite se administratoru kako bi provjerio vaš e-mail.',
+ 'email_confirm_success' => 'Vaš e-mail adresa je potvrđena!',
+ 'email_confirm_resent' => 'Ponovno je poslana potvrda. Molimo, provjerite svoj inbox.',
+
+ 'email_not_confirmed' => 'E-mail adresa nije potvrđena.',
+ 'email_not_confirmed_text' => 'Vaša e-mail adresa još nije potvrđena.',
+ 'email_not_confirmed_click_link' => 'Molimo, kliknite na poveznicu koju ste primili kratko nakon registracije.',
+ 'email_not_confirmed_resend' => 'Ako ne možete pronaći e-mail za postavljanje lozinke možete ga zatražiti ponovno ispunjavanjem ovog obrasca.',
+ 'email_not_confirmed_resend_button' => 'Ponovno pošalji e-mail potvrde',
+
+ // User Invite
+ 'user_invite_email_subject' => 'Pozvani ste pridružiti se :appName!',
+ 'user_invite_email_greeting' => 'Vaš račun je kreiran za vas na :appName',
+ 'user_invite_email_text' => 'Kliknite ispod da biste postavili račun i dobili pristup.',
+ 'user_invite_email_action' => 'Postavite lozinku',
+ 'user_invite_page_welcome' => 'Dobrodošli u :appName!',
+ 'user_invite_page_text' => 'Da biste postavili račun i dobili pristup trebate unijeti lozinku kojom ćete se ubuduće prijaviti na :appName.',
+ 'user_invite_page_confirm_button' => 'Potvrdite lozinku',
+ 'user_invite_success' => 'Lozinka je postavljena, možete pristupiti :appName!'
+];
\ No newline at end of file
--- /dev/null
+<?php
+/**
+ * Common elements found throughout many areas of BookStack.
+ */
+return [
+
+ // Buttons
+ 'cancel' => 'Odustani',
+ 'confirm' => 'Potvrdi',
+ 'back' => 'Natrag',
+ 'save' => 'Spremi',
+ 'continue' => 'Nastavi',
+ 'select' => 'Odaberi',
+ 'toggle_all' => 'Prebaci sve',
+ 'more' => 'Više',
+
+ // Form Labels
+ 'name' => 'Ime',
+ 'description' => 'Opis',
+ 'role' => 'Uloga',
+ 'cover_image' => 'Naslovna slika',
+ 'cover_image_description' => 'Slika treba biti približno 440x250px.',
+
+ // Actions
+ 'actions' => 'Aktivnost',
+ 'view' => 'Pogled',
+ 'view_all' => 'Pogledaj sve',
+ 'create' => 'Stvori',
+ 'update' => 'Ažuriraj',
+ 'edit' => 'Uredi',
+ 'sort' => 'Razvrstaj',
+ 'move' => 'Makni',
+ 'copy' => 'Kopiraj',
+ 'reply' => 'Ponovi',
+ 'delete' => 'Izbriši',
+ 'delete_confirm' => 'Potvrdite brisanje',
+ 'search' => 'Traži',
+ 'search_clear' => 'Očisti pretragu',
+ 'reset' => 'Ponovno postavi',
+ 'remove' => 'Ukloni',
+ 'add' => 'Dodaj',
+ 'fullscreen' => 'Cijeli zaslon',
+ 'favourite' => 'Favourite',
+ 'unfavourite' => 'Unfavourite',
+ 'next' => 'Next',
+ 'previous' => 'Previous',
+
+ // Sort Options
+ 'sort_options' => 'Razvrstaj opcije',
+ 'sort_direction_toggle' => 'Razvrstaj smjer prebacivanja',
+ 'sort_ascending' => 'Razvrstaj uzlazno',
+ 'sort_descending' => 'Razvrstaj silazno',
+ 'sort_name' => 'Ime',
+ 'sort_default' => 'Zadano',
+ 'sort_created_at' => 'Datum',
+ 'sort_updated_at' => 'Ažuriraj datum',
+
+ // Misc
+ 'deleted_user' => 'Izbrisani korisnik',
+ 'no_activity' => 'Nema aktivnosti za pregled',
+ 'no_items' => 'Nedostupno',
+ 'back_to_top' => 'Natrag na vrh',
+ 'toggle_details' => 'Prebaci detalje',
+ 'toggle_thumbnails' => 'Uključi minijature',
+ 'details' => 'Detalji',
+ 'grid_view' => 'Prikaz rešetke',
+ 'list_view' => 'Prikaz popisa',
+ 'default' => 'Zadano',
+ 'breadcrumb' => 'Breadcrumb',
+
+ // Header
+ 'header_menu_expand' => 'Proširi izbornik',
+ 'profile_menu' => 'Profil',
+ 'view_profile' => 'Vidi profil',
+ 'edit_profile' => 'Uredite profil',
+ 'dark_mode' => 'Tamni način',
+ 'light_mode' => 'Svijetli način',
+
+ // Layout tabs
+ 'tab_info' => 'Info',
+ 'tab_info_label' => 'Tab: pokaži sekundarne informacije',
+ 'tab_content' => 'Sadržaj',
+ 'tab_content_label' => 'Tab: pokaži primarni sadržaj',
+
+ // Email Content
+ 'email_action_help' => 'Ako imate poteškoća s klikom na gumb ":actionText", kopirajte i zalijepite donji URL u vaš preglednik.',
+ 'email_rights' => 'Sva prava pridržana',
+
+ // Footer Link Options
+ // Not directly used but available for convenience to users.
+ 'privacy_policy' => 'Politika privatnosti',
+ 'terms_of_service' => 'Uvjeti korištenja',
+];
--- /dev/null
+<?php
+/**
+ * Text used in custom JavaScript driven components.
+ */
+return [
+
+ // Image Manager
+ 'image_select' => 'Odabir slike',
+ 'image_all' => 'Sve',
+ 'image_all_title' => 'Vidi sve slike',
+ 'image_book_title' => 'Vidi slike dodane ovoj knjizi',
+ 'image_page_title' => 'Vidi slike dodane ovoj stranici',
+ 'image_search_hint' => 'Pretraži pomoću imena slike',
+ 'image_uploaded' => 'Učitano :uploadedDate',
+ 'image_load_more' => 'Učitaj više',
+ 'image_image_name' => 'Ime slike',
+ 'image_delete_used' => 'Ova slika korištena je na donjoj stranici.',
+ 'image_delete_confirm_text' => 'Jeste li sigurni da želite obrisati sliku?',
+ 'image_select_image' => 'Odaberi sliku',
+ 'image_dropzone' => 'Prebacite sliku ili kliknite ovdje za prijenos',
+ 'images_deleted' => 'Obrisane slike',
+ 'image_preview' => 'Pregled slike',
+ 'image_upload_success' => 'Slika je uspješno dodana',
+ 'image_update_success' => 'Detalji slike su uspješno ažurirani',
+ 'image_delete_success' => 'Slika je obrisana',
+ 'image_upload_remove' => 'Ukloni',
+
+ // Code Editor
+ 'code_editor' => 'Uredi kod',
+ 'code_language' => 'Jezik koda',
+ 'code_content' => 'Sadržaj koda',
+ 'code_session_history' => 'Povijest sesije',
+ 'code_save' => 'Spremi kod',
+];
--- /dev/null
+<?php
+/**
+ * Text used for 'Entities' (Document Structure Elements) such as
+ * Books, Shelves, Chapters & Pages
+ */
+return [
+
+ // Shared
+ 'recently_created' => 'Nedavno stvoreno',
+ 'recently_created_pages' => 'Nedavno stvorene stranice',
+ 'recently_updated_pages' => 'Nedavno ažurirane stranice',
+ 'recently_created_chapters' => 'Nedavno stvorena poglavlja',
+ 'recently_created_books' => 'Nedavno stvorene knjige',
+ 'recently_created_shelves' => 'Nedavno stvorene police',
+ 'recently_update' => 'Nedavno ažurirano',
+ 'recently_viewed' => 'Nedavno viđeno',
+ 'recent_activity' => 'Nedavna aktivnost',
+ 'create_now' => 'Stvori sada',
+ 'revisions' => 'Revizije',
+ 'meta_revision' => 'Revizija #:revisionCount',
+ 'meta_created' => 'Stvoreno :timeLength',
+ 'meta_created_name' => 'Stvoreno :timeLength od :user',
+ 'meta_updated' => 'Ažurirano :timeLength',
+ 'meta_updated_name' => 'Ažurirano :timeLength od :user',
+ 'meta_owned_name' => 'Vlasništvo :user',
+ 'entity_select' => 'Odaberi subjekt',
+ 'images' => 'Slike',
+ 'my_recent_drafts' => 'Nedavne skice',
+ 'my_recently_viewed' => 'Nedavno viđeno',
+ 'my_most_viewed_favourites' => 'My Most Viewed Favourites',
+ 'my_favourites' => 'My Favourites',
+ 'no_pages_viewed' => 'Niste pogledali nijednu stranicu',
+ 'no_pages_recently_created' => 'Nema nedavno stvorenih stranica',
+ 'no_pages_recently_updated' => 'Nema nedavno ažuriranih stranica',
+ 'export' => 'Izvoz',
+ 'export_html' => 'Web File',
+ 'export_pdf' => 'PDF File',
+ 'export_text' => 'Text File',
+
+ // Permissions and restrictions
+ 'permissions' => 'Dopuštenja',
+ 'permissions_intro' => 'Jednom postavljene, ove dozvole bit će prioritetne ostalim dopuštenjima.',
+ 'permissions_enable' => 'Omogući dopuštenje za korištenje',
+ 'permissions_save' => 'Spremi dopuštenje',
+ 'permissions_owner' => 'Vlasnik',
+
+ // Search
+ 'search_results' => 'Pretraži rezultate',
+ 'search_total_results_found' => ':count rezultat|:count ukupno pronađenih rezultata',
+ 'search_clear' => 'Očisti pretragu',
+ 'search_no_pages' => 'Nijedna stranica ne podudara se s ovim pretraživanjem',
+ 'search_for_term' => 'Traži :term',
+ 'search_more' => 'Više rezultata',
+ 'search_advanced' => 'Napredno pretraživanje',
+ 'search_terms' => 'Pretraži pojmove',
+ 'search_content_type' => 'Vrsta sadržaja',
+ 'search_exact_matches' => 'Podudarnosti',
+ 'search_tags' => 'Označi pretragu',
+ 'search_options' => 'Opcije',
+ 'search_viewed_by_me' => 'Pregledano od mene',
+ 'search_not_viewed_by_me' => 'Nije pregledano od mene',
+ 'search_permissions_set' => 'Set dopuštenja',
+ 'search_created_by_me' => 'Stvoreno od mene',
+ 'search_updated_by_me' => 'Ažurirano od mene',
+ 'search_owned_by_me' => 'Moje vlasništvo',
+ 'search_date_options' => 'Opcije datuma',
+ 'search_updated_before' => 'Ažurirano prije',
+ 'search_updated_after' => 'Ažurirano nakon',
+ 'search_created_before' => 'Stvoreno prije',
+ 'search_created_after' => 'Stvoreno nakon',
+ 'search_set_date' => 'Datumi',
+ 'search_update' => 'Ažuriraj pretragu',
+
+ // Shelves
+ 'shelf' => 'Polica',
+ 'shelves' => 'Police',
+ 'x_shelves' => ':count polica|:count polica',
+ 'shelves_long' => 'Police za knjige',
+ 'shelves_empty' => 'Nijedna polica nije stvorena',
+ 'shelves_create' => 'Stvori novu policu',
+ 'shelves_popular' => 'Popularne police',
+ 'shelves_new' => 'Nove police',
+ 'shelves_new_action' => 'Nova polica',
+ 'shelves_popular_empty' => 'Najpopularnije police pojavit će se. ovdje.',
+ 'shelves_new_empty' => 'Nedavno stvorene police pojavit će se ovdje.',
+ 'shelves_save' => 'Spremi policu',
+ 'shelves_books' => 'Knjige na ovoj polici',
+ 'shelves_add_books' => 'Dodaj knjige na ovu policu',
+ 'shelves_drag_books' => 'Prebaci knjige na ovu policu',
+ 'shelves_empty_contents' => 'Ova polica još nema dodijeljene knjige',
+ 'shelves_edit_and_assign' => 'Uredi policu za dodavanje knjiga',
+ 'shelves_edit_named' => 'Uredi policu :name',
+ 'shelves_edit' => 'Uredi policu',
+ 'shelves_delete' => 'Izbriši policu',
+ 'shelves_delete_named' => 'Izbriši policu :name',
+ 'shelves_delete_explain' => "This will delete the bookshelf with the name ':name'. Contained books will not be deleted.",
+ 'shelves_delete_confirmation' => 'Jeste li sigurni da želite obrisati policu?',
+ 'shelves_permissions' => 'Dopuštenja za policu',
+ 'shelves_permissions_updated' => 'Ažurirana dopuštenja za policu',
+ 'shelves_permissions_active' => 'Aktivirana dopuštenja za policu',
+ 'shelves_copy_permissions_to_books' => 'Kopiraj dopuštenja za knjige',
+ 'shelves_copy_permissions' => 'Kopiraj dopuštenja',
+ 'shelves_copy_permissions_explain' => 'Ovo će promijeniti trenutna dopuštenja za policu i knjige u njoj. Prije aktivacije provjerite jesu li sve dopuštenja za ovu policu spremljena.',
+ 'shelves_copy_permission_success' => 'Dopuštenja za policu kopirana za :count knjiga',
+
+ // Books
+ 'book' => 'Knjiga',
+ 'books' => 'Knjige',
+ 'x_books' => ':count knjiga|:count knjiga',
+ 'books_empty' => 'Nijedna knjiga nije stvorena',
+ 'books_popular' => 'Popularne knjige',
+ 'books_recent' => 'Nedavne knjige',
+ 'books_new' => 'Nove knjige',
+ 'books_new_action' => 'Nova knjiga',
+ 'books_popular_empty' => 'Najpopularnije knjige pojavit će se ovdje.',
+ 'books_new_empty' => 'Najnovije knjige pojavit će se ovdje.',
+ 'books_create' => 'Stvori novu knjigu',
+ 'books_delete' => 'Izbriši knjigu',
+ 'books_delete_named' => 'Izbriši knjigu :bookName',
+ 'books_delete_explain' => 'Ovaj korak će izbrisati knjigu \':bookName\'. Izbrisati će sve stranice i poglavlja.',
+ 'books_delete_confirmation' => 'Jeste li sigurni da želite izbrisati ovu knjigu?',
+ 'books_edit' => 'Uredi knjigu',
+ 'books_edit_named' => 'Uredi knjigu :bookName',
+ 'books_form_book_name' => 'Ime knjige',
+ 'books_save' => 'Spremi knjigu',
+ 'books_permissions' => 'Dopuštenja za knjigu',
+ 'books_permissions_updated' => 'Ažurirana dopuštenja za knjigu',
+ 'books_empty_contents' => 'U ovoj knjizi još nema stranica ni poglavlja.',
+ 'books_empty_create_page' => 'Stvori novu stranicu',
+ 'books_empty_sort_current_book' => 'Razvrstaj postojeće knjige',
+ 'books_empty_add_chapter' => 'Dodaj poglavlje',
+ 'books_permissions_active' => 'Aktivna dopuštenja za knjigu',
+ 'books_search_this' => 'Traži knjigu',
+ 'books_navigation' => 'Navigacija knjige',
+ 'books_sort' => 'Razvrstaj sadržaj knjige',
+ 'books_sort_named' => 'Razvrstaj knjigu :bookName',
+ 'books_sort_name' => 'Razvrstaj po imenu',
+ 'books_sort_created' => 'Razvrstaj po datumu nastanka',
+ 'books_sort_updated' => 'Razvrstaj po datumu ažuriranja',
+ 'books_sort_chapters_first' => 'Prva poglavlja',
+ 'books_sort_chapters_last' => 'Zadnja poglavlja',
+ 'books_sort_show_other' => 'Pokaži ostale knjige',
+ 'books_sort_save' => 'Spremi novi poredak',
+
+ // Chapters
+ 'chapter' => 'Poglavlje',
+ 'chapters' => 'Poglavlja',
+ 'x_chapters' => ':count poglavlje|:count poglavlja',
+ 'chapters_popular' => 'Popularna poglavlja',
+ 'chapters_new' => 'Novo poglavlje',
+ 'chapters_create' => 'Stvori novo poglavlje',
+ 'chapters_delete' => 'Izbriši poglavlje',
+ 'chapters_delete_named' => 'Izbriši poglavlje :chapterName',
+ 'chapters_delete_explain' => 'Ovaj korak briše poglavlje \':chapterName\'. Sve stranice u njemu će biti izbrisane.',
+ 'chapters_delete_confirm' => 'Jeste li sigurni da želite izbrisati poglavlje?',
+ 'chapters_edit' => 'Uredi poglavlje',
+ 'chapters_edit_named' => 'Uredi poglavlje :chapterName',
+ 'chapters_save' => 'Spremi poglavlje',
+ 'chapters_move' => 'Premjesti poglavlje',
+ 'chapters_move_named' => 'Premjesti poglavlje :chapterName',
+ 'chapter_move_success' => 'Poglavlje premješteno u :bookName',
+ 'chapters_permissions' => 'Dopuštenja za poglavlje',
+ 'chapters_empty' => 'U ovom poglavlju nema stranica.',
+ 'chapters_permissions_active' => 'Aktivna dopuštenja za poglavlje',
+ 'chapters_permissions_success' => 'Ažurirana dopuštenja za poglavlje',
+ 'chapters_search_this' => 'Pretraži poglavlje',
+
+ // Pages
+ 'page' => 'Stranica',
+ 'pages' => 'Stranice',
+ 'x_pages' => ':count stranice|:count stranica',
+ 'pages_popular' => 'Popularne stranice',
+ 'pages_new' => 'Nova stranica',
+ 'pages_attachments' => 'Prilozi',
+ 'pages_navigation' => 'Navigacija stranice',
+ 'pages_delete' => 'Izbriši stranicu',
+ 'pages_delete_named' => 'Izbriši stranicu :pageName',
+ 'pages_delete_draft_named' => 'Izbriši nacrt stranice :pageName',
+ 'pages_delete_draft' => 'Izbriši nacrt stranice',
+ 'pages_delete_success' => 'Izbrisana stranica',
+ 'pages_delete_draft_success' => 'Izbrisan nacrt stranice',
+ 'pages_delete_confirm' => 'Jeste li sigurni da želite izbrisati stranicu?',
+ 'pages_delete_draft_confirm' => 'Jeste li sigurni da želite izbrisati nacrt stranice?',
+ 'pages_editing_named' => 'Uređivanje stranice :pageName',
+ 'pages_edit_draft_options' => 'Izrada skice',
+ 'pages_edit_save_draft' => 'Spremi nacrt',
+ 'pages_edit_draft' => 'Uredi nacrt stranice',
+ 'pages_editing_draft' => 'Uređivanja nacrta',
+ 'pages_editing_page' => 'Uređivanje stranice',
+ 'pages_edit_draft_save_at' => 'Nacrt spremljen kao',
+ 'pages_edit_delete_draft' => 'Izbriši nacrt',
+ 'pages_edit_discard_draft' => 'Odbaci nacrt',
+ 'pages_edit_set_changelog' => 'Postavi dnevnik promjena',
+ 'pages_edit_enter_changelog_desc' => 'Ukratko opišite promjene koje ste napravili',
+ 'pages_edit_enter_changelog' => 'Unesi dnevnik promjena',
+ 'pages_save' => 'Spremi stranicu',
+ 'pages_title' => 'Naslov stranice',
+ 'pages_name' => 'Ime stranice',
+ 'pages_md_editor' => 'Uređivač',
+ 'pages_md_preview' => 'Pregled',
+ 'pages_md_insert_image' => 'Umetni sliku',
+ 'pages_md_insert_link' => 'Umetni poveznicu',
+ 'pages_md_insert_drawing' => 'Umetni crtež',
+ 'pages_not_in_chapter' => 'Stranica nije u poglavlju',
+ 'pages_move' => 'Premjesti stranicu',
+ 'pages_move_success' => 'Stranica premještena u ":parentName"',
+ 'pages_copy' => 'Kopiraj stranicu',
+ 'pages_copy_desination' => 'Kopiraj odredište',
+ 'pages_copy_success' => 'Stranica je uspješno kopirana',
+ 'pages_permissions' => 'Dopuštenja stranice',
+ 'pages_permissions_success' => 'Ažurirana dopuštenja stranice',
+ 'pages_revision' => 'Revizija',
+ 'pages_revisions' => 'Revizija stranice',
+ 'pages_revisions_named' => 'Revizije stranice :pageName',
+ 'pages_revision_named' => 'Revizija stranice :pageName',
+ 'pages_revision_restored_from' => 'Oporavak iz #:id; :summary',
+ 'pages_revisions_created_by' => 'Stvoreno od',
+ 'pages_revisions_date' => 'Datum revizije',
+ 'pages_revisions_number' => '#',
+ 'pages_revisions_numbered' => 'Revizija #:id',
+ 'pages_revisions_numbered_changes' => 'Revizija #:id Promjene',
+ 'pages_revisions_changelog' => 'Dnevnik promjena',
+ 'pages_revisions_changes' => 'Promjene',
+ 'pages_revisions_current' => 'Trenutna verzija',
+ 'pages_revisions_preview' => 'Pregled',
+ 'pages_revisions_restore' => 'Vrati',
+ 'pages_revisions_none' => 'Ova stranica nema revizija',
+ 'pages_copy_link' => 'Kopiraj poveznicu',
+ 'pages_edit_content_link' => 'Uredi sadržaj',
+ 'pages_permissions_active' => 'Aktivna dopuštenja stranice',
+ 'pages_initial_revision' => 'Početno objavljivanje',
+ 'pages_initial_name' => 'Nova stranica',
+ 'pages_editing_draft_notification' => 'Uređujete nacrt stranice posljednji put spremljen :timeDiff.',
+ 'pages_draft_edited_notification' => 'Ova je stranica u međuvremenu ažurirana. Preporučujemo da odbacite ovaj nacrt.',
+ 'pages_draft_edit_active' => [
+ 'start_a' => ':count korisnika koji uređuju ovu stranicu',
+ 'start_b' => ':userName je počeo uređivati ovu stranicu',
+ 'time_a' => 'otkad je stranica posljednji put ažurirana',
+ 'time_b' => 'u zadnjih :minCount minuta',
+ 'message' => ':start :time. Pripazite na uzajamna ažuriranja!',
+ ],
+ 'pages_draft_discarded' => 'Nacrt je odbijen jer je uređivač ažurirao postoječi sadržaj',
+ 'pages_specific' => 'Predlošci stranice',
+ 'pages_is_template' => 'Predložak stranice',
+
+ // Editor Sidebar
+ 'page_tags' => 'Oznake stranice',
+ 'chapter_tags' => 'Oznake poglavlja',
+ 'book_tags' => 'Oznake knjiga',
+ 'shelf_tags' => 'Oznake polica',
+ 'tag' => 'Oznaka',
+ 'tags' => 'Tags',
+ 'tag_name' => 'Tag Name',
+ 'tag_value' => 'Oznaka vrijednosti (neobavezno)',
+ 'tags_explain' => "Add some tags to better categorise your content. \n You can assign a value to a tag for more in-depth organisation.",
+ 'tags_add' => 'Dodaj oznaku',
+ 'tags_remove' => 'Makni oznaku',
+ 'attachments' => 'Prilozi',
+ 'attachments_explain' => 'Dodajte datoteke ili poveznice za prikaz na vašoj stranici. Vidljive su na rubnoj oznaci stranice.',
+ 'attachments_explain_instant_save' => 'Promjene se automatski spremaju.',
+ 'attachments_items' => 'Dodane stavke',
+ 'attachments_upload' => 'Dodaj datoteku',
+ 'attachments_link' => 'Dodaj poveznicu',
+ 'attachments_set_link' => 'Postavi poveznicu',
+ 'attachments_delete' => 'Jeste li sigurni da želite izbrisati ovu stavku?',
+ 'attachments_dropzone' => 'Dodajte datoteke ili kliknite ovdje',
+ 'attachments_no_files' => 'Nijedna datoteka nije prenesena',
+ 'attachments_explain_link' => 'Možete dodati poveznicu ako ne želite prenijeti datoteku. Poveznica može voditi na drugu stranicu ili datoteku.',
+ 'attachments_link_name' => 'Ime poveznice',
+ 'attachment_link' => 'Poveznica na privitak',
+ 'attachments_link_url' => 'Poveznica na datoteku',
+ 'attachments_link_url_hint' => 'Url ili stranica ili datoteka',
+ 'attach' => 'Dodaj',
+ 'attachments_insert_link' => 'Dodaj poveznicu na stranicu',
+ 'attachments_edit_file' => 'Uredi datoteku',
+ 'attachments_edit_file_name' => 'Ime datoteke',
+ 'attachments_edit_drop_upload' => 'Dodaj datoteku ili klikni ovdje za prijenos',
+ 'attachments_order_updated' => 'Ažurirani popis priloga',
+ 'attachments_updated_success' => 'Ažurirani detalji priloga',
+ 'attachments_deleted' => 'Izbrisani prilozi',
+ 'attachments_file_uploaded' => 'Datoteka je uspješno prenešena',
+ 'attachments_file_updated' => 'Datoteka je uspješno ažurirana',
+ 'attachments_link_attached' => 'Poveznica je dodana na stranicu',
+ 'templates' => 'Predlošci',
+ 'templates_set_as_template' => 'Stranica je predložak',
+ 'templates_explain_set_as_template' => 'Ovu stranicu možete postaviti pomoću predloška koji možete koristiti tijekom stvaranja drugih stranica. Ostali korisnici će ga također moći koristiti ako imaju dopuštenje.',
+ 'templates_replace_content' => 'Zamjeni sadržaj stranice',
+ 'templates_append_content' => 'Dodaj sadržaju stranice',
+ 'templates_prepend_content' => 'Dodaj na sadržaj stranice',
+
+ // Profile View
+ 'profile_user_for_x' => 'Korisnik za :time',
+ 'profile_created_content' => 'Stvoreni sadržaj',
+ 'profile_not_created_pages' => ':userName nije kreirao nijednu stranicu',
+ 'profile_not_created_chapters' => ':userName nije kreirao nijedno poglavlje',
+ 'profile_not_created_books' => ':userName nije kreirao nijednu knjigu',
+ 'profile_not_created_shelves' => ':userName nije kreirao nijednu policu',
+
+ // Comments
+ 'comment' => 'Komentar',
+ 'comments' => 'Komentari',
+ 'comment_add' => 'Dodaj komentar',
+ 'comment_placeholder' => 'Komentar ostavi ovdje',
+ 'comment_count' => '{0} Nema komentara|{1} 1 Komentar|[2,*] :count Komentara',
+ 'comment_save' => 'Spremi komentar',
+ 'comment_saving' => 'Spremanje komentara',
+ 'comment_deleting' => 'Brisanje komentara',
+ 'comment_new' => 'Novi komentar',
+ 'comment_created' => 'komentirano :createDiff',
+ 'comment_updated' => 'Ažurirano :updateDiff od :username',
+ 'comment_deleted_success' => 'Izbrisani komentar',
+ 'comment_created_success' => 'Dodani komentar',
+ 'comment_updated_success' => 'Ažurirani komentar',
+ 'comment_delete_confirm' => 'Jeste li sigurni da želite izbrisati ovaj komentar?',
+ 'comment_in_reply_to' => 'Odgovor na :commentId',
+
+ // Revision
+ 'revision_delete_confirm' => 'Jeste li sigurni da želite izbrisati ovaj ispravak?',
+ 'revision_restore_confirm' => 'Jeste li sigurni da želite vratiti ovaj ispravak? Trenutni sadržaj će biti zamijenjen.',
+ 'revision_delete_success' => 'Izbrisani ispravak',
+ 'revision_cannot_delete_latest' => 'Posljednji ispravak se ne može izbrisati.'
+];
--- /dev/null
+<?php
+/**
+ * Text shown in error messaging.
+ */
+return [
+
+ // Permissions
+ 'permission' => 'Nemate dopuštenje za pristup traženoj stranici.',
+ 'permissionJson' => 'Nemate potrebno dopuštenje.',
+
+ // Auth
+ 'error_user_exists_different_creds' => 'Korisnik s mailom :email već postoji, ali s drugom vjerodajnicom.',
+ 'email_already_confirmed' => 'Email je već potvrđen, pokušajte se logirati.',
+ 'email_confirmation_invalid' => 'Ova vjerodajnica nije valjana ili je već bila korištena. Pokušajte se ponovno registrirati.',
+ 'email_confirmation_expired' => 'Ova vjerodajnica je istekla. Poslan je novi email za pristup.',
+ 'email_confirmation_awaiting' => 'Email adresa za račun koji se koristi mora biti potvrđen',
+ 'ldap_fail_anonymous' => 'LDAP pristup nije uspio zbog anonimnosti',
+ 'ldap_fail_authed' => 'LDAP pristup nije uspio',
+ 'ldap_extension_not_installed' => 'LDAP PHP ekstenzija nije instalirana',
+ 'ldap_cannot_connect' => 'Nemoguće pristupiti ldap serveru, problem s mrežom',
+ 'saml_already_logged_in' => 'Već ste prijavljeni',
+ 'saml_user_not_registered' => 'Korisnik :name nije registriran i automatska registracija je onemogućena',
+ 'saml_no_email_address' => 'Nismo pronašli email adresu za ovog korisnika u vanjskim sustavima',
+ 'saml_invalid_response_id' => 'Sustav za autentifikaciju nije prepoznat. Ovaj problem možda je nastao zbog vraćanja nakon prijave.',
+ 'saml_fail_authed' => 'Prijava pomoću :system nije uspjela zbog neuspješne autorizacije',
+ 'social_no_action_defined' => 'Nije definirana nijedna radnja',
+ 'social_login_bad_response' => "Error received during :socialAccount login: \n:error",
+ 'social_account_in_use' => 'Ovaj :socialAccount račun se već koristi. Pokušajte se prijaviti pomoću :socialAccount računa.',
+ 'social_account_email_in_use' => 'Ovaj mail :email se već koristi. Ako već imate naš račun možete se prijaviti pomoću :socialAccount računa u postavkama vašeg profila.',
+ 'social_account_existing' => 'Ovaj :socialAccount je već dodan u vaš profil.',
+ 'social_account_already_used_existing' => 'Ovaj :socialAccount već koristi drugi korisnik.',
+ 'social_account_not_used' => 'Ovaj :socialAccount račun ne koristi nijedan korisnik. Dodajte ga u postavke svog profila.',
+ 'social_account_register_instructions' => 'Ako nemate račun možete se registrirati pomoću :socialAccount opcija.',
+ 'social_driver_not_found' => 'Nije pronađeno',
+ 'social_driver_not_configured' => 'Postavke vašeg :socialAccount računa nisu ispravno postavljene.',
+ 'invite_token_expired' => 'Vaša pozivnica je istekla. Pokušajte ponovno postaviti lozinku.',
+
+ // System
+ 'path_not_writable' => 'Datoteka :filePath ne može se prenijeti. Učinite je lakše prepoznatljivom vašem serveru.',
+ 'cannot_get_image_from_url' => 'Nemoguće preuzeti sliku sa :url',
+ 'cannot_create_thumbs' => 'Provjerite imate li instaliranu GD PHP ekstenziju.',
+ 'server_upload_limit' => 'Prevelika količina za server. Pokušajte prenijeti manju veličinu.',
+ 'uploaded' => 'Prevelika količina za server. Pokušajte prenijeti manju veličinu.',
+ 'image_upload_error' => 'Problem s prenosom slike',
+ 'image_upload_type_error' => 'Nepodržani format slike',
+ 'file_upload_timeout' => 'Isteklo vrijeme za prijenos datoteke.',
+
+ // Attachments
+ 'attachment_not_found' => 'Prilozi nisu pronađeni',
+
+ // Pages
+ 'page_draft_autosave_fail' => 'Problem sa spremanjem nacrta. Osigurajte stabilnu internetsku vezu.',
+ 'page_custom_home_deletion' => 'Stranica označena kao naslovnica ne može se izbrisati',
+
+ // Entities
+ 'entity_not_found' => 'Nije pronađeno',
+ 'bookshelf_not_found' => 'Polica nije pronađena',
+ 'book_not_found' => 'Knjiga nije pronađena',
+ 'page_not_found' => 'Stranica nije pronađena',
+ 'chapter_not_found' => 'Poglavlje nije pronađeno',
+ 'selected_book_not_found' => 'Odabrana knjiga nije pronađena',
+ 'selected_book_chapter_not_found' => 'Odabrane knjige ili poglavlja nisu pronađena',
+ 'guests_cannot_save_drafts' => 'Gosti ne mogu spremiti nacrte',
+
+ // Users
+ 'users_cannot_delete_only_admin' => 'Ne možete izbrisati',
+ 'users_cannot_delete_guest' => 'Ne možete izbrisati',
+
+ // Roles
+ 'role_cannot_be_edited' => 'Ne može se urediti',
+ 'role_system_cannot_be_deleted' => 'Sistemske postavke ne možete izbrisati',
+ 'role_registration_default_cannot_delete' => 'Ne može se izbrisati',
+ 'role_cannot_remove_only_admin' => 'Učinite drugog korisnika administratorom prije uklanjanja ove administratorske uloge.',
+
+ // Comments
+ 'comment_list' => 'Pogreška prilikom dohvaćanja komentara.',
+ 'cannot_add_comment_to_draft' => 'Ne možete ostaviti komentar na ovaj nacrt.',
+ 'comment_add' => 'Greška prilikom dodavanja ili ažuriranja komentara.',
+ 'comment_delete' => 'Greška prilikom brisanja komentara.',
+ 'empty_comment' => 'Ne možete ostaviti prazan komentar.',
+
+ // Error pages
+ '404_page_not_found' => 'Stranica nije pronađena',
+ 'sorry_page_not_found' => 'Žao nam je, stranica koju tražite nije pronađena.',
+ 'sorry_page_not_found_permission_warning' => 'Ako smatrate da ova stranica još postoji, ali je ne vidite, moguće je da nemate omogućen pristup.',
+ 'image_not_found' => 'Image Not Found',
+ 'image_not_found_subtitle' => 'Sorry, The image file you were looking for could not be found.',
+ 'image_not_found_details' => 'If you expected this image to exist it might have been deleted.',
+ 'return_home' => 'Povratak na početno',
+ 'error_occurred' => 'Došlo je do pogreške',
+ 'app_down' => ':appName trenutno nije dostupna',
+ 'back_soon' => 'Uskoro će se vratiti.',
+
+ // API errors
+ 'api_no_authorization_found' => 'Nije pronađena autorizacija',
+ 'api_bad_authorization_format' => 'Pogreška prilikom autorizacije',
+ 'api_user_token_not_found' => 'Format autorizacije nije podržan',
+ 'api_incorrect_token_secret' => 'Netočan API token',
+ 'api_user_no_api_permission' => 'Vlasnik API tokena nema potrebna dopuštenja',
+ 'api_user_token_expired' => 'Autorizacija je istekla',
+
+ // Settings & Maintenance
+ 'maintenance_test_email_failure' => 'Pogreška prilikom slanja testnog email:',
+
+];
--- /dev/null
+<?php
+/**
+ * Pagination Language Lines
+ * The following language lines are used by the paginator library to build
+ * the simple pagination links.
+ */
+return [
+
+ 'previous' => '« Prethodno',
+ 'next' => 'Sljedeće »',
+
+];
--- /dev/null
+<?php
+/**
+ * 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.
+ */
+return [
+
+ 'password' => 'Lozinka mora imati najmanje 8 znakova i biti potvrđena.',
+ 'user' => "We can't find a user with that e-mail address.",
+ 'token' => 'Ponovno postavljanje lozinke nemoguće putem ove adrese.',
+ 'sent' => 'Na vašu email adresu poslana je poveznica za ponovno postavljanje!',
+ 'reset' => 'Vaša je lozinka ponovno postavljena!',
+
+];
--- /dev/null
+<?php
+/**
+ * Settings text strings
+ * Contains all text strings used in the general settings sections of BookStack
+ * including users and roles.
+ */
+return [
+
+ // Common Messages
+ 'settings' => 'Postavke',
+ 'settings_save' => 'Spremi postavke',
+ 'settings_save_success' => 'Postavke spremljene',
+
+ // App Settings
+ 'app_customization' => 'Prilagođavanje',
+ 'app_features_security' => 'Značajke & Sigurnost',
+ 'app_name' => 'Ime aplikacije',
+ 'app_name_desc' => 'Ime je vidljivo u zaglavlju i svakoj sistemskoj poruci.',
+ 'app_name_header' => 'Prikaži ime u zaglavlju',
+ 'app_public_access' => 'Javni pristup',
+ 'app_public_access_desc' => 'Omogućavanje ove postavke pristup sadržaju imat će svi posjetitelji BookStack čak i ako nisu prijavljeni.',
+ 'app_public_access_desc_guest' => 'Javni pristup može se urediti putem opcije "Gost".',
+ 'app_public_access_toggle' => 'Dozvoli javni pristup',
+ 'app_public_viewing' => 'Dozvoljen javni pristup?',
+ 'app_secure_images' => 'Visoka razina sigurnosti prijenosa slika',
+ 'app_secure_images_toggle' => 'Omogući visoku sigurnost prijenosa slika',
+ 'app_secure_images_desc' => 'Zbog specifične izvedbe sve su slike javne. Osigurajte da indeksi direktorija nisu omogućeni kako bi se spriječio neovlašten pristup.',
+ 'app_editor' => 'Uređivač stranice',
+ 'app_editor_desc' => 'Odaberite uređivače stranica',
+ 'app_custom_html' => 'Prilagođeni HTML sadržaj',
+ 'app_custom_html_desc' => 'Sav sadržaj dodan ovdje bit će umetnut na dno <glavne> stranice. To je korisno za stiliziranje i dodavanje analitičkog koda.',
+ 'app_custom_html_disabled_notice' => 'Prilagođeni HTML je onemogućen kako bi se osiguralo vraćanje promjena u slučaju kvara.',
+ 'app_logo' => 'Logo aplikacije',
+ 'app_logo_desc' => 'Slika smije biti najviše 43px u visinu. <br>Velike slike će biti smanjene.',
+ 'app_primary_color' => 'Primarna boja aplikacije',
+ 'app_primary_color_desc' => 'Postavlja primarnu boju za aplikaciju uključujući natpis, gumbe i veze.',
+ 'app_homepage' => 'Glavna stranica aplikacije',
+ 'app_homepage_desc' => 'Odaberite prikaz svoje glavne stranice umjesto već zadane. Za odabrane stranice ne vrijede zadana dopuštenja.',
+ 'app_homepage_select' => 'Odaberi stranicu',
+ 'app_footer_links' => 'Podnožje',
+ 'app_footer_links_desc' => 'Odaberite poveznice koje će biti vidljive u podnožju većina stranica čak i na nekima koje ne zahtijevaju prijavu. Na primjer, oznaku "trans::common.privacy_policy" možete koristiti za sistemski definirani prijevod teksta "Politika Privatnosti", a za "Uvjete korištenja" možete koristiti "trans::common.terms_of_service".',
+ 'app_footer_links_label' => 'Oznaka veze',
+ 'app_footer_links_url' => 'Oznaka URL',
+ 'app_footer_links_add' => 'Dodaj vezu na podnožje',
+ 'app_disable_comments' => 'Onemogući komentare',
+ 'app_disable_comments_toggle' => 'Onemogući komentare',
+ 'app_disable_comments_desc' => 'Onemogući komentare za sve stranice u aplikaciji. <br> Postojeći komentari nisu prikazani.',
+
+ // Color settings
+ 'content_colors' => 'Boja sadržaja',
+ 'content_colors_desc' => 'Postavljanje boja za sve elemente stranice. Preporuča se odabir boja čija je svjetlina slična zadanim bojama.',
+ 'bookshelf_color' => 'Boja police',
+ 'book_color' => 'Boja knjige',
+ 'chapter_color' => 'Boja poglavlja',
+ 'page_color' => 'Boja stranice',
+ 'page_draft_color' => 'Boja nacrta',
+
+ // Registration Settings
+ 'reg_settings' => 'Registracija',
+ 'reg_enable' => 'Omogući registraciju',
+ 'reg_enable_toggle' => 'Omogući registraciju',
+ 'reg_enable_desc' => 'Ako je omogućeno korisnik se može sam registrirati nakon čega će mu biti dodijeljena jedna od korisničkih uloga.',
+ 'reg_default_role' => 'Zadaj ulogu korisnika nakon registracije',
+ 'reg_enable_external_warning' => 'Gornja opcija se zanemaruje ako postoji LDAP ili SAML autorifikacija. Korisnički računi za nepostojeće članove automatski će se kreirati ako je vanjska provjera autentičnosti bila uspješna.',
+ 'reg_email_confirmation' => 'Potvrda e maila',
+ 'reg_email_confirmation_toggle' => 'Zahtjev za potvrdom e maila',
+ 'reg_confirm_email_desc' => 'Ako postoje ograničenja domene potvrda e maila će se zahtijevati i ova će se opcija zanemariti.',
+ 'reg_confirm_restrict_domain' => 'Ograničenja domene',
+ 'reg_confirm_restrict_domain_desc' => 'Unesite popis email domena kojima želite ograničiti registraciju i odvojite ih zarezom. Korisnicima će se slati email prije interakcije s aplikacijom. <br> Uzmite u obzir da će korisnici moći koristiti druge e mail adrese nakon uspješne registracije.',
+ 'reg_confirm_restrict_domain_placeholder' => 'Bez ograničenja',
+
+ // Maintenance settings
+ 'maint' => 'Održavanje',
+ 'maint_image_cleanup' => 'Čišćenje slika',
+ 'maint_image_cleanup_desc' => "Scans page & revision content to check which images and drawings are currently in use and which images are redundant. Ensure you create a full database and image backup before running this.",
+ 'maint_delete_images_only_in_revisions' => 'Izbriši slike koje postoje u prijašnjim revizijama',
+ 'maint_image_cleanup_run' => 'Pokreni čišćenje',
+ 'maint_image_cleanup_warning' => ':count moguće neiskorištene slike. Jeste li sigurni da želite izbrisati ove slike?',
+ 'maint_image_cleanup_success' => ':count moguće neiskorištene slike su pronađene i izbrisane!',
+ 'maint_image_cleanup_nothing_found' => 'Nema neiskorištenih slika, Ništa nije izbrisano!',
+ 'maint_send_test_email' => 'Pošalji testni Email',
+ 'maint_send_test_email_desc' => 'Na ovaj način šaljete testni Email na adresu navedenu u vašem profilu.',
+ 'maint_send_test_email_run' => 'Pošalji testni email',
+ 'maint_send_test_email_success' => 'Email je poslan na :address',
+ 'maint_send_test_email_mail_subject' => 'Testni email',
+ 'maint_send_test_email_mail_greeting' => 'Email se može koristiti!',
+ 'maint_send_test_email_mail_text' => 'Čestitamo! Ako ste primili ovaj e mail znači da ćete ga moći koristiti.',
+ 'maint_recycle_bin_desc' => 'Izbrisane police, knjige, poglavlja i stranice poslane su u Recycle bin i mogu biti vraćene ili trajno izbrisane. Starije stavke bit će automatski izbrisane nakon nekog vremena što ovisi o konfiguraciji sustava.',
+ 'maint_recycle_bin_open' => 'Otvori Recycle Bin',
+
+ // Recycle Bin
+ 'recycle_bin' => 'Recycle Bin',
+ 'recycle_bin_desc' => 'Ovdje možete vratiti izbrisane stavke ili ih trajno ukloniti iz sustava. Popis nije filtriran kao što su to popisi u kojima su omogućeni filteri.',
+ 'recycle_bin_deleted_item' => 'Izbrisane stavke',
+ 'recycle_bin_deleted_by' => 'Izbrisano od',
+ 'recycle_bin_deleted_at' => 'Vrijeme brisanja',
+ 'recycle_bin_permanently_delete' => 'Trajno izbrisano',
+ 'recycle_bin_restore' => 'Vrati',
+ 'recycle_bin_contents_empty' => 'Recycle Bin je prazan',
+ 'recycle_bin_empty' => 'Isprazni Recycle Bin',
+ 'recycle_bin_empty_confirm' => 'Ovo će trajno obrisati sve stavke u Recycle Bin i sadržaje povezane s njima. Jeste li sigurni da želite isprazniti Recycle Bin?',
+ 'recycle_bin_destroy_confirm' => 'Ovom radnjom ćete trajno izbrisati ovu stavku i nećete je više moći vratiti. Želite li je trajno izbrisati?',
+ 'recycle_bin_destroy_list' => 'Stavke koje treba izbrisati',
+ 'recycle_bin_restore_list' => 'Stavke koje treba vratiti',
+ 'recycle_bin_restore_confirm' => 'Ova radnja vraća izbrisane stavke i njene podređene elemente na prvobitnu lokaciju. Ako je nadređena stavka izbrisana i nju treba vratiti.',
+ 'recycle_bin_restore_deleted_parent' => 'S obzirom da je nadređena stavka obrisana najprije treba vratiti nju.',
+ 'recycle_bin_destroy_notification' => 'Ukupno izbrisane :count stavke iz Recycle Bin',
+ 'recycle_bin_restore_notification' => 'Ukupno vraćene :count stavke iz Recycle Bin',
+
+ // Audit Log
+ 'audit' => 'Dnevnik revizije',
+ 'audit_desc' => 'Ovaj dnevnik revizije prikazuje popis aktivnosti zabilježene u sustavu. Ovaj popis nije definiran budući da nisu postavljeni filteri.',
+ 'audit_event_filter' => 'Filter događaja',
+ 'audit_event_filter_no_filter' => 'Bez filtera',
+ 'audit_deleted_item' => 'Izbrisane stavke',
+ 'audit_deleted_item_name' => 'Ime: :name',
+ 'audit_table_user' => 'Korisnik',
+ 'audit_table_event' => 'Događaj',
+ 'audit_table_related' => 'Povezana stavka ili detalj',
+ 'audit_table_date' => 'Datum aktivnosti',
+ 'audit_date_from' => 'Rangiraj datum od',
+ 'audit_date_to' => 'Rangiraj datum do',
+
+ // Role Settings
+ 'roles' => 'Uloge',
+ 'role_user_roles' => 'Uloge korisnika',
+ 'role_create' => 'Stvori novu ulogu',
+ 'role_create_success' => 'Uloga uspješno stvorena',
+ 'role_delete' => 'Izbriši ulogu',
+ 'role_delete_confirm' => 'Ovo će izbrisati ulogu povezanu s imenom \':roleName\'.',
+ 'role_delete_users_assigned' => 'Ova uloga dodijeljena je :userCount. Ako želite premjestiti korisnike iz ove uloge odaberite novu ulogu u nastavku.',
+ 'role_delete_no_migration' => "Don't migrate users",
+ 'role_delete_sure' => 'Jeste li sigurni da želite obrisati ovu ulogu?',
+ 'role_delete_success' => 'Uloga je uspješno izbrisana',
+ 'role_edit' => 'Uredi ulogu',
+ 'role_details' => 'Detalji uloge',
+ 'role_name' => 'Ime uloge',
+ 'role_desc' => 'Kratki opis uloge',
+ 'role_external_auth_id' => 'Autorizacija',
+ 'role_system' => 'Dopuštenja sustava',
+ 'role_manage_users' => 'Upravljanje korisnicima',
+ 'role_manage_roles' => 'Upravljanje ulogama i dopuštenjima',
+ 'role_manage_entity_permissions' => 'Upravljanje dopuštenjima nad knjigama, poglavljima i stranicama',
+ 'role_manage_own_entity_permissions' => 'Upravljanje dopuštenjima vlastitih knjiga, poglavlja i stranica',
+ 'role_manage_page_templates' => 'Upravljanje predlošcima stranica',
+ 'role_access_api' => 'API pristup',
+ 'role_manage_settings' => 'Upravljanje postavkama aplikacija',
+ 'role_asset' => 'Upravljanje vlasništvom',
+ 'roles_system_warning' => 'Uzmite u obzir da pristup bilo kojem od ovih dopuštenja dozvoljavate korisniku upravljanje dopuštenjima ostalih u sustavu. Ova dopuštenja dodijelite pouzdanim korisnicima.',
+ 'role_asset_desc' => 'Ova dopuštenja kontroliraju zadane pristupe. Dopuštenja za knjige, poglavlja i stranice ih poništavaju.',
+ 'role_asset_admins' => 'Administratori automatski imaju pristup svim sadržajima, ali ove opcije mogu prikazati ili sakriti korisnička sučelja.',
+ 'role_all' => 'Sve',
+ 'role_own' => 'Vlastito',
+ 'role_controlled_by_asset' => 'Kontrolirano od strane vlasnika',
+ 'role_save' => 'Spremi ulogu',
+ 'role_update_success' => 'Uloga uspješno ažurirana',
+ 'role_users' => 'Korisnici u ovoj ulozi',
+ 'role_users_none' => 'Trenutno nijedan korisnik nije u ovoj ulozi',
+
+ // Users
+ 'users' => 'Korisnici',
+ 'user_profile' => 'Profil korisnika',
+ 'users_add_new' => 'Dodajte novog korisnika',
+ 'users_search' => 'Pretražite korisnike',
+ 'users_latest_activity' => 'Zadnje aktivnosti',
+ 'users_details' => 'Detalji korisnika',
+ 'users_details_desc' => 'Postavite prikaz imena i email adrese za ovog korisnika. Email adresa koristit će se za prijavu u aplikaciju.',
+ 'users_details_desc_no_email' => 'Postavite prikaz imena ovog korisnika da ga drugi mogu prepoznati.',
+ 'users_role' => 'Uloge korisnika',
+ 'users_role_desc' => 'Odaberite koje će uloge biti dodijeljene ovom korisniku. Ako korisnik ima više uloga njihova će se dopuštenja prilagoditi.',
+ 'users_password' => 'Lozinka korisnika',
+ 'users_password_desc' => 'Postavite lozinku za prijavu u aplikaciju. Mora imati najmanje 6 znakova.',
+ 'users_send_invite_text' => 'Možete odabrati slanje e maila korisniku i dozvoliti mu da postavi svoju lozinku ili vi to možete učiniti za njega.',
+ 'users_send_invite_option' => 'Pošaljite pozivnicu korisniku putem emaila',
+ 'users_external_auth_id' => 'Vanjska autorizacija',
+ 'users_external_auth_id_desc' => 'Ovaj ID koristi se za komunikaciju s vanjskim sustavom za autorizaciju.',
+ 'users_password_warning' => 'Ispunite dolje samo ako želite promijeniti lozinku.',
+ 'users_system_public' => 'Ovaj korisnik predstavlja bilo kojeg gosta. Dodjeljuje se automatski.',
+ 'users_delete' => 'Izbrišite korisnika',
+ 'users_delete_named' => 'Izbrišite korisnika :userName',
+ 'users_delete_warning' => 'Ovo će ukloniti korisnika \':userName\' iz sustava.',
+ 'users_delete_confirm' => 'Jeste li sigurni da želite izbrisati ovog korisnika?',
+ 'users_migrate_ownership' => 'Premjestite vlasništvo',
+ 'users_migrate_ownership_desc' => 'Ovdje odaberite korisnika kojem ćete dodijeliti vlasništvo i sve stavke povezane s njim.',
+ 'users_none_selected' => 'Nije odabran nijedan korisnik',
+ 'users_delete_success' => 'Korisnik je uspješno premješten',
+ 'users_edit' => 'Uredite korisnika',
+ 'users_edit_profile' => 'Uredite profil',
+ 'users_edit_success' => 'Korisnik je uspješno ažuriran',
+ 'users_avatar' => 'Korisnički avatar',
+ 'users_avatar_desc' => 'Odaberite sliku koja će predstavljati korisnika. Maksimalno 256px.',
+ 'users_preferred_language' => 'Prioritetni jezik',
+ 'users_preferred_language_desc' => 'Ova će opcija promijeniti jezik korisničkog sučelja. Neće utjecati na sadržaj.',
+ 'users_social_accounts' => 'Računi društvenih mreža',
+ 'users_social_accounts_info' => 'Ovdje možete povezati račun s onim na društvenim mrežama za bržu i lakšu prijavu. Ako se odspojite ovdje to neće utjecati na prethodnu autorizaciju. Na postavkama računa vaše društvene mreže možete opozvati pristup.',
+ 'users_social_connect' => 'Poveži račun',
+ 'users_social_disconnect' => 'Odvoji račun',
+ 'users_social_connected' => ':socialAccount račun je uspješno dodan vašem profilu.',
+ 'users_social_disconnected' => ':socialAccount račun je uspješno odvojen od vašeg profila.',
+ 'users_api_tokens' => 'API tokeni',
+ 'users_api_tokens_none' => 'Nijedan API token nije stvoren za ovog korisnika',
+ 'users_api_tokens_create' => 'Stvori token',
+ 'users_api_tokens_expires' => 'Isteklo',
+ 'users_api_tokens_docs' => 'API dokumentacija',
+
+ // API Tokens
+ 'user_api_token_create' => 'Stvori API token',
+ 'user_api_token_name' => 'Ime',
+ 'user_api_token_name_desc' => 'Imenujte svoj token na način da prepoznate njegovu svrhu.',
+ 'user_api_token_expiry' => 'Datum isteka',
+ 'user_api_token_expiry_desc' => 'Postavite datum kada token istječe. Ostavljanjem ovog polja praznim automatski se postavlja dugoročno razdoblje.',
+ 'user_api_token_create_secret_message' => 'Odmah nakon kreiranja tokena prikazat će se "Token ID" i "Token Secret". To će se prikazati samo jednom i zato preporučujemo da ga spremite na sigurno.',
+ 'user_api_token_create_success' => 'API token uspješno kreiran',
+ 'user_api_token_update_success' => 'API token uspješno ažuriran',
+ 'user_api_token' => 'API token',
+ 'user_api_token_id' => 'Token ID',
+ 'user_api_token_id_desc' => 'Ovaj sistemski generiran identifikator ne može se uređivati i bit će potreban pri API zahtjevima.',
+ 'user_api_token_secret' => 'Token Secret',
+ 'user_api_token_secret_desc' => 'Ovaj sistemski generirani Token Secret trebat ćete za API zahtjev. Prikazuje se samo prvi put i zato ga spremite na sigurno.',
+ 'user_api_token_created' => 'Token kreiran :timeAgo',
+ 'user_api_token_updated' => 'Token ažuriran :timeAgo',
+ 'user_api_token_delete' => 'Izbriši token',
+ 'user_api_token_delete_warning' => 'Ovo će potpuno izbrisati API token naziva \':tokenName\' iz našeg sustava.',
+ 'user_api_token_delete_confirm' => 'Jeste li sigurni da želite izbrisati ovaj API token?',
+ 'user_api_token_delete_success' => 'API token uspješno izbrisan',
+
+ //! If editing translations files directly please ignore this in all
+ //! languages apart from en. Content will be auto-copied from en.
+ //!////////////////////////////////
+ 'language_select' => [
+ 'en' => 'English',
+ 'ar' => 'العربية',
+ 'bg' => 'Bǎlgarski',
+ 'bs' => 'Bosanski',
+ 'ca' => 'Català',
+ 'cs' => 'Česky',
+ 'da' => 'Dansk',
+ 'de' => 'Deutsch (Sie)',
+ 'de_informal' => 'Deutsch (Du)',
+ 'es' => 'Español',
+ 'es_AR' => 'Español Argentina',
+ 'fr' => 'Français',
+ 'he' => 'עברית',
+ 'hr' => 'Hrvatski',
+ 'hu' => 'Magyar',
+ 'id' => 'Bahasa Indonesia',
+ 'it' => 'Italian',
+ 'ja' => '日本語',
+ 'ko' => '한국어',
+ 'lv' => 'Latviešu Valoda',
+ 'nl' => 'Nederlands',
+ 'nb' => 'Norsk (Bokmål)',
+ 'pl' => 'Polski',
+ 'pt' => 'Português',
+ 'pt_BR' => 'Português do Brasil',
+ 'ru' => 'Русский',
+ 'sk' => 'Slovensky',
+ 'sl' => 'Slovenščina',
+ 'sv' => 'Svenska',
+ 'tr' => 'Türkçe',
+ 'uk' => 'Українська',
+ 'vi' => 'Tiếng Việt',
+ 'zh_CN' => '简体中文',
+ 'zh_TW' => '繁體中文',
+ ]
+ //!////////////////////////////////
+];
--- /dev/null
+<?php
+/**
+ * Validation Lines
+ * The following language lines contain the default error messages used by
+ * the validator class. Some of these rules have multiple versions such
+ * as the size rules. Feel free to tweak each of these messages here.
+ */
+return [
+
+ // Standard laravel validation lines
+ 'accepted' => ':attribute mora biti prihvaćen.',
+ 'active_url' => ':attribute nema valjan URL.',
+ 'after' => ':attribute mora biti nakon :date.',
+ 'alpha' => ':attribute može sadržavati samo slova.',
+ 'alpha_dash' => ':attribute može sadržavati samo slova, brojeve, crtice i donje crtice.',
+ 'alpha_num' => ':attribute može sadržavati samo slova i brojeve.',
+ 'array' => ':attribute mora biti niz.',
+ 'before' => ':attribute mora biti prije :date.',
+ 'between' => [
+ 'numeric' => ':attribute mora biti između :min i :max.',
+ 'file' => ':attribute mora biti između :min i :max kilobajta.',
+ 'string' => ':attribute mora biti između :min i :max znakova.',
+ 'array' => ':attribute mora biti između :min i :max stavki',
+ ],
+ 'boolean' => ':attribute mora biti točno ili netočno.',
+ 'confirmed' => ':attribute potvrde se ne podudaraju.',
+ 'date' => ':attribute nema valjani datum.',
+ 'date_format' => ':attribute ne odgovara formatu :format.',
+ 'different' => ':attribute i :other se moraju razlikovati.',
+ 'digits' => ':attribute mora biti :digits znakova.',
+ 'digits_between' => ':attribute mora biti između :min i :max znamenki.',
+ 'email' => ':attribute mora biti valjana email adresa.',
+ 'ends_with' => ':attribute mora završiti s :values',
+ 'filled' => ':attribute polje je obavezno.',
+ 'gt' => [
+ 'numeric' => ':attribute mora biti veći od :value.',
+ 'file' => ':attribute mora biti veći od :value kilobajta.',
+ 'string' => ':attribute mora biti veći od :value znakova',
+ 'array' => ':attribute mora biti veći od :value stavki.',
+ ],
+ 'gte' => [
+ 'numeric' => ':attribute mora biti veći ili jednak :value.',
+ 'file' => ':attribute mora biti veći ili jednak :value kilobajta.',
+ 'string' => ':attribute mora biti veći ili jednak :value znakova.',
+ 'array' => ':attribute mora imati :value stavki ili više.',
+ ],
+ 'exists' => 'Odabrani :attribute ne vrijedi.',
+ 'image' => ':attribute mora biti slika.',
+ 'image_extension' => ':attribute mora imati valjanu i podržanu ekstenziju.',
+ 'in' => 'Odabrani :attribute ne vrijedi.',
+ 'integer' => ':attribute mora biti cijeli broj.',
+ 'ip' => ':attribute mora biti valjana IP adresa.',
+ 'ipv4' => ':attribute mora biti valjana IPv4 adresa.',
+ 'ipv6' => ':attribute mora biti valjana IPv6 adresa.',
+ 'json' => ':attribute mora biti valjani JSON niz.',
+ 'lt' => [
+ 'numeric' => ':attribute mora biti manji od :value.',
+ 'file' => ':attribute mora biti manji od :value kilobajta.',
+ 'string' => ':attribute mora biti manji od :value znakova.',
+ 'array' => ':attribute mora biti manji od :value stavki.',
+ ],
+ 'lte' => [
+ 'numeric' => ':attribute mora biti manji ili jednak :value.',
+ 'file' => ':attribute mora biti manji ili jednak :value kilobajta.',
+ 'string' => ':attribute mora biti manji ili jednak :value znakova.',
+ 'array' => ':attribute mora imati više od :value stavki.',
+ ],
+ 'max' => [
+ 'numeric' => ':attribute ne smije biti veći od :max.',
+ 'file' => ':attribute ne smije biti veći od :max kilobajta.',
+ 'string' => ':attribute ne smije biti duži od :max znakova.',
+ 'array' => ':attribute ne smije imati više od :max stavki.',
+ ],
+ 'mimes' => ':attribute mora biti datoteka tipa: :values.',
+ 'min' => [
+ 'numeric' => ':attribute mora biti najmanje :min.',
+ 'file' => ':attribute mora imati najmanje :min kilobajta.',
+ 'string' => ':attribute mora imati najmanje :min znakova.',
+ 'array' => ':attribute mora imati najmanje :min stavki.',
+ ],
+ 'not_in' => 'Odabrani :attribute ne vrijedi.',
+ 'not_regex' => 'Format :attribute nije valjan.',
+ 'numeric' => ':attribute mora biti broj.',
+ 'regex' => 'Format :attribute nije valjan.',
+ 'required' => ':attribute polje je obavezno.',
+ 'required_if' => 'Polje :attribute je obavezno kada :other je :value.',
+ 'required_with' => 'Polje :attribute je potrebno kada :values je sadašnjost.',
+ 'required_with_all' => 'Polje :attribute je potrebno kada :values je sadašnjost.',
+ 'required_without' => 'Polje :attribute je potrebno kada :values nije sadašnjost.',
+ 'required_without_all' => 'Polje :attribute je potrebno kada ništa od :values nije sadašnjost.',
+ 'same' => ':attribute i :other se moraju podudarati.',
+ 'safe_url' => 'Navedena veza možda nije sigurna.',
+ 'size' => [
+ 'numeric' => ':attribute mora biti :size.',
+ 'file' => ':attribute mora biti :size kilobajta.',
+ 'string' => ':attribute mora biti :size znakova.',
+ 'array' => ':attribute mora sadržavati :size stavki.',
+ ],
+ 'string' => ':attribute mora biti niz.',
+ 'timezone' => ':attribute mora biti valjan.',
+ 'unique' => ':attribute se već koristi.',
+ 'url' => 'Format :attribute nije valjan.',
+ 'uploaded' => 'Datoteka se ne može prenijeti. Server možda ne prihvaća datoteke te veličine.',
+
+ // Custom validation lines
+ 'custom' => [
+ 'password-confirm' => [
+ 'required_with' => 'Potrebna potvrda lozinke',
+ ],
+ ],
+
+ // Custom validation attributes
+ 'attributes' => [],
+];
'bookshelf_delete' => 'törölte a könyvespolcot:',
'bookshelf_delete_notification' => 'Könyvespolc sikeresen törölve',
+ // Favourites
+ 'favourite_add_notification' => '":name" has been added to your favourites',
+ 'favourite_remove_notification' => '":name" has been removed from your favourites',
+
// Other
'commented_on' => 'megjegyzést fűzött hozzá:',
+ 'permissions_update' => 'updated permissions',
];
'copy' => 'Másolás',
'reply' => 'Válasz',
'delete' => 'Törlés',
- 'delete_confirm' => 'Confirm Deletion',
+ 'delete_confirm' => 'Törlés megerősítése',
'search' => 'Keresés',
'search_clear' => 'Keresés törlése',
'reset' => 'Visszaállítás',
'remove' => 'Eltávolítás',
'add' => 'Hozzáadás',
'fullscreen' => 'Teljes képernyő',
+ 'favourite' => 'Favourite',
+ 'unfavourite' => 'Unfavourite',
+ 'next' => 'Next',
+ 'previous' => 'Previous',
// Sort Options
'sort_options' => 'Rendezési beállítások',
'sort_ascending' => 'Növekvő sorrend',
'sort_descending' => 'Csökkenő sorrend',
'sort_name' => 'Név',
+ 'sort_default' => 'Default',
'sort_created_at' => 'Létrehozás dátuma',
'sort_updated_at' => 'Frissítés dátuma',
'breadcrumb' => 'Morzsa',
// Header
+ 'header_menu_expand' => 'Expand Header Menu',
'profile_menu' => 'Profil menü',
'view_profile' => 'Profil megtekintése',
'edit_profile' => 'Profil szerkesztése',
- 'dark_mode' => 'Dark Mode',
- 'light_mode' => 'Light Mode',
+ 'dark_mode' => 'Sötét mód',
+ 'light_mode' => 'Világos mód',
// Layout tabs
'tab_info' => 'Információ',
+ 'tab_info_label' => 'Tab: Show Secondary Information',
'tab_content' => 'Tartalom',
+ 'tab_content_label' => 'Tab: Show Primary Content',
// Email Content
'email_action_help' => 'Probléma esetén a lenti ":actionText" gombra kell kattintani, majd ki kell másolni a lenti webcímet és be kell illeszteni egy böngészőbe:',
'email_rights' => 'Minden jog fenntartva',
+
+ // Footer Link Options
+ // Not directly used but available for convenience to users.
+ 'privacy_policy' => 'Privacy Policy',
+ 'terms_of_service' => 'Terms of Service',
];
'image_load_more' => 'Több betöltése',
'image_image_name' => 'Kép neve',
'image_delete_used' => 'Ez a kép a lenti oldalakon van használatban.',
- 'image_delete_confirm_text' => 'Are you sure you want to delete this image?',
+ 'image_delete_confirm_text' => 'Biztosan törölhető ez a kép?',
'image_select_image' => 'Kép kiválasztása',
'image_dropzone' => 'Képek feltöltése ejtéssel vagy kattintással',
'images_deleted' => 'Képek törölve',
'code_editor' => 'Kód szerkesztése',
'code_language' => 'Kód nyelve',
'code_content' => 'Kód tartalom',
- 'code_session_history' => 'Session History',
+ 'code_session_history' => 'Munkamenet előzményei',
'code_save' => 'Kód mentése',
];
'meta_created_name' => ':user hozta létre :timeLength',
'meta_updated' => 'Frissítve :timeLength',
'meta_updated_name' => ':user frissítette :timeLength',
+ 'meta_owned_name' => 'Owned by :user',
'entity_select' => 'Entitás kiválasztása',
'images' => 'Képek',
'my_recent_drafts' => 'Legutóbbi vázlataim',
'my_recently_viewed' => 'Általam legutóbb megtekintett',
+ 'my_most_viewed_favourites' => 'My Most Viewed Favourites',
+ 'my_favourites' => 'My Favourites',
'no_pages_viewed' => 'Még nincsenek általam megtekintett oldalak',
'no_pages_recently_created' => 'Nincsenek legutóbb létrehozott oldalak',
'no_pages_recently_updated' => 'Nincsenek legutóbb frissített oldalak',
'permissions_intro' => 'Ha engedélyezett, ezek a jogosultságok elsőbbséget élveznek bármely beállított szerepkör jogosultsággal szemben.',
'permissions_enable' => 'Egyéni jogosultságok engedélyezése',
'permissions_save' => 'Jogosultságok mentése',
+ 'permissions_owner' => 'Owner',
// Search
'search_results' => 'Keresési eredmények',
'search_no_pages' => 'Nincsenek a keresésnek megfelelő oldalak',
'search_for_term' => ':term keresése',
'search_more' => 'További eredmények',
- 'search_advanced' => 'Advanced Search',
- 'search_terms' => 'Search Terms',
+ 'search_advanced' => 'Részletes keresés',
+ 'search_terms' => 'Keresési kifejezések',
'search_content_type' => 'Tartalomtípus',
'search_exact_matches' => 'Pontos egyezések',
'search_tags' => 'Címke keresések',
'search_permissions_set' => 'Jogosultságok beállítva',
'search_created_by_me' => 'Általam létrehozott',
'search_updated_by_me' => 'Általam frissített',
+ 'search_owned_by_me' => 'Owned by me',
'search_date_options' => 'Dátum beállítások',
'search_updated_before' => 'Frissítve ez előtt',
'search_updated_after' => 'Frissítve ez után',
'chapters_create' => 'Új fejezet létrehozása',
'chapters_delete' => 'Fejezet törlése',
'chapters_delete_named' => ':chapterName fejezet törlése',
- 'chapters_delete_explain' => '\':chapterName\' nevű fejezet törölve lesz. Minden oldal el lesz távolítva és közvetlenül a szülő könyvhöz lesz hozzáadva.',
+ 'chapters_delete_explain' => 'This will delete the chapter with the name \':chapterName\'. All pages that exist within this chapter will also be deleted.',
'chapters_delete_confirm' => 'Biztosan törölhető ez a fejezet?',
'chapters_edit' => 'Fejezet szerkesztése',
'chapters_edit_named' => ':chapterName fejezet szerkesztése',
'pages_revisions' => 'Oldal változatai',
'pages_revisions_named' => ':pageName oldal változatai',
'pages_revision_named' => ':pageName oldal változata',
+ 'pages_revision_restored_from' => 'Restored from #:id; :summary',
'pages_revisions_created_by' => 'Létrehozta:',
'pages_revisions_date' => 'Változat dátuma',
'pages_revisions_number' => '#',
'attachments_upload' => 'Fájlfeltöltés',
'attachments_link' => 'Hivatkozás csatolása',
'attachments_set_link' => 'Hivatkozás beállítása',
- 'attachments_delete' => 'Are you sure you want to delete this attachment?',
+ 'attachments_delete' => 'Biztosan törölhető ez a melléklet?',
'attachments_dropzone' => 'Fájlok csatolása ejtéssel vagy kattintással',
'attachments_no_files' => 'Nincsenek fájlok feltöltve',
'attachments_explain_link' => 'Fájl feltöltése helyett hozzá lehet kapcsolni egy hivatkozást. Ez egy hivatkozás lesz egy másik oldalra vagy egy fájlra a felhőben.',
'attachments_link_url' => 'Hivatkozás fájlra',
'attachments_link_url_hint' => 'Weboldal vagy fájl webcíme',
'attach' => 'Csatolás',
- 'attachments_insert_link' => 'Add Attachment Link to Page',
+ 'attachments_insert_link' => 'Melléklet hivatkozás hozzáadása oldalhoz',
'attachments_edit_file' => 'Fájl szerkesztése',
'attachments_edit_file_name' => 'Fájl neve',
'attachments_edit_drop_upload' => 'Feltöltés és felülírás ejtéssel vagy kattintással',
'revision_restore_confirm' => 'Biztosan visszaállítható ez a változat? A oldal jelenlegi tartalma le lesz cserélve.',
'revision_delete_success' => 'Változat törölve',
'revision_cannot_delete_latest' => 'A legutolsó változat nem törölhető.'
-];
\ No newline at end of file
+];
'404_page_not_found' => 'Oldal nem található',
'sorry_page_not_found' => 'Sajnáljuk, a keresett oldal nem található.',
'sorry_page_not_found_permission_warning' => 'If you expected this page to exist, you might not have permission to view it.',
+ 'image_not_found' => 'Image Not Found',
+ 'image_not_found_subtitle' => 'Sorry, The image file you were looking for could not be found.',
+ 'image_not_found_details' => 'If you expected this image to exist it might have been deleted.',
'return_home' => 'Vissza a kezdőlapra',
'error_occurred' => 'Hiba örtént',
'app_down' => ':appName jelenleg nem üzemel',
'app_homepage' => 'Alkalmazás kezdőlapja',
'app_homepage_desc' => 'A kezdőlapon az alapértelmezés szerinti nézet helyett megjelenő nézet kiválasztása. A kiválasztott oldalakon figyelmen kívül lesznek hagyva az oldal engedélyek.',
'app_homepage_select' => 'Egy oldal kiválasztása',
+ 'app_footer_links' => 'Footer Links',
+ 'app_footer_links_desc' => 'Add links to show within the site footer. These will be displayed at the bottom of most pages, including those that do not require login. You can use a label of "trans::<key>" to use system-defined translations. For example: Using "trans::common.privacy_policy" will provide the translated text "Privacy Policy" and "trans::common.terms_of_service" will provide the translated text "Terms of Service".',
+ 'app_footer_links_label' => 'Link Label',
+ 'app_footer_links_url' => 'Link URL',
+ 'app_footer_links_add' => 'Add Footer Link',
'app_disable_comments' => 'Megjegyzések letiltása',
'app_disable_comments_toggle' => 'Megjegyzések letiltása',
'app_disable_comments_desc' => 'Megjegyzések letiltása az alkalmazás összes oldalán.<br>A már létező megjegyzések el lesznek rejtve.',
'maint' => 'Karbantartás',
'maint_image_cleanup' => 'Képek tisztítása',
'maint_image_cleanup_desc' => "Végigolvassa az oldalakat és a tartalmak változatait, hogy leellenőrizze jelenleg mely képek és rajzok vannak használatban, és mely képek szerepelnek többször. A futtatása előtt feltétlen készíteni kell egy teljes adatbázis és lemezkép mentést.",
- 'maint_image_cleanup_ignore_revisions' => 'Képek figyelmen kívül hagyása a változatokban',
+ 'maint_delete_images_only_in_revisions' => 'Also delete images that only exist in old page revisions',
'maint_image_cleanup_run' => 'Tisztítás futtatása',
'maint_image_cleanup_warning' => ':count potenciálisan nem használt képet találtam. Biztosan törölhetőek ezek a képek?',
'maint_image_cleanup_success' => ':count potenciálisan nem használt kép megtalálva és törölve!',
'maint_send_test_email_mail_subject' => 'Teszt e-mail',
'maint_send_test_email_mail_greeting' => 'Az email kézbesítés működőképesnek tűnik!',
'maint_send_test_email_mail_text' => 'Gratulálunk! Mivel ez az email figyelmeztetés megérkezett az email beállítások megfelelőek.',
+ 'maint_recycle_bin_desc' => 'Deleted shelves, books, chapters & pages are sent to the recycle bin so they can be restored or permanently deleted. Older items in the recycle bin may be automatically removed after a while depending on system configuration.',
+ 'maint_recycle_bin_open' => 'Lomtár megnyitása',
+
+ // Recycle Bin
+ 'recycle_bin' => 'Lomtár',
+ 'recycle_bin_desc' => 'Here you can restore items that have been deleted or choose to permanently remove them from the system. This list is unfiltered unlike similar activity lists in the system where permission filters are applied.',
+ 'recycle_bin_deleted_item' => 'Törölt elem',
+ 'recycle_bin_deleted_by' => 'Törölte',
+ 'recycle_bin_deleted_at' => 'Törlés ideje',
+ 'recycle_bin_permanently_delete' => 'Permanently Delete',
+ 'recycle_bin_restore' => 'Visszaállítás',
+ 'recycle_bin_contents_empty' => 'A lomtár jelenleg üres',
+ 'recycle_bin_empty' => 'Empty Recycle Bin',
+ 'recycle_bin_empty_confirm' => 'This will permanently destroy all items in the recycle bin including content contained within each item. Are you sure you want to empty the recycle bin?',
+ 'recycle_bin_destroy_confirm' => 'This action will permanently delete this item, along with any child elements listed below, from the system and you will not be able to restore this content. Are you sure you want to permanently delete this item?',
+ 'recycle_bin_destroy_list' => 'Items to be Destroyed',
+ 'recycle_bin_restore_list' => 'Items to be Restored',
+ 'recycle_bin_restore_confirm' => 'This action will restore the deleted item, including any child elements, to their original location. If the original location has since been deleted, and is now in the recycle bin, the parent item will also need to be restored.',
+ 'recycle_bin_restore_deleted_parent' => 'The parent of this item has also been deleted. These will remain deleted until that parent is also restored.',
+ 'recycle_bin_destroy_notification' => 'Deleted :count total items from the recycle bin.',
+ 'recycle_bin_restore_notification' => 'Restored :count total items from the recycle bin.',
// Audit Log
'audit' => 'Audit Log',
'audit_desc' => 'This audit log displays a list of activities tracked in the system. This list is unfiltered unlike similar activity lists in the system where permission filters are applied.',
- 'audit_event_filter' => 'Event Filter',
- 'audit_event_filter_no_filter' => 'No Filter',
- 'audit_deleted_item' => 'Deleted Item',
- 'audit_deleted_item_name' => 'Name: :name',
- 'audit_table_user' => 'User',
- 'audit_table_event' => 'Event',
- 'audit_table_item' => 'Related Item',
+ 'audit_event_filter' => 'Eseményszűrő',
+ 'audit_event_filter_no_filter' => 'Nincs szűrő',
+ 'audit_deleted_item' => 'Törölt elem',
+ 'audit_deleted_item_name' => 'Név: :name',
+ 'audit_table_user' => 'Felhasználó',
+ 'audit_table_event' => 'Esemény',
+ 'audit_table_related' => 'Related Item or Detail',
'audit_table_date' => 'Activity Date',
'audit_date_from' => 'Date Range From',
'audit_date_to' => 'Date Range To',
'user_profile' => 'Felhasználói profil',
'users_add_new' => 'Új felhasználó hozzáadása',
'users_search' => 'Felhasználók keresése',
+ 'users_latest_activity' => 'Latest Activity',
'users_details' => 'Felhasználó részletei',
'users_details_desc' => 'Egy megjelenítendő név és email cím beállítása ennek a felhasználónak. Az email cím az alkalmazásba történő bejelentkezéshez lesz használva.',
'users_details_desc_no_email' => 'Egy megjelenítendő név beállítása ennek a felhasználónak amiről mások felismerik.',
'users_delete_named' => ':userName felhasználó törlése',
'users_delete_warning' => '\':userName\' felhasználó teljesen törölve lesz a rendszerből.',
'users_delete_confirm' => 'Biztosan törölhető ez a felhasználó?',
- 'users_delete_success' => 'Felhasználó sikeresen eltávolítva',
+ 'users_migrate_ownership' => 'Migrate Ownership',
+ 'users_migrate_ownership_desc' => 'Select a user here if you want another user to become the owner of all items currently owned by this user.',
+ 'users_none_selected' => 'No user selected',
+ 'users_delete_success' => 'User successfully removed',
'users_edit' => 'Felhasználó szerkesztése',
'users_edit_profile' => 'Profil szerkesztése',
'users_edit_success' => 'Felhasználó sikeresen frissítve',
'en' => 'English',
'ar' => 'العربية',
'bg' => 'Bǎlgarski',
+ 'bs' => 'Bosanski',
+ 'ca' => 'Català',
'cs' => 'Česky',
'da' => 'Dansk',
'de' => 'Deutsch (Sie)',
'es_AR' => 'Español Argentina',
'fr' => 'Français',
'he' => 'עברית',
+ 'hr' => 'Hrvatski',
'hu' => 'Magyar',
+ 'id' => 'Bahasa Indonesia',
'it' => 'Italian',
'ja' => '日本語',
'ko' => '한국어',
+ 'lv' => 'Latviešu Valoda',
'nl' => 'Nederlands',
+ 'nb' => 'Norsk (Bokmål)',
'pl' => 'Polski',
+ 'pt' => 'Português',
'pt_BR' => 'Português do Brasil',
'ru' => 'Русский',
'sk' => 'Slovensky',
'string' => ':attribute legalább :min karakter kell legyen.',
'array' => ':attribute legalább :min elem kell legyen.',
],
- 'no_double_extension' => ':attribute csak egy fájlkiterjesztéssel rendelkezhet.',
'not_in' => 'A kiválasztott :attribute érvénytelen.',
'not_regex' => ':attribute formátuma érvénytelen.',
'numeric' => ':attribute szám kell legyen.',
'required_without' => ':attribute mező kötelező ha :values nincs beállítva.',
'required_without_all' => ':attribute mező kötelező ha egyik :values sincs beállítva.',
'same' => ':attribute és :other értékének egyeznie kell.',
+ 'safe_url' => 'The provided link may not be safe.',
'size' => [
'numeric' => ':attribute :size méretű kell legyen.',
'file' => ':attribute :size kilobájt méretű kell legyen.',
--- /dev/null
+<?php
+/**
+ * Activity text strings.
+ * Is used for all the text within activity logs & notifications.
+ */
+return [
+
+ // Pages
+ 'page_create' => 'telah membuat halaman',
+ 'page_create_notification' => 'Halaman Berhasil dibuat',
+ 'page_update' => 'halaman diperbaharui',
+ 'page_update_notification' => 'Halaman Berhasil Diperbarui',
+ 'page_delete' => 'halaman dihapus',
+ 'page_delete_notification' => 'Berhasil menghapus halaman',
+ 'page_restore' => 'halaman telah dipulihkan',
+ 'page_restore_notification' => 'Berhasil memulihkan halaman',
+ 'page_move' => 'halaman dipindahkan',
+
+ // Chapters
+ 'chapter_create' => 'membuat bab',
+ 'chapter_create_notification' => 'Bab berhasil dibuat',
+ 'chapter_update' => 'bab diperbaharui',
+ 'chapter_update_notification' => 'Bab Berhasil Dipebarui',
+ 'chapter_delete' => 'hapus bab',
+ 'chapter_delete_notification' => 'Bab berhasil dihapus',
+ 'chapter_move' => 'bab dipindahkan',
+
+ // Books
+ 'book_create' => 'membuat buku',
+ 'book_create_notification' => 'Buku berhasil dibuat',
+ 'book_update' => 'update buku',
+ 'book_update_notification' => 'Buku Berhasil Diperbarui',
+ 'book_delete' => 'hapus buku',
+ 'book_delete_notification' => 'Buku berhasil dihapus',
+ 'book_sort' => 'buku yang diurutkan',
+ 'book_sort_notification' => 'Buku berhasil diurutkan',
+
+ // Bookshelves
+ 'bookshelf_create' => 'membuat rak',
+ 'bookshelf_create_notification' => 'Rak berhasil dibuat',
+ 'bookshelf_update' => 'update rak',
+ 'bookshelf_update_notification' => 'Rak Berhasil Diperbarui',
+ 'bookshelf_delete' => 'hapus rak buku',
+ 'bookshelf_delete_notification' => 'Rak berhasil dihapus',
+
+ // Favourites
+ 'favourite_add_notification' => '":name" telah ditambahkan ke favorit Anda',
+ 'favourite_remove_notification' => '":name" telah dihapus dari favorit Anda',
+
+ // Other
+ 'commented_on' => 'berkomentar pada',
+ 'permissions_update' => 'izin diperbarui',
+];
--- /dev/null
+<?php
+/**
+ * Authentication Language Lines
+ * The following language lines are used during authentication for various
+ * messages that we need to display to the user.
+ */
+return [
+
+ 'failed' => 'Kredensial tidak cocok dengan catatan kami.',
+ 'throttle' => 'Terlalu banyak upaya masuk. Silahkan mencoba lagi dalam :seconds detik.',
+
+ // Login & Register
+ 'sign_up' => 'Daftar',
+ 'log_in' => 'Gabung',
+ 'log_in_with' => 'Masuk dengan :socialDriver',
+ 'sign_up_with' => 'Daftar dengan :socialDriver',
+ 'logout' => 'Keluar',
+
+ 'name' => 'Nama',
+ 'username' => 'Nama Pengguna',
+ 'email' => 'Email',
+ 'password' => 'Kata Sandi',
+ 'password_confirm' => 'Konfirmasi Kata Sandi',
+ 'password_hint' => 'Harus lebih dari 7 karakter',
+ 'forgot_password' => 'Lupa Password?',
+ 'remember_me' => 'Ingat saya',
+ 'ldap_email_hint' => 'Harap masukkan email yang akan digunakan untuk akun ini.',
+ 'create_account' => 'Membuat Akun',
+ 'already_have_account' => 'Sudah punya akun?',
+ 'dont_have_account' => 'Tidak punya akun?',
+ 'social_login' => 'Masuk dengan sosial media',
+ 'social_registration' => 'Daftar dengan sosial media',
+ 'social_registration_text' => 'Daftar dan masuk menggunakan layanan lain.',
+
+ 'register_thanks' => 'Terima kasih telah mendaftar!',
+ 'register_confirm' => 'Silakan periksa email Anda dan klik tombol konfirmasi untuk mengakses :appName.',
+ 'registrations_disabled' => 'Pendaftaran saat ini dinonaktifkan',
+ 'registration_email_domain_invalid' => 'Domain email tersebut tidak memiliki akses ke aplikasi ini',
+ 'register_success' => 'Terima kasih telah mendaftar! Anda sekarang terdaftar dan masuk.',
+
+
+ // Password Reset
+ 'reset_password' => 'Atur ulang kata sandi',
+ 'reset_password_send_instructions' => 'Masukkan email Anda di bawah ini dan Anda akan dikirimi email dengan tautan pengaturan ulang kata sandi.',
+ 'reset_password_send_button' => 'Kirim Tautan Atur Ulang',
+ 'reset_password_sent' => 'Tautan pengaturan ulang kata sandi akan dikirim ke :email jika alamat email ditemukan di sistem.',
+ 'reset_password_success' => 'Kata sandi Anda telah berhasil diatur ulang.',
+ 'email_reset_subject' => 'Atur ulang kata sandi :appName anda',
+ 'email_reset_text' => 'Anda menerima email ini karena kami menerima permintaan pengaturan ulang kata sandi untuk akun Anda.',
+ 'email_reset_not_requested' => 'Jika Anda tidak meminta pengaturan ulang kata sandi, tidak ada tindakan lebih lanjut yang diperlukan.',
+
+
+ // Email Confirmation
+ 'email_confirm_subject' => 'Konfirmasikan email Anda di :appName',
+ 'email_confirm_greeting' => 'Terima kasih telah bergabung :appName!',
+ 'email_confirm_text' => 'Silakan konfirmasi alamat email Anda dengan mengklik tombol di bawah ini:',
+ 'email_confirm_action' => 'Konfirmasi email',
+ 'email_confirm_send_error' => 'Konfirmasi email diperlukan tetapi sistem tidak dapat mengirim email. Hubungi admin untuk memastikan email disiapkan dengan benar.',
+ 'email_confirm_success' => 'Email Anda telah dikonfirmasi!',
+ 'email_confirm_resent' => 'Email konfirmasi dikirim ulang, Harap periksa kotak masuk Anda.',
+
+ 'email_not_confirmed' => 'Alamat Email Tidak Dikonfirmasi',
+ 'email_not_confirmed_text' => 'Alamat email Anda belum dikonfirmasi.',
+ 'email_not_confirmed_click_link' => 'Silakan klik link di email yang dikirimkan segera setelah Anda mendaftar.',
+ 'email_not_confirmed_resend' => 'Jika Anda tidak dapat menemukan email tersebut, Anda dapat mengirim ulang email konfirmasi dengan mengirimkan formulir di bawah ini.',
+ 'email_not_confirmed_resend_button' => 'Mengirimkan kembali email konfirmasi',
+
+ // User Invite
+ 'user_invite_email_subject' => 'Anda telah diundang untuk bergabung di :appName!',
+ 'user_invite_email_greeting' => 'Sebuah akun telah dibuat untuk Anda di :appName.',
+ 'user_invite_email_text' => 'Klik tombol di bawah untuk mengatur kata sandi akun dan mendapatkan akses:',
+ 'user_invite_email_action' => 'Atur Kata Sandi Akun',
+ 'user_invite_page_welcome' => 'Selamat datang di :appName!',
+ 'user_invite_page_text' => 'Untuk menyelesaikan akun Anda dan mendapatkan akses, Anda perlu mengatur kata sandi yang akan digunakan untuk masuk ke :appName pada kunjungan berikutnya.',
+ 'user_invite_page_confirm_button' => 'Konfirmasi Kata sandi',
+ 'user_invite_success' => 'Atur kata sandi, Anda sekarang memiliki akses ke :appName!'
+];
\ No newline at end of file
--- /dev/null
+<?php
+/**
+ * Common elements found throughout many areas of BookStack.
+ */
+return [
+
+ // Buttons
+ 'cancel' => 'Batalkan',
+ 'confirm' => 'Konfirmasi',
+ 'back' => 'Kembali',
+ 'save' => 'Simpan',
+ 'continue' => 'Selanjutnya',
+ 'select' => 'Pilih',
+ 'toggle_all' => 'Alihkan semua',
+ 'more' => 'Lebih',
+
+ // Form Labels
+ 'name' => 'Nama',
+ 'description' => 'Deskripsi',
+ 'role' => 'Wewenang',
+ 'cover_image' => 'Sampul Gambar',
+ 'cover_image_description' => 'Gambar ini harus berukuran kira-kira 440x250 piksel.',
+
+ // Actions
+ 'actions' => 'Tindakan',
+ 'view' => 'Melihat',
+ 'view_all' => 'Lihat Semua',
+ 'create' => 'Buat',
+ 'update' => 'Perbaharui',
+ 'edit' => 'Sunting',
+ 'sort' => 'Sortir',
+ 'move' => 'Pindahkan',
+ 'copy' => 'Salin',
+ 'reply' => 'Balasan',
+ 'delete' => 'Hapus',
+ 'delete_confirm' => 'Konfirmasi Penghapusan',
+ 'search' => 'Cari',
+ 'search_clear' => 'Hapus Pencarian',
+ 'reset' => 'Setel Ulang',
+ 'remove' => 'Hapus',
+ 'add' => 'Tambah',
+ 'fullscreen' => 'Layar Penuh',
+ 'favourite' => 'Favorit',
+ 'unfavourite' => 'Tidak favorit',
+ 'next' => 'Lanjut',
+ 'previous' => 'Sebelumnya',
+
+ // Sort Options
+ 'sort_options' => 'Sortir Pilihan',
+ 'sort_direction_toggle' => 'Urutkan Arah Toggle',
+ 'sort_ascending' => 'Sortir Naik',
+ 'sort_descending' => 'Urutkan Menurun',
+ 'sort_name' => 'Nama',
+ 'sort_default' => 'Bawaan',
+ 'sort_created_at' => 'Tanggal dibuat',
+ 'sort_updated_at' => 'Tanggal diperbaharui',
+
+ // Misc
+ 'deleted_user' => 'Pengguna terhapus',
+ 'no_activity' => 'Tidak ada aktifitas untuk ditampilkan',
+ 'no_items' => 'Tidak ada item yang tersedia',
+ 'back_to_top' => 'Kembali ke atas',
+ 'toggle_details' => 'Detail Toggle',
+ 'toggle_thumbnails' => 'Alihkan Gambar Mini',
+ 'details' => 'Detail',
+ 'grid_view' => 'Tampilan bergaris',
+ 'list_view' => 'Daftar Tampilan',
+ 'default' => 'Default',
+ 'breadcrumb' => 'Breadcrumb',
+
+ // Header
+ 'header_menu_expand' => 'Perluas Menu Tajuk',
+ 'profile_menu' => 'Profile Menu',
+ 'view_profile' => 'Tampilkan profil',
+ 'edit_profile' => 'Sunting Profil',
+ 'dark_mode' => 'Mode Gelap',
+ 'light_mode' => 'Mode Cahaya',
+
+ // Layout tabs
+ 'tab_info' => 'Informasi',
+ 'tab_info_label' => 'Tab Menampilkan Informasi Sekunder',
+ 'tab_content' => 'Konten',
+ 'tab_content_label' => 'Tab Menampilkan Informasi Utama',
+
+ // Email Content
+ 'email_action_help' => 'Jika Anda mengalami masalah saat mengklik tombol ":actionText", salin dan tempel URL di bawah ini ke browser web Anda:',
+ 'email_rights' => 'Seluruh hak cipta',
+
+ // Footer Link Options
+ // Not directly used but available for convenience to users.
+ 'privacy_policy' => 'Rahasia pribadi',
+ 'terms_of_service' => 'Persyaratan Layanan',
+];
--- /dev/null
+<?php
+/**
+ * Text used in custom JavaScript driven components.
+ */
+return [
+
+ // Image Manager
+ 'image_select' => 'Pilih Gambar',
+ 'image_all' => 'Semua',
+ 'image_all_title' => 'Lihat semua gambar',
+ 'image_book_title' => 'Lihat gambar yang diunggah ke buku ini',
+ 'image_page_title' => 'Lihat gambar yang diunggah ke halaman ini',
+ 'image_search_hint' => 'Cari berdasarkan nama gambar',
+ 'image_uploaded' => 'Diunggah :uploadedDate',
+ 'image_load_more' => 'Muat lebih banyak',
+ 'image_image_name' => 'Muat lebih banyak',
+ 'image_delete_used' => 'Gambar ini digunakan untuk halaman dibawah ini.',
+ 'image_delete_confirm_text' => 'Anda yakin ingin menghapus gambar ini?',
+ 'image_select_image' => 'Pilih gambar',
+ 'image_dropzone' => 'Lepaskan gambar atau klik di sini untuk mengunggah',
+ 'images_deleted' => 'Gambar Dihapus',
+ 'image_preview' => 'Pratinjau Gambar',
+ 'image_upload_success' => 'Gambar berhasil diunggah',
+ 'image_update_success' => 'Detail gambar berhasil diperbarui',
+ 'image_delete_success' => 'Gambar berhasil dihapus',
+ 'image_upload_remove' => 'Menghapus',
+
+ // Code Editor
+ 'code_editor' => 'Edit Kode',
+ 'code_language' => 'Bahasa Kode',
+ 'code_content' => 'Konten Kode',
+ 'code_session_history' => 'Konten Kode',
+ 'code_save' => 'Simpan Kode',
+];
--- /dev/null
+<?php
+/**
+ * Text used for 'Entities' (Document Structure Elements) such as
+ * Books, Shelves, Chapters & Pages
+ */
+return [
+
+ // Shared
+ 'recently_created' => 'Baru saja dibuat',
+ 'recently_created_pages' => 'Halaman baru saja dibuat',
+ 'recently_updated_pages' => 'Halaman baru saja diperbaharui',
+ 'recently_created_chapters' => 'Bab baru saja dibuat',
+ 'recently_created_books' => 'Buku baru saja dibuat',
+ 'recently_created_shelves' => 'Rak baru saja dibuat',
+ 'recently_update' => 'Baru saja diperbaharui',
+ 'recently_viewed' => 'Baru saja dilihat',
+ 'recent_activity' => 'Aktivitas Terbaru',
+ 'create_now' => 'Buat Sekarang',
+ 'revisions' => 'Revisi',
+ 'meta_revision' => 'Revisi #:revisionCount',
+ 'meta_created' => 'Dibuat :timeLength',
+ 'meta_created_name' => 'Dibuat :timeLength oleh :user',
+ 'meta_updated' => 'Diperbaharui :timeLength',
+ 'meta_updated_name' => 'Diperbaharui :timeLength oleh :user',
+ 'meta_owned_name' => 'Dimiliki oleh :user',
+ 'entity_select' => 'Pilihan Entitas',
+ 'images' => 'Gambar-gambar',
+ 'my_recent_drafts' => 'Draf Terbaru Saya',
+ 'my_recently_viewed' => 'Baru saja saya lihat',
+ 'my_most_viewed_favourites' => 'Favorit Saya yang Paling Banyak Dilihat',
+ 'my_favourites' => 'Favoritku',
+ 'no_pages_viewed' => 'Anda belum melihat halaman apa pun',
+ 'no_pages_recently_created' => 'Tidak ada halaman yang baru saja dibuat',
+ 'no_pages_recently_updated' => 'Tidak ada halaman yang baru-baru ini diperbarui',
+ 'export' => 'Ekspor',
+ 'export_html' => 'File Web Berisi',
+ 'export_pdf' => 'Dokumen PDF',
+ 'export_text' => 'Dokumen Teks Biasa',
+
+ // Permissions and restrictions
+ 'permissions' => 'Izin',
+ 'permissions_intro' => 'Setelah diaktifkan, izin ini akan menjadi prioritas di atas izin peran yang ditetapkan.',
+ 'permissions_enable' => 'Aktifkan Izin Kustom',
+ 'permissions_save' => 'Simpan Izin',
+ 'permissions_owner' => 'Pemilik',
+
+ // Search
+ 'search_results' => 'Hasil Pencarian',
+ 'search_total_results_found' => ':count hasil hitung ditemukan |:count hasil hitung total tang di temukan',
+ 'search_clear' => 'Bersihkan pencarian',
+ 'search_no_pages' => 'Tidak ada halaman yang cocok dengan pencarian ini',
+ 'search_for_term' => 'Pencarian untuk :term',
+ 'search_more' => 'Hasil lebih',
+ 'search_advanced' => 'Pencarian Lanjutan',
+ 'search_terms' => 'Cari Istilah',
+ 'search_content_type' => 'Tipe Konten',
+ 'search_exact_matches' => 'Pertandingan Persis',
+ 'search_tags' => 'Pencarian Tag',
+ 'search_options' => 'Pilihan',
+ 'search_viewed_by_me' => 'Dilihat oleh saya',
+ 'search_not_viewed_by_me' => 'Tidak dilihat oleh saya',
+ 'search_permissions_set' => 'Izin ditetapkan',
+ 'search_created_by_me' => 'Dibuat oleh saya',
+ 'search_updated_by_me' => 'Diperbaharui oleh saya',
+ 'search_owned_by_me' => 'Milik Saya',
+ 'search_date_options' => 'Opsi Tanggal',
+ 'search_updated_before' => 'Diperbaharui sebelum',
+ 'search_updated_after' => 'Diperbaharui setelah',
+ 'search_created_before' => 'Dibuat sebelum',
+ 'search_created_after' => 'Dibuat setelah',
+ 'search_set_date' => 'Atur Tanggal',
+ 'search_update' => 'Perbaharui pencarian',
+
+ // Shelves
+ 'shelf' => 'Rak',
+ 'shelves' => 'Rak',
+ 'x_shelves' => ':count Rak|:count Rak',
+ 'shelves_long' => 'Rak Buku',
+ 'shelves_empty' => 'Tidak ada rak yang dibuat',
+ 'shelves_create' => 'Buat Rak baru',
+ 'shelves_popular' => 'Rak Terpopuler',
+ 'shelves_new' => 'Rak Baru',
+ 'shelves_new_action' => 'Rak Baru',
+ 'shelves_popular_empty' => 'Rak paling populer akan muncul di sini.',
+ 'shelves_new_empty' => 'Rak yang paling baru dibuat akan muncul di sini.',
+ 'shelves_save' => 'Simpan Rak',
+ 'shelves_books' => 'Buku di rak ini',
+ 'shelves_add_books' => 'Tambahkan buku ke rak ini',
+ 'shelves_drag_books' => 'Tarik buku ke sini untuk menambahkannya ke rak ini',
+ 'shelves_empty_contents' => 'Rak ini tidak memiliki buku yang ditugaskan padanya',
+ 'shelves_edit_and_assign' => 'Edit rak untuk menetapkan buku',
+ 'shelves_edit_named' => 'Edit Rak Buku :name',
+ 'shelves_edit' => 'Edit Rak Buku',
+ 'shelves_delete' => 'Hapus rak buku',
+ 'shelves_delete_named' => 'Hapus rak buku :name',
+ 'shelves_delete_explain' => "Ini akan menghapus rak buku dengan nama ':name'. Buku yang berisi tidak akan dihapus.",
+ 'shelves_delete_confirmation' => 'Apakah Anda yakin ingin menghapus rak buku ini?',
+ 'shelves_permissions' => 'Izin Rak Buku',
+ 'shelves_permissions_updated' => 'Izin Rak Buku Diperbarui',
+ 'shelves_permissions_active' => 'Izin Rak Buku Aktif',
+ 'shelves_copy_permissions_to_books' => 'Salin Izin ke Buku',
+ 'shelves_copy_permissions' => 'Salin Izin',
+ 'shelves_copy_permissions_explain' => 'Ini akan menerapkan setelan izin rak buku ini saat ini ke semua buku yang ada di dalamnya. Sebelum mengaktifkan, pastikan setiap perubahan pada izin rak buku ini telah disimpan.',
+ 'shelves_copy_permission_success' => 'Izin rak buku disalin ke :count buku',
+
+ // Books
+ 'book' => 'Buku',
+ 'books' => 'Semua Buku',
+ 'x_books' => ':count Buku|:count Semua Buku',
+ 'books_empty' => 'Tidak ada buku yang telah dibuat',
+ 'books_popular' => 'Buku Populer',
+ 'books_recent' => 'Buku Terbaru',
+ 'books_new' => 'Buku baru',
+ 'books_new_action' => 'Buku baru',
+ 'books_popular_empty' => 'Buku paling populer akan muncul di sini.',
+ 'books_new_empty' => 'The most recently created books will appear here.',
+ 'books_create' => 'Buat Buku Baru',
+ 'books_delete' => 'Hapus Buku',
+ 'books_delete_named' => 'Hapus buku :bookName',
+ 'books_delete_explain' => 'Ini akan menghapus buku dengan nama \': bookName\'. Semua halaman dan bab akan dihapus.',
+ 'books_delete_confirmation' => 'Apakah Anda yakin ingin menghapus buku ini?',
+ 'books_edit' => 'Edit Buku',
+ 'books_edit_named' => 'Sunting Buku :bookName',
+ 'books_form_book_name' => 'Nama Buku',
+ 'books_save' => 'Simpan Buku',
+ 'books_permissions' => 'Izin Buku',
+ 'books_permissions_updated' => 'Izin Buku Diperbarui',
+ 'books_empty_contents' => 'Tidak ada halaman atau bab yang telah dibuat untuk buku ini.',
+ 'books_empty_create_page' => 'Buat halaman baru',
+ 'books_empty_sort_current_book' => 'Sortir buku saat ini',
+ 'books_empty_add_chapter' => 'Tambahkan satu bab',
+ 'books_permissions_active' => 'Izin Buku Aktif',
+ 'books_search_this' => 'Cari buku ini',
+ 'books_navigation' => 'Navigasi Buku',
+ 'books_sort' => 'Sortir Isi Buku',
+ 'books_sort_named' => 'Sortir Buku :bookName',
+ 'books_sort_name' => 'Diurutkan berdasarkan nama',
+ 'books_sort_created' => 'Urutkan berdasarkan Tanggal Dibuat',
+ 'books_sort_updated' => 'Urutkan berdasarkan Tanggal Diperbarui',
+ 'books_sort_chapters_first' => 'Bab Pertama',
+ 'books_sort_chapters_last' => 'Bab Terakhir',
+ 'books_sort_show_other' => 'Tunjukkan Buku Lain',
+ 'books_sort_save' => 'Simpan Pesanan Baru',
+
+ // Chapters
+ 'chapter' => 'Bab',
+ 'chapters' => 'Bab',
+ 'x_chapters' => ':count Bab |:count Bab',
+ 'chapters_popular' => 'Bab Populer',
+ 'chapters_new' => 'Bab Baru',
+ 'chapters_create' => 'Buat Bab Baru',
+ 'chapters_delete' => 'Hapur Bab',
+ 'chapters_delete_named' => 'Hapus bab dengan nama :chapterName',
+ 'chapters_delete_explain' => 'Ini akan menghapus chapter dengan nama \':chapterName\'. Semua halaman yang ada dalam bab ini juga akan dihapus.',
+ 'chapters_delete_confirm' => 'Anda yakin ingin menghapus bab ini?',
+ 'chapters_edit' => 'Edit Bab',
+ 'chapters_edit_named' => 'Sunting Bab :chapterName',
+ 'chapters_save' => 'Simpan Bab',
+ 'chapters_move' => 'Pindahkan Bab',
+ 'chapters_move_named' => 'Pindahkan Bab :chapterName',
+ 'chapter_move_success' => 'Bab dipindahkan ke :bookName',
+ 'chapters_permissions' => 'Izin Bab',
+ 'chapters_empty' => 'Saat ini tidak ada halaman dalam bab ini.',
+ 'chapters_permissions_active' => 'Izin Bab Aktif',
+ 'chapters_permissions_success' => 'Izin Bab Diperbarui',
+ 'chapters_search_this' => 'Cari bab ini',
+
+ // Pages
+ 'page' => 'Halaman',
+ 'pages' => 'Semua Halaman',
+ 'x_pages' => ':count Halaman|:count Semua Halaman',
+ 'pages_popular' => 'Halaman Populer',
+ 'pages_new' => 'Lembaran baru',
+ 'pages_attachments' => 'Lampiran',
+ 'pages_navigation' => 'Halaman Navigasi',
+ 'pages_delete' => 'Hapus Halaman',
+ 'pages_delete_named' => 'Hapus Halaman :pageName',
+ 'pages_delete_draft_named' => 'Hapus Halaman Draf :pageName',
+ 'pages_delete_draft' => 'Hapus Halaman Draf',
+ 'pages_delete_success' => 'Halaman dihapus',
+ 'pages_delete_draft_success' => 'Halaman draf dihapus',
+ 'pages_delete_confirm' => 'Anda yakin ingin menghapus halaman ini?',
+ 'pages_delete_draft_confirm' => 'Anda yakin ingin menghapus halaman draf ini?',
+ 'pages_editing_named' => 'Menyunting Halaman :pageName',
+ 'pages_edit_draft_options' => 'Opsi Draf',
+ 'pages_edit_save_draft' => 'Simpan Draf',
+ 'pages_edit_draft' => 'Edit Halaman Draf',
+ 'pages_editing_draft' => 'Mengedit Draf',
+ 'pages_editing_page' => 'Mengedit Draf',
+ 'pages_edit_draft_save_at' => 'Draf disimpan pada ',
+ 'pages_edit_delete_draft' => 'Hapus Draf',
+ 'pages_edit_discard_draft' => 'Buang Draf',
+ 'pages_edit_set_changelog' => 'Atur Changelog',
+ 'pages_edit_enter_changelog_desc' => 'Masukkan deskripsi singkat tentang perubahan yang Anda buat',
+ 'pages_edit_enter_changelog' => 'Masuk ke Changelog',
+ 'pages_save' => 'Simpan Halaman',
+ 'pages_title' => 'Judul Halaman',
+ 'pages_name' => 'Nama Halaman',
+ 'pages_md_editor' => 'Editor',
+ 'pages_md_preview' => 'Pratinjau',
+ 'pages_md_insert_image' => 'Sisipkan Gambar',
+ 'pages_md_insert_link' => 'Sisipkan Tautan Entitas',
+ 'pages_md_insert_drawing' => 'Sisipkan Gambar',
+ 'pages_not_in_chapter' => 'Halaman tidak dalam satu bab',
+ 'pages_move' => 'Pindahkan Halaman',
+ 'pages_move_success' => 'Halaman dipindahkan ke ":parentName"',
+ 'pages_copy' => 'Salin Halaman',
+ 'pages_copy_desination' => 'Salin Tujuan',
+ 'pages_copy_success' => 'Halaman berhasil disalin',
+ 'pages_permissions' => 'Izin Halaman',
+ 'pages_permissions_success' => 'Izin halaman diperbarui',
+ 'pages_revision' => 'Revisi',
+ 'pages_revisions' => 'Revisi Halaman',
+ 'pages_revisions_named' => 'Revisi Halaman untuk :pageName',
+ 'pages_revision_named' => 'Revisi Halaman untuk :pageName',
+ 'pages_revision_restored_from' => 'Dipulihkan dari #:id; :summary',
+ 'pages_revisions_created_by' => 'Dibuat Oleh',
+ 'pages_revisions_date' => 'Tanggal Revisi',
+ 'pages_revisions_number' => '#',
+ 'pages_revisions_numbered' => 'Revisi #:id',
+ 'pages_revisions_numbered_changes' => 'Revisi #:id Berubah',
+ 'pages_revisions_changelog' => 'Changelog',
+ 'pages_revisions_changes' => 'Perubahan',
+ 'pages_revisions_current' => 'Versi sekarang',
+ 'pages_revisions_preview' => 'Pratinjau',
+ 'pages_revisions_restore' => 'Mengembalikan',
+ 'pages_revisions_none' => 'Halaman ini tidak memiliki revisi',
+ 'pages_copy_link' => 'Salin tautan',
+ 'pages_edit_content_link' => 'Sunting Konten',
+ 'pages_permissions_active' => 'Izin Halaman Aktif',
+ 'pages_initial_revision' => 'Penerbitan awal',
+ 'pages_initial_name' => 'Halaman Baru',
+ 'pages_editing_draft_notification' => 'Anda sedang menyunting konsep yang terakhir disimpan :timeDiff.',
+ 'pages_draft_edited_notification' => 'Halaman ini telah diperbarui sejak saat itu. Anda disarankan untuk membuang draf ini.',
+ 'pages_draft_edit_active' => [
+ 'start_a' => ':count pengguna sudah mulai mengedit halaman ini',
+ 'start_b' => ':userName telah memulai menyunting halaman ini',
+ 'time_a' => 'semenjak halaman terakhir diperbarui',
+ 'time_b' => 'di akhir :minCount menit',
+ 'message' => ':start :time. Berhati-hatilah untuk tidak menimpa pembaruan satu sama lain!',
+ ],
+ 'pages_draft_discarded' => 'Konsep dibuang, Penyunting telah diperbarui dengan konten halaman saat ini',
+ 'pages_specific' => 'Halaman Tertentu',
+ 'pages_is_template' => 'Template Halaman',
+
+ // Editor Sidebar
+ 'page_tags' => 'Halaman Tag',
+ 'chapter_tags' => 'Bab Tag',
+ 'book_tags' => 'Tag Buku',
+ 'shelf_tags' => 'Tag Rak',
+ 'tag' => 'Tag',
+ 'tags' => 'Semua Tag',
+ 'tag_name' => 'Nama Tag',
+ 'tag_value' => 'Nilai Tag (opsional)',
+ 'tags_explain' => "Tambahkan beberapa tag untuk mengkategorikan konten Anda dengan lebih baik.\n Anda dapat menetapkan nilai ke tag untuk pengaturan yang lebih mendalam.",
+ 'tags_add' => 'Tambahkan tag lain',
+ 'tags_remove' => 'Hapus tag ini',
+ 'attachments' => 'Lampiran',
+ 'attachments_explain' => 'Unggah beberapa berkas atau lampirkan beberapa tautan untuk ditampilkan di laman Anda. Ini terlihat di sidebar halaman.',
+ 'attachments_explain_instant_save' => 'Perubahan di sini disimpan secara instan.',
+ 'attachments_items' => 'Item Terlampir',
+ 'attachments_upload' => 'Unggah Berkas',
+ 'attachments_link' => 'Lampirkan Tautan',
+ 'attachments_set_link' => 'Setel Tautan',
+ 'attachments_delete' => 'Anda yakin ingin menghapus lampiran ini?',
+ 'attachments_dropzone' => 'Jatuhkan file atau klik di sini untuk melampirkan file',
+ 'attachments_no_files' => 'Tidak ada berkas yang telah diunggah',
+ 'attachments_explain_link' => 'Anda dapat melampirkan sebuah tautan jika Anda memilih untuk tidak mengunggah berkas. Ini bisa berupa sebuah tautan ke halaman lain atau tautan ke sebuah berkas di cloud.',
+ 'attachments_link_name' => 'Nama Tautan',
+ 'attachment_link' => 'Lampiran Tautan',
+ 'attachments_link_url' => 'Tautan ke file',
+ 'attachments_link_url_hint' => 'Alamat url situs atau berkas',
+ 'attach' => 'Melampirkan',
+ 'attachments_insert_link' => 'Tambahkan Tautan Lampiran ke Halaman',
+ 'attachments_edit_file' => 'Edit File',
+ 'attachments_edit_file_name' => 'Nama file',
+ 'attachments_edit_drop_upload' => 'Jatuhkan berkas atau klik di sini untuk mengunggah dan menimpa',
+ 'attachments_order_updated' => 'Urutan lampiran diperbarui',
+ 'attachments_updated_success' => 'Detail lampiran diperbarui',
+ 'attachments_deleted' => 'Lampiran dihapus',
+ 'attachments_file_uploaded' => 'Berkas berhasil diunggah',
+ 'attachments_file_updated' => 'File berhasil diperbarui',
+ 'attachments_link_attached' => 'Tautan berhasil dilampirkan ke halaman',
+ 'templates' => 'Template',
+ 'templates_set_as_template' => 'Halaman adalah template',
+ 'templates_explain_set_as_template' => 'Anda dapat mengatur halaman ini sebagai template sehingga isinya dapat digunakan saat membuat halaman lain. Pengguna lain akan dapat menggunakan template ini jika mereka memiliki izin melihat halaman ini.',
+ 'templates_replace_content' => 'Ganti Halaman Konten',
+ 'templates_append_content' => 'Tambahkan ke halaman konten',
+ 'templates_prepend_content' => 'Tambahkan ke halaman konten',
+
+ // Profile View
+ 'profile_user_for_x' => 'Pengguna untuk :time',
+ 'profile_created_content' => 'Konten yang Dibuat',
+ 'profile_not_created_pages' => ':userName belum membuat halaman apa pun',
+ 'profile_not_created_chapters' => ':userName belum membuat bab apa pun',
+ 'profile_not_created_books' => ':userName belum membuat buku apa pun',
+ 'profile_not_created_shelves' => ':userName belum membuat rak apa pun',
+
+ // Comments
+ 'comment' => 'Komentar',
+ 'comments' => 'Komentar',
+ 'comment_add' => 'Tambah Komentar',
+ 'comment_placeholder' => 'Tinggalkan komentar disini',
+ 'comment_count' => '{0} Tidak ada komentar |{1} 1 Komentar |[2,*] :count Komentar',
+ 'comment_save' => 'Simpan Komentar',
+ 'comment_saving' => 'Menyimpan Komentar...',
+ 'comment_deleting' => 'Menghapus Komentar...',
+ 'comment_new' => 'Komentar Baru',
+ 'comment_created' => 'dikomentari oleh :createDiff',
+ 'comment_updated' => 'Diperbarui :updateDiff oleh :username',
+ 'comment_deleted_success' => 'Komentar telah dihapus',
+ 'comment_created_success' => 'Komentar telah di tambahkan',
+ 'comment_updated_success' => 'Komentar Telah diperbaharui',
+ 'comment_delete_confirm' => 'Anda yakin ingin menghapus komentar ini?',
+ 'comment_in_reply_to' => 'Sebagai balasan untuk :commentId',
+
+ // Revision
+ 'revision_delete_confirm' => 'Anda yakin ingin menghapus revisi ini?',
+ 'revision_restore_confirm' => 'Apakah Anda yakin ingin memulihkan revisi ini? Konten halaman saat ini akan diganti.',
+ 'revision_delete_success' => 'Revisi dihapus',
+ 'revision_cannot_delete_latest' => 'Tidak dapat menghapus revisi terakhir.'
+];
--- /dev/null
+<?php
+/**
+ * Text shown in error messaging.
+ */
+return [
+
+ // Permissions
+ 'permission' => 'Anda tidak memiliki izin untuk mengakses halaman yang diminta.',
+ 'permissionJson' => 'Anda tidak memiliki izin untuk melakukan tindakan yang diminta.',
+
+ // Auth
+ 'error_user_exists_different_creds' => 'Pengguna dengan email :email sudah ada tetapi dengan kredensial berbeda.',
+ 'email_already_confirmed' => 'Email telah dikonfirmasi, Coba masuk.',
+ 'email_confirmation_invalid' => 'Token konfirmasi ini tidak valid atau telah digunakan, Silakan coba mendaftar lagi.',
+ 'email_confirmation_expired' => 'Token konfirmasi telah kedaluwarsa, Email konfirmasi baru telah dikirim.',
+ 'email_confirmation_awaiting' => 'Alamat email untuk akun yang digunakan perlu dikonfirmasi',
+ 'ldap_fail_anonymous' => 'Akses LDAP gagal menggunakan pengikatan anonim',
+ 'ldap_fail_authed' => 'Akses LDAP gagal menggunakan rincian dn & sandi yang diberikan',
+ 'ldap_extension_not_installed' => 'Ekstensi LDAP PHP tidak terpasang',
+ 'ldap_cannot_connect' => 'Tidak dapat terhubung ke server ldap, Koneksi awal gagal',
+ 'saml_already_logged_in' => 'Telah masuk',
+ 'saml_user_not_registered' => 'Pengguna :name tidak terdaftar dan pendaftaran otomatis dinonaktifkan',
+ 'saml_no_email_address' => 'Tidak dapat menemukan sebuah alamat email untuk pengguna ini, dalam data yang diberikan oleh sistem autentikasi eksternal',
+ 'saml_invalid_response_id' => 'Permintaan dari sistem otentikasi eksternal tidak dikenali oleh sebuah proses yang dimulai oleh aplikasi ini. Menavigasi kembali setelah masuk dapat menyebabkan masalah ini.',
+ 'saml_fail_authed' => 'Masuk menggunakan :system gagal, sistem tidak memberikan otorisasi yang berhasil',
+ 'social_no_action_defined' => 'Tidak ada tindakan yang ditentukan',
+ 'social_login_bad_response' => "Kesalahan yang diterima selama masuk menggunakan :socialAccount : \n:error",
+ 'social_account_in_use' => 'Akun :socialAccount ini sudah digunakan, Coba masuk melalui opsi :socialAccount.',
+ 'social_account_email_in_use' => 'Email :email sudah digunakan. Jika Anda sudah memiliki akun, Anda dapat menghubungkan :socialAccount Anda dari pengaturan profil Anda.',
+ 'social_account_existing' => 'Akun :socialAccount ini sudah dilampirkan ke profil Anda.',
+ 'social_account_already_used_existing' => 'Akun :socialAccount ini sudah digunakan oleh pengguna lain.',
+ 'social_account_not_used' => 'Akun :socialAccount ini tidak ditautkan ke pengguna mana pun. Harap lampirkan di dalam pengaturan profil Anda. ',
+ 'social_account_register_instructions' => 'Jika Anda belum memiliki akun, Anda dapat mendaftarkan akun menggunakan opsi :socialAccount.',
+ 'social_driver_not_found' => 'Pengemudi sosial tidak ditemukan',
+ 'social_driver_not_configured' => 'Pengaturan sosial :socialAccount Anda tidak dikonfigurasi dengan benar.',
+ 'invite_token_expired' => 'Tautan undangan ini telah kedaluwarsa. Sebagai gantinya, Anda dapat mencoba mengatur ulang kata sandi akun Anda.',
+
+ // System
+ 'path_not_writable' => 'Jalur berkas :filePath tidak dapat diunggah. Pastikan berkas tersebut dapat ditulis ke server.',
+ 'cannot_get_image_from_url' => 'Tidak dapat mengambil gambar dari :url',
+ 'cannot_create_thumbs' => 'Server tidak dapat membuat thumbnail. Harap periksa apakah Anda telah memasang ekstensi GD PHP.',
+ 'server_upload_limit' => 'Server tidak mengizinkan unggahan dengan ukuran ini. Harap coba ukuran berkas yang lebih kecil.',
+ 'uploaded' => 'Server tidak mengizinkan unggahan dengan ukuran ini. Harap coba ukuran berkas yang lebih kecil.',
+ 'image_upload_error' => 'Terjadi kesalahan saat mengunggah gambar',
+ 'image_upload_type_error' => 'Jenis gambar yang diunggah tidak valid',
+ 'file_upload_timeout' => 'Unggahan berkas telah habis waktu.',
+
+ // Attachments
+ 'attachment_not_found' => 'Lampiran tidak ditemukan',
+
+ // Pages
+ 'page_draft_autosave_fail' => 'Gagal menyimpan draf. Pastikan Anda memiliki koneksi internet sebelum menyimpan halaman ini',
+ 'page_custom_home_deletion' => 'Tidak dapat menghapus sebuah halaman saat diatur sebagai sebuah halaman beranda',
+
+ // Entities
+ 'entity_not_found' => 'Entitas tidak ditemukan',
+ 'bookshelf_not_found' => 'Rak buku tidak ditemukan',
+ 'book_not_found' => 'Buku tidak ditemukan',
+ 'page_not_found' => 'Halaman tidak ditemukan',
+ 'chapter_not_found' => 'Bab tidak ditemukan',
+ 'selected_book_not_found' => 'Buku yang dipilih tidak ditemukan',
+ 'selected_book_chapter_not_found' => 'Buku atau Bab yang dipilih tidak ditemukan',
+ 'guests_cannot_save_drafts' => 'Tamu tidak dapat menyimpan Draf',
+
+ // Users
+ 'users_cannot_delete_only_admin' => 'Anda tidak dapat menghapus satu-satunya admin',
+ 'users_cannot_delete_guest' => 'Anda tidak dapat menghapus pengguna tamu',
+
+ // Roles
+ 'role_cannot_be_edited' => 'Peran ini tidak dapat disunting',
+ 'role_system_cannot_be_deleted' => 'Peran ini adalah peran sistem dan tidak dapat dihapus',
+ 'role_registration_default_cannot_delete' => 'Peran ini tidak dapat dihapus jika disetel sebagai peran pendaftaran default',
+ 'role_cannot_remove_only_admin' => 'Pengguna ini adalah satu-satunya pengguna yang ditetapkan ke peran administrator. Tetapkan peran administrator untuk pengguna lain sebelum mencoba untuk menghapusnya di sini.',
+
+ // Comments
+ 'comment_list' => 'Terjadi kesalahan saat mengambil komentar.',
+ 'cannot_add_comment_to_draft' => 'Anda tidak dapat menambahkan komentar ke draf.',
+ 'comment_add' => 'Terjadi kesalahan saat menambahkan / memperbarui komentar.',
+ 'comment_delete' => 'Terjadi kesalahan saat menghapus komentar.',
+ 'empty_comment' => 'Tidak dapat menambahkan komentar kosong.',
+
+ // Error pages
+ '404_page_not_found' => 'Halaman tidak ditemukan',
+ 'sorry_page_not_found' => 'Maaf, Halaman yang Anda cari tidak dapat ditemukan.',
+ 'sorry_page_not_found_permission_warning' => 'Jika Anda mengharapkan halaman ini ada, Anda mungkin tidak memiliki izin untuk melihatnya.',
+ 'image_not_found' => 'Gambar tidak ditemukan',
+ 'image_not_found_subtitle' => 'Maaf, Berkas gambar yang Anda cari tidak dapat ditemukan.',
+ 'image_not_found_details' => 'Jika Anda mengharapkan gambar ini ada, gambar itu mungkin telah dihapus.',
+ 'return_home' => 'Kembali ke home',
+ 'error_occurred' => 'Terjadi kesalahan',
+ 'app_down' => ':appName sedang down sekarang',
+ 'back_soon' => 'Ini akan segera kembali.',
+
+ // API errors
+ 'api_no_authorization_found' => 'Tidak ada token otorisasi yang ditemukan pada permintaan tersebut',
+ 'api_bad_authorization_format' => 'Token otorisasi ditemukan pada permintaan tetapi formatnya salah',
+ 'api_user_token_not_found' => 'Tidak ditemukan token API yang cocok untuk token otorisasi yang diberikan',
+ 'api_incorrect_token_secret' => 'Rahasia yang diberikan untuk token API bekas yang diberikan salah',
+ 'api_user_no_api_permission' => 'Pemilik token API yang digunakan tidak memiliki izin untuk melakukan panggilan API',
+ 'api_user_token_expired' => 'Token otorisasi yang digunakan telah kedaluwarsa',
+
+ // Settings & Maintenance
+ 'maintenance_test_email_failure' => 'Kesalahan dilempar saat mengirim email uji:',
+
+];
--- /dev/null
+<?php
+/**
+ * Pagination Language Lines
+ * The following language lines are used by the paginator library to build
+ * the simple pagination links.
+ */
+return [
+
+ 'previous' => '« Sebelumnya',
+ 'next' => 'Lanjut »',
+
+];
--- /dev/null
+<?php
+/**
+ * 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.
+ */
+return [
+
+ 'password' => 'Kata sandi harus setidaknya delapan karakter dan sesuai dengan konfirmasi.',
+ 'user' => "Kami tidak dapat menemukan pengguna dengan alamat email tersebut.",
+ 'token' => 'Token setel ulang sandi tidak valid untuk alamat email ini.',
+ 'sent' => 'Kami telah mengirimkan email tautan pengaturan ulang kata sandi Anda!',
+ 'reset' => 'Kata sandi Anda telah disetel ulang!',
+
+];
--- /dev/null
+<?php
+/**
+ * Settings text strings
+ * Contains all text strings used in the general settings sections of BookStack
+ * including users and roles.
+ */
+return [
+
+ // Common Messages
+ 'settings' => 'Pengaturan',
+ 'settings_save' => 'Simpan Pengaturan',
+ 'settings_save_success' => 'Pengaturan disimpan',
+
+ // App Settings
+ 'app_customization' => 'Kustomisasi',
+ 'app_features_security' => 'Fitur & Keamanan',
+ 'app_name' => 'Nama aplikasi',
+ 'app_name_desc' => 'Nama ini ditampilkan di tajuk dan di semua email yang dikirim oleh sistem.',
+ 'app_name_header' => 'Tampilkan nama di header',
+ 'app_public_access' => 'Akses publik',
+ 'app_public_access_desc' => 'Mengaktifkan opsi ini akan memungkinkan pengunjung, yang tidak masuk, untuk mengakses konten dalam contoh BookStack Anda.',
+ 'app_public_access_desc_guest' => 'Akses untuk pengunjung umum dapat dikontrol melalui pengguna "Tamu".',
+ 'app_public_access_toggle' => 'Izinkan akses publik',
+ 'app_public_viewing' => 'Izinkan tontonan publik?',
+ 'app_secure_images' => 'Unggahan Gambar Keamanan Lebih Tinggi',
+ 'app_secure_images_toggle' => 'Aktifkan unggahan gambar dengan keamanan lebih tinggi',
+ 'app_secure_images_desc' => 'Untuk alasan performa, semua gambar bersifat publik. Opsi ini menambahkan string acak yang sulit ditebak di depan url gambar. Pastikan indeks direktori tidak diaktifkan untuk mencegah akses mudah.',
+ 'app_editor' => 'Halaman Editor',
+ 'app_editor_desc' => 'Pilih editor mana yang akan digunakan oleh semua pengguna untuk mengedit halaman.',
+ 'app_custom_html' => 'Kustom Konten HTML Head',
+ 'app_custom_html_desc' => 'Konten apa pun yang ditambahkan di sini akan dimasukkan ke bagian bawah <head> bagian dari setiap halaman. Ini berguna untuk mengganti gaya atau menambahkan kode analitik.',
+ 'app_custom_html_disabled_notice' => 'Kustom konten HTML Head dinonaktifkan pada halaman pengaturan ini untuk memastikan setiap perubahan yang mengganggu dapat dikembalikan.',
+ 'app_logo' => 'Logo Aplikasi',
+ 'app_logo_desc' => 'Gambar ini seharusnya memiliki ketinggian 43px Gambar besar akan diperkecil.',
+ 'app_primary_color' => 'Warna Utama Aplikasi',
+ 'app_primary_color_desc' => 'Menyetel warna utama untuk aplikasi termasuk spanduk, tombol, dan tautan.',
+ 'app_homepage' => 'Beranda Aplikasi',
+ 'app_homepage_desc' => 'Pilih tampilan untuk ditampilkan di beranda alih-alih tampilan default. Izin halaman diabaikan untuk halaman yang dipilih.',
+ 'app_homepage_select' => 'Pilih halaman',
+ 'app_footer_links' => 'Link Footer',
+ 'app_footer_links_desc' => 'Tambahkan link untuk ditampilkan dalam footer situs. Ini akan ditampilkan di bagian bawah kebanyakan halaman, termasuk yang tidak memerlukan login. Anda dapat menggunakan label "trans::<key>" untuk menggunakan terjemahan yang ditentukan sistem. Sebagai contoh: Menggunakan "trans::common.privacy_policy" akan memberikan teks terjemahan "Privacy Policy" dan akan memberikan teks "Terms of Service".terjemahan trans::common.terms_of_service".',
+ 'app_footer_links_label' => 'Link Label',
+ 'app_footer_links_url' => 'Link URL',
+ 'app_footer_links_add' => 'Tambahkan Link Footer',
+ 'app_disable_comments' => 'Nonaktifkan Komentar',
+ 'app_disable_comments_toggle' => 'Nonaktifkan komentar',
+ 'app_disable_comments_desc' => 'Menonaktifkan komentar di semua halaman dalam aplikasi. <br> Komentar yang ada tidak ditampilkan.',
+
+ // Color settings
+ 'content_colors' => 'Warna Konten',
+ 'content_colors_desc' => 'Menyetel warna untuk semua elemen dalam hierarki organisasi halaman. Disarankan memilih warna dengan kecerahan yang mirip dengan warna default agar mudah dibaca.',
+ 'bookshelf_color' => 'Warna Rak',
+ 'book_color' => 'Warna Buku',
+ 'chapter_color' => 'Warna Bab',
+ 'page_color' => 'Warna Halaman',
+ 'page_draft_color' => 'Warna Halaman Draf',
+
+ // Registration Settings
+ 'reg_settings' => 'Pendaftaran',
+ 'reg_enable' => 'Aktifkan Pendaftaran',
+ 'reg_enable_toggle' => 'Aktifkan Pendaftaran',
+ 'reg_enable_desc' => 'Saat pendaftaran diaktifkan, pengguna akan dapat mendaftar sendiri sebagai pengguna aplikasi. Setelah pendaftaran, mereka diberi peran pengguna default tunggal.',
+ 'reg_default_role' => 'Peran pengguna default setelah pendaftaran',
+ 'reg_enable_external_warning' => 'Opsi di atas diabaikan saat otentikasi LDAP atau SAML eksternal aktif. Akun pengguna untuk anggota yang tidak ada akan dibuat secara otomatis jika otentikasi, terhadap sistem eksternal yang digunakan, berhasil.',
+ 'reg_email_confirmation' => 'Konfirmasi email',
+ 'reg_email_confirmation_toggle' => 'Memerlukan konfirmasi email',
+ 'reg_confirm_email_desc' => 'Jika batasan domain digunakan maka konfirmasi email akan diperlukan dan opsi ini akan diabaikan.',
+ 'reg_confirm_restrict_domain' => 'Pembatasan Domain',
+ 'reg_confirm_restrict_domain_desc' => 'Masukkan daftar domain email yang dipisahkan dengan koma yang ingin Anda batasi pendaftarannya. Pengguna akan dikirimi email untuk mengonfirmasi alamat mereka sebelum diizinkan untuk berinteraksi dengan aplikasi. <br> Perhatikan bahwa pengguna akan dapat mengubah alamat email mereka setelah pendaftaran berhasil.',
+ 'reg_confirm_restrict_domain_placeholder' => 'Tidak ada batasan yang ditetapkan',
+
+ // Maintenance settings
+ 'maint' => 'Pemeliharaan',
+ 'maint_image_cleanup' => 'Gambar Bersihkan',
+ 'maint_image_cleanup_desc' => "Pindai halaman & konten revisi untuk memeriksa gambar dan gambar mana yang saat ini digunakan dan gambar mana yang berlebihan. Pastikan Anda membuat database lengkap dan cadangan gambar sebelum menjalankan ini.",
+ 'maint_delete_images_only_in_revisions' => 'Hapus juga gambar yang hanya ada di revisi halaman lama',
+ 'maint_image_cleanup_run' => 'Jalankan Pembersihan',
+ 'maint_image_cleanup_warning' => ':count ditemukan gambar yang berpotensi tidak digunakan. Anda yakin ingin menghapus gambar-gambar ini?',
+ 'maint_image_cleanup_success' => ':count gambar yang mungkin tidak digunakan ditemukan dan dihapus!',
+ 'maint_image_cleanup_nothing_found' => 'Tidak ada gambar yang tidak digunakan ditemukan, Tidak ada yang dihapus!',
+ 'maint_send_test_email' => 'Kirim Email Tes',
+ 'maint_send_test_email_desc' => 'Ini mengirimkan email percobaan ke alamat email Anda yang ditentukan di profil Anda.',
+ 'maint_send_test_email_run' => 'Kirim email tes',
+ 'maint_send_test_email_success' => 'Email dikirim ke :address',
+ 'maint_send_test_email_mail_subject' => 'Uji Email',
+ 'maint_send_test_email_mail_greeting' => 'Pengiriman email sepertinya berhasil!',
+ 'maint_send_test_email_mail_text' => 'Selamat! Saat Anda menerima pemberitahuan email ini, pengaturan email Anda tampaknya telah dikonfigurasi dengan benar.',
+ 'maint_recycle_bin_desc' => 'Rak, buku, bab & halaman yang dihapus dikirim ke recycle bin sehingga dapat dipulihkan atau dihapus secara permanen. Item lama di recycle bin dapat dihapus secara otomatis setelah beberapa saat tergantung pada konfigurasi sistem.',
+ 'maint_recycle_bin_open' => 'Buka Tempat Sampah',
+
+ // Recycle Bin
+ 'recycle_bin' => 'Tempat Sampah',
+ 'recycle_bin_desc' => 'Di sini Anda dapat memulihkan item yang telah dihapus atau memilih untuk menghapusnya secara permanen dari sistem. Daftar ini tidak difilter, tidak seperti daftar aktivitas serupa di sistem tempat filter izin diterapkan.',
+ 'recycle_bin_deleted_item' => 'Item yang Dihapus',
+ 'recycle_bin_deleted_by' => 'Dihapus Oleh',
+ 'recycle_bin_deleted_at' => 'Waktu Penghapusan',
+ 'recycle_bin_permanently_delete' => 'Hapus Permanen',
+ 'recycle_bin_restore' => 'Mengembalikan',
+ 'recycle_bin_contents_empty' => 'Hapus Secara Permanen',
+ 'recycle_bin_empty' => 'Kosongkan Tempat Sampah',
+ 'recycle_bin_empty_confirm' => 'Ini akan menghancurkan secara permanen semua item di tempat sampah termasuk konten yang ada di dalam setiap item. Anda yakin ingin mengosongkan tempat sampah?',
+ 'recycle_bin_destroy_confirm' => 'Tindakan ini akan menghapus item ini secara permanen, bersama dengan elemen turunan apa pun yang tercantum di bawah, dari sistem dan Anda tidak akan dapat memulihkan konten ini. Anda yakin ingin menghapus item ini secara permanen?',
+ 'recycle_bin_destroy_list' => 'Item yang akan Dihancurkan',
+ 'recycle_bin_restore_list' => 'Item yang akan Dipulihkan',
+ 'recycle_bin_restore_confirm' => 'Tindakan ini akan memulihkan item yang dihapus, termasuk semua elemen anak, ke lokasi aslinya. Jika lokasi asli telah dihapus, dan sekarang berada di keranjang sampah, item induk juga perlu dipulihkan.',
+ 'recycle_bin_restore_deleted_parent' => 'Induk item ini juga telah dihapus. Ini akan tetap dihapus sampai induknya juga dipulihkan.',
+ 'recycle_bin_destroy_notification' => 'Total :count item dari tempat sampah.',
+ 'recycle_bin_restore_notification' => 'Total :count item yang dipulihkan dari tempat sampah.',
+
+ // Audit Log
+ 'audit' => 'Log Audit',
+ 'audit_desc' => 'Log audit ini menampilkan daftar aktivitas yang dilacak dalam sistem. Daftar ini tidak difilter, tidak seperti daftar aktivitas serupa di sistem tempat filter izin diterapkan.',
+ 'audit_event_filter' => 'Filter Peristiwa',
+ 'audit_event_filter_no_filter' => 'Tanpa Filter',
+ 'audit_deleted_item' => 'Item yang Dihapus',
+ 'audit_deleted_item_name' => 'Nama :name',
+ 'audit_table_user' => 'Pengguna',
+ 'audit_table_event' => 'Peristiwa',
+ 'audit_table_related' => 'Item atau Detail Terkait',
+ 'audit_table_date' => 'Tanggal Kegiatan',
+ 'audit_date_from' => 'Rentang Tanggal Dari',
+ 'audit_date_to' => 'Rentang Tanggal Sampai',
+
+ // Role Settings
+ 'roles' => 'Peran',
+ 'role_user_roles' => 'Peran Pengguna',
+ 'role_create' => 'Buat Peran Baru',
+ 'role_create_success' => 'Peran berhasil dibuat',
+ 'role_delete' => 'Hapus Peran',
+ 'role_delete_confirm' => 'Ini akan menghapus peran dengan nama \':roleName\'.',
+ 'role_delete_users_assigned' => 'Peran ini memiliki :userCount pengguna yang ditugaskan padanya. Jika Anda ingin memindahkan pengguna dari peran ini pilih peran baru di bawah.',
+ 'role_delete_no_migration' => "Jangan migrasikan pengguna",
+ 'role_delete_sure' => 'Anda yakin ingin menghapus peran ini?',
+ 'role_delete_success' => 'Peran berhasil dihapus',
+ 'role_edit' => 'Edit Peran',
+ 'role_details' => 'Detail Peran',
+ 'role_name' => 'Nama peran',
+ 'role_desc' => 'Deskripsi Singkat Peran',
+ 'role_external_auth_id' => 'Otentikasi Eksternal IDs',
+ 'role_system' => 'Izin Sistem',
+ 'role_manage_users' => 'Kelola pengguna',
+ 'role_manage_roles' => 'Kelola peran & izin peran',
+ 'role_manage_entity_permissions' => 'Kelola semua izin buku, bab & halaman',
+ 'role_manage_own_entity_permissions' => 'Kelola izin di buku, bab & halaman sendiri',
+ 'role_manage_page_templates' => 'Kelola template halaman',
+ 'role_access_api' => 'Akses Sistem API',
+ 'role_manage_settings' => 'Kelola setelan aplikasi',
+ 'role_asset' => 'Izin Aset',
+ 'roles_system_warning' => 'Ketahuilah bahwa akses ke salah satu dari tiga izin di atas dapat memungkinkan pengguna untuk mengubah hak mereka sendiri atau orang lain dalam sistem. Hanya tetapkan peran dengan izin ini untuk pengguna tepercaya.',
+ 'role_asset_desc' => 'Izin ini mengontrol akses default ke aset dalam sistem. Izin pada Buku, Bab, dan Halaman akan menggantikan izin ini.',
+ 'role_asset_admins' => 'Admin secara otomatis diberi akses ke semua konten tetapi opsi ini dapat menampilkan atau menyembunyikan opsi UI.',
+ 'role_all' => 'Semua',
+ 'role_own' => 'Sendiri',
+ 'role_controlled_by_asset' => 'Dikendalikan oleh aset tempat mereka diunggah',
+ 'role_save' => 'Simpan Peran',
+ 'role_update_success' => 'Peran berhasil diperbarui',
+ 'role_users' => 'Peran berhasil diperbarui',
+ 'role_users_none' => 'Saat ini tidak ada pengguna yang ditugaskan untuk peran ini',
+
+ // Users
+ 'users' => 'Pengguna',
+ 'user_profile' => 'Profil Pengguna',
+ 'users_add_new' => 'Tambahkan pengguna baru',
+ 'users_search' => 'Cari Pengguna',
+ 'users_latest_activity' => 'Aktivitas Terbaru',
+ 'users_details' => 'Detail Pengguna',
+ 'users_details_desc' => 'Tetapkan nama tampilan dan alamat email untuk pengguna ini. Alamat email akan digunakan untuk masuk ke aplikasi.',
+ 'users_details_desc_no_email' => 'Tetapkan nama tampilan untuk pengguna ini agar orang lain dapat mengenalinya.',
+ 'users_role' => 'Peran Pengguna',
+ 'users_role_desc' => 'Pilih peran mana yang akan ditetapkan untuk pengguna ini. Jika pengguna ditetapkan ke beberapa peran, izin dari peran tersebut akan bertumpuk dan mereka akan menerima semua kemampuan dari peran yang ditetapkan.',
+ 'users_password' => 'Kata Sandi Pengguna',
+ 'users_password_desc' => 'Atur kata sandi yang digunakan untuk masuk ke aplikasi. Panjangnya minimal harus 6 karakter.',
+ 'users_send_invite_text' => 'Anda dapat memilih untuk mengirimi pengguna ini email undangan yang memungkinkan mereka menyetel sandi mereka sendiri, atau Anda dapat menyetel sandi mereka sendiri.',
+ 'users_send_invite_option' => 'Kirim email undangan pengguna',
+ 'users_external_auth_id' => 'Otentikasi Eksternal ID',
+ 'users_external_auth_id_desc' => 'Ini adalah ID yang digunakan untuk mencocokkan pengguna ini saat berkomunikasi dengan sistem otentikasi eksternal Anda.',
+ 'users_password_warning' => 'Hanya isi di bawah ini jika Anda ingin mengubah kata sandi Anda.',
+ 'users_system_public' => 'Pengguna ini mewakili semua pengguna tamu yang mengunjungi instance Anda. Ini tidak dapat digunakan untuk masuk tetapi ditetapkan secara otomatis.',
+ 'users_delete' => 'Hapus pengguna',
+ 'users_delete_named' => 'Hapus Pengguna :userName',
+ 'users_delete_warning' => 'Ini sepenuhnya akan menghapus pengguna ini dengan nama \':userName\' dari sistem.',
+ 'users_delete_confirm' => 'Apakah Anda yakin ingin menghapus pengguna ini?',
+ 'users_migrate_ownership' => 'Migrasikan Kepemilikan',
+ 'users_migrate_ownership_desc' => 'Pilih pengguna di sini jika Anda ingin pengguna lain menjadi pemilik semua item yang saat ini dimiliki oleh pengguna ini.',
+ 'users_none_selected' => 'Tidak ada pengguna yang dipilih',
+ 'users_delete_success' => 'Pengguna berhasil dihapus',
+ 'users_edit' => 'Edit Pengguna',
+ 'users_edit_profile' => 'Edit Profil',
+ 'users_edit_success' => 'Pengguna berhasil diperbarui',
+ 'users_avatar' => 'Abatar Pengguna',
+ 'users_avatar_desc' => 'Pilih gambar untuk mewakili pengguna ini. berukuran 256px.',
+ 'users_preferred_language' => 'Bahasa Pilihan',
+ 'users_preferred_language_desc' => 'Opsi ini akan mengubah bahasa yang digunakan untuk antarmuka pengguna aplikasi. Ini tidak akan memengaruhi konten yang dibuat pengguna.',
+ 'users_social_accounts' => 'Akun Sosial',
+ 'users_social_accounts_info' => 'Di sini Anda dapat menghubungkan akun Anda yang lain untuk login yang lebih cepat dan mudah. Memutuskan akun di sini tidak mencabut akses resmi sebelumnya. Cabut akses dari pengaturan profil Anda pada akun sosial yang terhubung.',
+ 'users_social_connect' => 'Hubungkan Akun',
+ 'users_social_disconnect' => 'Putuskan Sambungan Akun',
+ 'users_social_connected' => ':socialAccount akun berhasil dilampirkan ke profil Anda.',
+ 'users_social_disconnected' => ':socialAccount akun berhasil diputuskan dari profil Anda.',
+ 'users_api_tokens' => 'Token API',
+ 'users_api_tokens_none' => 'Tidak ada token API yang telah dibuat untuk pengguna ini',
+ 'users_api_tokens_create' => 'Buat Token',
+ 'users_api_tokens_expires' => 'Kedaluwarsa',
+ 'users_api_tokens_docs' => 'Dokumentasi API',
+
+ // API Tokens
+ 'user_api_token_create' => 'Buat Token API',
+ 'user_api_token_name' => 'Nama',
+ 'user_api_token_name_desc' => 'Berikan token Anda nama yang dapat dibaca sebagai pengingat masa depan akan tujuan yang dimaksudkan.',
+ 'user_api_token_expiry' => 'Tanggal kadaluarsa',
+ 'user_api_token_expiry_desc' => 'Setel tanggal token ini kedaluwarsa. Setelah tanggal ini, permintaan yang dibuat menggunakan token ini tidak akan berfungsi lagi. Mengosongkan bidang ini akan menetapkan masa berlaku 100 tahun ke depan.',
+ 'user_api_token_create_secret_message' => 'Segera setelah membuat token ini, "Token ID" & "Token Secret" akan dibuat dan ditampilkan. Rahasianya hanya akan ditampilkan satu kali jadi pastikan untuk menyalin nilainya ke tempat yang aman dan terlindungi sebelum melanjutkan.',
+ 'user_api_token_create_success' => 'Token API berhasil dibuat',
+ 'user_api_token_update_success' => 'Token API berhasil diperbarui',
+ 'user_api_token' => 'Token API',
+ 'user_api_token_id' => 'Token ID',
+ 'user_api_token_id_desc' => 'Ini adalah sebuah pengenal yang dihasilkan oleh sistem yang tidak dapat disunting untuk token ini yang perlu untuk disediakan dalam permintaan API.',
+ 'user_api_token_secret' => 'Token Secret',
+ 'user_api_token_secret_desc' => 'Ini adalah rahasia yang dihasilkan sistem untuk token ini yang perlu disediakan dalam permintaan API. Ini hanya akan ditampilkan kali ini jadi salin nilai ini ke tempat yang aman dan terlindungi.',
+ 'user_api_token_created' => 'Token dibuat :timeAgo',
+ 'user_api_token_updated' => 'Token diperbarui :timeAgo',
+ 'user_api_token_delete' => 'Hapus Token',
+ 'user_api_token_delete_warning' => 'Ini akan sepenuhnya menghapus token API ini dengan nama \': tokenName\' dari sistem.',
+ 'user_api_token_delete_confirm' => 'Anda yakin ingin menghapus token API ini?',
+ 'user_api_token_delete_success' => 'Token API berhasil dihapus',
+
+ //! If editing translations files directly please ignore this in all
+ //! languages apart from en. Content will be auto-copied from en.
+ //!////////////////////////////////
+ 'language_select' => [
+ 'en' => 'English',
+ 'ar' => 'العربية',
+ 'bg' => 'Bǎlgarski',
+ 'bs' => 'Bosanski',
+ 'ca' => 'Katalan',
+ 'cs' => 'Česky',
+ 'da' => 'Dansk',
+ 'de' => 'Deutsch (Sie)',
+ 'de_informal' => 'Deutsch (Du)',
+ 'es' => 'Español',
+ 'es_AR' => 'Español Argentina',
+ 'fr' => 'Français',
+ 'he' => 'עברית',
+ 'hr' => 'Hrvatski',
+ 'hu' => 'Magyar',
+ 'id' => 'Bahasa Indonesia',
+ 'it' => 'Italian',
+ 'ja' => '日本語',
+ 'ko' => '한국어',
+ 'lv' => 'Latviešu Valoda',
+ 'nl' => 'Nederlands',
+ 'nb' => 'Norsk (Bokmål)',
+ 'pl' => 'Polski',
+ 'pt' => 'Português',
+ 'pt_BR' => 'Português do Brasil',
+ 'ru' => 'Русский',
+ 'sk' => 'Slovensky',
+ 'sl' => 'Slovenščina',
+ 'sv' => 'Svenska',
+ 'tr' => 'Türkçe',
+ 'uk' => 'Українська',
+ 'vi' => 'Tiếng Việt',
+ 'zh_CN' => '简体中文',
+ 'zh_TW' => '繁體中文',
+ ]
+ //!////////////////////////////////
+];
--- /dev/null
+<?php
+/**
+ * Validation Lines
+ * The following language lines contain the default error messages used by
+ * the validator class. Some of these rules have multiple versions such
+ * as the size rules. Feel free to tweak each of these messages here.
+ */
+return [
+
+ // Standard laravel validation lines
+ 'accepted' => ':attribute harus diterima.',
+ 'active_url' => ':attribute bukan URL yang valid.',
+ 'after' => ':attribute harus setelah tanggal :date.',
+ 'alpha' => ':attribute hanya boleh berisi huruf.',
+ 'alpha_dash' => ':attribute hanya boleh berisi huruf, angka, tanda hubung, dan garis bawah.',
+ 'alpha_num' => ':attribute hanya boleh berisi huruf dan angka.',
+ 'array' => ':attribute harus berupa larik.',
+ 'before' => ':attribute harus tanggal sebelum :date.',
+ 'between' => [
+ 'numeric' => ':attribute harus di antara :min dan :max.',
+ 'file' => ':attribute harus diantara :min dan :max kilobyte.',
+ 'string' => ':attribute harus memiliki karakter antara :min dan :max.',
+ 'array' => ':attribute harus memiliki item antara :min dan :max.',
+ ],
+ 'boolean' => ':attribute bidang harus berisi benar atau salah.',
+ 'confirmed' => ':attribute konfirmasi tidak sama.',
+ 'date' => ':attribute bukan tanggal yang valid.',
+ 'date_format' => ':attribute tidak sesuai dengan format :format.',
+ 'different' => ':attribute dan :other harus berbeda.',
+ 'digits' => ':attribute harus :digits digit.',
+ 'digits_between' => ':attribute harus diantara :min dan :max digit.',
+ 'email' => ':attrtibute Harus alamat e-mail yang valid.',
+ 'ends_with' => ':attribute harus diakhiri dengan salah satu dari berikut ini: :values',
+ 'filled' => ':attribute bidang diperlukan.',
+ 'gt' => [
+ 'numeric' => ':attribute harus lebih besar dari :value.',
+ 'file' => ':attribute harus lebih besar dari :value kilobyte.',
+ 'string' => ':attribute harus lebih besar dari :value karakter.',
+ 'array' => ':attribute harus memiliki lebih dari item :value.',
+ ],
+ 'gte' => [
+ 'numeric' => ':attribute harus lebih besar dari atau sama dengan :value.',
+ 'file' => ':attribute harus lebih besar dari atau sama dengan :value kilobyte.',
+ 'string' => ':attribute harus lebih besar dari atau sama dengan karakter :value.',
+ 'array' => ':attribute harus memiliki :value item atau lebih.',
+ ],
+ 'exists' => ':attribute yang dipilih tidak valid.',
+ 'image' => ':attribute harus berupa gambar.',
+ 'image_extension' => ':attribute harus memiliki ekstensi gambar yang valid & didukung.',
+ 'in' => ':attribute yang dipilih tidak valid.',
+ 'integer' => ':attribute harus berupa bilangan bulat.',
+ 'ip' => ':attribute harus berupa alamat IP yang valid.',
+ 'ipv4' => ':attribute harus berupa alamat IPv4 yang valid.',
+ 'ipv6' => ':attribute harus berupa alamat IPv6 yang valid.',
+ 'json' => ':attribute harus berupa string JSON yang valid.',
+ 'lt' => [
+ 'numeric' => ':attribute harus kurang dari :value.',
+ 'file' => ':attribute harus kurang dari :value kilobyte.',
+ 'string' => ':attribute harus kurang dari :value karakter.',
+ 'array' => ':attribute harus memiliki kurang dari :value item.',
+ ],
+ 'lte' => [
+ 'numeric' => ':attribute harus kurang dari atau sama dengan :value.',
+ 'file' => ':attribute harus kurang dari atau sama dengan :value kilobyte.',
+ 'string' => ':attribute harus kurang dari atau sama dengan :value karakter.',
+ 'array' => ':attribute tidak boleh memiliki lebih dari :value item.',
+ ],
+ 'max' => [
+ 'numeric' => ':attribute tidak boleh lebih dari :max.',
+ 'file' => ':attribute tidak boleh lebih dari :max kilobyte.',
+ 'string' => ':attribute tidak boleh lebih dari :max karakter.',
+ 'array' => ':attribute tidak boleh memiliki lebih dari :max item.',
+ ],
+ 'mimes' => ':attribute harus berupa file dengan tipe: :value.',
+ 'min' => [
+ 'numeric' => ':attribute minimal harus :min.',
+ 'file' => ':attribute minimal harus :min kilobyte.',
+ 'string' => ':attribute setidaknya harus :min karakter.',
+ 'array' => ':attribute minimal harus memiliki :min item.',
+ ],
+ 'not_in' => ':attribute yang dipilih tidak valid.',
+ 'not_regex' => ':attribute format tidak valid.',
+ 'numeric' => ':attribute harus berupa nomot.',
+ 'regex' => 'Format :attribute tidak valid.',
+ 'required' => ':attribute bidang harus diisi.',
+ 'required_if' => ':attribute Bidang harus diisi saat :other atau :value.',
+ 'required_with' => 'Bidang :attribute harus diisi jika ada :nilai.',
+ 'required_with_all' => 'Bidang :attribute harus diisi jika ada :values.',
+ 'required_without' => 'Bidang :attribute harus diisi jika :values tidak ada.',
+ 'required_without_all' => 'Bidang :attribute harus diisi jika tidak ada :value yang ada.',
+ 'same' => ':attribute dan :other harus sama.',
+ 'safe_url' => 'Tautan yang diberikan mungkin tidak aman.',
+ 'size' => [
+ 'numeric' => ':attribute harus berukuran :size.',
+ 'file' => ':attribute harus berukuran :size kilobyte.',
+ 'string' => ':attribute harus memiliki karakter berukuran :size.',
+ 'array' => ':attribute harus mengandung :size item.',
+ ],
+ 'string' => ':attribute harus berupa string.',
+ 'timezone' => ':attribute harus menjadi zona yang valid.',
+ 'unique' => ':attribute sudah diambil.',
+ 'url' => ':attribute format tidak valid.',
+ 'uploaded' => 'Berkas tidak dapat diunggah. Server mungkin tidak menerima berkas dengan ukuran ini.',
+
+ // Custom validation lines
+ 'custom' => [
+ 'password-confirm' => [
+ 'required_with' => 'Konfirmasi kata sandi diperlukan',
+ ],
+ ],
+
+ // Custom validation attributes
+ 'attributes' => [],
+];
return [
// Pages
- 'page_create' => 'ha creato la pagina',
+ 'page_create' => 'pagina creata',
'page_create_notification' => 'Pagina Creata Correttamente',
'page_update' => 'ha aggiornato la pagina',
'page_update_notification' => 'Pagina Aggiornata Correttamente',
'bookshelf_delete' => 'ha eliminato la libreria',
'bookshelf_delete_notification' => 'Libreria Eliminata Correttamente',
+ // Favourites
+ 'favourite_add_notification' => '":name" è stato aggiunto ai tuoi preferiti',
+ 'favourite_remove_notification' => '":name" è stato rimosso dai tuoi preferiti',
+
// Other
'commented_on' => 'ha commentato in',
+ 'permissions_update' => 'autorizzazioni aggiornate',
];
'description' => 'Descrizione',
'role' => 'Ruolo',
'cover_image' => 'Immagine di copertina',
- 'cover_image_description' => 'Questa immagine dovrebbe essere approssimatamente 440x250px.',
+ 'cover_image_description' => 'Questa immagine dovrebbe essere approssimativamente 440x250px.',
// Actions
'actions' => 'Azioni',
'copy' => 'Copia',
'reply' => 'Rispondi',
'delete' => 'Elimina',
- 'delete_confirm' => 'Confirm Deletion',
+ 'delete_confirm' => 'Conferma Eliminazione',
'search' => 'Cerca',
'search_clear' => 'Pulisci Ricerca',
'reset' => 'Azzera',
'remove' => 'Rimuovi',
'add' => 'Aggiungi',
'fullscreen' => 'Schermo intero',
+ 'favourite' => 'Aggiungi ai Preferiti',
+ 'unfavourite' => 'Rimuovi dai preferiti',
+ 'next' => 'Successivo',
+ 'previous' => 'Precedente',
// Sort Options
'sort_options' => 'Opzioni Ordinamento',
'sort_ascending' => 'Ordine Ascendente',
'sort_descending' => 'Ordine Discendente',
'sort_name' => 'Nome',
+ 'sort_default' => 'Predefinito',
'sort_created_at' => 'Data Creazione',
'sort_updated_at' => 'Data Aggiornamento',
'breadcrumb' => 'Navigazione',
// Header
- 'profile_menu' => 'Menu del profilo',
+ 'header_menu_expand' => 'Espandi Menù Intestazione',
+ 'profile_menu' => 'Menù del profilo',
'view_profile' => 'Visualizza Profilo',
'edit_profile' => 'Modifica Profilo',
'dark_mode' => 'Modalità Scura',
// Layout tabs
'tab_info' => 'Info',
+ 'tab_info_label' => 'Tab: Mostra Informazioni Secondarie',
'tab_content' => 'Contenuto',
+ 'tab_content_label' => 'Tab: Mostra Contenuto Principale',
// Email Content
'email_action_help' => 'Se hai problemi nel cliccare il pulsante ":actionText", copia e incolla lo URL sotto nel tuo browser:',
'email_rights' => 'Tutti i diritti riservati',
+
+ // Footer Link Options
+ // Not directly used but available for convenience to users.
+ 'privacy_policy' => 'Norme sulla privacy',
+ 'terms_of_service' => 'Condizioni del Servizio',
];
'image_load_more' => 'Carica Altre',
'image_image_name' => 'Nome Immagine',
'image_delete_used' => 'Questa immagine è usata nelle pagine elencate.',
- 'image_delete_confirm_text' => 'Are you sure you want to delete this image?',
+ 'image_delete_confirm_text' => 'Sei sicuro di voler eliminare questa immagine?',
'image_select_image' => 'Seleziona Immagine',
'image_dropzone' => 'Rilascia immagini o clicca qui per caricarle',
'images_deleted' => 'Immagini Eliminate',
'meta_created_name' => 'Creato :timeLength da :user',
'meta_updated' => 'Aggiornato :timeLength',
'meta_updated_name' => 'Aggiornato :timeLength da :user',
+ 'meta_owned_name' => 'Creati da :user',
'entity_select' => 'Selezione Entità',
'images' => 'Immagini',
'my_recent_drafts' => 'Bozze Recenti',
'my_recently_viewed' => 'Visti di recente',
+ 'my_most_viewed_favourites' => 'I Miei Preferiti Più Visti',
+ 'my_favourites' => 'I miei Preferiti',
'no_pages_viewed' => 'Non hai visto nessuna pagina',
'no_pages_recently_created' => 'Nessuna pagina è stata creata di recente',
'no_pages_recently_updated' => 'Nessuna pagina è stata aggiornata di recente',
'permissions_intro' => 'Una volta abilitati, questi permessi avranno la priorità su tutti gli altri.',
'permissions_enable' => 'Abilita Permessi Custom',
'permissions_save' => 'Salva Permessi',
+ 'permissions_owner' => 'Proprietario',
// Search
'search_results' => 'Risultati Ricerca',
'search_permissions_set' => 'Permessi impostati',
'search_created_by_me' => 'Creati da me',
'search_updated_by_me' => 'Aggiornati da me',
+ 'search_owned_by_me' => 'Creati da me',
'search_date_options' => 'Opzioni Data',
'search_updated_before' => 'Aggiornati prima del',
'search_updated_after' => 'Aggiornati dopo il',
'chapters_create' => 'Crea un nuovo capitolo',
'chapters_delete' => 'Elimina Capitolo',
'chapters_delete_named' => 'Elimina il capitolo :chapterName',
- 'chapters_delete_explain' => 'Questo eliminerà il capitolo \':chapterName\'. Tutte le pagine verranno spostate nel libro.',
+ 'chapters_delete_explain' => 'Procedendo si eliminerà il capitolo denominato \':chapterName\'. Anche le pagine in esso contenute saranno eliminate.',
'chapters_delete_confirm' => 'Sei sicuro di voler eliminare questo capitolo?',
'chapters_edit' => 'Elimina Capitolo',
'chapters_edit_named' => 'Modifica il capitolo :chapterName',
'pages_revisions' => 'Versioni Pagina',
'pages_revisions_named' => 'Versioni della pagina :pageName',
'pages_revision_named' => 'Versione della pagina :pageName',
+ 'pages_revision_restored_from' => 'Ripristinato da #:id; :summary',
'pages_revisions_created_by' => 'Creata Da',
'pages_revisions_date' => 'Data Versione',
'pages_revisions_number' => '#',
'attachments_link_url' => 'Link al file',
'attachments_link_url_hint' => 'Url del sito o del file',
'attach' => 'Allega',
- 'attachments_insert_link' => 'Add Attachment Link to Page',
+ 'attachments_insert_link' => 'Aggiungi Link Allegato alla Pagina',
'attachments_edit_file' => 'Modifica File',
'attachments_edit_file_name' => 'Nome File',
'attachments_edit_drop_upload' => 'Rilascia file o clicca qui per caricare e sovrascrivere',
'revision_restore_confirm' => 'Sei sicuro di voler ripristinare questa revisione? Il contenuto della pagina verrà rimpiazzato.',
'revision_delete_success' => 'Revisione cancellata',
'revision_cannot_delete_latest' => 'Impossibile eliminare l\'ultima revisione.'
-];
\ No newline at end of file
+];
'404_page_not_found' => 'Pagina Non Trovata',
'sorry_page_not_found' => 'La pagina che stavi cercando non è stata trovata.',
'sorry_page_not_found_permission_warning' => 'Se pensi che questa pagina possa esistere, potresti non avere i permessi per visualizzarla.',
+ 'image_not_found' => 'Immagine non trovata',
+ 'image_not_found_subtitle' => 'Spiacente, l\'immagine che stai cercando non è stata trovata.',
+ 'image_not_found_details' => 'Se ti aspettavi che questa immagine esistesse, potrebbe essere stata cancellata.',
'return_home' => 'Ritorna alla home',
'error_occurred' => 'C\'è Stato un errore',
'app_down' => ':appName è offline',
'back_soon' => 'Ritornerà presto.',
// API errors
- 'api_no_authorization_found' => 'No authorization token found on the request',
+ 'api_no_authorization_found' => 'Nessun token di autorizzazione trovato nella richiesta',
'api_bad_authorization_format' => 'Un token di autorizzazione è stato trovato nella richiesta, ma il formato sembra non corretto',
- 'api_user_token_not_found' => 'No matching API token was found for the provided authorization token',
- 'api_incorrect_token_secret' => 'The secret provided for the given used API token is incorrect',
+ 'api_user_token_not_found' => 'Nessun token API valido è stato trovato nel token di autorizzazione fornito',
+ 'api_incorrect_token_secret' => 'Il token segreto fornito per il token API utilizzato non è corretto',
'api_user_no_api_permission' => 'Il proprietario del token API utilizzato non ha il permesso di effettuare chiamate API',
- 'api_user_token_expired' => 'The authorization token used has expired',
+ 'api_user_token_expired' => 'Il token di autorizzazione utilizzato è scaduto',
// Settings & Maintenance
- 'maintenance_test_email_failure' => 'Error thrown when sending a test email:',
+ 'maintenance_test_email_failure' => 'Si è verificato un errore durante l\'invio di una e-mail di prova:',
];
'password' => 'La password deve avere almeno sei caratteri e corrispondere alla conferma.',
'user' => "Non possiamo trovare un utente per quella mail.",
- 'token' => 'The password reset token is invalid for this email address.',
+ 'token' => 'Il token per reimpostare la password non è valido per questo indirizzo email.',
'sent' => 'Ti abbiamo inviato via mail il link per reimpostare la password!',
- 'reset' => 'La tua password è stata resettata!',
+ 'reset' => 'La tua password è stata reimpostata!',
];
'app_homepage' => 'Homepage Applicazione',
'app_homepage_desc' => 'Seleziona una pagina da mostrare nella home anzichè quella di default. I permessi della pagina sono ignorati per quella selezionata.',
'app_homepage_select' => 'Seleziona una pagina',
+ 'app_footer_links' => 'Link in basso',
+ 'app_footer_links_desc' => 'Aggiungi link da mostrare in basso nel sito. Questi saranno visibili in fondo alla maggior parte delle pagine, incluse quelle che non richiedono un autenticazione. Puoi usare l\'etichetta "trans::<chiave>" per utilizzare le traduzioni implementate nella piattaforma. Esempio: usando "trans::common.privacy_policy" mostrerà il testo tradotto "Norme sulla privacy" e "trans::common.terms_of_service" mostrerà il testo tradotto "Condizioni del Servizio".',
+ 'app_footer_links_label' => 'Etichetta del Link',
+ 'app_footer_links_url' => 'URL del Link',
+ 'app_footer_links_add' => 'Aggiungi Link in basso',
'app_disable_comments' => 'Disattiva commenti',
'app_disable_comments_toggle' => 'Disabilita commenti',
'app_disable_comments_desc' => 'Disabilita i commenti su tutte le pagine nell\'applicazione. I commenti esistenti non sono mostrati. ',
// Color settings
'content_colors' => 'Colori del contenuto',
'content_colors_desc' => 'Imposta i colori per tutti gli elementi nella gerarchia della pagina. È raccomandato scegliere colori con una luminosità simile a quelli di default per una maggiore leggibilità.',
- 'bookshelf_color' => 'Colore delle libreria',
+ 'bookshelf_color' => 'Colore della libreria',
'book_color' => 'Colore del libro',
'chapter_color' => 'Colore del capitolo',
'page_color' => 'Colore della Pagina',
'reg_enable_toggle' => 'Abilita registrazione',
'reg_enable_desc' => 'Quando la registrazione è abilitata, l\utente sarà in grado di registrarsi all\'applicazione. Al momento della registrazione gli verrà associato un ruolo utente predefinito.',
'reg_default_role' => 'Ruolo predefinito dopo la registrazione',
- 'reg_enable_external_warning' => 'The option above is ignored while external LDAP or SAML authentication is active. User accounts for non-existing members will be auto-created if authentication, against the external system in use, is successful.',
+ 'reg_enable_external_warning' => 'L\'opzione precedente viene ignorata se l\'autenticazione esterna tramite LDAP o SAML è attiva. Se l\'autenticazione (effettuata sul sistema esterno) sarà valida, gli account di eventuali membri non registrati saranno creati in automatico.',
'reg_email_confirmation' => 'Conferma Email',
'reg_email_confirmation_toggle' => 'Richiedi conferma email',
'reg_confirm_email_desc' => 'Se la restrizione per dominio è usata la conferma della mail sarà richiesta e la scelta ignorata.',
'maint' => 'Manutenzione',
'maint_image_cleanup' => 'Pulizia Immagini',
'maint_image_cleanup_desc' => "Esegue la scansione del contenuto delle pagine e delle revisioni per verificare quali immagini e disegni sono attualmente in uso e quali immagini sono ridondanti. Assicurati di creare backup completo del database e delle immagini prima di eseguire la pulizia.",
- 'maint_image_cleanup_ignore_revisions' => 'Ignora le immagini nelle revisioni',
+ 'maint_delete_images_only_in_revisions' => 'Elimina anche le immagini che esistono solo nelle vecchie revisioni della pagina',
'maint_image_cleanup_run' => 'Esegui Pulizia',
'maint_image_cleanup_warning' => ':count immagini potenzialmente inutilizzate sono state trovate. Sei sicuro di voler eliminare queste immagini?',
'maint_image_cleanup_success' => ':count immagini potenzialmente inutilizzate trovate e eliminate!',
'maint_send_test_email_mail_subject' => 'Email di Test',
'maint_send_test_email_mail_greeting' => 'L\'invio delle email sembra funzionare!',
'maint_send_test_email_mail_text' => 'Congratulazioni! Siccome hai ricevuto questa notifica email, le tue impostazioni sembrano essere configurate correttamente.',
+ 'maint_recycle_bin_desc' => 'Le librerie, i libri, i capitoli e le pagine cancellati vengono inviati al cestino in modo che possano essere ripristinati o eliminati definitivamente. Gli elementi più vecchi nel cestino possono essere automaticamente rimossi dopo un certo periodo, a seconda della configurazione del sistema.',
+ 'maint_recycle_bin_open' => 'Apri il Cestino',
+
+ // Recycle Bin
+ 'recycle_bin' => 'Cestino',
+ 'recycle_bin_desc' => 'Qui è possibile ripristinare gli elementi che sono stati eliminati o scegliere di rimuoverli definitivamente dal sistema. Questo elenco non è filtrato a differenza di elenchi di attività simili nel sistema in cui vengono applicati i filtri autorizzazioni.',
+ 'recycle_bin_deleted_item' => 'Elimina Elemento',
+ 'recycle_bin_deleted_by' => 'Cancellato da',
+ 'recycle_bin_deleted_at' => 'Orario Cancellazione',
+ 'recycle_bin_permanently_delete' => 'Elimina Definitivamente',
+ 'recycle_bin_restore' => 'Ripristina',
+ 'recycle_bin_contents_empty' => 'Al momento il cestino è vuoto',
+ 'recycle_bin_empty' => 'Svuota Cestino',
+ 'recycle_bin_empty_confirm' => 'Questa operazione cancellerà definitivamente tutti gli elementi presenti nel cestino, inclusi i contenuti relativi a ciascun elemento. Sei sicuro di voler svuotare il cestino?',
+ 'recycle_bin_destroy_confirm' => 'Questa operazione eliminerà permanentemente questo elemento (insieme a tutti i relativi elementi elencati qui sotto) dal sistema e non sarà più possibile recuperarlo. Sei sicuro di voler eliminare permanentemente questo elemento?',
+ 'recycle_bin_destroy_list' => 'Elementi da Eliminare definitivamente',
+ 'recycle_bin_restore_list' => 'Elementi da Ripristinare',
+ 'recycle_bin_restore_confirm' => 'Questa azione ripristinerà l\'elemento eliminato, compresi gli elementi figli, nella loro posizione originale. Se la posizione originale è stata eliminata, ed è ora nel cestino, anche l\'elemento padre dovrà essere ripristinato.',
+ 'recycle_bin_restore_deleted_parent' => 'L\'elemento padre di questo elemento è stato eliminato. Questo elemento rimarrà eliminato fino a che l\'elemento padre non sarà ripristinato.',
+ 'recycle_bin_destroy_notification' => 'Eliminati :count elementi dal cestino.',
+ 'recycle_bin_restore_notification' => 'Ripristinati :count elementi dal cestino.',
// Audit Log
- 'audit' => 'Audit Log',
- 'audit_desc' => 'This audit log displays a list of activities tracked in the system. This list is unfiltered unlike similar activity lists in the system where permission filters are applied.',
- 'audit_event_filter' => 'Event Filter',
- 'audit_event_filter_no_filter' => 'No Filter',
- 'audit_deleted_item' => 'Deleted Item',
- 'audit_deleted_item_name' => 'Name: :name',
- 'audit_table_user' => 'User',
- 'audit_table_event' => 'Event',
- 'audit_table_item' => 'Related Item',
- 'audit_table_date' => 'Activity Date',
- 'audit_date_from' => 'Date Range From',
- 'audit_date_to' => 'Date Range To',
+ 'audit' => 'Registro di Controllo',
+ 'audit_desc' => 'Questo registro di controllo mostra la lista delle attività registrate dal sistema. Questa lista, a differenza di altre liste del sistema a cui vengono applicate dei filtri, è integrale.',
+ 'audit_event_filter' => 'Filtra Eventi',
+ 'audit_event_filter_no_filter' => 'Nessun Filtro',
+ 'audit_deleted_item' => 'Elimina Elemento',
+ 'audit_deleted_item_name' => 'Nome: :name',
+ 'audit_table_user' => 'Utente',
+ 'audit_table_event' => 'Evento',
+ 'audit_table_related' => 'Elemento o Dettaglio correlato',
+ 'audit_table_date' => 'Data attività',
+ 'audit_date_from' => 'Dalla data',
+ 'audit_date_to' => 'Alla data',
// Role Settings
'roles' => 'Ruoli',
'role_manage_entity_permissions' => 'Gestire tutti i permessi di libri, capitoli e pagine',
'role_manage_own_entity_permissions' => 'Gestire i permessi sui propri libri, capitoli e pagine',
'role_manage_page_templates' => 'Gestisci template pagine',
- 'role_access_api' => 'Access system API',
+ 'role_access_api' => 'API sistema d\'accesso',
'role_manage_settings' => 'Gestire impostazioni app',
'role_asset' => 'Permessi Entità',
- 'roles_system_warning' => 'Be aware that access to any of the above three permissions can allow a user to alter their own privileges or the privileges of others in the system. Only assign roles with these permissions to trusted users.',
+ 'roles_system_warning' => 'Siate consapevoli che l\'accesso a uno dei tre permessi qui sopra, può consentire a un utente di modificare i propri privilegi o i privilegi di altri nel sistema. Assegna ruoli con questi permessi solo ad utenti fidati.',
'role_asset_desc' => 'Questi permessi controllano l\'accesso di default alle entità. I permessi nei Libri, Capitoli e Pagine sovrascriveranno questi.',
'role_asset_admins' => 'Gli amministratori hanno automaticamente accesso a tutti i contenuti ma queste opzioni possono mostrare o nascondere le opzioni della UI.',
'role_all' => 'Tutti',
'user_profile' => 'Profilo Utente',
'users_add_new' => 'Aggiungi Nuovo Utente',
'users_search' => 'Cerca Utenti',
+ 'users_latest_activity' => 'Ultima Attività',
'users_details' => 'Dettagli Utente',
'users_details_desc' => 'Imposta un nome e un indirizzo email per questo utente. L\'indirizzo email verrà utilizzato per accedere all\'applicazione.',
'users_details_desc_no_email' => 'Imposta un nome per questo utente così gli altri possono riconoscerlo.',
'users_delete_named' => 'Elimina l\'utente :userName',
'users_delete_warning' => 'Questo eliminerà completamente l\'utente \':userName\' dal sistema.',
'users_delete_confirm' => 'Sei sicuro di voler eliminare questo utente?',
- 'users_delete_success' => 'Utenti rimossi correttamente',
+ 'users_migrate_ownership' => 'Cambia Proprietario',
+ 'users_migrate_ownership_desc' => 'Seleziona qui un utente se vuoi che un altro utente diventi il proprietario di tutti gli elementi attualmente di proprietà di questo utente.',
+ 'users_none_selected' => 'Nessun utente selezionato',
+ 'users_delete_success' => 'Utente rimosso con successo',
'users_edit' => 'Modifica Utente',
'users_edit_profile' => 'Modifica Profilo',
'users_edit_success' => 'Utente aggiornato correttamente',
'users_social_disconnect' => 'Disconnetti Account',
'users_social_connected' => 'L\'account :socialAccount è stato connesso correttamente al tuo profilo.',
'users_social_disconnected' => 'L\'account :socialAccount è stato disconnesso correttamente dal tuo profilo.',
- 'users_api_tokens' => 'API Tokens',
+ 'users_api_tokens' => 'Token API',
'users_api_tokens_none' => 'No API tokens have been created for this user',
'users_api_tokens_create' => 'Crea Token',
'users_api_tokens_expires' => 'Scade',
- 'users_api_tokens_docs' => 'API Documentation',
+ 'users_api_tokens_docs' => 'Documentazione API',
// API Tokens
'user_api_token_create' => 'Crea Token API',
'user_api_token_expiry' => 'Data di scadenza',
'user_api_token_expiry_desc' => 'Set a date at which this token expires. After this date, requests made using this token will no longer work. Leaving this field blank will set an expiry 100 years into the future.',
'user_api_token_create_secret_message' => 'Immediately after creating this token a "Token ID" & "Token Secret" will be generated and displayed. The secret will only be shown a single time so be sure to copy the value to somewhere safe and secure before proceeding.',
- 'user_api_token_create_success' => 'API token successfully created',
- 'user_api_token_update_success' => 'API token successfully updated',
+ 'user_api_token_create_success' => 'Token API creato correttamente',
+ 'user_api_token_update_success' => 'Token API aggiornato correttamente',
'user_api_token' => 'Token API',
'user_api_token_id' => 'Token ID',
'user_api_token_id_desc' => 'This is a non-editable system generated identifier for this token which will need to be provided in API requests.',
- 'user_api_token_secret' => 'Token Secret',
+ 'user_api_token_secret' => 'Token Segreto',
'user_api_token_secret_desc' => 'This is a system generated secret for this token which will need to be provided in API requests. This will only be displayed this one time so copy this value to somewhere safe and secure.',
'user_api_token_created' => 'Token Aggiornato :timeAgo',
'user_api_token_updated' => 'Token Aggiornato :timeAgo',
'user_api_token_delete' => 'Elimina Token',
- 'user_api_token_delete_warning' => 'This will fully delete this API token with the name \':tokenName\' from the system.',
+ 'user_api_token_delete_warning' => 'Questa operazione eliminerà irreversibilmente dal sistema il token API denominato \':tokenName\'.',
'user_api_token_delete_confirm' => 'Sei sicuri di voler eliminare questo token API?',
'user_api_token_delete_success' => 'Token API eliminato correttamente',
'en' => 'English',
'ar' => 'العربية',
'bg' => 'Bǎlgarski',
+ 'bs' => 'Bosanski',
+ 'ca' => 'Catalano',
'cs' => 'Česky',
'da' => 'Danese',
'de' => 'Deutsch (Sie)',
'es_AR' => 'Español Argentina',
'fr' => 'Français',
'he' => 'עברית',
+ 'hr' => 'Hrvatski',
'hu' => 'Magyar',
+ 'id' => 'Bahasa Indonesia',
'it' => 'Italian',
'ja' => '日本語',
'ko' => '한국어',
+ 'lv' => 'Latviešu Valoda',
'nl' => 'Nederlands',
+ 'nb' => 'Norsk (Bokmål)',
'pl' => 'Polski',
+ 'pt' => 'Português',
'pt_BR' => 'Português do Brasil',
'ru' => 'Русский',
'sk' => 'Slovensky',
'string' => 'Il campo :attribute deve essere almeno :min caratteri.',
'array' => 'Il campo :attribute deve contenere almeno :min elementi.',
],
- 'no_double_extension' => ':attribute deve avere solo un\'estensione.',
'not_in' => 'Il :attribute selezionato non è valido.',
'not_regex' => 'Il formato di :attribute non è valido.',
'numeric' => ':attribute deve essere un numero.',
'required_without' => 'Il campo :attribute è richiesto quando :values non è presente.',
'required_without_all' => 'Il campo :attribute è richiesto quando nessuno dei :values sono presenti.',
'same' => ':attribute e :other devono corrispondere.',
+ 'safe_url' => 'Il link inserito potrebbe non essere sicuro.',
'size' => [
'numeric' => 'Il campo :attribute deve essere :size.',
'file' => 'Il campo :attribute deve essere :size kilobytes.',
'bookshelf_delete' => 'ブックが削除されました。',
'bookshelf_delete_notification' => '本棚を削除しました',
+ // Favourites
+ 'favourite_add_notification' => '":name" has been added to your favourites',
+ 'favourite_remove_notification' => '":name" has been removed from your favourites',
+
// Other
'commented_on' => 'コメントする',
+ 'permissions_update' => 'updated permissions',
];
'remove' => '削除',
'add' => '追加',
'fullscreen' => 'Fullscreen',
+ 'favourite' => 'Favourite',
+ 'unfavourite' => 'Unfavourite',
+ 'next' => 'Next',
+ 'previous' => 'Previous',
// Sort Options
'sort_options' => 'Sort Options',
'sort_ascending' => 'Sort Ascending',
'sort_descending' => 'Sort Descending',
'sort_name' => 'Name',
+ 'sort_default' => 'Default',
'sort_created_at' => 'Created Date',
'sort_updated_at' => 'Updated Date',
'breadcrumb' => 'Breadcrumb',
// Header
+ 'header_menu_expand' => 'Expand Header Menu',
'profile_menu' => 'Profile Menu',
'view_profile' => 'プロフィール表示',
'edit_profile' => 'プロフィール編集',
// Layout tabs
'tab_info' => 'Info',
+ 'tab_info_label' => 'Tab: Show Secondary Information',
'tab_content' => 'Content',
+ 'tab_content_label' => 'Tab: Show Primary Content',
// Email Content
'email_action_help' => '":actionText" をクリックできない場合、以下のURLをコピーしブラウザで開いてください:',
'email_rights' => 'All rights reserved',
+
+ // Footer Link Options
+ // Not directly used but available for convenience to users.
+ 'privacy_policy' => 'Privacy Policy',
+ 'terms_of_service' => 'Terms of Service',
];
'meta_created_name' => '作成: :timeLength (:user)',
'meta_updated' => '更新: :timeLength',
'meta_updated_name' => '更新: :timeLength (:user)',
+ 'meta_owned_name' => 'Owned by :user',
'entity_select' => 'エンティティ選択',
'images' => '画像',
'my_recent_drafts' => '最近の下書き',
'my_recently_viewed' => '閲覧履歴',
+ 'my_most_viewed_favourites' => 'My Most Viewed Favourites',
+ 'my_favourites' => 'My Favourites',
'no_pages_viewed' => 'なにもページを閲覧していません',
'no_pages_recently_created' => '最近作成されたページはありません',
'no_pages_recently_updated' => '最近更新されたページはありません。',
'permissions_intro' => 'この設定は各ユーザの役割よりも優先して適用されます。',
'permissions_enable' => 'カスタム権限設定を有効にする',
'permissions_save' => '権限を保存',
+ 'permissions_owner' => 'Owner',
// Search
'search_results' => '検索結果',
'search_permissions_set' => '権限が設定されている',
'search_created_by_me' => '自分が作成した',
'search_updated_by_me' => '自分が更新した',
+ 'search_owned_by_me' => 'Owned by me',
'search_date_options' => 'Date Options',
'search_updated_before' => '以前に更新',
'search_updated_after' => '以降に更新',
'chapters_create' => 'チャプターを作成',
'chapters_delete' => 'チャプターを削除',
'chapters_delete_named' => 'チャプター「:chapterName」を削除',
- 'chapters_delete_explain' => 'チャプター「:chapterName」を削除すると、チャプター内のすべてのページはブック内に直接追加されます。',
+ 'chapters_delete_explain' => 'This will delete the chapter with the name \':chapterName\'. All pages that exist within this chapter will also be deleted.',
'chapters_delete_confirm' => 'チャプターを削除してよろしいですか?',
'chapters_edit' => 'チャプターを編集',
'chapters_edit_named' => 'チャプター「:chapterName」を編集',
'pages_revisions' => '編集履歴',
'pages_revisions_named' => ':pageName のリビジョン',
'pages_revision_named' => ':pageName のリビジョン',
+ 'pages_revision_restored_from' => 'Restored from #:id; :summary',
'pages_revisions_created_by' => '作成者',
'pages_revisions_date' => '日付',
'pages_revisions_number' => 'リビジョン',
'revision_restore_confirm' => 'Are you sure you want to restore this revision? The current page contents will be replaced.',
'revision_delete_success' => 'リビジョンを削除しました',
'revision_cannot_delete_latest' => '最新のリビジョンを削除できません。'
-];
\ No newline at end of file
+];
'404_page_not_found' => 'ページが見つかりません',
'sorry_page_not_found' => 'ページを見つけることができませんでした。',
'sorry_page_not_found_permission_warning' => 'If you expected this page to exist, you might not have permission to view it.',
+ 'image_not_found' => 'Image Not Found',
+ 'image_not_found_subtitle' => 'Sorry, The image file you were looking for could not be found.',
+ 'image_not_found_details' => 'If you expected this image to exist it might have been deleted.',
'return_home' => 'ホームに戻る',
'error_occurred' => 'エラーが発生しました',
'app_down' => ':appNameは現在停止しています',
'settings_save_success' => '設定を保存しました',
// App Settings
- 'app_customization' => 'Customization',
- 'app_features_security' => 'Features & Security',
+ 'app_customization' => 'カスタマイズ',
+ 'app_features_security' => '機能とセキュリティ',
'app_name' => 'アプリケーション名',
'app_name_desc' => 'この名前はヘッダーやEメール内で表示されます。',
'app_name_header' => 'ヘッダーにアプリケーション名を表示する',
'app_public_access' => 'パブリック・アクセス',
- 'app_public_access_desc' => 'Enabling this option will allow visitors, that are not logged-in, to access content in your BookStack instance.',
- 'app_public_access_desc_guest' => 'Access for public visitors can be controlled through the "Guest" user.',
- 'app_public_access_toggle' => 'Allow public access',
+ 'app_public_access_desc' => 'このオプションを有効にすると、ログインしていない訪問者があなたのBookStackインスタンスのコンテンツにアクセスできるようになります。',
+ 'app_public_access_desc_guest' => '一般の訪問者のアクセスは、「ゲスト」ユーザー権限を通じて制御することができます。',
+ 'app_public_access_toggle' => 'パブリックアクセスを許可',
'app_public_viewing' => 'アプリケーションを公開する',
'app_secure_images' => '画像アップロード時のセキュリティを強化',
- 'app_secure_images_toggle' => 'Enable higher security image uploads',
+ 'app_secure_images_toggle' => 'より高いセキュリティの画像アップロードを可能にする',
'app_secure_images_desc' => 'パフォーマンスの観点から、全ての画像が公開になっています。このオプションを有効にすると、画像URLの先頭にランダムで推測困難な文字列が追加され、アクセスを困難にします。',
'app_editor' => 'ページエディタ',
'app_editor_desc' => 'ここで選択されたエディタを全ユーザが使用します。',
'app_homepage' => 'Application Homepage',
'app_homepage_desc' => 'Select a view to show on the homepage instead of the default view. Page permissions are ignored for selected pages.',
'app_homepage_select' => 'ページを選択',
+ 'app_footer_links' => 'フッタのリンク',
+ 'app_footer_links_desc' => 'Add links to show within the site footer. These will be displayed at the bottom of most pages, including those that do not require login. You can use a label of "trans::<key>" to use system-defined translations. For example: Using "trans::common.privacy_policy" will provide the translated text "Privacy Policy" and "trans::common.terms_of_service" will provide the translated text "Terms of Service".',
+ 'app_footer_links_label' => '表示するテキスト',
+ 'app_footer_links_url' => 'リンク先の URL',
+ 'app_footer_links_add' => 'Add Footer Link',
'app_disable_comments' => 'コメントを無効にする',
'app_disable_comments_toggle' => 'コメントを無効にする',
'app_disable_comments_desc' => 'アプリケーション内のすべてのページのコメントを無効にします。既存のコメントは表示されません。',
// Color settings
'content_colors' => 'コンテンツの色',
- 'content_colors_desc' => 'Sets colors for all elements in the page organisation hierarchy. Choosing colors with a similar brightness to the default colors is recommended for readability.',
+ 'content_colors_desc' => 'ページ構成階層のすべての要素に色を設定します。読みやすさを考慮して、デフォルトの色と同じような明るさの色を選ぶことをお勧めします。',
'bookshelf_color' => 'Shelf Color',
'book_color' => 'Book Color',
'chapter_color' => 'Chapter Color',
// Registration Settings
'reg_settings' => '登録設定',
- 'reg_enable' => 'Enable Registration',
- 'reg_enable_toggle' => 'Enable registration',
+ 'reg_enable' => '登録を有効にする',
+ 'reg_enable_toggle' => '登録を有効にする',
'reg_enable_desc' => 'When registration is enabled user will be able to sign themselves up as an application user. Upon registration they are given a single, default user role.',
'reg_default_role' => '新規登録時のデフォルト役割',
- 'reg_enable_external_warning' => 'The option above is ignored while external LDAP or SAML authentication is active. User accounts for non-existing members will be auto-created if authentication, against the external system in use, is successful.',
- 'reg_email_confirmation' => 'Email Confirmation',
- 'reg_email_confirmation_toggle' => 'Require email confirmation',
+ 'reg_enable_external_warning' => '外部のLDAPまたはSAML認証が有効の場合、上記のオプションは無視されます。存在しないメンバーのユーザーアカウントは、使用している外部システムでの認証に成功した場合に自動的に作成されます。',
+ 'reg_email_confirmation' => '確認メール',
+ 'reg_email_confirmation_toggle' => 'メールによる確認を行う',
'reg_confirm_email_desc' => 'ドメイン制限を有効にしている場合はEメール認証が必須となり、この項目は無視されます。',
'reg_confirm_restrict_domain' => 'ドメイン制限',
'reg_confirm_restrict_domain_desc' => '特定のドメインのみ登録できるようにする場合、以下にカンマ区切りで入力します。設定された場合、Eメール認証が必須になります。<br>登録後、ユーザは自由にEメールアドレスを変更できます。',
// Maintenance settings
'maint' => 'メンテナンス',
'maint_image_cleanup' => 'Cleanup Images',
- 'maint_image_cleanup_desc' => "Scans page & revision content to check which images and drawings are currently in use and which images are redundant. Ensure you create a full database and image backup before running this.",
- 'maint_image_cleanup_ignore_revisions' => 'Ignore images in revisions',
+ 'maint_image_cleanup_desc' => "ページや履歴の内容をスキャンして、どの画像や図面が現在使用されているか、どの画像が余っているかをチェックします。この機能を実行する前に、データベースと画像の完全なバックアップを作成してください。",
+ 'maint_delete_images_only_in_revisions' => 'また、古いページのリビジョンにしか存在しない画像も削除します。',
'maint_image_cleanup_run' => 'クリーンアップを実行',
- 'maint_image_cleanup_warning' => ':count potentially unused images were found. Are you sure you want to delete these images?',
+ 'maint_image_cleanup_warning' => ':count 個、使用されていない可能性のある画像が見つかりました。これらの画像を削除してもよろしいですか?',
'maint_image_cleanup_success' => ':count potentially unused images found and deleted!',
'maint_image_cleanup_nothing_found' => 'No unused images found, Nothing deleted!',
'maint_send_test_email' => 'テストメールを送信',
'maint_send_test_email_mail_subject' => 'テストメール',
'maint_send_test_email_mail_greeting' => 'Email delivery seems to work!',
'maint_send_test_email_mail_text' => 'Congratulations! As you received this email notification, your email settings seem to be configured properly.',
+ 'maint_recycle_bin_desc' => 'Deleted shelves, books, chapters & pages are sent to the recycle bin so they can be restored or permanently deleted. Older items in the recycle bin may be automatically removed after a while depending on system configuration.',
+ 'maint_recycle_bin_open' => 'Open Recycle Bin',
+
+ // Recycle Bin
+ 'recycle_bin' => 'Recycle Bin',
+ 'recycle_bin_desc' => 'Here you can restore items that have been deleted or choose to permanently remove them from the system. This list is unfiltered unlike similar activity lists in the system where permission filters are applied.',
+ 'recycle_bin_deleted_item' => 'Deleted Item',
+ 'recycle_bin_deleted_by' => 'Deleted By',
+ 'recycle_bin_deleted_at' => 'Deletion Time',
+ 'recycle_bin_permanently_delete' => 'Permanently Delete',
+ 'recycle_bin_restore' => 'Restore',
+ 'recycle_bin_contents_empty' => 'The recycle bin is currently empty',
+ 'recycle_bin_empty' => 'Empty Recycle Bin',
+ 'recycle_bin_empty_confirm' => 'This will permanently destroy all items in the recycle bin including content contained within each item. Are you sure you want to empty the recycle bin?',
+ 'recycle_bin_destroy_confirm' => 'This action will permanently delete this item, along with any child elements listed below, from the system and you will not be able to restore this content. Are you sure you want to permanently delete this item?',
+ 'recycle_bin_destroy_list' => 'Items to be Destroyed',
+ 'recycle_bin_restore_list' => 'Items to be Restored',
+ 'recycle_bin_restore_confirm' => 'This action will restore the deleted item, including any child elements, to their original location. If the original location has since been deleted, and is now in the recycle bin, the parent item will also need to be restored.',
+ 'recycle_bin_restore_deleted_parent' => 'The parent of this item has also been deleted. These will remain deleted until that parent is also restored.',
+ 'recycle_bin_destroy_notification' => 'Deleted :count total items from the recycle bin.',
+ 'recycle_bin_restore_notification' => 'Restored :count total items from the recycle bin.',
// Audit Log
'audit' => 'Audit Log',
'audit_deleted_item_name' => 'Name: :name',
'audit_table_user' => 'User',
'audit_table_event' => 'Event',
- 'audit_table_item' => 'Related Item',
+ 'audit_table_related' => 'Related Item or Detail',
'audit_table_date' => 'Activity Date',
'audit_date_from' => 'Date Range From',
'audit_date_to' => 'Date Range To',
'user_profile' => 'ユーザプロフィール',
'users_add_new' => 'ユーザを追加',
'users_search' => 'ユーザ検索',
+ 'users_latest_activity' => 'Latest Activity',
'users_details' => 'User Details',
'users_details_desc' => 'Set a display name and an email address for this user. The email address will be used for logging into the application.',
'users_details_desc_no_email' => 'Set a display name for this user so others can recognise them.',
'users_delete_named' => 'ユーザ「:userName」を削除',
'users_delete_warning' => 'ユーザ「:userName」を完全に削除します。',
'users_delete_confirm' => '本当にこのユーザを削除してよろしいですか?',
- 'users_delete_success' => 'ユーザを削除しました',
+ 'users_migrate_ownership' => 'Migrate Ownership',
+ 'users_migrate_ownership_desc' => 'Select a user here if you want another user to become the owner of all items currently owned by this user.',
+ 'users_none_selected' => 'No user selected',
+ 'users_delete_success' => 'User successfully removed',
'users_edit' => 'ユーザ編集',
'users_edit_profile' => 'プロフィール編集',
'users_edit_success' => 'ユーザを更新しました',
'en' => 'English',
'ar' => 'العربية',
'bg' => 'Bǎlgarski',
+ 'bs' => 'Bosanski',
+ 'ca' => 'Català',
'cs' => 'Česky',
'da' => 'Dansk',
'de' => 'Deutsch (Sie)',
'es_AR' => 'Español Argentina',
'fr' => 'Français',
'he' => 'עברית',
+ 'hr' => 'Hrvatski',
'hu' => 'Magyar',
+ 'id' => 'Bahasa Indonesia',
'it' => 'Italian',
'ja' => '日本語',
'ko' => '한국어',
+ 'lv' => 'Latviešu Valoda',
'nl' => 'Nederlands',
+ 'nb' => 'Norsk (Bokmål)',
'pl' => 'Polski',
+ 'pt' => 'Português',
'pt_BR' => 'Português do Brasil',
'ru' => 'Русский',
'sk' => 'Slovensky',
'string' => ':attributeは:min文字以上である必要があります。',
'array' => ':attributeは:min個以上である必要があります。',
],
- 'no_double_extension' => 'The :attribute must only have a single file extension.',
'not_in' => '選択された:attributeは不正です。',
'not_regex' => 'The :attribute format is invalid.',
'numeric' => ':attributeは数値である必要があります。',
'required_without' => ':valuesが設定されていない場合、:attributeは必須です。',
'required_without_all' => ':valuesが設定されていない場合、:attributeは必須です。',
'same' => ':attributeと:otherは一致している必要があります。',
+ 'safe_url' => 'The provided link may not be safe.',
'size' => [
'numeric' => ':attributeは:sizeである必要があります。',
'file' => ':attributeは:sizeキロバイトである必要があります。',
'bookshelf_delete' => '삭제된 서가',
'bookshelf_delete_notification' => '서가 지움',
+ // Favourites
+ 'favourite_add_notification' => '":name" has been added to your favourites',
+ 'favourite_remove_notification' => '":name" has been removed from your favourites',
+
// Other
'commented_on' => '댓글 쓰기',
+ 'permissions_update' => 'updated permissions',
];
'copy' => '복사',
'reply' => '답글',
'delete' => '삭제',
- 'delete_confirm' => 'Confirm Deletion',
+ 'delete_confirm' => '삭제 요청 확인',
'search' => '검색',
'search_clear' => '검색 지우기',
'reset' => '리셋',
'remove' => '제거',
'add' => '추가',
'fullscreen' => '전체화면',
+ 'favourite' => 'Favourite',
+ 'unfavourite' => 'Unfavourite',
+ 'next' => 'Next',
+ 'previous' => 'Previous',
// Sort Options
'sort_options' => '정렬 기준',
'sort_ascending' => '오름차 순서',
'sort_descending' => '내림차 순서',
'sort_name' => '제목',
+ 'sort_default' => 'Default',
'sort_created_at' => '만든 날짜',
'sort_updated_at' => '수정한 날짜',
'breadcrumb' => '탐색 경로',
// Header
+ 'header_menu_expand' => 'Expand Header Menu',
'profile_menu' => '프로필',
'view_profile' => '프로필 보기',
'edit_profile' => '프로필 바꾸기',
// Layout tabs
'tab_info' => '정보',
+ 'tab_info_label' => 'Tab: Show Secondary Information',
'tab_content' => '내용',
+ 'tab_content_label' => 'Tab: Show Primary Content',
// Email Content
'email_action_help' => ':actionText를 클릭할 수 없을 때는 웹 브라우저에서 다음 링크로 접속할 수 있습니다.',
'email_rights' => '모든 권리 소유',
+
+ // Footer Link Options
+ // Not directly used but available for convenience to users.
+ 'privacy_policy' => 'Privacy Policy',
+ 'terms_of_service' => 'Terms of Service',
];
'image_load_more' => '더 로드하기',
'image_image_name' => '이미지 이름',
'image_delete_used' => '이 이미지는 다음 문서들이 쓰고 있습니다.',
- 'image_delete_confirm_text' => 'Are you sure you want to delete this image?',
+ 'image_delete_confirm_text' => '이 이미지를 정말 삭제하시겠습니까?',
'image_select_image' => '이미지 선택',
'image_dropzone' => '여기에 이미지를 드롭하거나 여기를 클릭하세요. 이미지를 올릴 수 있습니다.',
'images_deleted' => '이미지 삭제함',
'code_editor' => '코드 수정',
'code_language' => '언어',
'code_content' => '내용',
- 'code_session_history' => 'Session History',
+ 'code_session_history' => '세션 기록',
'code_save' => '저장',
];
'meta_created_name' => '만듦 :timeLength, :user',
'meta_updated' => '수정함 :timeLength',
'meta_updated_name' => '수정함 :timeLength, :user',
+ 'meta_owned_name' => 'Owned by :user',
'entity_select' => '항목 선택',
'images' => '이미지',
'my_recent_drafts' => '내 최근의 초안 문서',
'my_recently_viewed' => '내가 읽은 문서',
+ 'my_most_viewed_favourites' => 'My Most Viewed Favourites',
+ 'my_favourites' => 'My Favourites',
'no_pages_viewed' => '문서 없음',
'no_pages_recently_created' => '문서 없음',
'no_pages_recently_updated' => '문서 없음',
'permissions_intro' => '한번 허용하면 이 설정은 사용자 권한에 우선합니다.',
'permissions_enable' => '설정 허용',
'permissions_save' => '권한 저장',
+ 'permissions_owner' => 'Owner',
// Search
'search_results' => '검색 결과',
'search_no_pages' => '결과 없음',
'search_for_term' => ':term 검색',
'search_more' => '더 많은 결과',
- 'search_advanced' => 'Advanced Search',
- 'search_terms' => 'Search Terms',
+ 'search_advanced' => '고급 검색',
+ 'search_terms' => '용어 검색',
'search_content_type' => '형식',
'search_exact_matches' => '정확히 일치',
'search_tags' => '꼬리표 일치',
'search_permissions_set' => '권한 설정함',
'search_created_by_me' => '내가 만듦',
'search_updated_by_me' => '내가 수정함',
+ 'search_owned_by_me' => 'Owned by me',
'search_date_options' => '날짜',
'search_updated_before' => '이전에 수정함',
'search_updated_after' => '이후에 수정함',
'chapters_create' => '챕터 만들기',
'chapters_delete' => '챕터 삭제하기',
'chapters_delete_named' => ':chapterName(을)를 지웁니다.',
- 'chapters_delete_explain' => ':chapterName에 있는 모든 문서는 챕터에서 벗어날 뿐 지우지 않습니다.',
+ 'chapters_delete_explain' => 'This will delete the chapter with the name \':chapterName\'. All pages that exist within this chapter will also be deleted.',
'chapters_delete_confirm' => '이 챕터를 지울 건가요?',
'chapters_edit' => '챕터 바꾸기',
'chapters_edit_named' => ':chapterName 바꾸기',
'pages_revisions' => '문서 수정본',
'pages_revisions_named' => ':pageName 수정본',
'pages_revision_named' => ':pageName 수정본',
+ 'pages_revision_restored_from' => 'Restored from #:id; :summary',
'pages_revisions_created_by' => '만든 사용자',
'pages_revisions_date' => '수정한 날짜',
'pages_revisions_number' => 'No.',
'attachments_upload' => '파일 올리기',
'attachments_link' => '링크로 첨부',
'attachments_set_link' => '링크 설정',
- 'attachments_delete' => 'Are you sure you want to delete this attachment?',
+ 'attachments_delete' => '이 첨부파일을 정말 삭제하시겠습니까?',
'attachments_dropzone' => '여기에 파일을 드롭하거나 여기를 클릭하세요.',
'attachments_no_files' => '올린 파일 없음',
'attachments_explain_link' => '파일을 올리지 않고 링크로 첨부할 수 있습니다.',
'attachments_link_url' => '파일로 링크',
'attachments_link_url_hint' => '파일 주소',
'attach' => '파일 첨부',
- 'attachments_insert_link' => 'Add Attachment Link to Page',
+ 'attachments_insert_link' => '페이지에 첨부파일 링크 추가',
'attachments_edit_file' => '파일 수정',
'attachments_edit_file_name' => '파일 이름',
'attachments_edit_drop_upload' => '여기에 파일을 드롭하거나 여기를 클릭하세요. 파일을 올리거나 덮어쓸 수 있습니다.',
'revision_restore_confirm' => '이 수정본을 되돌릴 건가요? 현재 판본을 바꿉니다.',
'revision_delete_success' => '수정본 지움',
'revision_cannot_delete_latest' => '현재 판본은 지울 수 없습니다.'
-];
\ No newline at end of file
+];
'404_page_not_found' => '404 Not Found',
'sorry_page_not_found' => '문서를 못 찾았습니다.',
'sorry_page_not_found_permission_warning' => '이 페이지가 존재하기를 기대했다면, 볼 수 있는 권한이 없을 수 있다.',
+ 'image_not_found' => 'Image Not Found',
+ 'image_not_found_subtitle' => 'Sorry, The image file you were looking for could not be found.',
+ 'image_not_found_details' => 'If you expected this image to exist it might have been deleted.',
'return_home' => '처음으로 돌아가기',
'error_occurred' => '문제가 생겼습니다.',
'app_down' => ':appName에 문제가 있는 것 같습니다',
'app_homepage' => '처음 페이지',
'app_homepage_desc' => '고른 페이지에 설정한 권한은 무시합니다.',
'app_homepage_select' => '문서 고르기',
+ 'app_footer_links' => 'Footer Links',
+ 'app_footer_links_desc' => 'Add links to show within the site footer. These will be displayed at the bottom of most pages, including those that do not require login. You can use a label of "trans::<key>" to use system-defined translations. For example: Using "trans::common.privacy_policy" will provide the translated text "Privacy Policy" and "trans::common.terms_of_service" will provide the translated text "Terms of Service".',
+ 'app_footer_links_label' => 'Link Label',
+ 'app_footer_links_url' => 'Link URL',
+ 'app_footer_links_add' => 'Add Footer Link',
'app_disable_comments' => '댓글 사용 안 함',
'app_disable_comments_toggle' => '댓글 사용 안 함',
'app_disable_comments_desc' => '모든 페이지에서 댓글을 숨깁니다.',
'maint' => '데이터',
'maint_image_cleanup' => '이미지 정리',
'maint_image_cleanup_desc' => "중복한 이미지를 찾습니다. 실행하기 전에 이미지를 백업하세요.",
- 'maint_image_cleanup_ignore_revisions' => '수정본에 있는 이미지 제외',
+ 'maint_delete_images_only_in_revisions' => 'Also delete images that only exist in old page revisions',
'maint_image_cleanup_run' => '실행',
'maint_image_cleanup_warning' => '이미지 :count개를 지울 건가요?',
'maint_image_cleanup_success' => '이미지 :count개 삭제함',
'maint_send_test_email_mail_subject' => '테스트 메일',
'maint_send_test_email_mail_greeting' => '이메일 전송이 성공하였습니다.',
'maint_send_test_email_mail_text' => '축하합니다! 이 메일을 받음으로 이메일 설정이 정상적으로 되었음을 확인하였습니다.',
+ 'maint_recycle_bin_desc' => 'Deleted shelves, books, chapters & pages are sent to the recycle bin so they can be restored or permanently deleted. Older items in the recycle bin may be automatically removed after a while depending on system configuration.',
+ 'maint_recycle_bin_open' => 'Open Recycle Bin',
+
+ // Recycle Bin
+ 'recycle_bin' => 'Recycle Bin',
+ 'recycle_bin_desc' => 'Here you can restore items that have been deleted or choose to permanently remove them from the system. This list is unfiltered unlike similar activity lists in the system where permission filters are applied.',
+ 'recycle_bin_deleted_item' => 'Deleted Item',
+ 'recycle_bin_deleted_by' => 'Deleted By',
+ 'recycle_bin_deleted_at' => 'Deletion Time',
+ 'recycle_bin_permanently_delete' => 'Permanently Delete',
+ 'recycle_bin_restore' => 'Restore',
+ 'recycle_bin_contents_empty' => 'The recycle bin is currently empty',
+ 'recycle_bin_empty' => 'Empty Recycle Bin',
+ 'recycle_bin_empty_confirm' => 'This will permanently destroy all items in the recycle bin including content contained within each item. Are you sure you want to empty the recycle bin?',
+ 'recycle_bin_destroy_confirm' => 'This action will permanently delete this item, along with any child elements listed below, from the system and you will not be able to restore this content. Are you sure you want to permanently delete this item?',
+ 'recycle_bin_destroy_list' => 'Items to be Destroyed',
+ 'recycle_bin_restore_list' => 'Items to be Restored',
+ 'recycle_bin_restore_confirm' => 'This action will restore the deleted item, including any child elements, to their original location. If the original location has since been deleted, and is now in the recycle bin, the parent item will also need to be restored.',
+ 'recycle_bin_restore_deleted_parent' => 'The parent of this item has also been deleted. These will remain deleted until that parent is also restored.',
+ 'recycle_bin_destroy_notification' => 'Deleted :count total items from the recycle bin.',
+ 'recycle_bin_restore_notification' => 'Restored :count total items from the recycle bin.',
// Audit Log
- 'audit' => 'Audit Log',
+ 'audit' => '감사 기록',
'audit_desc' => 'This audit log displays a list of activities tracked in the system. This list is unfiltered unlike similar activity lists in the system where permission filters are applied.',
- 'audit_event_filter' => 'Event Filter',
- 'audit_event_filter_no_filter' => 'No Filter',
- 'audit_deleted_item' => 'Deleted Item',
- 'audit_deleted_item_name' => 'Name: :name',
- 'audit_table_user' => 'User',
- 'audit_table_event' => 'Event',
- 'audit_table_item' => 'Related Item',
- 'audit_table_date' => 'Activity Date',
- 'audit_date_from' => 'Date Range From',
- 'audit_date_to' => 'Date Range To',
+ 'audit_event_filter' => '이벤트 필터',
+ 'audit_event_filter_no_filter' => '필터 없음',
+ 'audit_deleted_item' => '삭제된 항목',
+ 'audit_deleted_item_name' => '이름: :name',
+ 'audit_table_user' => '사용자',
+ 'audit_table_event' => '이벤트',
+ 'audit_table_related' => 'Related Item or Detail',
+ 'audit_table_date' => '활동 날짜',
+ 'audit_date_from' => '날짜 범위 시작',
+ 'audit_date_to' => '날짜 범위 끝',
// Role Settings
'roles' => '권한',
'user_profile' => '사용자 프로필',
'users_add_new' => '사용자 만들기',
'users_search' => '사용자 검색',
+ 'users_latest_activity' => 'Latest Activity',
'users_details' => '사용자 정보',
'users_details_desc' => '메일 주소로 로그인합니다.',
'users_details_desc_no_email' => '사용자 이름을 바꿉니다.',
'users_delete_named' => ':userName 삭제',
'users_delete_warning' => ':userName에 관한 데이터를 지웁니다.',
'users_delete_confirm' => '이 사용자를 지울 건가요?',
- 'users_delete_success' => '사용자 삭제함',
+ 'users_migrate_ownership' => 'Migrate Ownership',
+ 'users_migrate_ownership_desc' => 'Select a user here if you want another user to become the owner of all items currently owned by this user.',
+ 'users_none_selected' => 'No user selected',
+ 'users_delete_success' => 'User successfully removed',
'users_edit' => '사용자 수정',
'users_edit_profile' => '프로필 바꾸기',
'users_edit_success' => '프로필 바꿈',
'en' => 'English',
'ar' => 'العربية',
'bg' => 'Bǎlgarski',
+ 'bs' => 'Bosanski',
+ 'ca' => 'Català',
'cs' => 'Česky',
'da' => 'Dansk',
'de' => 'Deutsch (Sie)',
'es_AR' => 'Español Argentina',
'fr' => 'Français',
'he' => '히브리어',
+ 'hr' => 'Hrvatski',
'hu' => 'Magyar',
+ 'id' => 'Bahasa Indonesia',
'it' => 'Italian',
'ja' => '日本語',
'ko' => '한국어',
+ 'lv' => 'Latviešu Valoda',
'nl' => 'Nederlands',
+ 'nb' => 'Norsk (Bokmål)',
'pl' => 'Polski',
+ 'pt' => 'Português',
'pt_BR' => 'Português do Brasil',
'ru' => 'Русский',
'sk' => 'Slovensky',
'string' => ':attribute(을)를 적어도 :value바이트로 구성하세요.',
'array' => ':attribute(을)를 적어도 :value개로 구성하세요..',
],
- 'no_double_extension' => ':attribute(이)가 단일한 확장자를 가져야 합니다.',
'not_in' => '고른 :attribute(이)가 유효하지 않습니다.',
'not_regex' => ':attribute(은)는 유효하지 않은 형식입니다.',
'numeric' => ':attribute(을)를 숫자로만 구성하세요.',
'required_without' => ':values(이)가 없을 때 :attribute(을)를 구성해야 합니다.',
'required_without_all' => ':values(이)가 모두 없을 때 :attribute(을)를 구성해야 합니다.',
'same' => ':attribute(와)과 :other(을)를 똑같이 구성하세요.',
+ 'safe_url' => 'The provided link may not be safe.',
'size' => [
'numeric' => ':attribute(을)를 :size(으)로 구성하세요.',
'file' => ':attribute(을)를 :size킬로바이트로 구성하세요.',
--- /dev/null
+<?php
+/**
+ * Activity text strings.
+ * Is used for all the text within activity logs & notifications.
+ */
+return [
+
+ // Pages
+ 'page_create' => 'izveidoja lapu',
+ 'page_create_notification' => 'Lapa Veiksmīgi Izveidota',
+ 'page_update' => 'atjaunoja lapu',
+ 'page_update_notification' => 'Lapa Veiksmīgi Atjaunota',
+ 'page_delete' => 'izdzēsa lapu',
+ 'page_delete_notification' => 'Lapa Veiksmīgi Dzēsta',
+ 'page_restore' => 'atjaunoja lapu',
+ 'page_restore_notification' => 'Lapa Veiksmīgi Atjaunota',
+ 'page_move' => 'pārvietoja lapu',
+
+ // Chapters
+ 'chapter_create' => 'izveidoja nodaļu',
+ 'chapter_create_notification' => 'Nodaļa Veiksmīgi Izveidota',
+ 'chapter_update' => 'atjaunoja nodaļu',
+ 'chapter_update_notification' => 'Nodaļa Veiksmīgi Atjaunota',
+ 'chapter_delete' => 'izdzēsa nodaļu',
+ 'chapter_delete_notification' => 'Nodaļa Veiksmīgi Dzēsta',
+ 'chapter_move' => 'pārvietoja nodaļu',
+
+ // Books
+ 'book_create' => 'izveidoja grāmatu',
+ 'book_create_notification' => 'Grāmata Veiksmīgi Izveidota',
+ 'book_update' => 'atjaunoja grāmatu',
+ 'book_update_notification' => 'Grāmata Veiksmīgi Atjaunota',
+ 'book_delete' => 'izdzēsa grāmatu',
+ 'book_delete_notification' => 'Grāmata Veiksmīgi Dzēsta',
+ 'book_sort' => 'kārtoja grāmatu',
+ 'book_sort_notification' => 'Grāmata Veiksmīgi Pārkārtota',
+
+ // Bookshelves
+ 'bookshelf_create' => 'izveidoja Plauktu',
+ 'bookshelf_create_notification' => 'Plaukts Veiksmīgi Izveidots',
+ 'bookshelf_update' => 'atjaunoja plauktu',
+ 'bookshelf_update_notification' => 'Plaukts Veiksmīgi Atjaunots',
+ 'bookshelf_delete' => 'izdzēsa plauktu',
+ 'bookshelf_delete_notification' => 'Plaukts Veiksmīgi Dzēsts',
+
+ // Favourites
+ 'favourite_add_notification' => '":name" ir pievienots jūsu favorītiem',
+ 'favourite_remove_notification' => '":name" ir izņemts no jūsu favorītiem',
+
+ // Other
+ 'commented_on' => 'komentēts',
+ 'permissions_update' => 'atjaunoja atļaujas',
+];
--- /dev/null
+<?php
+/**
+ * Authentication Language Lines
+ * The following language lines are used during authentication for various
+ * messages that we need to display to the user.
+ */
+return [
+
+ 'failed' => 'Šie reģistrācijas dati neatbilst mūsu ierakstiem.',
+ 'throttle' => 'Pārāk daudz pieteikšanās mēģinājumu. Lūdzu, mēģiniet vēlreiz pēc :seconds seconds.',
+
+ // Login & Register
+ 'sign_up' => 'Reģistrēties',
+ 'log_in' => 'Ielogoties',
+ 'log_in_with' => 'Ielogoties ar :socialDriver',
+ 'sign_up_with' => 'Pieteikties ar :socialDriver',
+ 'logout' => 'Iziet',
+
+ 'name' => 'Vārds',
+ 'username' => 'Lietotājvārds',
+ 'email' => 'E-pasts',
+ 'password' => 'Parole',
+ 'password_confirm' => 'Apstiprināt paroli',
+ 'password_hint' => 'Jābūt vismaz 8 rakstzīmēm',
+ 'forgot_password' => 'Aizmirsta parole?',
+ 'remember_me' => 'Atcerēties mani',
+ 'ldap_email_hint' => 'Lūdzu ievadiet e-pastu, kuru izmantosiet šim profilam.',
+ 'create_account' => 'Izveidot profilu',
+ 'already_have_account' => 'Jau ir profils?',
+ 'dont_have_account' => 'Nav profila?',
+ 'social_login' => 'Pieteikšanās ar sociālo tīklu profilu',
+ 'social_registration' => 'Reģistrēšanās ar sociālo profilu',
+ 'social_registration_text' => 'Reģistrēties vai pieteikties izmantojot citu servisu.',
+
+ 'register_thanks' => 'Paldies par reģistrāciju!',
+ 'register_confirm' => 'Lūdzu, pārbaudiet savu e-pastu un nospiediet apstiprināšanas pogu, lai piekļūtu :appName.',
+ 'registrations_disabled' => 'Reģistrācija ir izslēgta',
+ 'registration_email_domain_invalid' => 'E-pasta domēnam nav piekļuves pie šīs aplikācijas',
+ 'register_success' => 'Paldies par reģistrēšanos! Tagad varat pieslēgties.',
+
+
+ // Password Reset
+ 'reset_password' => 'Atiestatīt paroli',
+ 'reset_password_send_instructions' => 'Ievadiet savu e-pastu zemāk un nosūtīsim e-pastu ar paroles atiestatīšanas saiti.',
+ 'reset_password_send_button' => 'Nosūtīt atiestatīšanas saiti',
+ 'reset_password_sent' => 'Paroles atiestatīšanas saite tiks nosūtīta uz :email, ja šāds e-pasts būs derīgs.',
+ 'reset_password_success' => 'Jūsu parole ir veiksmīgi atiestatīta.',
+ 'email_reset_subject' => 'Atiestatīt :appName paroli',
+ 'email_reset_text' => 'Jūs saņemat šo e-pastu, jo mēs saņēmām Jūsu profila paroles atiestatīšanas pieprasījumu.',
+ 'email_reset_not_requested' => 'Ja Jūs nepieprasījāt paroles atiestatīšanu, tad tālākas darbības nav nepieciešamas.',
+
+
+ // Email Confirmation
+ 'email_confirm_subject' => 'Apstiprinat savu :appName e-pastu',
+ 'email_confirm_greeting' => 'Paldies, ka pievienojāties :appName!',
+ 'email_confirm_text' => 'Lūdzu apstipriniet savu e-pastu nospiežot zemāk redzamo pogu:',
+ 'email_confirm_action' => 'Apstiprināt e-pastu',
+ 'email_confirm_send_error' => 'E-pasta apriprināšana ir nepieciešama, bet sistēma nevarēja e-pastu nosūtīt. Lūdzu sazinaties ar administratoru, lai pārliecinātos, ka e-pasts ir iestatīts pareizi.',
+ 'email_confirm_success' => 'Jūsu e-pasts ir apstiprināts!',
+ 'email_confirm_resent' => 'Apstiprinājuma vēstule tika nosūtīta. Lūdzu, pārbaudiet jūsu e-pastu.',
+
+ 'email_not_confirmed' => 'E-pasts nav apstiprināts',
+ 'email_not_confirmed_text' => 'Jūsu e-pasta adrese vēl nav apstiprināta.',
+ 'email_not_confirmed_click_link' => 'Lūdzu, noklikšķiniet uz saiti nosūtītajā e-pastā pēc reģistrēšanās.',
+ 'email_not_confirmed_resend' => 'Ja neredzi e-pastu, tad vari atkārtoti nosūtīt apstiprinājuma e-pastu iesniedzot zemāk redzamo formu.',
+ 'email_not_confirmed_resend_button' => 'Atkārtoti nosūtīt apstiprinājuma e-pastu',
+
+ // User Invite
+ 'user_invite_email_subject' => 'Tu esi uzaicināts pievienoties :appName!',
+ 'user_invite_email_greeting' => 'Jūsu :appName profils ir izveidots.',
+ 'user_invite_email_text' => 'Lūdzu, nospiediet zemāk redzamo pogu, lai izveidotu paroli un iegūtu piekļuvi:',
+ 'user_invite_email_action' => 'Iestatīt profila paroli',
+ 'user_invite_page_welcome' => 'Sveicināti :appName!',
+ 'user_invite_page_text' => 'Lai pabeigtu profila izveidi un piekļūtu :appName ir jāizveido parole.',
+ 'user_invite_page_confirm_button' => 'Apstiprināt paroli',
+ 'user_invite_success' => 'Parole iestatīta, tagad varat piekļūt :appName!'
+];
\ No newline at end of file
--- /dev/null
+<?php
+/**
+ * Common elements found throughout many areas of BookStack.
+ */
+return [
+
+ // Buttons
+ 'cancel' => 'Atcelt',
+ 'confirm' => 'Apstiprināt',
+ 'back' => 'Atpakaļ',
+ 'save' => 'Saglabāt',
+ 'continue' => 'Turpināt',
+ 'select' => 'Atlasīt',
+ 'toggle_all' => 'Iezīmēt visus',
+ 'more' => 'Vairāk',
+
+ // Form Labels
+ 'name' => 'Nosaukums',
+ 'description' => 'Apraksts',
+ 'role' => 'Loma',
+ 'cover_image' => 'Vāka attēls',
+ 'cover_image_description' => 'Šim attēlam būtu jābūt aptuveni 440x250px.',
+
+ // Actions
+ 'actions' => 'Darbības',
+ 'view' => 'Skatīt',
+ 'view_all' => 'Skatīt visus',
+ 'create' => 'Izveidot',
+ 'update' => 'Atjaunināt',
+ 'edit' => 'Rediģēt',
+ 'sort' => 'Kārtot',
+ 'move' => 'Pārvietot',
+ 'copy' => 'Kopēt',
+ 'reply' => 'Atbildēt',
+ 'delete' => 'Dzēst',
+ 'delete_confirm' => 'Apstipriniet dzēšanu',
+ 'search' => 'Meklēt',
+ 'search_clear' => 'Notīrīt meklēšanu',
+ 'reset' => 'Atiestatīt',
+ 'remove' => 'Noņemt',
+ 'add' => 'Pievienot',
+ 'fullscreen' => 'Pilnekrāns',
+ 'favourite' => 'Pievienot favorītiem',
+ 'unfavourite' => 'Noņemt no favorītiem',
+ 'next' => 'Nākamais',
+ 'previous' => 'Iepriekšējais',
+
+ // Sort Options
+ 'sort_options' => 'Kārtošanas Opcijas',
+ 'sort_direction_toggle' => 'Pārslēgt kārtošanas virzienu',
+ 'sort_ascending' => 'Kārtot Augoši',
+ 'sort_descending' => 'Kārtot Dilstoši',
+ 'sort_name' => 'Vārds',
+ 'sort_default' => 'Noklusējums',
+ 'sort_created_at' => 'Izveidošanas Datums',
+ 'sort_updated_at' => 'Atjaunināšanas datums',
+
+ // Misc
+ 'deleted_user' => 'Dzēsts lietotājs',
+ 'no_activity' => 'Nav skatāmu darbību',
+ 'no_items' => 'Vienumi nav pieejami',
+ 'back_to_top' => 'Uz augšu',
+ 'toggle_details' => 'Rādīt aprakstu',
+ 'toggle_thumbnails' => 'Iezīmēt sīkatēlus',
+ 'details' => 'Sīkāka informācija',
+ 'grid_view' => 'Režģa Skats',
+ 'list_view' => 'Saraksta Skats',
+ 'default' => 'Noklusējums',
+ 'breadcrumb' => 'Navigācija',
+
+ // Header
+ 'header_menu_expand' => 'Izvērst galvenes izvēlni',
+ 'profile_menu' => 'Profila izvēlne',
+ 'view_profile' => 'Apskatīt profilu',
+ 'edit_profile' => 'Rediģēt profilu',
+ 'dark_mode' => 'Tumšais režīms',
+ 'light_mode' => 'Gaišais režīms',
+
+ // Layout tabs
+ 'tab_info' => 'Informācija',
+ 'tab_info_label' => 'Tab: Rādīt sekundāro informāciju',
+ 'tab_content' => 'Saturs',
+ 'tab_content_label' => 'Tab: Rādīt galveno saturu',
+
+ // Email Content
+ 'email_action_help' => 'Ja ir problēmas noklikšķināt ":actionText" pogu, nokopē un ievieto saiti savā interneta pārlūkā:',
+ 'email_rights' => 'Visas tiesības aizsargātas',
+
+ // Footer Link Options
+ // Not directly used but available for convenience to users.
+ 'privacy_policy' => 'Privātuma politika',
+ 'terms_of_service' => 'Pakalpojuma noteikumi',
+];
--- /dev/null
+<?php
+/**
+ * Text used in custom JavaScript driven components.
+ */
+return [
+
+ // Image Manager
+ 'image_select' => 'Attēla izvēle',
+ 'image_all' => 'Visi',
+ 'image_all_title' => 'Skatīt visus attēlus',
+ 'image_book_title' => 'Apskatīt augšupielādētos attēlus šajā grāmatā',
+ 'image_page_title' => 'Apskatīt augšupielādētos attēlus šajā lapā',
+ 'image_search_hint' => 'Meklēt pēc attēla vārda',
+ 'image_uploaded' => 'Augšupielādēts :uploadedDate',
+ 'image_load_more' => 'Ielādēt vairāk',
+ 'image_image_name' => 'Attēla nosaukums',
+ 'image_delete_used' => 'Šis attēls ir ievietots zemāk redzamajās lapās.',
+ 'image_delete_confirm_text' => 'Vai tiešām vēlaties dzēst šo attēlu?',
+ 'image_select_image' => 'Atlasīt attēlu',
+ 'image_dropzone' => 'Ievilkt attēlu vai klikšķinat šeit, lai augšupielādētu',
+ 'images_deleted' => 'Dzēstie attēli',
+ 'image_preview' => 'Attēla priekšskatījums',
+ 'image_upload_success' => 'Attēls ir veiksmīgi augšupielādēts',
+ 'image_update_success' => 'Attēlā informācija ir veiksmīgi atjunināta',
+ 'image_delete_success' => 'Attēls veiksmīgi dzēsts',
+ 'image_upload_remove' => 'Noņemt',
+
+ // Code Editor
+ 'code_editor' => 'Rediģēt kodu',
+ 'code_language' => 'Koda valoda',
+ 'code_content' => 'Koda teksts',
+ 'code_session_history' => 'Sesijas vēsture',
+ 'code_save' => 'Saglabāt kodu',
+];
--- /dev/null
+<?php
+/**
+ * Text used for 'Entities' (Document Structure Elements) such as
+ * Books, Shelves, Chapters & Pages
+ */
+return [
+
+ // Shared
+ 'recently_created' => 'Nesen izveidots',
+ 'recently_created_pages' => 'Nesen izveidotās lapas',
+ 'recently_updated_pages' => 'Nesen atjauninātās lapas',
+ 'recently_created_chapters' => 'Nesen izveidotās nodaļas',
+ 'recently_created_books' => 'Nesen izveidotās grāmatas',
+ 'recently_created_shelves' => 'Nesen izveidotie plaukti',
+ 'recently_update' => 'Nesen atjaunināts',
+ 'recently_viewed' => 'Nesen skatītie',
+ 'recent_activity' => 'Pēdējās aktivitātes',
+ 'create_now' => 'Izveidot tagad',
+ 'revisions' => 'Revīzijas',
+ 'meta_revision' => 'Revīzija #:revisionCount',
+ 'meta_created' => 'Izveidots :timeLength',
+ 'meta_created_name' => ':user izveidojis pirms :timeLength',
+ 'meta_updated' => 'Atjaunināts :timeLength',
+ 'meta_updated_name' => ':user atjauninājis pirms :timeLength',
+ 'meta_owned_name' => 'Īpašnieks :user',
+ 'entity_select' => 'Izvēlēties vienumu',
+ 'images' => 'Attēli',
+ 'my_recent_drafts' => 'Mani melnraksti',
+ 'my_recently_viewed' => 'Mani nesen skatītie',
+ 'my_most_viewed_favourites' => 'Mani biežāk skatītie favorīti',
+ 'my_favourites' => 'Mani favorīti',
+ 'no_pages_viewed' => 'Neviena lapa vēl nav skatīta',
+ 'no_pages_recently_created' => 'Nav radīta neviena lapa',
+ 'no_pages_recently_updated' => 'Nav atjaunināta neviena lapa',
+ 'export' => 'Eksportēt',
+ 'export_html' => 'Pilna satura web fails',
+ 'export_pdf' => 'PDF fails',
+ 'export_text' => 'Vienkāršs teksta fails',
+
+ // Permissions and restrictions
+ 'permissions' => 'Atļaujas',
+ 'permissions_intro' => 'Kolīdz ieslēgtas, šīs atļaujas ņems prioritāti pār jebkurām citām uzstādītajām atļaujām.',
+ 'permissions_enable' => 'Ieslēgt pielāgotās atļaujas',
+ 'permissions_save' => 'Saglabāt atļaujas',
+ 'permissions_owner' => 'Īpašnieks',
+
+ // Search
+ 'search_results' => 'Meklēšanas rezultāti',
+ 'search_total_results_found' => ':count meklēšanas rezultāts|:count meklēšanas rezultāti',
+ 'search_clear' => 'Notīrīt meklēšanu',
+ 'search_no_pages' => 'Neviena lapa neatbilst meklēšanai',
+ 'search_for_term' => 'Meklēt :term',
+ 'search_more' => 'Vairāk rezultāti',
+ 'search_advanced' => 'Paplašināta meklēšana',
+ 'search_terms' => 'Meklēšanas parametri',
+ 'search_content_type' => 'Satura tips',
+ 'search_exact_matches' => 'Precīza atbilstība',
+ 'search_tags' => 'Birku meklēšana',
+ 'search_options' => 'Iestatījumi',
+ 'search_viewed_by_me' => 'Manis apskatītie',
+ 'search_not_viewed_by_me' => 'Neesmu skatījis',
+ 'search_permissions_set' => 'Iestatītās atļaujas',
+ 'search_created_by_me' => 'Manis izveidotie',
+ 'search_updated_by_me' => 'Manis atjauninātie',
+ 'search_owned_by_me' => 'Es esmu īpašnieks',
+ 'search_date_options' => 'Datuma iestatījumi',
+ 'search_updated_before' => 'Atjaunināts pirms',
+ 'search_updated_after' => 'Atjaunināts pēc',
+ 'search_created_before' => 'Izveidots pirms',
+ 'search_created_after' => 'Izveidots pēc',
+ 'search_set_date' => 'Norādīt datumu',
+ 'search_update' => 'Atjaunināt meklētāju',
+
+ // Shelves
+ 'shelf' => 'Plaukts',
+ 'shelves' => 'Plaukti',
+ 'x_shelves' => ':count Plaukts|:count Plaukti',
+ 'shelves_long' => 'Grāmatu plautki',
+ 'shelves_empty' => 'Neviens plaukts nav izveidots',
+ 'shelves_create' => 'Izveidot jaunu plauktu',
+ 'shelves_popular' => 'Populāri plaukti',
+ 'shelves_new' => 'Jauni plaukti',
+ 'shelves_new_action' => 'Jauns plaukts',
+ 'shelves_popular_empty' => 'Populārākie plaukti tiks rādīti šeit.',
+ 'shelves_new_empty' => 'Pēdējie izveidotie plaukti tiks rādīti šeit.',
+ 'shelves_save' => 'Saglabāt plauktu',
+ 'shelves_books' => 'Grāmatas šajā plauktā',
+ 'shelves_add_books' => 'Pievienot grāmatas šim plauktam',
+ 'shelves_drag_books' => 'Ievelciet grāmatas šeit, lai novietotu tās šajā plauktā',
+ 'shelves_empty_contents' => 'Šim gŗamatplauktam nav pievienotu grāmatu',
+ 'shelves_edit_and_assign' => 'Labot plauktu, lai tam pievienotu grāmatas',
+ 'shelves_edit_named' => 'Labot grāmatplauktu :name',
+ 'shelves_edit' => 'Labot grāmatplauktu',
+ 'shelves_delete' => 'Dzēst grāmatplauktu',
+ 'shelves_delete_named' => 'Dzēst grāmatplauktu :name',
+ 'shelves_delete_explain' => "Tiks dzēsts grāmatplaukts ar nosaukumu \":name\". Tajā ievietotās grāmatas netiks dzēstas.",
+ 'shelves_delete_confirmation' => 'Vai esat pārliecināts, ka vēlaties dzēst šo grāmatplauktu?',
+ 'shelves_permissions' => 'Grāmatplaukta atļaujas',
+ 'shelves_permissions_updated' => 'Grāmatplaukta atļaujas atjauninātas',
+ 'shelves_permissions_active' => 'Grāmatplaukta atļaujas ir aktīvas',
+ 'shelves_copy_permissions_to_books' => 'Kopēt grāmatplaukta atļaujas uz grāmatām',
+ 'shelves_copy_permissions' => 'Kopēt atļaujas',
+ 'shelves_copy_permissions_explain' => 'Šis piemēros pašreizējās grāmatplaukta piekļuves tiesības visām tajā esošajām grāmatām. Pirms ieslēgšanas pārliecinieties, ka ir saglabātas izmaiņas grāmatplaukta piekļuves tiesībām.',
+ 'shelves_copy_permission_success' => 'Grāmatplaukta atļaujas ir pārkopētas uz :count grāmatām',
+
+ // Books
+ 'book' => 'Grāmata',
+ 'books' => 'Grāmatas',
+ 'x_books' => ':count grāmata|:count grāmatas',
+ 'books_empty' => 'Neviena grāmata nav izveidota',
+ 'books_popular' => 'Populārās grāmatas',
+ 'books_recent' => 'Nesenās grāmatas',
+ 'books_new' => 'Jaunas grāmatas',
+ 'books_new_action' => 'Jauna grāmata',
+ 'books_popular_empty' => 'Populārākās grāmatas tiks rādītas šeit.',
+ 'books_new_empty' => 'Pēdējās izveidotās grāmatas tiks rādītas šeit.',
+ 'books_create' => 'Izveidot jaunu grāmatu',
+ 'books_delete' => 'Dzēst grāmatu',
+ 'books_delete_named' => 'Dzēst grāmatu :bookName',
+ 'books_delete_explain' => 'Šī darbība izdzēsīs grāmatu \':bookName\'. Visas lapas un nodaļas tiks izdzēstas.',
+ 'books_delete_confirmation' => 'Vai esat pārliecināts, ka vēlaties dzēst šo grāmatu?',
+ 'books_edit' => 'Labot grāmatu',
+ 'books_edit_named' => 'Labot grāmatu :bookName',
+ 'books_form_book_name' => 'Grāmatas nosaukums',
+ 'books_save' => 'Saglabāt grāmatu',
+ 'books_permissions' => 'Grāmatas atļaujas',
+ 'books_permissions_updated' => 'Grāmatas atļaujas atjauninātas',
+ 'books_empty_contents' => 'Lapas vai nodaļas vēl nav izveidotas šai grāmatai.',
+ 'books_empty_create_page' => 'Izveidot jaunu lapu',
+ 'books_empty_sort_current_book' => 'Kārtot šo grāmatu',
+ 'books_empty_add_chapter' => 'Pievienot nodaļu',
+ 'books_permissions_active' => 'Grāmatas atļaujas ir aktīvas',
+ 'books_search_this' => 'Meklēt šajā grāmatā',
+ 'books_navigation' => 'Grāmatas navigācija',
+ 'books_sort' => 'Kārtot grāmatas saturu',
+ 'books_sort_named' => 'Kārtot grāmatu :bookName',
+ 'books_sort_name' => 'Kārtot pēc nosaukuma',
+ 'books_sort_created' => 'Kārtot pēc izveidošanas datuma',
+ 'books_sort_updated' => 'Kārtot pēc atjaunināšanas datuma',
+ 'books_sort_chapters_first' => 'Nodaļas pirmās',
+ 'books_sort_chapters_last' => 'Nodaļas pēdējās',
+ 'books_sort_show_other' => 'Rādīt citas grāmatas',
+ 'books_sort_save' => 'Saglabāt jauno kārtību',
+
+ // Chapters
+ 'chapter' => 'Nodaļa',
+ 'chapters' => 'Nodaļas',
+ 'x_chapters' => ':count nodaļa|:count nodaļas',
+ 'chapters_popular' => 'Populāras nodaļas',
+ 'chapters_new' => 'Jauna nodaļa',
+ 'chapters_create' => 'Izveidot jaunu nodaļu',
+ 'chapters_delete' => 'Dzēst nodaļu',
+ 'chapters_delete_named' => 'Dzēst nodaļu :chapterName',
+ 'chapters_delete_explain' => 'Šī darbība dzēsīs nodaļu \':chapterName\'. Visas tajā esošās lapas arī tiks dzēstas.',
+ 'chapters_delete_confirm' => 'Vai esat pārliecināts, ka vēlaties dzēst šo nodaļu?',
+ 'chapters_edit' => 'Labot nodaļu',
+ 'chapters_edit_named' => 'Labot nodaļu :chapterName',
+ 'chapters_save' => 'Saglabāt nodaļu',
+ 'chapters_move' => 'Pārvietot nodaļu',
+ 'chapters_move_named' => 'Pārvietot nodaļu :chapterName',
+ 'chapter_move_success' => 'Nodaļa pārviedota uz :bookName',
+ 'chapters_permissions' => 'Nodaļas atļaujas',
+ 'chapters_empty' => 'Šajā nodaļā nav pievienotu lapu.',
+ 'chapters_permissions_active' => 'Nodaļas atļaujas ir aktīvas',
+ 'chapters_permissions_success' => 'Nodaļas atļaujas ir atjauninātas',
+ 'chapters_search_this' => 'Meklēt šajā nodaļā',
+
+ // Pages
+ 'page' => 'Lapa',
+ 'pages' => 'Lapas',
+ 'x_pages' => ':count lapa|:count lapas',
+ 'pages_popular' => 'Populātas lapas',
+ 'pages_new' => 'Jauna lapa',
+ 'pages_attachments' => 'Pielikumi',
+ 'pages_navigation' => 'Lapas navigācija',
+ 'pages_delete' => 'Dzēst lapu',
+ 'pages_delete_named' => 'Dzēst lapu :pageName',
+ 'pages_delete_draft_named' => 'Dzēst :pageName melnrakstu',
+ 'pages_delete_draft' => 'Dzēst melnrakstu',
+ 'pages_delete_success' => 'Lapa ir dzēsta',
+ 'pages_delete_draft_success' => 'Melnraksts ir dzēsts',
+ 'pages_delete_confirm' => 'Vai esat pārliecināts, ka vēlaties dzēst šo lapu?',
+ 'pages_delete_draft_confirm' => 'Vai esat pārliecināts, ka vēlaties dzēst šo melnrakstu?',
+ 'pages_editing_named' => 'Rediģē lapu :pageName',
+ 'pages_edit_draft_options' => 'Melnraksta iestatījumi',
+ 'pages_edit_save_draft' => 'Saglabāt melnrakstu',
+ 'pages_edit_draft' => 'Labot melnrakstu',
+ 'pages_editing_draft' => 'Labo melnrakstu',
+ 'pages_editing_page' => 'Labo lapu',
+ 'pages_edit_draft_save_at' => 'Melnraksts saglabāts ',
+ 'pages_edit_delete_draft' => 'Dzēst melnrakstu',
+ 'pages_edit_discard_draft' => 'Atmest malnrakstu',
+ 'pages_edit_set_changelog' => 'Pievienot izmaiņu aprakstu',
+ 'pages_edit_enter_changelog_desc' => 'Ievadi nelielu aprakstu par vaiktajām izmaiņām',
+ 'pages_edit_enter_changelog' => 'Izmaiņu apraksts',
+ 'pages_save' => 'Saglabāt lapu',
+ 'pages_title' => 'Lapas virsraksts',
+ 'pages_name' => 'Lapas nosaukums',
+ 'pages_md_editor' => 'Redaktors',
+ 'pages_md_preview' => 'Priekšskatījums',
+ 'pages_md_insert_image' => 'Ievietot attēlu',
+ 'pages_md_insert_link' => 'Ievietot vienuma saiti',
+ 'pages_md_insert_drawing' => 'Ievietot zīmējumu',
+ 'pages_not_in_chapter' => 'Lapa nav nodaļā',
+ 'pages_move' => 'Pārvietot lapu',
+ 'pages_move_success' => 'Lapa pārvietota uz ":parentName"',
+ 'pages_copy' => 'Kopēt lapu',
+ 'pages_copy_desination' => 'Kopijas mērķa vieta',
+ 'pages_copy_success' => 'Lapa veiksmīgi nokopēta',
+ 'pages_permissions' => 'Lapas atļaujas',
+ 'pages_permissions_success' => 'Lapas atļaujas atjauninātas',
+ 'pages_revision' => 'Revīzijas',
+ 'pages_revisions' => 'Lapas revīzijas',
+ 'pages_revisions_named' => ':pageName lapas revīzijas',
+ 'pages_revision_named' => ':pageName lapas revīzija',
+ 'pages_revision_restored_from' => 'Atjaunots no #:id; :summary',
+ 'pages_revisions_created_by' => 'Izveidoja',
+ 'pages_revisions_date' => 'Revīzijas datums',
+ 'pages_revisions_number' => '#',
+ 'pages_revisions_numbered' => 'Revīzija #:id',
+ 'pages_revisions_numbered_changes' => 'Revīzijas #:id izmaiņas',
+ 'pages_revisions_changelog' => 'Izmaiņu žurnāls',
+ 'pages_revisions_changes' => 'Izmaiņas',
+ 'pages_revisions_current' => 'Pašreizējā versija',
+ 'pages_revisions_preview' => 'Priekšskatījums',
+ 'pages_revisions_restore' => 'Atjaunot',
+ 'pages_revisions_none' => 'Šai lapai nav revīziju',
+ 'pages_copy_link' => 'Kopēt saiti',
+ 'pages_edit_content_link' => 'Labot saturu',
+ 'pages_permissions_active' => 'Lapas atļaujas ir aktīvas',
+ 'pages_initial_revision' => 'Sākotnējā publikācija',
+ 'pages_initial_name' => 'Jauna lapa',
+ 'pages_editing_draft_notification' => 'Jūs pašlaik veicat izmaiņas melnrakstā, kurš pēdējo reizi ir saglabāts :timeDiff.',
+ 'pages_draft_edited_notification' => 'Šī lapa ir tikusi atjaunināta. Šo melnrakstu ieteicams atmest.',
+ 'pages_draft_edit_active' => [
+ 'start_a' => ':count lietotāji pašlaik veic izmaiņas šajā lapā',
+ 'start_b' => ':userName veic izmaiņas šajā lapā',
+ 'time_a' => 'kopš šī lapa pēdējo reizi ir atjaunināta',
+ 'time_b' => 'pēdējās :minCount minūtēs',
+ 'message' => ':start :time. Esat uzmanīgi, lai neaizstātu viens otra izmaiņas!',
+ ],
+ 'pages_draft_discarded' => 'Melnraksts ir atcelts, redaktors ir atjaunināts ar pašreizējo lapas saturu',
+ 'pages_specific' => 'Konkrēta lapa',
+ 'pages_is_template' => 'Lapas šablons',
+
+ // Editor Sidebar
+ 'page_tags' => 'Lapas birkas',
+ 'chapter_tags' => 'Nodaļas birkas',
+ 'book_tags' => 'Grāmatas birkas',
+ 'shelf_tags' => 'Plauktu birkas',
+ 'tag' => 'Birka',
+ 'tags' => 'Birkas',
+ 'tag_name' => 'Birkas nosaukums',
+ 'tag_value' => 'Birkas papildvērtība (neobligāta)',
+ 'tags_explain' => "Pievieno birkas, lai precīzāk grupētu saturu.\n Tu vari pievienot papildus vērtību birkai vēl precīzākai grupēšanai.",
+ 'tags_add' => 'Pievienot vēlvienu birku',
+ 'tags_remove' => 'Noņemt šo birku',
+ 'attachments' => 'Pielikumi',
+ 'attachments_explain' => 'Augšupielādējiet dažus failus vai pievieno saites, kas tiks parādītas jūsu lapā. Tie būs redzami lapas sānjoslā.',
+ 'attachments_explain_instant_save' => 'Izmaiņas šeit tiek saglabātas nekavējoties.',
+ 'attachments_items' => 'Pievienotie vienumi',
+ 'attachments_upload' => 'Augšupielādēt failu',
+ 'attachments_link' => 'Pievienot saiti',
+ 'attachments_set_link' => 'Uzstādīt saiti',
+ 'attachments_delete' => 'Vai tiešām vēlaties dzēst šo pielikumu?',
+ 'attachments_dropzone' => 'Ievilkt failus vai klikšķināt šeit, lai pievieotu failus',
+ 'attachments_no_files' => 'Neviens fails nav augšupielādēts',
+ 'attachments_explain_link' => 'Ja nevēlaties augšupielādēt failu, varat pievienot saiti. Tā var būt saite uz citu lapu vai saite uz failu mākonī.',
+ 'attachments_link_name' => 'Saites nosaukums',
+ 'attachment_link' => 'Pielikuma saite',
+ 'attachments_link_url' => 'Saite uz failu',
+ 'attachments_link_url_hint' => 'Web lapas vai faila URL',
+ 'attach' => 'Pievienot',
+ 'attachments_insert_link' => 'Pievienot pielikuma saiti lapai',
+ 'attachments_edit_file' => 'Rediģēt failu',
+ 'attachments_edit_file_name' => 'Faila nosaukums',
+ 'attachments_edit_drop_upload' => 'Ievelc failus vai spied šeit, lai augšupielādētu vai aizstātu failus',
+ 'attachments_order_updated' => 'Pielikuma secība ir atjaunināta',
+ 'attachments_updated_success' => 'Pielikuma informācja ir atjaunināta',
+ 'attachments_deleted' => 'Pielikums dzēsts',
+ 'attachments_file_uploaded' => 'Fails veiksmīgi augšupielādēts',
+ 'attachments_file_updated' => 'Fails veiksmīgi atjaunināts',
+ 'attachments_link_attached' => 'Hipersaite veismīgi pievienota lapai',
+ 'templates' => 'Šabloni',
+ 'templates_set_as_template' => 'Šī lapa ir šablons',
+ 'templates_explain_set_as_template' => 'Jūs varat iestatīt šo lapu kā veidni, lai tās saturs tiktu izmantots, veidojot citas lapas. Citi lietotāji varēs izmantot šo veidni, ja viņiem būs atļauja piekļūt šai lapai.',
+ 'templates_replace_content' => 'Aizstāt lapas saturu',
+ 'templates_append_content' => 'Pievienot lapas saturam (beigās)',
+ 'templates_prepend_content' => 'Pievienot lapas saturam (sākumā)',
+
+ // Profile View
+ 'profile_user_for_x' => 'Lietotājs jau :time',
+ 'profile_created_content' => 'Izveidotais saturs',
+ 'profile_not_created_pages' => ':userName nav izveidojis lapas',
+ 'profile_not_created_chapters' => ':userName nav izveidojis nodalas',
+ 'profile_not_created_books' => ':userName nav izveidojis grāmatas',
+ 'profile_not_created_shelves' => ':userName nav izveidojis grāmatplauktus',
+
+ // Comments
+ 'comment' => 'Komentārs',
+ 'comments' => 'Komentāri',
+ 'comment_add' => 'Pievienot komentāru',
+ 'comment_placeholder' => 'Pievieno komentāru',
+ 'comment_count' => '{0} Nav komentāru |{1} 1 Komentārs|[2,*] :count Komentāri',
+ 'comment_save' => 'Saglabāt komentāru',
+ 'comment_saving' => 'Saglabā komentāru...',
+ 'comment_deleting' => 'Dzēš komentāru...',
+ 'comment_new' => 'Jauns komentārs',
+ 'comment_created' => 'komentējis :createDiff',
+ 'comment_updated' => ':username atjauninājis pirms :updateDiff',
+ 'comment_deleted_success' => 'Komentārs ir dzēsts',
+ 'comment_created_success' => 'Komentārs ir pievienots',
+ 'comment_updated_success' => 'Komentārs ir atjaunināts',
+ 'comment_delete_confirm' => 'Vai esat pārliecināts, ka vēlaties dzēst šo komentāru?',
+ 'comment_in_reply_to' => 'Atbildēt uz :commentId',
+
+ // Revision
+ 'revision_delete_confirm' => 'Vai esat pārliecināts, ka vēlaties dzēst šo revīziju?',
+ 'revision_restore_confirm' => 'Vai tiešām vēlaties atjaunot šo revīziju? Pašreizējais lapas saturs tiks aizvietots.',
+ 'revision_delete_success' => 'Revīzija dzēsta',
+ 'revision_cannot_delete_latest' => 'Nevar dzēst pašreizējo revīziju.'
+];
--- /dev/null
+<?php
+/**
+ * Text shown in error messaging.
+ */
+return [
+
+ // Permissions
+ 'permission' => 'Jums nav atļauts piekļūt šai lapai.',
+ 'permissionJson' => 'Jums nav atļauts veikt konkrēto darbību.',
+
+ // Auth
+ 'error_user_exists_different_creds' => 'Lietotājs ar epastu :email bet ar citiem piekļuves datiem jau eksistē.',
+ 'email_already_confirmed' => 'Epasts jau ir apstiprināts, mēģini ielogoties.',
+ 'email_confirmation_invalid' => 'Šis apstiprinājuma žetons nav derīgs vai jau ir izmantots. Lūdzu, mēģiniet reģistrēties vēlreiz.',
+ 'email_confirmation_expired' => 'Apstiprinājuma žetona derīguma termiņš ir beidzies. Ir nosūtīts jauns apstiprinājuma e-pasts.',
+ 'email_confirmation_awaiting' => 'Šī konta e-pasta adresei ir nepieciešms apstiprinājums',
+ 'ldap_fail_anonymous' => 'LDAP piekļuve neveiksmīga izmantojot anonymous bind',
+ 'ldap_fail_authed' => 'LDAP piekļuve neveiksmīga izmantojot norādīto dn un paroli',
+ 'ldap_extension_not_installed' => 'LDAP PHP paplašinājums nav instalēts',
+ 'ldap_cannot_connect' => 'Nav iespējams pieslēgties LDAP serverim, sākotnējais pieslēgums neveiksmīgs',
+ 'saml_already_logged_in' => 'Jau ielogojies',
+ 'saml_user_not_registered' => 'Lietotājs :name nav reģistrēts un automātiska reģistrācija ir izslēgta',
+ 'saml_no_email_address' => 'Ārējās autentifikācijas sistēmas sniegtajos datos nevarēja atrast šī lietotāja e-pasta adresi',
+ 'saml_invalid_response_id' => 'Ārējās autentifikācijas sistēmas pieprasījums neatpazīst procesu, kuru sākusi šī lietojumprogramma. Pārvietojoties atpakaļ pēc pieteikšanās var rasties šāda problēma.',
+ 'saml_fail_authed' => 'Piekļuve ar :system neizdevās, sistēma nepieļāva veiksmīgu autorizāciju',
+ 'social_no_action_defined' => 'Darbības nav definētas',
+ 'social_login_bad_response' => "Saņemta kļūda izmantojot :socialAccount piekļuvi:\n:error",
+ 'social_account_in_use' => 'Šis :socialAccount konts jau tiek izmantots, mēģiniet ieiet ar :socialAccount piekļuves iespēju.',
+ 'social_account_email_in_use' => 'Šis epasts :email jau tiek izmantots. Ja jums jau ir konts, jūs varat pieslēgt savu :socialAccount kontu savos profila uzstādījumos.',
+ 'social_account_existing' => 'Šis :socialAccount konts jau ir piesaistīts jūsu profilam.',
+ 'social_account_already_used_existing' => 'Šo :socialAccount konts jau ir piesaistīts citam lietotājam.',
+ 'social_account_not_used' => 'Šis :socialAccount konts nav piesaistīts nevienam lietotājām. Lūdzu pievienojiet to savos profila uzstādījumos. ',
+ 'social_account_register_instructions' => 'Ja jums vēl nav savs konts, jūs varat reģistrēt kontu izmantojot :socialAccount piekļuvi.',
+ 'social_driver_not_found' => 'Sociālā tīkla savienojums nav atrasts',
+ 'social_driver_not_configured' => 'Jūsu :socialAccount sociālie iestatījumi nav uzstādīti pareizi.',
+ 'invite_token_expired' => 'Šī uzaicinājuma saite ir novecojusi. Tā vietā jūs varat mēģināt atiestatīt sava konta paroli.',
+
+ // System
+ 'path_not_writable' => 'Faila ceļā :filePath nav iespējams ielādēt failus. Lūdzu pārliecinieties, ka serverim tur ir rakstīšanas tiesības.',
+ 'cannot_get_image_from_url' => 'Nevar iegūt bildi no :url',
+ 'cannot_create_thumbs' => 'Serveris nevar izveidot samazinātus attēlus. Lūdzu pārbaudiet, vai ir uzstādīts PHP GD paplašinājums.',
+ 'server_upload_limit' => 'Serveris neatļauj šāda izmēra failu ielādi. Lūdzu mēģiniet mazāka izmēra failu.',
+ 'uploaded' => 'Serveris neatļauj šāda izmēra failu ielādi. Lūdzu mēģiniet mazāka izmēra failu.',
+ 'image_upload_error' => 'Radās kļūda augšupielādējot attēlu',
+ 'image_upload_type_error' => 'Ielādējamā attēla tips nav derīgs',
+ 'file_upload_timeout' => 'Faila augšupielādē ir iestājies noilgums.',
+
+ // Attachments
+ 'attachment_not_found' => 'Pielikums nav atrasts',
+
+ // Pages
+ 'page_draft_autosave_fail' => 'Neizdevās saglabāt uzmetumu. Pārliecinieties, ka jūsu interneta pieslēgums ir aktīvs pirms saglabājiet šo lapu',
+ 'page_custom_home_deletion' => 'Nav iespējams izdzēst lapu kamēr tā ir uzstādīta kā sākumlapa',
+
+ // Entities
+ 'entity_not_found' => 'Vienība nav atrasta',
+ 'bookshelf_not_found' => 'Grāmatplaukts nav atrasts',
+ 'book_not_found' => 'Grāmata nav atrasta',
+ 'page_not_found' => 'Lapa nav atrasta',
+ 'chapter_not_found' => 'Nodaļa nav atrasta',
+ 'selected_book_not_found' => 'Iezīmētā grāmata nav atrasta',
+ 'selected_book_chapter_not_found' => 'Izvēlētā grāmata vai nodaļa nav atrasta',
+ 'guests_cannot_save_drafts' => 'Viesi nevar saglabāt melnrakstus',
+
+ // Users
+ 'users_cannot_delete_only_admin' => 'Jūs nevarat dzēst vienīgo administratoru',
+ 'users_cannot_delete_guest' => 'Jūs nevarat dzēst lietotāju "viesis"',
+
+ // Roles
+ 'role_cannot_be_edited' => 'Šo lomu nevar rediģēt',
+ 'role_system_cannot_be_deleted' => 'Šī ir sistēmas loma un nevar tikt izdzēsta',
+ 'role_registration_default_cannot_delete' => 'Šī loma nevar tikt izdzēsta, kamēr tā uzstādīta kā noklusētā reģistrācijas loma',
+ 'role_cannot_remove_only_admin' => 'Šis ir vienīgais lietotājs, kam norādīta administratora loma. Pievienojiet administratora lomu citam lietotājam pirms mēģiniet to izslēgt šeit.',
+
+ // Comments
+ 'comment_list' => 'Radās kļūda ielasot komentārus.',
+ 'cannot_add_comment_to_draft' => 'Melnrakstam nevar pievienot komentārus.',
+ 'comment_add' => 'Radās kļūda pievienojot/atjaunojot komentāru.',
+ 'comment_delete' => 'Radās kļūda dzēšot komentāru.',
+ 'empty_comment' => 'Nevar pievienot tukšu komentāru.',
+
+ // Error pages
+ '404_page_not_found' => 'Lapa nav atrasta',
+ 'sorry_page_not_found' => 'Atvainojiet, meklētā lapa nav atrasta.',
+ 'sorry_page_not_found_permission_warning' => 'Ja šai lapai būtu bijis te jābūt, jums var nebūt pietiekamas piekļuves tiesības, lai to apskatītu.',
+ 'image_not_found' => 'Attēls nav atrasts',
+ 'image_not_found_subtitle' => 'Atvainojiet, meklētais attēla fails nav atrasts.',
+ 'image_not_found_details' => 'Ja attēlam būtu jābūt pieejamam, iespējams, tas ir ticis izdzēsts.',
+ 'return_home' => 'Atgriezties uz sākumu',
+ 'error_occurred' => 'Radusies kļūda',
+ 'app_down' => ':appName pagaidām nav pieejams',
+ 'back_soon' => 'Drīz būs atkal pieejams.',
+
+ // API errors
+ 'api_no_authorization_found' => 'Pieprasījumā nav atrasts autorizācijas žetons',
+ 'api_bad_authorization_format' => 'Pieprasījumā atrasts autorizācijas žetons, taču tā formāts nav pareizs',
+ 'api_user_token_not_found' => 'Nav atrasts norādītajam autorizācijas žetonam atbilstošs API žetons',
+ 'api_incorrect_token_secret' => 'Norādītā slepenā atslēga izmantotajam API žetonam nav pareiza',
+ 'api_user_no_api_permission' => 'Izmantotā API žetona īpašniekam nav tiesības veikt API izsaukumus',
+ 'api_user_token_expired' => 'Autorizācijas žetona derīguma termiņš ir izbeidzies',
+
+ // Settings & Maintenance
+ 'maintenance_test_email_failure' => 'Radusies kļūda sūtot testa epastu:',
+
+];
--- /dev/null
+<?php
+/**
+ * Pagination Language Lines
+ * The following language lines are used by the paginator library to build
+ * the simple pagination links.
+ */
+return [
+
+ 'previous' => '« Iepriekšējais',
+ 'next' => 'Nākamais »',
+
+];
--- /dev/null
+<?php
+/**
+ * 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.
+ */
+return [
+
+ 'password' => 'Parolēm jābūt vismaz astoņu simbolu garām un jāatbilst apstiprinājumam.',
+ 'user' => "Mēs nevaram atrast lietotāju ar šādu e-pasta adresi.",
+ 'token' => 'Paroles atiestatīšanas atslēga neatbilst šai e-pasta adresei.',
+ 'sent' => 'Esam nosūtījuši paroles atiestatīšanas saiti!',
+ 'reset' => 'Parole ir atiestatīta!',
+
+];
--- /dev/null
+<?php
+/**
+ * Settings text strings
+ * Contains all text strings used in the general settings sections of BookStack
+ * including users and roles.
+ */
+return [
+
+ // Common Messages
+ 'settings' => 'Iestatījumi',
+ 'settings_save' => 'Saglabāt iestatījumus',
+ 'settings_save_success' => 'Iestatījumi saglabāti',
+
+ // App Settings
+ 'app_customization' => 'Pielāgojumi',
+ 'app_features_security' => 'Funkcijas un drošība',
+ 'app_name' => 'Lietotnes nosaukums',
+ 'app_name_desc' => 'Šis vārds tiks rādīts navigācijas joslā un sistēmas sūtītajis e-pastos.',
+ 'app_name_header' => 'Rādīt vārdu navigācijas joslā',
+ 'app_public_access' => 'Publiska piekļuve',
+ 'app_public_access_desc' => 'Šīs opcijas ieslēgšana ļaus neautorizētiem apmeklētājiem piekļūt jūsu BookStack saturam.',
+ 'app_public_access_desc_guest' => 'Publisku apmeklētāju piekļuvi var kontrolēt "Guest" (Viesa) lietotāja uzstādījumos.',
+ 'app_public_access_toggle' => 'Atļaut publisku piekļuvi',
+ 'app_public_viewing' => 'Atļaut publisku piekļuvi?',
+ 'app_secure_images' => 'Paaugstinātas drošības attēlu ielāde',
+ 'app_secure_images_toggle' => 'Ieslēgt paaugstinātas drošības attēlu ielādi',
+ 'app_secure_images_desc' => 'Ātrdarbības nolūkos attēli ir publiski pieejami. Šī opcija pievieno nejaušu grūti uzminamu teksta virkni attēlu adresēs. Pārliecinieties kā ir izslēgta direktoriju pārlūkošana, lai nepieļautu vieglu piekļuvi šiem failiem.',
+ 'app_editor' => 'Lapas redaktors',
+ 'app_editor_desc' => 'Izvēlēties kurš redaktors tiks izmatots lapu rediģēšanai visiem lietotājiem.',
+ 'app_custom_html' => 'Pielāgot HTML head saturu',
+ 'app_custom_html_desc' => 'Šis saturs tiks pievienots <head> sadaļas apakšā visām lapām. Tas ir noderīgi papildinot CSS stilus vai pievienojot analītikas kodu.',
+ 'app_custom_html_disabled_notice' => 'Pielāgots HTML head saturs ir izslēgts šajā uzstādījumu lapā, lai nodrošinātu, ka iespējams atcelt jebkādas kritiskas izmaiņas.',
+ 'app_logo' => 'Lietotnes logo',
+ 'app_logo_desc' => 'Attēlam jābūt 43px augstam. <br>Lielāki attēli tiks samazināti.',
+ 'app_primary_color' => 'Galvenā aplikācijas krāsa',
+ 'app_primary_color_desc' => 'Uzstāda primāro krāsu aplikācijai, ieskaitot banneri, pogas un saites.',
+ 'app_homepage' => 'Aplikācijas sākumlapa',
+ 'app_homepage_desc' => 'Izvēlēties skatu, ko rādīt sākumlapā noklusētā skata vietā. Lapas piekļuves tiesības izvēlētajai lapai netiks ņemtas vērā.',
+ 'app_homepage_select' => 'Izvēlēties lapu',
+ 'app_footer_links' => 'Kājenes saites',
+ 'app_footer_links_desc' => 'Pievienot saites, ko attēlot lapas kājenē. Tās tiks attēlotas lielākās daļas lapu apakšā, ieskaitot tās, kas pieejamas bez reģistrācijas. Jūs varat izmantot nosaukumu "trans::<key>", lai izmantotu sistēmā definētus tulkojumus. Piemēram, "trans::common.privacy_policy" tiks aizvietots ar tulkoto tekstu "Privātuma politika" un "trans::common.terms_of_service" kļūs par "Lietošanas noteikumi".',
+ 'app_footer_links_label' => 'Saites nosaukums',
+ 'app_footer_links_url' => 'Saites URL',
+ 'app_footer_links_add' => 'Pievienot kājenes saiti',
+ 'app_disable_comments' => 'Izslēgt komentārus',
+ 'app_disable_comments_toggle' => 'Izslēgt komentārus',
+ 'app_disable_comments_desc' => 'Atslēdz komentārus visās aplikācijas lapās.<br> Jau eksistējoši komentāri netiks attēloti.',
+
+ // Color settings
+ 'content_colors' => 'Satura krāsas',
+ 'content_colors_desc' => 'Norādīt krāsas visiem lapas hierarhijas elementiem. Lasāmības labad ieteicams izvēlēties krāsas ar līdzīgu spilgtumu kā noklusētajām.',
+ 'bookshelf_color' => 'Plaukta krāsa',
+ 'book_color' => 'Grāmatas krāsa',
+ 'chapter_color' => 'Nodaļas krāsa',
+ 'page_color' => 'Lapas krāsa',
+ 'page_draft_color' => 'Lapas uzmetuma krāsa',
+
+ // Registration Settings
+ 'reg_settings' => 'Reģistrācija',
+ 'reg_enable' => 'Iespējot reģistrāciju',
+ 'reg_enable_toggle' => 'Iespējot reģistrāciju',
+ 'reg_enable_desc' => 'Kad reģistrācija ir ieslēgta, lietotāji varēs paši reģistrēties kā aplikācijas lietotāji. Pēc reģistrācijas tiem tiks piešķirta noklusētā lietotāja loma.',
+ 'reg_default_role' => 'Noklusētā lietotāja loma pēc reģistrācijas',
+ 'reg_enable_external_warning' => 'Šis uzstādījums tiek ignorēts kamēr tiek izmantota ārēja LDAP vai SAML autentifikācija. Tiks izveidoti lietotāju konti neeksistējošiem leitotājiem, ja autentifikācija pret ārējo sistēmu būs veiksmīga.',
+ 'reg_email_confirmation' => 'E-pasta apstiprinājums',
+ 'reg_email_confirmation_toggle' => 'Pieprasīt epasta apstiprināšanu',
+ 'reg_confirm_email_desc' => 'Ja ieslēgts domēnu ierobežojums, tad būs nepieciešama epasta apstiprināšana un šis uzstādījums tiks ignorēts.',
+ 'reg_confirm_restrict_domain' => 'Domēnu ierobežojums',
+ 'reg_confirm_restrict_domain_desc' => 'Ievadiet ar komatiem atdalītu sarakstu ar epasta domēniem, kam jūs gribētu atļaut reģistrāciju. Lietotājiem tiks nosūtīts epasts, lai apstiprinātu tā adresi pirms tiks ļauts darboties ar aplikāciju. <br> Ņemiet vērā, ka lietotāji varēs nomainīt savu epasta adresi pēc veiksmīgas reģistrācijas.',
+ 'reg_confirm_restrict_domain_placeholder' => 'Nav ierobežojumu',
+
+ // Maintenance settings
+ 'maint' => 'Apkope',
+ 'maint_image_cleanup' => 'Tīrīt neizmantotās bildes',
+ 'maint_image_cleanup_desc' => "Pārbauda lapu un lapu versiju saturu, lai noteiktu, kuri attēli pašlaik tiek izmantoti, un kuri nav nepieciešami. Pārliecinieties, ka ir veikta pilna datubāzes un attēlu rezerves kopija pirms šīs darbības.",
+ 'maint_delete_images_only_in_revisions' => 'Dzēst arī attēlus, kas izmantoti tikai vecās lapu satura versijās',
+ 'maint_image_cleanup_run' => 'Veikt tīrīšanu',
+ 'maint_image_cleanup_warning' => ':count iespējami neizmantoti attēli atrasti. Vai tiešām vēlaties izdzēst šos attēlus?',
+ 'maint_image_cleanup_success' => ':count iespējami neizmantoti attēli atrasti un izdzēsti!',
+ 'maint_image_cleanup_nothing_found' => 'Nav atrasti neizmantoti attēli, nekas netika izdzēsts!',
+ 'maint_send_test_email' => 'Nosūtīt testa epastu',
+ 'maint_send_test_email_desc' => 'Nosūtīt testa epastu uz jūsu profilā norādīto epasta adresi.',
+ 'maint_send_test_email_run' => 'Nosūtīt testa epastu',
+ 'maint_send_test_email_success' => 'Epasts nosūtīts uz :address',
+ 'maint_send_test_email_mail_subject' => 'Testa epasts',
+ 'maint_send_test_email_mail_greeting' => 'Izskatās, ka epasta piegāde strādā!',
+ 'maint_send_test_email_mail_text' => 'Apsveicam! Tā kā jūs saņēmāt šo epasta paziņojumu, jūsu epasta uzstādījumi šķiet pareizi.',
+ 'maint_recycle_bin_desc' => 'Dzēstie plaukti, grāmatas, nodaļas un lapas ir pārceltas uz miskasti, lai tos varētu atjaunot vai izdzēst pilnībā. Vecākas vienības miskastē var tikt automātiski dzēstas pēc kāda laika atkarībā no sistēmas uzstādījumiem.',
+ 'maint_recycle_bin_open' => 'Atvērt miskasti',
+
+ // Recycle Bin
+ 'recycle_bin' => 'Miskaste',
+ 'recycle_bin_desc' => 'Te jūs varat atjaunot dzēstās vienības vai arī izdzēst tās no sistēmas pilnībā. Šis saraksts nav filtrēts atšķirībā no līdzīgiem darbību sarakstiem sistēmā, kur ir piemēroti piekļuves tiesību filtri.',
+ 'recycle_bin_deleted_item' => 'Dzēsta vienība',
+ 'recycle_bin_deleted_by' => 'Izdzēsa',
+ 'recycle_bin_deleted_at' => 'Dzēšanas laiks',
+ 'recycle_bin_permanently_delete' => 'Neatgriezeniski izdzēst',
+ 'recycle_bin_restore' => 'Atjaunot',
+ 'recycle_bin_contents_empty' => 'Miskaste ir tukša',
+ 'recycle_bin_empty' => 'Iztīrīt miskasti',
+ 'recycle_bin_empty_confirm' => 'Šī darbība pilnībā dzēsīs visas vienības miskastē, ieskaitot saturu, kas ievietots katrā no šīm vienībām. Vai tiešām vēlaties dzēst visu miskastes saturu?',
+ 'recycle_bin_destroy_confirm' => 'Šī darbība pilnībā izdzēsis šo vienību kopā ar tai pakārtotajiem elementiem no sistēmas, un jūs nevarēsiet šo saturu atjaunot. Vai tiešām vēlaties pilnībā izdzēst šo vienību?',
+ 'recycle_bin_destroy_list' => 'Dzēšamās vienības',
+ 'recycle_bin_restore_list' => 'Atjaunojamās vienības',
+ 'recycle_bin_restore_confirm' => 'Šī darbība atjaunos dzēsto vienību, tai skaitā visus tai pakārtotos elementus, uz tās sākotnējo atrašanās vietu. Ja sākotnējā atrašanās vieta ir izdzēsta un atrodas miskastē, būs nepieciešams atjaunot arī to.',
+ 'recycle_bin_restore_deleted_parent' => 'Šo elementu saturošā vienība arī ir dzēsta. Tas paliks dzēsts līdz šī saturošā vienība arī ir atjaunota.',
+ 'recycle_bin_destroy_notification' => 'Dzēstas kopā :count vienības no miskastes.',
+ 'recycle_bin_restore_notification' => 'Atjaunotas kopā :count vienības no miskastes.',
+
+ // Audit Log
+ 'audit' => 'Auditācijas pieraksti',
+ 'audit_desc' => 'Šie auditācijas pieraksti attēlo sarakstu ar sistēmā reģistrētajām aktivitātēm. Šis saraksts nav filtrēts atšķirībā no līdzīgiem aktivitāšu sarakstiem sistēmā, kur ir piemēroti atļauto darbību filtri.',
+ 'audit_event_filter' => 'Notikumu filtrs',
+ 'audit_event_filter_no_filter' => 'Bez filtra',
+ 'audit_deleted_item' => 'Dzēsta vienība',
+ 'audit_deleted_item_name' => 'Vārds: :name',
+ 'audit_table_user' => 'Lietotājs',
+ 'audit_table_event' => 'Notikums',
+ 'audit_table_related' => 'Saistīta vienība vai detaļa',
+ 'audit_table_date' => 'Notikuma datums',
+ 'audit_date_from' => 'Datums no',
+ 'audit_date_to' => 'Datums līdz',
+
+ // Role Settings
+ 'roles' => 'Grupas',
+ 'role_user_roles' => 'Lietotāju grupas',
+ 'role_create' => 'Izveidot jaunu grupu',
+ 'role_create_success' => 'Grupa veiksmīgi izveidota',
+ 'role_delete' => 'Dzēst grupu',
+ 'role_delete_confirm' => 'Loma \':roleName\' tiks dzēsta.',
+ 'role_delete_users_assigned' => 'Šajā grupā ir pievienoti :userCount lietotāji. Ja vēlaties pārvietot lietotājus no šīs grupas, tad izvēlaties kādu no zemāk redzamajām grupām.',
+ 'role_delete_no_migration' => "Nepārvietot lietotājus",
+ 'role_delete_sure' => 'Vai tiešām vēlaties dzēst grupu?',
+ 'role_delete_success' => 'Grupa veiksmīgi dzēsta',
+ 'role_edit' => 'Rediģēt grupu',
+ 'role_details' => 'Informācija par grupu',
+ 'role_name' => 'Grupas nosaukums',
+ 'role_desc' => 'Īss grupas apaksts',
+ 'role_external_auth_id' => 'Ārējais autentifikācijas ID',
+ 'role_system' => 'Sistēmas atļaujas',
+ 'role_manage_users' => 'Pārvaldīt lietotājus',
+ 'role_manage_roles' => 'Pārvaldīt grupas un grupu atļaujas',
+ 'role_manage_entity_permissions' => 'Pārvaldīt visu grāmatu, nodaļu un lapu atļaujas',
+ 'role_manage_own_entity_permissions' => 'Pārvaldīt atļaujas savām grāmatām, nodaļām un lapām',
+ 'role_manage_page_templates' => 'Pārvaldīt lapas veidnes',
+ 'role_access_api' => 'Piekļūt sistēmas API',
+ 'role_manage_settings' => 'Pārvaldīt iestatījumus',
+ 'role_asset' => 'Resursa piekļuves tiesības',
+ 'roles_system_warning' => 'Jebkuras no trīs augstāk redzamajām atļaujām dod iespēju lietotājam mainīt savas un citu lietotāju sistēmas atļaujas. Pievieno šīs grupu atļaujas tikai tiem lietotājiem, kuriem uzticies.',
+ 'role_asset_desc' => 'Šīs piekļuves tiesības kontrolē noklusēto piekļuvi sistēmas resursiem. Grāmatām, nodaļām un lapām norādītās tiesības būs pārākas par šīm.',
+ 'role_asset_admins' => 'Administratoriem automātiski ir piekļuve visam saturam, bet šie uzstādījumi var noslēpt vai parādīt lietotāja saskarnes iespējas.',
+ 'role_all' => 'Visi',
+ 'role_own' => 'Savi',
+ 'role_controlled_by_asset' => 'Kontrolē resurss, uz ko tie ir augšupielādēti',
+ 'role_save' => 'Saglabāt grupu',
+ 'role_update_success' => 'Grupa veiksmīgi atjaunināta',
+ 'role_users' => 'Lietotāji šajā grupā',
+ 'role_users_none' => 'Pagaidām neviens lietotājs nav pievienots šai grupai',
+
+ // Users
+ 'users' => 'Lietotāji',
+ 'user_profile' => 'Lietotāja profils',
+ 'users_add_new' => 'Pievienot jaunu lietotāju',
+ 'users_search' => 'Meklēt lietotājus',
+ 'users_latest_activity' => 'Pēdējās aktivitātes',
+ 'users_details' => 'Lietotāja informācija',
+ 'users_details_desc' => 'Uzstādīt attēlojamo vārdu un epast adresi šim lietotājam. Epasta adresi varēs izmantot, lai piekļūtu aplikācijai.',
+ 'users_details_desc_no_email' => 'Uzstādiet attēlojamu vārdu šim lietotājam, lai citi varētu viņu atpazīt.',
+ 'users_role' => 'Lietotāju grupas',
+ 'users_role_desc' => 'Izvēlēties kurām grupām pievienot lietotāju. Ja lietotājs ir pievienots vairākām grupām, tad lietotājam būs pieejamas visu grupu atļaujas.',
+ 'users_password' => 'Lietotāja parole',
+ 'users_password_desc' => 'Uzstādiet paroli, ar ko piekļūt aplikācijai. Tai jābūt vismaz 6 simbolus garai.',
+ 'users_send_invite_text' => 'Jūs varat izvēlētes vai nosūtīt šim lietotājam uzaicinājuma epastu, kas ļauj tam uzstādīt savu paroli pašam, vai arī varat uzstādīt paroli tagad.',
+ 'users_send_invite_option' => 'Nosūtīt lietotāja uzaicinājuma epastu',
+ 'users_external_auth_id' => 'Ārējais autentifikācijas ID',
+ 'users_external_auth_id_desc' => 'Šis ir identifikators, kas tiks izmantots, lai atpazītu lietotāju, sazinoaties ar jūsu ārējo autentifikācijas sistēmu.',
+ 'users_password_warning' => 'Aizpildiet tikai tad, ja vēlaties mainīt savu paroli.',
+ 'users_system_public' => 'Šis lietotājs apzīmē visus viesus, kas apmeklēs jūsu lapu. To nevar izmantot lapas piekļuvei un tas tiek norādīts automātiski.',
+ 'users_delete' => 'Dzēst lietotāju',
+ 'users_delete_named' => 'Dzēst lietotāju :userName',
+ 'users_delete_warning' => 'Šī darbība pilnībā izdzēsīs lietotāju \':userName\' no sistēmas.',
+ 'users_delete_confirm' => 'Vai tiešām vēlaties dzēst šo lietotāju?',
+ 'users_migrate_ownership' => 'Pārcelt īpašumtiesības',
+ 'users_migrate_ownership_desc' => 'Izvēlieties lietotāju, ja vēlaties citam lietotājam pārcelt pašlaik šim lietotājam piederošās vienības.',
+ 'users_none_selected' => 'Nav izvēlēts lietotājs',
+ 'users_delete_success' => 'Lietotājs veiksmīgi dzēsts',
+ 'users_edit' => 'Rediģēt lietotāju',
+ 'users_edit_profile' => 'Rediģēt profilu',
+ 'users_edit_success' => 'Lietotājs veiksmīgi atjaunināts',
+ 'users_avatar' => 'Lietotāja attēls',
+ 'users_avatar_desc' => 'Izvēlieties attēlu šim lietotājam. Tam vajadzētu būt apmēram 256px kvadrātam.',
+ 'users_preferred_language' => 'Vēlamā valoda',
+ 'users_preferred_language_desc' => 'Šis uzstādījums nomainīs valodu, kas izmantota aplikācijas lietotāja saskarnē. Tas neietekmēs neko no lietotāju radītā satura.',
+ 'users_social_accounts' => 'Sociālie konti',
+ 'users_social_accounts_info' => 'Te jūs varat pieslēgt citus kontus ātrākai un ērtākai piekļuvei. Konta atvienošana no šejienes neatceļ šai aplikācijai dotās tiesības šī konta piekļuvei. Atvienojtiet piekļuvi arī no jūsu profila uzstādījumiem pievienotajā sociālajā kontā.',
+ 'users_social_connect' => 'Pievienot kontu',
+ 'users_social_disconnect' => 'Atvienot kontu',
+ 'users_social_connected' => ':socialAccount konts veiksmīgi pieslēgts jūsu profilam.',
+ 'users_social_disconnected' => ':socialAccount konts veiksmīgi atslēgts no jūsu profila.',
+ 'users_api_tokens' => 'API žetoni',
+ 'users_api_tokens_none' => 'Šim lietotājam nav izveidotu API žetonu',
+ 'users_api_tokens_create' => 'Izveidot žetonu',
+ 'users_api_tokens_expires' => 'Derīguma termiņš',
+ 'users_api_tokens_docs' => 'API dokumentācija',
+
+ // API Tokens
+ 'user_api_token_create' => 'Izveidot API žetonu',
+ 'user_api_token_name' => 'Vārds',
+ 'user_api_token_name_desc' => 'Uzstādiet nolasāmu nosaukumu savam žetonam, lai nākotnē atgadinātu par tā pielietojumu.',
+ 'user_api_token_expiry' => 'Derīgs līdz',
+ 'user_api_token_expiry_desc' => 'Uzstādiet datumu, kad beidzas žetona derīguma termiņš. Pieprasījumi, kas veikti pēc šī datuma ar šo žetonu vairs nedarbosies. Atstājot lauku tukšu, tiks uzstādīts derīguma termiņš 100 gadu nākotnē.',
+ 'user_api_token_create_secret_message' => 'Uzreiz pēc žetona izveidošanas tiks parādīts žetona ID un žetona noslēpums. Šis noslēpums tiks attēlots tikai vienreiz, tāpēc pārliecinieties, ka tā vērtība ir nokopēta uz kādu citu drošu vietu pirms turpināšanas.',
+ 'user_api_token_create_success' => 'API žetons veiksmīgi izveidots',
+ 'user_api_token_update_success' => 'API žetons veiksmīgi atjaunināts',
+ 'user_api_token' => 'API žetons',
+ 'user_api_token_id' => 'Žetona ID',
+ 'user_api_token_id_desc' => 'Šis ir neizmaināms sistēmas ģenerēts identifikators šim žetonam, kas būs jānorāda API pieprasījumos.',
+ 'user_api_token_secret' => 'Žetona noslēpums',
+ 'user_api_token_secret_desc' => 'Šis ir sistēmas ģenerēts noslēpums šim žetonam, ko būs nepieciešams norādīt API pieprasījumos. Tas tiks attēlots tikai vienu reizi, tāpēc nokopējiet to uz kādu citu drošu vietu.',
+ 'user_api_token_created' => 'Žetons izveidots :timeAgo',
+ 'user_api_token_updated' => 'Žetons atjaunināts :timeAgo',
+ 'user_api_token_delete' => 'Dzēst žetonu',
+ 'user_api_token_delete_warning' => 'Šī darbība pilnībā izdzēsīs API žetonu \':tokenName\' no sistēmas.',
+ 'user_api_token_delete_confirm' => 'Vai tiešām vēlaties dzēst šo API žetonu?',
+ 'user_api_token_delete_success' => 'API žetons veiksmīgi dzēsts',
+
+ //! If editing translations files directly please ignore this in all
+ //! languages apart from en. Content will be auto-copied from en.
+ //!////////////////////////////////
+ 'language_select' => [
+ 'en' => 'English',
+ 'ar' => 'العربية',
+ 'bg' => 'Bǎlgarski',
+ 'bs' => 'Bosanski',
+ 'ca' => 'Katalāņu',
+ 'cs' => 'Česky',
+ 'da' => 'Dansk',
+ 'de' => 'Deutsch (Sie)',
+ 'de_informal' => 'Deutsch (Du)',
+ 'es' => 'Español',
+ 'es_AR' => 'Español Argentina',
+ 'fr' => 'Français',
+ 'he' => 'עברית',
+ 'hr' => 'Hrvatski',
+ 'hu' => 'Magyar',
+ 'id' => 'Bahasa Indonesia',
+ 'it' => 'Italian',
+ 'ja' => '日本語',
+ 'ko' => '한국어',
+ 'lv' => 'Latviešu Valoda',
+ 'nl' => 'Nederlands',
+ 'nb' => 'Norsk (Bokmål)',
+ 'pl' => 'Polski',
+ 'pt' => 'Português',
+ 'pt_BR' => 'Português do Brasil',
+ 'ru' => 'Русский',
+ 'sk' => 'Slovensky',
+ 'sl' => 'Slovenščina',
+ 'sv' => 'Svenska',
+ 'tr' => 'Türkçe',
+ 'uk' => 'Українська',
+ 'vi' => 'Tiếng Việt',
+ 'zh_CN' => '简体中文',
+ 'zh_TW' => '繁體中文',
+ ]
+ //!////////////////////////////////
+];
--- /dev/null
+<?php
+/**
+ * Validation Lines
+ * The following language lines contain the default error messages used by
+ * the validator class. Some of these rules have multiple versions such
+ * as the size rules. Feel free to tweak each of these messages here.
+ */
+return [
+
+ // Standard laravel validation lines
+ 'accepted' => ':attribute ir jāapstiprina.',
+ 'active_url' => ':attribute nav derīgs URL.',
+ 'after' => ':attribute ir jābūt datumam pēc :date.',
+ 'alpha' => ':attribute var saturēt tikai burtus.',
+ 'alpha_dash' => ':attribute var saturēt tikai burtus, ciparus, domuzīmes un apakš svītras.',
+ 'alpha_num' => ':attribute var saturēt tikai burtus un ciparus.',
+ 'array' => ':attribute ir jābūt masīvam.',
+ 'before' => ':attribute jābūt datumam pirms :date.',
+ 'between' => [
+ 'numeric' => ':attribute jābūt starp :min un :max.',
+ 'file' => ':attribute jābūt starp :min un :max kilobaitiem.',
+ 'string' => ':attribute jābūt starp :min un :max rakstzīmēm.',
+ 'array' => 'Atribūtam jābūt starp: min un: max vienumiem.',
+ ],
+ 'boolean' => ':attribute jābūt True vai False.',
+ 'confirmed' => ':attribute apstiprinājums nesakrīt.',
+ 'date' => ':attribute nav derīgs datums.',
+ 'date_format' => ':attribute neatbilst formātam :format.',
+ 'different' => ':attribute un :other jābūt atšķirīgiem.',
+ 'digits' => ':attribute jābūt :digits cipariem.',
+ 'digits_between' => ':attribute jābūt starp :min un :max cipariem.',
+ 'email' => ':attribute jābūt derīgai e-pasta adresei.',
+ 'ends_with' => ':attribute jābeidzas ar vienu no :values',
+ 'filled' => ':attribute lauks ir obligāts.',
+ 'gt' => [
+ 'numeric' => ':attribute jābūt lielākam kā :value.',
+ 'file' => ':attribute jābūt lielākam kā :value kilobaitiem.',
+ 'string' => ':attribute jābūt lielākam kā :value rakstzīmēm.',
+ 'array' => ':attribute jāsatur vairāk kā :value vienības.',
+ ],
+ 'gte' => [
+ 'numeric' => ':attribute jābūt lielākam vai vienādam ar :value.',
+ 'file' => ':attribute jābūt lielākam vai vienādam ar :value kilobaitiem.',
+ 'string' => ':attribute jābūt lielākam vai vienādam ar :value rakstzīmēm.',
+ 'array' => ':attribute jāsatur :value vai vairāk vienumus.',
+ ],
+ 'exists' => 'Izvēlētais :attribute ir nederīgs.',
+ 'image' => ':attribute jābūt attēlam.',
+ 'image_extension' => ':attribute jābūt derīgam un atbalstītam bildes paplašinājumam.',
+ 'in' => 'Iezīmētais :attribute ir nederīgs.',
+ 'integer' => ':attribute ir jābūt veselam skaitlim.',
+ 'ip' => ':attribute jābūt derīgai IP adresei.',
+ 'ipv4' => ':attribute jābūt derīgai IPv4 adresei.',
+ 'ipv6' => ':attribute jābūt derīgai IPv6 adresei.',
+ 'json' => ':attribute jābūt derīgai JSON virknei.',
+ 'lt' => [
+ 'numeric' => ':attribute jābūt mazākam par :value.',
+ 'file' => ':attribute jābūt mazāk kā :value kilobaitiem.',
+ 'string' => ':attribute jābūt mazāk kā :value rakstzīmēm.',
+ 'array' => ':attribute jāsatur mazāk kā :value vienības.',
+ ],
+ 'lte' => [
+ 'numeric' => ':attribute jābūt mazākam vai vienādam ar :value.',
+ 'file' => ':attribute jābūt mazākam vai vienādam ar :value kilobaitiem.',
+ 'string' => ':attribute jābūt mazākam vai vienādam ar :value rakstzīmēm.',
+ 'array' => ':attribute nedrīkst pārsniegt :value vienības.',
+ ],
+ 'max' => [
+ 'numeric' => ':attribute nevar būt lielāks kā :max.',
+ 'file' => ':attribute nedrīkst būt lielāks kā :max kilobaiti.',
+ 'string' => ':attribute nedrīkst būt lielāks kā :max rakstzīmēm.',
+ 'array' => ':attribute nedrīkst būt lielāks kā :max vienumi.',
+ ],
+ 'mimes' => ':attribute jābūt faila tipam: :values.',
+ 'min' => [
+ 'numeric' => ':attribute ir jābūt vismaz :min.',
+ 'file' => ':attribute jābūt vismaz :min kilobaitiem.',
+ 'string' => ':attribute ir jābūt vismaz :min rakstzīmēm.',
+ 'array' => ':attribute ir jābūt vismaz :min vienībām.',
+ ],
+ 'not_in' => 'Izvēlētais: atribūts ir nederīgs.',
+ 'not_regex' => ':attribute formāts nav derīgs.',
+ 'numeric' => ':attribute ir jābūt skaitlim.',
+ 'regex' => ':attribute formāts nav derīgs.',
+ 'required' => ':attribute lauks ir obligāts.',
+ 'required_if' => ':attribute lauks ir nepieciešams, kad :other ir :value.',
+ 'required_with' => ':attribute lauks ir obligāts, ja ir :values.',
+ 'required_with_all' => ':attribute lauks ir obligāts, ja ir :values.',
+ 'required_without' => ':attribute lauks ir obligāts, ja nav :values.',
+ 'required_without_all' => ':attribute lauks ir obligāts, ja nav neviena no :values.',
+ 'same' => ':attribute un :other jāsakrīt.',
+ 'safe_url' => 'Norādītā saite var būt nedroša.',
+ 'size' => [
+ 'numeric' => ':attribute ir jābūt :size.',
+ 'file' => ':attribute jābūt :size kilobaiti.',
+ 'string' => ':attribute jābūt :size rakstzīmēm.',
+ 'array' => ':attribute jāsatur :size vienības.',
+ ],
+ 'string' => ':attribute jābūt teksta virknei.',
+ 'timezone' => ':attribute jābūt derīgai zonai.',
+ 'unique' => ':attribute jau ir aizņemts.',
+ 'url' => ':attribute formāts nav derīgs.',
+ 'uploaded' => 'Fails netika ielādēts. Serveris nevar pieņemt šāda izmēra failus.',
+
+ // Custom validation lines
+ 'custom' => [
+ 'password-confirm' => [
+ 'required_with' => 'Nepieciešams paroles apstiprinājums',
+ ],
+ ],
+
+ // Custom validation attributes
+ 'attributes' => [],
+];
--- /dev/null
+<?php
+/**
+ * Activity text strings.
+ * Is used for all the text within activity logs & notifications.
+ */
+return [
+
+ // Pages
+ 'page_create' => 'opprettet side',
+ 'page_create_notification' => 'Siden ble opprettet',
+ 'page_update' => 'oppdaterte side',
+ 'page_update_notification' => 'Siden ble oppdatert',
+ 'page_delete' => 'slettet side',
+ 'page_delete_notification' => 'Siden ble slettet',
+ 'page_restore' => 'gjenopprettet side',
+ 'page_restore_notification' => 'Siden ble gjenopprettet',
+ 'page_move' => 'flyttet side',
+
+ // Chapters
+ 'chapter_create' => 'opprettet kapittel',
+ 'chapter_create_notification' => 'Kapittelet ble opprettet',
+ 'chapter_update' => 'oppdaterte kapittel',
+ 'chapter_update_notification' => 'Kapittelet ble oppdatert',
+ 'chapter_delete' => 'slettet kapittel',
+ 'chapter_delete_notification' => 'Kapittelet ble slettet',
+ 'chapter_move' => 'flyttet kapittel
+ ',
+
+ // Books
+ 'book_create' => 'opprettet bok',
+ 'book_create_notification' => 'Boken ble opprettet',
+ 'book_update' => 'oppdaterte bok',
+ 'book_update_notification' => 'Boken ble oppdatert',
+ 'book_delete' => 'slettet bok',
+ 'book_delete_notification' => 'Boken ble slettet',
+ 'book_sort' => 'sorterte bok',
+ 'book_sort_notification' => 'Boken ble omsortert',
+
+ // Bookshelves
+ 'bookshelf_create' => 'opprettet bokhylle',
+ 'bookshelf_create_notification' => 'Bokhyllen ble opprettet',
+ 'bookshelf_update' => 'oppdaterte bokhylle',
+ 'bookshelf_update_notification' => 'Bokhyllen ble oppdatert',
+ 'bookshelf_delete' => 'slettet bokhylle',
+ 'bookshelf_delete_notification' => 'Bokhyllen ble slettet',
+
+ // Favourites
+ 'favourite_add_notification' => '":name" has been added to your favourites',
+ 'favourite_remove_notification' => '":name" has been removed from your favourites',
+
+ // Other
+ 'commented_on' => 'kommenterte på',
+ 'permissions_update' => 'oppdaterte tilganger',
+];
--- /dev/null
+<?php
+/**
+ * Authentication Language Lines
+ * The following language lines are used during authentication for various
+ * messages that we need to display to the user.
+ */
+return [
+
+ 'failed' => 'Disse detaljene samsvarer ikke med det vi har på bok.',
+ 'throttle' => 'For mange forsøk, prøv igjen om :seconds sekunder.',
+
+ // Login & Register
+ 'sign_up' => 'Registrer deg',
+ 'log_in' => 'Logg inn',
+ 'log_in_with' => 'Logg inn med :socialDriver',
+ 'sign_up_with' => 'Registrer med :socialDriver',
+ 'logout' => 'Logg ut',
+
+ 'name' => 'Navn',
+ 'username' => 'Brukernavn',
+ 'email' => 'E-post',
+ 'password' => 'Passord',
+ 'password_confirm' => 'Bekreft passord',
+ 'password_hint' => 'Må inneholde 7 tegn',
+ 'forgot_password' => 'Glemt passord?',
+ 'remember_me' => 'Husk meg',
+ 'ldap_email_hint' => 'Oppgi en e-post for denne kontoen.',
+ 'create_account' => 'Opprett konto',
+ 'already_have_account' => 'Har du allerede en konto?',
+ 'dont_have_account' => 'Mangler du en konto?',
+ 'social_login' => 'Sosiale kontoer',
+ 'social_registration' => 'Registrer via sosiale kontoer',
+ 'social_registration_text' => 'Bruk en annen tjeneste for å registrere deg.',
+
+ 'register_thanks' => 'Takk for at du registrerte deg!',
+ 'register_confirm' => 'Sjekk e-posten din for informasjon som gir deg tilgang til :appName.',
+ 'registrations_disabled' => 'Registrering er deaktivert.',
+ 'registration_email_domain_invalid' => 'Du kan ikke bruke det domenet for å registrere en konto.',
+ 'register_success' => 'Takk for registreringen! Du kan nå logge inn på tjenesten.',
+
+
+ // Password Reset
+ 'reset_password' => 'Nullstille passord',
+ 'reset_password_send_instructions' => 'Oppgi e-posten som er koblet til kontoen din, så sender vi en epost hvor du kan nullstille passordet.',
+ 'reset_password_send_button' => 'Send nullstillingslenke',
+ 'reset_password_sent' => 'En nullstillingslenke ble sendt til :email om den eksisterer i systemet.',
+ 'reset_password_success' => 'Passordet ble nullstilt.',
+ 'email_reset_subject' => 'Nullstill ditt :appName passord',
+ 'email_reset_text' => 'Du mottar denne eposten fordi det er blitt bedt om en nullstilling av passord på denne kontoen.',
+ 'email_reset_not_requested' => 'Om det ikke var deg, så trenger du ikke foreta deg noe.',
+
+
+ // Email Confirmation
+ 'email_confirm_subject' => 'Bekreft epost-adressen for :appName',
+ 'email_confirm_greeting' => 'Takk for at du registrerte deg for :appName!',
+ 'email_confirm_text' => 'Bekreft e-posten din ved å trykke på knappen nedenfor:',
+ 'email_confirm_action' => 'Bekreft e-post',
+ 'email_confirm_send_error' => 'Bekreftelse er krevd av systemet, men systemet kan ikke sende disse. Kontakt admin for å løse problemet.',
+ 'email_confirm_success' => 'E-posten din er bekreftet!',
+ 'email_confirm_resent' => 'Bekreftelsespost ble sendt, sjekk innboksen din.',
+
+ 'email_not_confirmed' => 'E-posten er ikke bekreftet.',
+ 'email_not_confirmed_text' => 'Epost-adressen er ennå ikke bekreftet.',
+ 'email_not_confirmed_click_link' => 'Trykk på lenken i e-posten du fikk vedrørende din registrering.',
+ 'email_not_confirmed_resend' => 'Om du ikke finner den i innboksen eller søppelboksen, kan du få tilsendt ny ved å trykke på knappen under.',
+ 'email_not_confirmed_resend_button' => 'Send bekreftelsespost på nytt',
+
+ // User Invite
+ 'user_invite_email_subject' => 'Du har blitt invitert til :appName!',
+ 'user_invite_email_greeting' => 'En konto har blitt opprettet for deg på :appName.',
+ 'user_invite_email_text' => 'Trykk på knappen under for å opprette et sikkert passord:',
+ 'user_invite_email_action' => 'Angi passord',
+ 'user_invite_page_welcome' => 'Velkommen til :appName!',
+ 'user_invite_page_text' => 'For å fullføre prosessen må du oppgi et passord som sikrer din konto på :appName for fremtidige besøk.',
+ 'user_invite_page_confirm_button' => 'Bekreft passord',
+ 'user_invite_success' => 'Passordet er angitt, du kan nå bruke :appName!'
+];
\ No newline at end of file
--- /dev/null
+<?php
+/**
+ * Common elements found throughout many areas of BookStack.
+ */
+return [
+
+ // Buttons
+ 'cancel' => 'Avbryt',
+ 'confirm' => 'Bekreft',
+ 'back' => 'Tilbake',
+ 'save' => 'Lagre',
+ 'continue' => 'Fortsett',
+ 'select' => 'Velg',
+ 'toggle_all' => 'Bytt alle',
+ 'more' => 'Mer',
+
+ // Form Labels
+ 'name' => 'Navn',
+ 'description' => 'Beskrivelse',
+ 'role' => 'Rolle',
+ 'cover_image' => 'Bokomslag',
+ 'cover_image_description' => 'Bildet bør være ca. 440x250px.',
+
+ // Actions
+ 'actions' => 'Handlinger',
+ 'view' => 'Vis',
+ 'view_all' => 'Vis alle',
+ 'create' => 'Opprett',
+ 'update' => 'Oppdater',
+ 'edit' => 'Rediger',
+ 'sort' => 'Sorter',
+ 'move' => 'Flytt',
+ 'copy' => 'Kopier',
+ 'reply' => 'Svar',
+ 'delete' => 'Slett',
+ 'delete_confirm' => 'Bekreft sletting',
+ 'search' => 'Søk',
+ 'search_clear' => 'Nullstill søk',
+ 'reset' => 'Nullstill',
+ 'remove' => 'Fjern',
+ 'add' => 'Legg til',
+ 'fullscreen' => 'Fullskjerm',
+ 'favourite' => 'Favourite',
+ 'unfavourite' => 'Unfavourite',
+ 'next' => 'Next',
+ 'previous' => 'Previous',
+
+ // Sort Options
+ 'sort_options' => 'Sorteringsalternativer',
+ 'sort_direction_toggle' => 'Sorteringsretning',
+ 'sort_ascending' => 'Stigende sortering',
+ 'sort_descending' => 'Synkende sortering',
+ 'sort_name' => 'Navn',
+ 'sort_default' => 'Default',
+ 'sort_created_at' => 'Dato opprettet',
+ 'sort_updated_at' => 'Dato oppdatert',
+
+ // Misc
+ 'deleted_user' => 'Slett bruker',
+ 'no_activity' => 'Ingen aktivitet å vise',
+ 'no_items' => 'Ingen ting å vise',
+ 'back_to_top' => 'Hopp til toppen',
+ 'toggle_details' => 'Vis/skjul detaljer',
+ 'toggle_thumbnails' => 'Vis/skjul miniatyrbilder',
+ 'details' => 'Detaljer',
+ 'grid_view' => 'Rutenettvisning',
+ 'list_view' => 'Listevisning',
+ 'default' => 'Standard',
+ 'breadcrumb' => 'Brødsmuler',
+
+ // Header
+ 'header_menu_expand' => 'Expand Header Menu',
+ 'profile_menu' => 'Profilmeny',
+ 'view_profile' => 'Vis profil',
+ 'edit_profile' => 'Endre Profile',
+ 'dark_mode' => 'Kveldsmodus',
+ 'light_mode' => 'Dagmodus',
+
+ // Layout tabs
+ 'tab_info' => 'Informasjon',
+ 'tab_info_label' => 'Tab: Show Secondary Information',
+ 'tab_content' => 'Innhold',
+ 'tab_content_label' => 'Tab: Show Primary Content',
+
+ // Email Content
+ 'email_action_help' => 'Om du har problemer med å trykke på «:actionText»-knappen, bruk nettadressen under for å gå direkte dit:',
+ 'email_rights' => 'Kopibeskyttet',
+
+ // Footer Link Options
+ // Not directly used but available for convenience to users.
+ 'privacy_policy' => 'Privacy Policy',
+ 'terms_of_service' => 'Terms of Service',
+];
--- /dev/null
+<?php
+/**
+ * Text used in custom JavaScript driven components.
+ */
+return [
+
+ // Image Manager
+ 'image_select' => 'Velg bilde',
+ 'image_all' => 'Alle',
+ 'image_all_title' => 'Vis alle bilder',
+ 'image_book_title' => 'Vis bilder som er lastet opp i denne boken',
+ 'image_page_title' => 'Vis bilder lastet opp til denne siden',
+ 'image_search_hint' => 'Søk på bilder etter navn',
+ 'image_uploaded' => 'Opplastet :uploadedDate',
+ 'image_load_more' => 'Last in flere',
+ 'image_image_name' => 'Bildenavn',
+ 'image_delete_used' => 'Dette bildet er brukt på sidene nedenfor.',
+ 'image_delete_confirm_text' => 'Vil du slette dette bildet?',
+ 'image_select_image' => 'Velg bilde',
+ 'image_dropzone' => 'Dra og slipp eller trykk her for å laste opp bilder',
+ 'images_deleted' => 'Bilder slettet',
+ 'image_preview' => 'Hurtigvisning av bilder',
+ 'image_upload_success' => 'Bilde ble lastet opp',
+ 'image_update_success' => 'Bildedetaljer ble oppdatert',
+ 'image_delete_success' => 'Bilde ble slettet',
+ 'image_upload_remove' => 'Fjern',
+
+ // Code Editor
+ 'code_editor' => 'Endre kode',
+ 'code_language' => 'Kodespråk',
+ 'code_content' => 'Kodeinnhold',
+ 'code_session_history' => 'Sesjonshistorikk',
+ 'code_save' => 'Lagre kode',
+];
--- /dev/null
+<?php
+/**
+ * Text used for 'Entities' (Document Structure Elements) such as
+ * Books, Shelves, Chapters & Pages
+ */
+return [
+
+ // Shared
+ 'recently_created' => 'Nylig opprettet',
+ 'recently_created_pages' => 'Nylig opprettede sider',
+ 'recently_updated_pages' => 'Nylig oppdaterte sider',
+ 'recently_created_chapters' => 'Nylig opprettede kapitler',
+ 'recently_created_books' => 'Nylig opprettede bøker',
+ 'recently_created_shelves' => 'Nylig opprettede bokhyller',
+ 'recently_update' => 'Nylig oppdatert',
+ 'recently_viewed' => 'Nylig vist',
+ 'recent_activity' => 'Nylig aktivitet',
+ 'create_now' => 'Opprett en nå',
+ 'revisions' => 'Revisjoner',
+ 'meta_revision' => 'Revisjon #:revisionCount',
+ 'meta_created' => 'Opprettet :timeLength',
+ 'meta_created_name' => 'Opprettet :timeLength av :user',
+ 'meta_updated' => 'Oppdatert :timeLength',
+ 'meta_updated_name' => 'Oppdatert :timeLength av :user',
+ 'meta_owned_name' => 'Eies av :user',
+ 'entity_select' => 'Velg entitet',
+ 'images' => 'Bilder',
+ 'my_recent_drafts' => 'Mine nylige utkast',
+ 'my_recently_viewed' => 'Mine nylige visninger',
+ 'my_most_viewed_favourites' => 'My Most Viewed Favourites',
+ 'my_favourites' => 'My Favourites',
+ 'no_pages_viewed' => 'Du har ikke sett på noen sider',
+ 'no_pages_recently_created' => 'Ingen sider har nylig blitt opprettet',
+ 'no_pages_recently_updated' => 'Ingen sider har nylig blitt oppdatert',
+ 'export' => 'Eksporter',
+ 'export_html' => 'Nettside med alt',
+ 'export_pdf' => 'PDF Fil',
+ 'export_text' => 'Tekstfil',
+
+ // Permissions and restrictions
+ 'permissions' => 'Tilganger',
+ 'permissions_intro' => 'Når disse er tillatt, vil disse tillatelsene ha prioritet over alle angitte rolletillatelser.',
+ 'permissions_enable' => 'Aktiver egendefinerte tillatelser',
+ 'permissions_save' => 'Lagre tillatelser',
+ 'permissions_owner' => 'Eier',
+
+ // Search
+ 'search_results' => 'Søkeresultater',
+ 'search_total_results_found' => ':count resultater funnet|:count totalt',
+ 'search_clear' => 'Nullstill søk',
+ 'search_no_pages' => 'Ingen sider passer med søket',
+ 'search_for_term' => 'Søk etter :term',
+ 'search_more' => 'Flere resultater',
+ 'search_advanced' => 'Avansert søk',
+ 'search_terms' => 'Søkeord',
+ 'search_content_type' => 'Innholdstype',
+ 'search_exact_matches' => 'Eksakte ord',
+ 'search_tags' => 'Søk på merker',
+ 'search_options' => 'ALternativer',
+ 'search_viewed_by_me' => 'Sett av meg',
+ 'search_not_viewed_by_me' => 'Ikke sett av meg',
+ 'search_permissions_set' => 'Tilganger er angitt',
+ 'search_created_by_me' => 'Opprettet av meg',
+ 'search_updated_by_me' => 'Oppdatert av meg',
+ 'search_owned_by_me' => 'Owned by me',
+ 'search_date_options' => 'Datoalternativer',
+ 'search_updated_before' => 'Oppdatert før',
+ 'search_updated_after' => 'Oppdatert etter',
+ 'search_created_before' => 'Opprettet før',
+ 'search_created_after' => 'Opprettet etter',
+ 'search_set_date' => 'Angi dato',
+ 'search_update' => 'Oppdater søk',
+
+ // Shelves
+ 'shelf' => 'Hylle',
+ 'shelves' => 'Hyller',
+ 'x_shelves' => ':count hylle|:count hyller',
+ 'shelves_long' => 'Bokhyller',
+ 'shelves_empty' => 'Ingen bokhyller er opprettet',
+ 'shelves_create' => 'Opprett ny bokhylle',
+ 'shelves_popular' => 'Populære bokhyller',
+ 'shelves_new' => 'Nye bokhyller',
+ 'shelves_new_action' => 'Ny bokhylle',
+ 'shelves_popular_empty' => 'De mest populære bokhyllene blir vist her.',
+ 'shelves_new_empty' => 'Nylig opprettede bokhyller vises her.',
+ 'shelves_save' => 'Lagre hylle',
+ 'shelves_books' => 'Bøker på denne hyllen',
+ 'shelves_add_books' => 'Legg til bøker på denne hyllen',
+ 'shelves_drag_books' => 'Dra bøker hit for å stable dem i denne hylla',
+ 'shelves_empty_contents' => 'INgen bøker er stablet i denne hylla',
+ 'shelves_edit_and_assign' => 'Endre hylla for å legge til bøker',
+ 'shelves_edit_named' => 'Endre hyllen :name',
+ 'shelves_edit' => 'Endre bokhylle',
+ 'shelves_delete' => 'Fjern bokhylle',
+ 'shelves_delete_named' => 'Fjern bokhyllen :name',
+ 'shelves_delete_explain' => "Dette vil fjerne bokhyllen ':name'. Bøkene vil ikke fjernes fra systemet.",
+ 'shelves_delete_confirmation' => 'Er du helt sikker på at du vil skru ned hylla?',
+ 'shelves_permissions' => 'Tilganger til hylla',
+ 'shelves_permissions_updated' => 'Hyllas tilganger er oppdatert',
+ 'shelves_permissions_active' => 'Hyllas tilganger er aktive',
+ 'shelves_copy_permissions_to_books' => 'Kopier tilganger til bøkene på hylla',
+ 'shelves_copy_permissions' => 'Kopier tilganger',
+ 'shelves_copy_permissions_explain' => 'Dette vil angi gjeldende tillatelsesinnstillinger for denne bokhyllen på alle bøkene som finnes på den. Før du aktiverer, må du forsikre deg om at endringer i tillatelsene til denne bokhyllen er lagret.',
+ 'shelves_copy_permission_success' => 'Tilgangene ble overført til :count bøker',
+
+ // Books
+ 'book' => 'Bok',
+ 'books' => 'Bøker',
+ 'x_books' => ':count bok|:count bøker',
+ 'books_empty' => 'Ingen bøker er skrevet',
+ 'books_popular' => 'Populære bøker',
+ 'books_recent' => 'Nylige bøker',
+ 'books_new' => 'Nye bøker',
+ 'books_new_action' => 'Ny bok',
+ 'books_popular_empty' => 'De mest populære bøkene',
+ 'books_new_empty' => 'Siste utgivelser vises her.',
+ 'books_create' => 'Skriv ny bok',
+ 'books_delete' => 'Brenn bok',
+ 'books_delete_named' => 'Brenn boken :bookName',
+ 'books_delete_explain' => 'Dette vil brenne boken «:bookName». Alle sider i boken vil fordufte for godt.',
+ 'books_delete_confirmation' => 'Er du sikker på at du vil brenne boken?',
+ 'books_edit' => 'Endre bok',
+ 'books_edit_named' => 'Endre boken :bookName',
+ 'books_form_book_name' => 'Boktittel',
+ 'books_save' => 'Lagre bok',
+ 'books_permissions' => 'Boktilganger',
+ 'books_permissions_updated' => 'Boktilganger oppdatert',
+ 'books_empty_contents' => 'Ingen sider eller kapitler finnes i denne boken.',
+ 'books_empty_create_page' => 'Skriv en ny side',
+ 'books_empty_sort_current_book' => 'Sorter innholdet i boken',
+ 'books_empty_add_chapter' => 'Start på nytt kapittel',
+ 'books_permissions_active' => 'Boktilganger er aktive',
+ 'books_search_this' => 'Søk i boken',
+ 'books_navigation' => 'Boknavigasjon',
+ 'books_sort' => 'Sorter bokinnhold',
+ 'books_sort_named' => 'Sorter boken :bookName',
+ 'books_sort_name' => 'Sorter på navn',
+ 'books_sort_created' => 'Sorter på opprettet dato',
+ 'books_sort_updated' => 'Sorter på oppdatert dato',
+ 'books_sort_chapters_first' => 'Kapitler først',
+ 'books_sort_chapters_last' => 'Kapitler sist',
+ 'books_sort_show_other' => 'Vis andre bøker',
+ 'books_sort_save' => 'Lagre sortering',
+
+ // Chapters
+ 'chapter' => 'Kapittel',
+ 'chapters' => 'Kapitler',
+ 'x_chapters' => ':count Kapittel|:count Kapitler',
+ 'chapters_popular' => 'Populære kapittler',
+ 'chapters_new' => 'Nytt kapittel',
+ 'chapters_create' => 'Skriv nytt kapittel',
+ 'chapters_delete' => 'Riv ut kapittel',
+ 'chapters_delete_named' => 'Riv ut kapittelet :chapterName',
+ 'chapters_delete_explain' => 'Du ønsker å rive ut kapittelet «:chapterName». Alle sidene vil bli flyttet ut av kapittelet og vil ligge direkte i boka.',
+ 'chapters_delete_confirm' => 'Er du sikker på at du vil rive ut dette kapittelet?',
+ 'chapters_edit' => 'Endre kapittel',
+ 'chapters_edit_named' => 'Endre kapittelet :chapterName',
+ 'chapters_save' => 'Lagre kapittel',
+ 'chapters_move' => 'Flytt kapittel',
+ 'chapters_move_named' => 'Flytt kapittelet :chapterName',
+ 'chapter_move_success' => 'Kapittelet ble flyttet til :bookName',
+ 'chapters_permissions' => 'Kapitteltilganger',
+ 'chapters_empty' => 'Det finnes ingen sider i dette kapittelet.',
+ 'chapters_permissions_active' => 'Kapitteltilganger er aktivert',
+ 'chapters_permissions_success' => 'Kapitteltilgager er oppdatert',
+ 'chapters_search_this' => 'Søk i dette kapittelet',
+
+ // Pages
+ 'page' => 'Side',
+ 'pages' => 'Sider',
+ 'x_pages' => ':count side|:count sider',
+ 'pages_popular' => 'Populære sider',
+ 'pages_new' => 'Ny side',
+ 'pages_attachments' => 'Vedlegg',
+ 'pages_navigation' => 'Sidenavigasjon',
+ 'pages_delete' => 'Riv ut side',
+ 'pages_delete_named' => 'Riv ut siden :pageName',
+ 'pages_delete_draft_named' => 'Kast sideutkast :pageName',
+ 'pages_delete_draft' => 'Kast sideutkast',
+ 'pages_delete_success' => 'Siden er revet ut',
+ 'pages_delete_draft_success' => 'Sideutkast er kastet',
+ 'pages_delete_confirm' => 'Er du sikker på at du vil rive ut siden?',
+ 'pages_delete_draft_confirm' => 'Er du sikker på at du vil forkaste utkastet?',
+ 'pages_editing_named' => 'Endrer :pageName',
+ 'pages_edit_draft_options' => 'Utkastsalternativer',
+ 'pages_edit_save_draft' => 'Lagre utkast',
+ 'pages_edit_draft' => 'Endre utkast',
+ 'pages_editing_draft' => 'Redigerer utkast',
+ 'pages_editing_page' => 'Redigerer side',
+ 'pages_edit_draft_save_at' => 'Ukast lagret under ',
+ 'pages_edit_delete_draft' => 'Forkast utkast',
+ 'pages_edit_discard_draft' => 'Gi opp utkast',
+ 'pages_edit_set_changelog' => 'Angi endringslogg',
+ 'pages_edit_enter_changelog_desc' => 'Gi en kort beskrivelse av endringene dine',
+ 'pages_edit_enter_changelog' => 'Se endringslogg',
+ 'pages_save' => 'Lagre side',
+ 'pages_title' => 'Sidetittel',
+ 'pages_name' => 'Sidenavn',
+ 'pages_md_editor' => 'Tekstbehandler',
+ 'pages_md_preview' => 'Forhåndsvisning',
+ 'pages_md_insert_image' => 'Lim inn bilde',
+ 'pages_md_insert_link' => 'Lim in lenke',
+ 'pages_md_insert_drawing' => 'Lim inn tegning',
+ 'pages_not_in_chapter' => 'Siden tilhører ingen kapittel',
+ 'pages_move' => 'Flytt side',
+ 'pages_move_success' => 'Siden ble flyttet til ":parentName"',
+ 'pages_copy' => 'Kopier side',
+ 'pages_copy_desination' => 'Destinasjon',
+ 'pages_copy_success' => 'Siden ble flyttet',
+ 'pages_permissions' => 'Sidetilganger',
+ 'pages_permissions_success' => 'Sidens tilganger ble endret',
+ 'pages_revision' => 'Revisjon',
+ 'pages_revisions' => 'Sidens revisjoner',
+ 'pages_revisions_named' => 'Revisjoner for :pageName',
+ 'pages_revision_named' => 'Revisjoner for :pageName',
+ 'pages_revision_restored_from' => 'Gjenopprettet fra #:id; :summary',
+ 'pages_revisions_created_by' => 'Skrevet av',
+ 'pages_revisions_date' => 'Revideringsdato',
+ 'pages_revisions_number' => '#',
+ 'pages_revisions_numbered' => 'Revisjon #:id',
+ 'pages_revisions_numbered_changes' => 'Endringer på revisjon #:id',
+ 'pages_revisions_changelog' => 'Endringslogg',
+ 'pages_revisions_changes' => 'Endringer',
+ 'pages_revisions_current' => 'Siste versjon',
+ 'pages_revisions_preview' => 'Forhåndsvisning',
+ 'pages_revisions_restore' => 'Gjenopprett',
+ 'pages_revisions_none' => 'Denne siden har ingen revisjoner',
+ 'pages_copy_link' => 'Kopier lenke',
+ 'pages_edit_content_link' => 'Endre innhold',
+ 'pages_permissions_active' => 'Sidetilganger er aktive',
+ 'pages_initial_revision' => 'Første publisering',
+ 'pages_initial_name' => 'Ny side',
+ 'pages_editing_draft_notification' => 'Du skriver på et utkast som sist ble lagret :timeDiff.',
+ 'pages_draft_edited_notification' => 'Siden har blitt endret siden du startet. Det anbefales at du forkaster dine endringer.',
+ 'pages_draft_edit_active' => [
+ 'start_a' => ':count forfattere har begynt å endre denne siden.',
+ 'start_b' => ':userName skriver på siden for øyeblikket',
+ 'time_a' => 'siden sist siden ble oppdatert',
+ 'time_b' => 'i løpet av de siste :minCount minuttene',
+ 'message' => ':start :time. Prøv å ikke overskriv hverandres endringer!',
+ ],
+ 'pages_draft_discarded' => 'Forkastet, viser nå siste endringer fra siden slik den er lagret.',
+ 'pages_specific' => 'Bestemt side',
+ 'pages_is_template' => 'Sidemal',
+
+ // Editor Sidebar
+ 'page_tags' => 'Sidemerker',
+ 'chapter_tags' => 'Kapittelmerker',
+ 'book_tags' => 'Bokmerker',
+ 'shelf_tags' => 'Hyllemerker',
+ 'tag' => 'Merke',
+ 'tags' => 'Merker',
+ 'tag_name' => 'Merketittel',
+ 'tag_value' => 'Merkeverdi (Valgfritt)',
+ 'tags_explain' => "Legg til merker for å kategorisere innholdet ditt. \n Du kan legge til merkeverdier for å beskrive dem ytterligere.",
+ 'tags_add' => 'Legg til flere merker',
+ 'tags_remove' => 'Fjern merke',
+ 'attachments' => 'Vedlegg',
+ 'attachments_explain' => 'Last opp vedlegg eller legg til lenker for å berike innholdet. Disse vil vises i sidestolpen på siden.',
+ 'attachments_explain_instant_save' => 'Endringer her blir lagret med en gang.',
+ 'attachments_items' => 'Vedlegg',
+ 'attachments_upload' => 'Last opp vedlegg',
+ 'attachments_link' => 'Fest lenke',
+ 'attachments_set_link' => 'Angi lenke',
+ 'attachments_delete' => 'Er du sikker på at du vil fjerne vedlegget?',
+ 'attachments_dropzone' => 'Dra og slipp eller trykk her for å feste vedlegg',
+ 'attachments_no_files' => 'Ingen vedlegg er lastet opp',
+ 'attachments_explain_link' => 'Du kan feste lenker til denne. Det kan være henvisning til andre sider, bøker etc. eller lenker fra nettet.',
+ 'attachments_link_name' => 'Lenkenavn',
+ 'attachment_link' => 'Vedleggslenke',
+ 'attachments_link_url' => 'Lenke til vedlegg',
+ 'attachments_link_url_hint' => 'Adresse til lenke eller vedlegg',
+ 'attach' => 'Fest',
+ 'attachments_insert_link' => 'Fest vedleggslenke',
+ 'attachments_edit_file' => 'Endre vedlegg',
+ 'attachments_edit_file_name' => 'Vedleggsnavn',
+ 'attachments_edit_drop_upload' => 'Dra og slipp eller trykk her for å oppdatere eller overskrive',
+ 'attachments_order_updated' => 'Vedleggssortering endret',
+ 'attachments_updated_success' => 'Vedleggsdetaljer endret',
+ 'attachments_deleted' => 'Vedlegg fjernet',
+ 'attachments_file_uploaded' => 'Vedlegg ble lastet opp',
+ 'attachments_file_updated' => 'Vedlegget ble oppdatert',
+ 'attachments_link_attached' => 'Lenken ble festet til siden',
+ 'templates' => 'Maler',
+ 'templates_set_as_template' => 'Siden er en mal',
+ 'templates_explain_set_as_template' => 'Du kan angi denne siden som en mal slik at innholdet kan brukes når du oppretter andre sider. Andre brukere vil kunne bruke denne malen hvis de har visningstillatelser for denne siden.',
+ 'templates_replace_content' => 'Bytt sideinnhold',
+ 'templates_append_content' => 'Legg til neders på siden',
+ 'templates_prepend_content' => 'Legg til øverst på siden',
+
+ // Profile View
+ 'profile_user_for_x' => 'Medlem i :time',
+ 'profile_created_content' => 'Har skrevet',
+ 'profile_not_created_pages' => ':userName har ikke forfattet noen sider',
+ 'profile_not_created_chapters' => ':userName har ikke opprettet noen kapitler',
+ 'profile_not_created_books' => ':userName har ikke laget noen bøker',
+ 'profile_not_created_shelves' => ':userName har ikke hengt opp noen hyller',
+
+ // Comments
+ 'comment' => 'Kommentar',
+ 'comments' => 'Kommentarer',
+ 'comment_add' => 'Skriv kommentar',
+ 'comment_placeholder' => 'Skriv en kommentar her',
+ 'comment_count' => '{0} Ingen kommentarer|{1} 1 kommentar|[2,*] :count kommentarer',
+ 'comment_save' => 'Publiser kommentar',
+ 'comment_saving' => 'Publiserer ...',
+ 'comment_deleting' => 'Fjerner...',
+ 'comment_new' => 'Ny kommentar',
+ 'comment_created' => 'kommenterte :createDiff',
+ 'comment_updated' => 'Oppdatert :updateDiff av :username',
+ 'comment_deleted_success' => 'Kommentar fjernet',
+ 'comment_created_success' => 'Kommentar skrevet',
+ 'comment_updated_success' => 'Kommentar endret',
+ 'comment_delete_confirm' => 'Er du sikker på at du vil fjerne kommentaren?',
+ 'comment_in_reply_to' => 'Som svar til :commentId',
+
+ // Revision
+ 'revision_delete_confirm' => 'Vil du slette revisjonen?',
+ 'revision_restore_confirm' => 'Vil du gjenopprette revisjonen? Innholdet på siden vil bli overskrevet med denne revisjonen.',
+ 'revision_delete_success' => 'Revisjonen ble slettet',
+ 'revision_cannot_delete_latest' => 'CKan ikke slette siste revisjon.'
+];
--- /dev/null
+<?php
+/**
+ * Text shown in error messaging.
+ */
+return [
+
+ // Permissions
+ 'permission' => 'Du har ikke tilgang til å se denne siden.',
+ 'permissionJson' => 'Du har ikke tilgang til å utføre denne handlingen.',
+
+ // Auth
+ 'error_user_exists_different_creds' => 'En konto med :email finnes allerede, men har andre detaljer.',
+ 'email_already_confirmed' => 'E-posten er allerede bekreftet, du kan forsøke å logge inn.',
+ 'email_confirmation_invalid' => 'Denne bekreftelseskoden er allerede benyttet eller utgått. Prøv å registrere på nytt.',
+ 'email_confirmation_expired' => 'Bekreftelseskoden er allerede utgått, en ny e-post er sendt.',
+ 'email_confirmation_awaiting' => 'Du må bekrefte e-posten for denne kontoen.',
+ 'ldap_fail_anonymous' => 'LDAP kan ikke benyttes med anonym tilgang for denne tjeneren.',
+ 'ldap_fail_authed' => 'LDAP tilgang feilet med angitt DN',
+ 'ldap_extension_not_installed' => 'LDAP PHP modulen er ikke installert.',
+ 'ldap_cannot_connect' => 'Klarer ikke koble til LDAP på denne adressen',
+ 'saml_already_logged_in' => 'Allerede logget inn',
+ 'saml_user_not_registered' => 'Kontoen med navn :name er ikke registert, registrering er også deaktivert.',
+ 'saml_no_email_address' => 'Denne kontoinformasjonen finnes ikke i det eksterne autentiseringssystemet.',
+ 'saml_invalid_response_id' => 'Forespørselen fra det eksterne autentiseringssystemet gjenkjennes ikke av en prosess som startes av dette programmet. Å navigere tilbake etter pålogging kan forårsake dette problemet.',
+ 'saml_fail_authed' => 'Innlogging gjennom :system feilet. Fikk ikke kontakt med autentiseringstjeneren.',
+ 'social_no_action_defined' => 'Ingen handlinger er definert',
+ 'social_login_bad_response' => "Feilmelding mottat fra :socialAccount innloggingstjeneste: \n:error",
+ 'social_account_in_use' => 'Denne :socialAccount kontoen er allerede registrert, Prøv å logge inn med :socialAccount alternativet.',
+ 'social_account_email_in_use' => 'E-posten :email er allerede i bruk. Har du allerede en konto hos :socialAccount kan dette angis fra profilsiden din.',
+ 'social_account_existing' => 'Denne :socialAccount er allerede koblet til din konto.',
+ 'social_account_already_used_existing' => 'Denne :socialAccount kontoen brukes allerede av noen andre.',
+ 'social_account_not_used' => 'Denne :socialAccount konten er ikke koblet til noen konto, angi denne i profilinnstillingene dine. ',
+ 'social_account_register_instructions' => 'Har du ikke en konto her ennå, kan du benytte :socialAccount alternativet for å registrere deg.',
+ 'social_driver_not_found' => 'Autentiseringstjeneste fra sosiale medier er ikke installert',
+ 'social_driver_not_configured' => 'Dine :socialAccount innstilliner er ikke angitt.',
+ 'invite_token_expired' => 'Invitasjonslenken har utgått, du kan forsøke å be om nytt passord istede.',
+
+ // System
+ 'path_not_writable' => 'Filstien :filePath aksepterer ikke filer, du må sjekke filstitilganger i systemet.',
+ 'cannot_get_image_from_url' => 'Kan ikke hente bilde fra :url',
+ 'cannot_create_thumbs' => 'Kan ikke opprette miniatyrbilder. GD PHP er ikke installert.',
+ 'server_upload_limit' => 'Vedlegget er for stort, forsøk med et mindre vedlegg.',
+ 'uploaded' => 'Tjenesten aksepterer ikke vedlegg som er så stor.',
+ 'image_upload_error' => 'Bildet kunne ikke lastes opp, forsøk igjen.',
+ 'image_upload_type_error' => 'Bildeformatet støttes ikke, forsøk med et annet format.',
+ 'file_upload_timeout' => 'Opplastingen gikk ut på tid.',
+
+ // Attachments
+ 'attachment_not_found' => 'Vedlegget ble ikke funnet',
+
+ // Pages
+ 'page_draft_autosave_fail' => 'Kunne ikke lagre utkastet, forsikre deg om at du er tilkoblet tjeneren (Har du nettilgang?)',
+ 'page_custom_home_deletion' => 'Kan ikke slette en side som er satt som forside.',
+
+ // Entities
+ 'entity_not_found' => 'Entitet ble ikke funnet',
+ 'bookshelf_not_found' => 'Bokhyllen ble ikke funnet',
+ 'book_not_found' => 'Boken ble ikke funnet',
+ 'page_not_found' => 'Siden ble ikke funnet',
+ 'chapter_not_found' => 'Kapittel ble ikke funnet',
+ 'selected_book_not_found' => 'Den valgte boken eksisterer ikke',
+ 'selected_book_chapter_not_found' => 'Den valgte boken eller kapittelet eksisterer ikke',
+ 'guests_cannot_save_drafts' => 'Gjester kan ikke lagre utkast',
+
+ // Users
+ 'users_cannot_delete_only_admin' => 'Du kan ikke kaste ut den eneste administratoren',
+ 'users_cannot_delete_guest' => 'Du kan ikke slette gjestebrukeren (Du kan deaktivere offentlig visning istede)',
+
+ // Roles
+ 'role_cannot_be_edited' => 'Denne rollen kan ikke endres',
+ 'role_system_cannot_be_deleted' => 'Denne systemrollen kan ikke slettes',
+ 'role_registration_default_cannot_delete' => 'Du kan ikke slette en rolle som er satt som registreringsrolle (rollen nye kontoer får når de registrerer seg)',
+ 'role_cannot_remove_only_admin' => 'Denne brukeren er den eneste brukeren som er tildelt administratorrollen. Tilordne administratorrollen til en annen bruker før du prøver å fjerne den her.',
+
+ // Comments
+ 'comment_list' => 'Det oppstod en feil under henting av kommentarene.',
+ 'cannot_add_comment_to_draft' => 'Du kan ikke legge til kommentarer i et utkast.',
+ 'comment_add' => 'Det oppsto en feil da kommentaren skulle legges til / oppdateres.',
+ 'comment_delete' => 'Det oppstod en feil under sletting av kommentaren.',
+ 'empty_comment' => 'Kan ikke legge til en tom kommentar.',
+
+ // Error pages
+ '404_page_not_found' => 'Siden finnes ikke',
+ 'sorry_page_not_found' => 'Beklager, siden du leter etter ble ikke funnet.',
+ 'sorry_page_not_found_permission_warning' => 'Hvis du forventet at denne siden skulle eksistere, har du kanskje ikke tillatelse til å se den.',
+ 'image_not_found' => 'Image Not Found',
+ 'image_not_found_subtitle' => 'Sorry, The image file you were looking for could not be found.',
+ 'image_not_found_details' => 'If you expected this image to exist it might have been deleted.',
+ 'return_home' => 'Gå til hovedside',
+ 'error_occurred' => 'En feil oppsto',
+ 'app_down' => ':appName er nede for øyeblikket',
+ 'back_soon' => 'Den vil snart komme tilbake.',
+
+ // API errors
+ 'api_no_authorization_found' => 'Ingen autorisasjonstoken ble funnet på forespørselen',
+ 'api_bad_authorization_format' => 'Det ble funnet et autorisasjonstoken på forespørselen, men formatet virket feil',
+ 'api_user_token_not_found' => 'Ingen samsvarende API-token ble funnet for det angitte autorisasjonstokenet',
+ 'api_incorrect_token_secret' => 'Hemmeligheten som er gitt for det gitte brukte API-tokenet er feil',
+ 'api_user_no_api_permission' => 'Eieren av det brukte API-tokenet har ikke tillatelse til å ringe API-samtaler',
+ 'api_user_token_expired' => 'Autorisasjonstokenet som er brukt, har utløpt',
+
+ // Settings & Maintenance
+ 'maintenance_test_email_failure' => 'Feil kastet når du sendte en test-e-post:',
+
+];
--- /dev/null
+<?php
+/**
+ * Pagination Language Lines
+ * The following language lines are used by the paginator library to build
+ * the simple pagination links.
+ */
+return [
+
+ 'previous' => '« Forrige',
+ 'next' => 'Neste »',
+
+];
--- /dev/null
+<?php
+/**
+ * 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.
+ */
+return [
+
+ 'password' => 'Passord må inneholde minst åtte tegn og samsvarer med bekreftelsen.',
+ 'user' => "Vi finner ikke en bruker med den e-postadressen.",
+ 'token' => 'Passordet for tilbakestilling av passord er ugyldig for denne e-postadressen.',
+ 'sent' => 'Vi har sendt e-postadressen til tilbakestilling av passordet ditt!',
+ 'reset' => 'Passordet ditt har blitt tilbakestilt!',
+
+];
--- /dev/null
+<?php
+/**
+ * Settings text strings
+ * Contains all text strings used in the general settings sections of BookStack
+ * including users and roles.
+ */
+return [
+
+ // Common Messages
+ 'settings' => 'Innstillinger',
+ 'settings_save' => 'Lagre innstillinger',
+ 'settings_save_success' => 'Innstillinger lagret',
+
+ // App Settings
+ 'app_customization' => 'Tilpassing',
+ 'app_features_security' => 'Funksjoner og sikkerhet',
+ 'app_name' => 'Applikasjonsnavn',
+ 'app_name_desc' => 'Dette navnet vises i overskriften og i alle e-postmeldinger som sendes av systemet.',
+ 'app_name_header' => 'Vis navn i topptekst',
+ 'app_public_access' => 'Offentlig tilgang',
+ 'app_public_access_desc' => 'Hvis du aktiverer dette alternativet, kan besøkende, som ikke er logget på, få tilgang til innhold i din BookStack-forekomst.',
+ 'app_public_access_desc_guest' => 'Tilgang for offentlige besøkende kan kontrolleres gjennom "Gjest" -brukeren.',
+ 'app_public_access_toggle' => 'Tillat offentlig tilgang',
+ 'app_public_viewing' => 'Tillat offentlig visning?',
+ 'app_secure_images' => 'Høyere sikkerhet på bildeopplastinger',
+ 'app_secure_images_toggle' => 'Enable høyere sikkerhet på bildeopplastinger',
+ 'app_secure_images_desc' => 'Av ytelsesgrunner er alle bilder offentlige. Dette alternativet legger til en tilfeldig streng som er vanskelig å gjette foran bildets nettadresser. Forsikre deg om at katalogindekser ikke er aktivert for å forhindre enkel tilgang.',
+ 'app_editor' => 'Tekstbehandler',
+ 'app_editor_desc' => 'Velg hvilken tekstbehandler som skal brukes av alle brukere til å redigere sider.',
+ 'app_custom_html' => 'Tilpasset HTML-hodeinnhold',
+ 'app_custom_html_desc' => 'Alt innhold som legges til her, blir satt inn i bunnen av <head> -delen på hver side. Dette er praktisk for å overstyre stiler eller legge til analysekode.',
+ 'app_custom_html_disabled_notice' => 'Tilpasset HTML-hodeinnhold er deaktivert på denne innstillingssiden for å sikre at eventuelle endringer ødelegger noe, kan tilbakestilles.',
+ 'app_logo' => 'Applikasjonslogo',
+ 'app_logo_desc' => 'Dette bildet skal være 43 px høyt. <br> Store bilder blir nedskalert.',
+ 'app_primary_color' => 'Applikasjonens primærfarge',
+ 'app_primary_color_desc' => 'Angir primærfargen for applikasjonen inkludert banner, knapper og lenker.',
+ 'app_homepage' => 'Applikasjonens hjemmeside',
+ 'app_homepage_desc' => 'Velg en visning som skal vises på hjemmesiden i stedet for standardvisningen. Sidetillatelser ignoreres for utvalgte sider.',
+ 'app_homepage_select' => 'Velg en side',
+ 'app_footer_links' => 'Footer Links',
+ 'app_footer_links_desc' => 'Add links to show within the site footer. These will be displayed at the bottom of most pages, including those that do not require login. You can use a label of "trans::<key>" to use system-defined translations. For example: Using "trans::common.privacy_policy" will provide the translated text "Privacy Policy" and "trans::common.terms_of_service" will provide the translated text "Terms of Service".',
+ 'app_footer_links_label' => 'Link Label',
+ 'app_footer_links_url' => 'Link URL',
+ 'app_footer_links_add' => 'Add Footer Link',
+ 'app_disable_comments' => 'Deaktiver kommentarer',
+ 'app_disable_comments_toggle' => 'Deaktiver kommentarer',
+ 'app_disable_comments_desc' => 'Deaktiver kommentarer på tvers av alle sidene i applikasjonen. <br> Eksisterende kommentarer vises ikke.',
+
+ // Color settings
+ 'content_colors' => 'Innholdsfarger',
+ 'content_colors_desc' => 'Angir farger for alle elementene i sideorganisasjonshierarkiet. Det anbefales å lese farger med en lignende lysstyrke som standardfargene for lesbarhet.',
+ 'bookshelf_color' => 'Hyllefarge',
+ 'book_color' => 'Bokfarge',
+ 'chapter_color' => 'Kapittelfarge',
+ 'page_color' => 'Sidefarge',
+ 'page_draft_color' => 'Sideutkastsfarge',
+
+ // Registration Settings
+ 'reg_settings' => 'Registrering',
+ 'reg_enable' => 'Tillat registrering',
+ 'reg_enable_toggle' => 'Tillat registrering',
+ 'reg_enable_desc' => 'Når registrering er aktivert vil brukeren kunne registrere seg som applikasjonsbruker. Ved registrering får de en standard brukerrolle.',
+ 'reg_default_role' => 'Standard brukerrolle etter registrering',
+ 'reg_enable_external_warning' => 'Alternativet ovenfor ignoreres mens ekstern LDAP- eller SAML-autentisering er aktiv. Brukerkontoer for ikke-eksisterende medlemmer blir automatisk opprettet hvis autentisering mot det eksterne systemet i bruk lykkes.',
+ 'reg_email_confirmation' => 'E-postbekreftelse',
+ 'reg_email_confirmation_toggle' => 'Krev e-postbekreftelse',
+ 'reg_confirm_email_desc' => 'Hvis domenebegrensning brukes, vil e-postbekreftelse være nødvendig, og dette alternativet vil bli ignorert.',
+ 'reg_confirm_restrict_domain' => 'Domenebegrensning',
+ 'reg_confirm_restrict_domain_desc' => 'Skriv inn en kommaseparert liste over e-postdomener du vil begrense registreringen til. Brukerne vil bli sendt en e-post for å bekrefte adressen deres før de får lov til å kommunisere med applikasjonen. <br> Vær oppmerksom på at brukere vil kunne endre e-postadressene sine etter vellykket registrering.',
+ 'reg_confirm_restrict_domain_placeholder' => 'Ingen begrensninger er satt',
+
+ // Maintenance settings
+ 'maint' => 'Vedlikehold',
+ 'maint_image_cleanup' => 'Bildeopprydding',
+ 'maint_image_cleanup_desc' => "Skanner side og revisjonsinnhold for å sjekke hvilke bilder og tegninger som for øyeblikket er i bruk, og hvilke bilder som er overflødige. Forsikre deg om at du lager en full database og sikkerhetskopiering av bilder før du kjører denne.",
+ 'maint_delete_images_only_in_revisions' => 'Slett også bilder som bare finnes i game siderevisjoner',
+ 'maint_image_cleanup_run' => 'Kjør opprydding',
+ 'maint_image_cleanup_warning' => ':count potensielt ubrukte bilder ble funnet. Er du sikker på at du vil slette disse bildene?',
+ 'maint_image_cleanup_success' => ':count potensielt ubrukte bilder funnet og slettet!',
+ 'maint_image_cleanup_nothing_found' => 'Ingen ubrukte bilder funnet, ingenting slettet!',
+ 'maint_send_test_email' => 'Send en test-e-post',
+ 'maint_send_test_email_desc' => 'Dette sender en test-e-post til din e-postadresse som er angitt i profilen din.',
+ 'maint_send_test_email_run' => 'Send en test-e-post',
+ 'maint_send_test_email_success' => 'Send en test-e-post til :address',
+ 'maint_send_test_email_mail_subject' => 'Test-e-post',
+ 'maint_send_test_email_mail_greeting' => 'E-postsending ser ut til å fungere!',
+ 'maint_send_test_email_mail_text' => 'Gratulerer! Da du mottok dette e-postvarselet, ser det ut til at e-postinnstillingene dine er konfigurert riktig.',
+ 'maint_recycle_bin_desc' => 'Slettede hyller, bøker, kapitler og sider kastes i papirkurven så de kan bli gjenopprettet eller slettet permanent. Eldre utgaver i papirkurven kan slettes automatisk etter en stund, avhengig av systemkonfigurasjonen.',
+ 'maint_recycle_bin_open' => 'Åpne papirkurven',
+
+ // Recycle Bin
+ 'recycle_bin' => 'Papirkurven',
+ 'recycle_bin_desc' => 'Her kan du gjenopprette ting du har kastet i papirkurven eller velge å slette dem permanent fra systemet. Denne listen er ikke filtrert i motsetning til lignende lister i systemet hvor tilgangskontroll overholdes.',
+ 'recycle_bin_deleted_item' => 'Kastet element',
+ 'recycle_bin_deleted_by' => 'Kastet av',
+ 'recycle_bin_deleted_at' => 'Kastet den',
+ 'recycle_bin_permanently_delete' => 'Slett permanent',
+ 'recycle_bin_restore' => 'Gjenopprett',
+ 'recycle_bin_contents_empty' => 'Papirkurven er for øyeblikket tom',
+ 'recycle_bin_empty' => 'Tøm papirkurven',
+ 'recycle_bin_empty_confirm' => 'Dette vil slette alle elementene i papirkurven permanent. Dette inkluderer innhold i hvert element. Er du sikker på at du vil tømme papirkurven?',
+ 'recycle_bin_destroy_confirm' => 'Denne handlingen vil permanent slette dette elementet og alle dets underelementer fra systemet, som beskrevet nedenfor. Du vil ikke kunne gjenopprette dette innholdet med mindre du har en tidligere sikkerhetskopi av databasen. Er du sikker på at du vil fortsette?',
+ 'recycle_bin_destroy_list' => 'Elementer som skal slettes',
+ 'recycle_bin_restore_list' => 'Elementer som skal gjenopprettes',
+ 'recycle_bin_restore_confirm' => 'Denne handlingen vil hente opp elementet fra papirkurven, inkludert underliggende innhold, til sin opprinnelige sted. Om den opprinnelige plassen har blitt slettet i mellomtiden og nå befinner seg i papirkurven, vil også dette bli hentet opp igjen.',
+ 'recycle_bin_restore_deleted_parent' => 'Det overordnede elementet var også kastet i papirkurven. Disse elementene vil forbli kastet inntil det overordnede også hentes opp igjen.',
+ 'recycle_bin_destroy_notification' => 'Slettet :count elementer fra papirkurven.',
+ 'recycle_bin_restore_notification' => 'Gjenopprettet :count elementer fra papirkurven.',
+
+ // Audit Log
+ 'audit' => 'Revisjonslogg',
+ 'audit_desc' => 'Denne revisjonsloggen viser en liste over aktiviteter som spores i systemet. Denne listen er ufiltrert i motsetning til lignende aktivitetslister i systemet der tillatelsesfiltre brukes.',
+ 'audit_event_filter' => 'Hendelsesfilter',
+ 'audit_event_filter_no_filter' => 'Ingen filter',
+ 'audit_deleted_item' => 'Slettet ting',
+ 'audit_deleted_item_name' => 'Navn: :name',
+ 'audit_table_user' => 'Kontoholder',
+ 'audit_table_event' => 'Hendelse',
+ 'audit_table_related' => 'Relaterte elementer eller detaljer',
+ 'audit_table_date' => 'Aktivitetsdato',
+ 'audit_date_from' => 'Datoperiode fra',
+ 'audit_date_to' => 'Datoperiode til',
+
+ // Role Settings
+ 'roles' => 'Roller',
+ 'role_user_roles' => 'Kontoroller',
+ 'role_create' => 'Opprett ny rolle',
+ 'role_create_success' => 'Rolle opprettet',
+ 'role_delete' => 'Rolle slettet',
+ 'role_delete_confirm' => 'Dette vil slette rollen «:roleName».',
+ 'role_delete_users_assigned' => 'Denne rollen har :userCount kontoer koblet opp mot seg. Velg hvilke rolle du vil flytte disse til.',
+ 'role_delete_no_migration' => "Ikke flytt kontoer",
+ 'role_delete_sure' => 'Er du sikker på at du vil slette rollen?',
+ 'role_delete_success' => 'Rollen ble slettet',
+ 'role_edit' => 'Endre rolle',
+ 'role_details' => 'Rolledetaljer',
+ 'role_name' => 'Rollenavn',
+ 'role_desc' => 'Kort beskrivelse av rolle',
+ 'role_external_auth_id' => 'Ekstern godkjennings-ID',
+ 'role_system' => 'Systemtilganger',
+ 'role_manage_users' => 'Behandle kontoer',
+ 'role_manage_roles' => 'Behandle roller og rolletilganger',
+ 'role_manage_entity_permissions' => 'Behandle bok-, kapittel- og sidetilganger',
+ 'role_manage_own_entity_permissions' => 'Behandle tilganger på egne verk',
+ 'role_manage_page_templates' => 'Behandle sidemaler',
+ 'role_access_api' => 'Systemtilgang API',
+ 'role_manage_settings' => 'Behandle applikasjonsinnstillinger',
+ 'role_asset' => 'Eiendomstillatelser',
+ 'roles_system_warning' => 'Vær oppmerksom på at tilgang til noen av de ovennevnte tre tillatelsene kan tillate en bruker å endre sine egne rettigheter eller rettighetene til andre i systemet. Bare tildel roller med disse tillatelsene til pålitelige brukere.',
+ 'role_asset_desc' => 'Disse tillatelsene kontrollerer standard tilgang til eiendelene i systemet. Tillatelser til bøker, kapitler og sider overstyrer disse tillatelsene.',
+ 'role_asset_admins' => 'Administratorer får automatisk tilgang til alt innhold, men disse alternativene kan vise eller skjule UI-alternativer.',
+ 'role_all' => 'Alle',
+ 'role_own' => 'Egne',
+ 'role_controlled_by_asset' => 'Kontrollert av eiendelen de er lastet opp til',
+ 'role_save' => 'Lagre rolle',
+ 'role_update_success' => 'Rollen ble oppdatert',
+ 'role_users' => 'Kontoholdere med denne rollen',
+ 'role_users_none' => 'Ingen kontoholdere er gitt denne rollen',
+
+ // Users
+ 'users' => 'Brukere',
+ 'user_profile' => 'Profil',
+ 'users_add_new' => 'Register ny konto',
+ 'users_search' => 'Søk i kontoer',
+ 'users_latest_activity' => 'Siste aktivitet',
+ 'users_details' => 'Kontodetaljer',
+ 'users_details_desc' => 'Angi et visningsnavn og en e-postadresse for denne kontoholderen. E-postadressen vil bli brukt til å logge på applikasjonen.',
+ 'users_details_desc_no_email' => 'Angi et visningsnavn for denne kontoholderen slik at andre kan gjenkjenne dem.',
+ 'users_role' => 'Roller',
+ 'users_role_desc' => 'Velg hvilke roller denne kontoholderen vil bli tildelt. Hvis en kontoholderen er tildelt flere roller, vil tillatelsene fra disse rollene stable seg, og de vil motta alle evnene til de tildelte rollene.',
+ 'users_password' => 'Passord',
+ 'users_password_desc' => 'Angi et passord som brukes til å logge på applikasjonen. Dette må bestå av minst 6 tegn.',
+ 'users_send_invite_text' => 'Du kan velge å sende denne kontoholderen en invitasjons-e-post som lar dem angi sitt eget passord, ellers kan du selv angi passordet.',
+ 'users_send_invite_option' => 'Send invitasjonsmelding',
+ 'users_external_auth_id' => 'Ekstern godkjennings-ID',
+ 'users_external_auth_id_desc' => 'Dette er ID-en som brukes til å matche denne kontoholderen når de kommuniserer med det eksterne autentiseringssystemet.',
+ 'users_password_warning' => 'Fyll bare ut nedenfor hvis du vil endre passordet ditt.',
+ 'users_system_public' => 'Denne brukeren representerer alle gjester som besøker appliaksjonen din. Den kan ikke brukes til å logge på, men tildeles automatisk.',
+ 'users_delete' => 'Slett konto',
+ 'users_delete_named' => 'Slett kontoen :userName',
+ 'users_delete_warning' => 'Dette vil fullstendig slette denne brukeren med navnet «:userName» fra systemet.',
+ 'users_delete_confirm' => 'Er du sikker på at du vil slette denne kontoen?',
+ 'users_migrate_ownership' => 'Overfør eierskap',
+ 'users_migrate_ownership_desc' => 'Velg en bruker her, som du ønsker skal ta eierskap over alle elementene som er eid av denne brukeren.',
+ 'users_none_selected' => 'Ingen bruker valgt',
+ 'users_delete_success' => 'Konto slettet',
+ 'users_edit' => 'Rediger konto',
+ 'users_edit_profile' => 'Rediger profil',
+ 'users_edit_success' => 'Kontoen ble oppdatert',
+ 'users_avatar' => 'Kontobilde',
+ 'users_avatar_desc' => 'Velg et bilde for å representere denne kontoholderen. Dette skal være omtrent 256px kvadrat.',
+ 'users_preferred_language' => 'Foretrukket språk',
+ 'users_preferred_language_desc' => 'Dette alternativet vil endre språket som brukes til brukergrensesnittet til applikasjonen. Dette påvirker ikke noe brukeropprettet innhold.',
+ 'users_social_accounts' => 'Sosiale kontoer',
+ 'users_social_accounts_info' => 'Her kan du koble andre kontoer for raskere og enklere pålogging. Hvis du frakobler en konto her, tilbakekaller ikke dette tidligere autorisert tilgang. Tilbakekall tilgang fra profilinnstillingene dine på den tilkoblede sosiale kontoen.',
+ 'users_social_connect' => 'Koble til konto',
+ 'users_social_disconnect' => 'Koble fra konto',
+ 'users_social_connected' => ':socialAccount ble lagt til din konto.',
+ 'users_social_disconnected' => ':socialAccount ble koblet fra din konto.',
+ 'users_api_tokens' => 'API-nøkler',
+ 'users_api_tokens_none' => 'Ingen API-nøkler finnes for denne kontoen',
+ 'users_api_tokens_create' => 'Opprett nøkkel',
+ 'users_api_tokens_expires' => 'Utløper',
+ 'users_api_tokens_docs' => 'API-dokumentasjon',
+
+ // API Tokens
+ 'user_api_token_create' => 'Opprett API-nøkkel',
+ 'user_api_token_name' => 'Navn',
+ 'user_api_token_name_desc' => 'Gi nøkkelen et lesbart navn som en fremtidig påminnelse om det tiltenkte formålet.',
+ 'user_api_token_expiry' => 'Utløpsdato',
+ 'user_api_token_expiry_desc' => 'Angi en dato da denne nøkkelen utløper. Etter denne datoen vil forespørsler som er gjort med denne nøkkelen ikke lenger fungere. Å la dette feltet stå tomt vil sette utløpsdato 100 år inn i fremtiden.',
+ 'user_api_token_create_secret_message' => 'Umiddelbart etter å ha opprettet denne nøkkelen vil en identifikator og hemmelighet bli generert og vist. Hemmeligheten vil bare vises en gang, så husk å kopiere verdien til et trygt sted før du fortsetter.',
+ 'user_api_token_create_success' => 'API-nøkkel ble opprettet',
+ 'user_api_token_update_success' => 'API-nøkkel ble oppdatert',
+ 'user_api_token' => 'API-nøkkel',
+ 'user_api_token_id' => 'Identifikator',
+ 'user_api_token_id_desc' => 'Dette er en ikke-redigerbar systemgenerert identifikator for denne nøkkelen som må oppgis i API-forespørsler.',
+ 'user_api_token_secret' => 'Hemmelighet',
+ 'user_api_token_secret_desc' => 'Dette er en systemgenerert hemmelighet for denne nøkkelen som må leveres i API-forespørsler. Dette vises bare denne gangen, så kopier denne verdien til et trygt sted.',
+ 'user_api_token_created' => 'Nøkkel opprettet :timeAgo',
+ 'user_api_token_updated' => 'Nøkkel oppdatert :timeAgo',
+ 'user_api_token_delete' => 'Slett nøkkel',
+ 'user_api_token_delete_warning' => 'Dette vil slette API-nøkkelen \':tokenName\' fra systemet.',
+ 'user_api_token_delete_confirm' => 'Sikker på at du vil slette nøkkelen?',
+ 'user_api_token_delete_success' => 'API-nøkkelen ble slettet',
+
+ //! If editing translations files directly please ignore this in all
+ //! languages apart from en. Content will be auto-copied from en.
+ //!////////////////////////////////
+ 'language_select' => [
+ 'en' => 'English',
+ 'ar' => 'العربية',
+ 'bg' => 'Bǎlgarski',
+ 'bs' => 'Bosanski',
+ 'ca' => 'Català',
+ 'cs' => 'Česky',
+ 'da' => 'Dansk',
+ 'de' => 'Deutsch (Sie)',
+ 'de_informal' => 'Deutsch (Du)',
+ 'es' => 'Español',
+ 'es_AR' => 'Español Argentina',
+ 'fr' => 'Français',
+ 'he' => 'עברית',
+ 'hr' => 'Hrvatski',
+ 'hu' => 'Magyar',
+ 'id' => 'Bahasa Indonesia',
+ 'it' => 'Italian',
+ 'ja' => '日本語',
+ 'ko' => '한국어',
+ 'lv' => 'Latviešu Valoda',
+ 'nl' => 'Nederlands',
+ 'nb' => 'Norsk (Bokmål)',
+ 'pl' => 'Polski',
+ 'pt' => 'Português',
+ 'pt_BR' => 'Português do Brasil',
+ 'ru' => 'Русский',
+ 'sk' => 'Slovensky',
+ 'sl' => 'Slovenščina',
+ 'sv' => 'Svenska',
+ 'tr' => 'Türkçe',
+ 'uk' => 'Українська',
+ 'vi' => 'Tiếng Việt',
+ 'zh_CN' => '简体中文',
+ 'zh_TW' => '繁體中文',
+ ]
+ //!////////////////////////////////
+];
--- /dev/null
+<?php
+/**
+ * Validation Lines
+ * The following language lines contain the default error messages used by
+ * the validator class. Some of these rules have multiple versions such
+ * as the size rules. Feel free to tweak each of these messages here.
+ */
+return [
+
+ // Standard laravel validation lines
+ 'accepted' => ':attribute må aksepteres.',
+ 'active_url' => ':attribute er ikke en godkjent URL.',
+ 'after' => ':attribute må være en dato etter :date.',
+ 'alpha' => ':attribute kan kun inneholde bokstaver.',
+ 'alpha_dash' => ':attribute kan kunne inneholde bokstaver, tall, bindestreker eller understreker.',
+ 'alpha_num' => ':attribute kan kun inneholde bokstaver og tall.',
+ 'array' => ':attribute må være en liste.',
+ 'before' => ':attribute må være en dato før :date.',
+ 'between' => [
+ 'numeric' => ':attribute må være mellom :min og :max.',
+ 'file' => ':attribute må være mellom :min og :max kilobytes.',
+ 'string' => ':attribute må være mellom :min og :max tegn.',
+ 'array' => ':attribute må være mellom :min og :max ting.',
+ ],
+ 'boolean' => ':attribute feltet kan bare være sann eller falsk.',
+ 'confirmed' => ':attribute bekreftelsen samsvarer ikke.',
+ 'date' => ':attribute er ikke en gyldig dato.',
+ 'date_format' => ':attribute samsvarer ikke med :format.',
+ 'different' => ':attribute og :other må være forskjellige.',
+ 'digits' => ':attribute må være :digits tall.',
+ 'digits_between' => ':attribute må være mellomg :min og :max tall.',
+ 'email' => ':attribute må være en gyldig e-post.',
+ 'ends_with' => ':attribute må slutte med en av verdiene: :values',
+ 'filled' => ':attribute feltet er påkrevd.',
+ 'gt' => [
+ 'numeric' => ':attribute må være større enn :value.',
+ 'file' => ':attribute må være større enn :value kilobytes.',
+ 'string' => ':attribute må være større enn :value tegn.',
+ 'array' => ':attribute må ha mer en :value ting.',
+ ],
+ 'gte' => [
+ 'numeric' => ':attribute må være større enn eller lik :value.',
+ 'file' => ':attribute må være større enn eller lik :value kilobytes.',
+ 'string' => ':attribute må være større enn eller lik :value tegn.',
+ 'array' => ':attribute må ha :value eller flere ting.',
+ ],
+ 'exists' => 'Den valgte :attribute er ugyldig.',
+ 'image' => ':attribute må være et bilde.',
+ 'image_extension' => ':attribute må ha støttet formattype.',
+ 'in' => 'Den valgte :attribute er ugyldig.',
+ 'integer' => ':attribute må være et heltall',
+ 'ip' => ':attribute må være en gyldig IP adresse.',
+ 'ipv4' => ':attribute må være en gyldig IPv4 adresse.',
+ 'ipv6' => ':attribute må være en gyldig IPv6 adresse.',
+ 'json' => ':attribute må være en gyldig JSON tekststreng.',
+ 'lt' => [
+ 'numeric' => ':attribute må være mindre enn :value.',
+ 'file' => ':attribute må være mindre enn :value kilobytes.',
+ 'string' => ':attribute må være mindre enn :value tegn.',
+ 'array' => ':attribute må ha mindre enn :value ting.',
+ ],
+ 'lte' => [
+ 'numeric' => ':attribute må være mindre enn eller lik :value.',
+ 'file' => ':attribute må være mindre enn eller lik :value kilobytes.',
+ 'string' => ':attribute må være mindre enn eller lik :value characters.',
+ 'array' => ':attribute må ha mindre enn eller lik :value ting.',
+ ],
+ 'max' => [
+ 'numeric' => ':attribute kan ikke være større enn :max.',
+ 'file' => ':attribute kan ikke være større enn :max kilobytes.',
+ 'string' => ':attribute kan ikke være større enn :max tegn.',
+ 'array' => ':attribute kan ikke inneholde mer enn :max ting.',
+ ],
+ 'mimes' => ':attribute må være en fil av typen: :values.',
+ 'min' => [
+ 'numeric' => ':attribute må være på minst :min.',
+ 'file' => ':attribute må være på minst :min kilobytes.',
+ 'string' => ':attribute må være på minst :min tegn.',
+ 'array' => ':attribute må minst ha :min ting.',
+ ],
+ 'not_in' => 'Den valgte :attribute er ugyldig.',
+ 'not_regex' => ':attribute format er ugyldig.',
+ 'numeric' => ':attribute må være et nummer.',
+ 'regex' => ':attribute format er ugyldig.',
+ 'required' => ':attribute feltet er påkrevt.',
+ 'required_if' => ':attribute feltet er påkrevt når :other er :value.',
+ 'required_with' => ':attribute feltet er påkrevt når :values er tilgjengelig.',
+ 'required_with_all' => ':attribute feltet er påkrevt når :values er tilgjengelig',
+ 'required_without' => ':attribute feltet er påkrevt når :values ikke er tilgjengelig.',
+ 'required_without_all' => ':attribute feltet er påkrevt når ingen av :values er tilgjengelig.',
+ 'same' => ':attribute og :other må samsvare.',
+ 'safe_url' => 'Den angitte lenken kan være farlig.',
+ 'size' => [
+ 'numeric' => ':attribute må være :size.',
+ 'file' => ':attribute må være :size kilobytes.',
+ 'string' => ':attribute må være :size tegn.',
+ 'array' => ':attribute må inneholde :size ting.',
+ ],
+ 'string' => ':attribute må være en tekststreng.',
+ 'timezone' => ':attribute må være en tidssone.',
+ 'unique' => ':attribute har allerede blitt tatt.',
+ 'url' => ':attribute format er ugyldig.',
+ 'uploaded' => 'kunne ikke lastes opp, tjeneren støtter ikke filer av denne størrelsen.',
+
+ // Custom validation lines
+ 'custom' => [
+ 'password-confirm' => [
+ 'required_with' => 'passordbekreftelse er påkrevd',
+ ],
+ ],
+
+ // Custom validation attributes
+ 'attributes' => [],
+];
// Pages
'page_create' => 'maakte pagina',
- 'page_create_notification' => 'Pagina Succesvol Aangemaakt',
- 'page_update' => 'veranderde pagina',
- 'page_update_notification' => 'Pagina Succesvol Bijgewerkt',
+ 'page_create_notification' => 'Pagina succesvol aangemaakt',
+ 'page_update' => 'wijzigde pagina',
+ 'page_update_notification' => 'Pagina succesvol bijgewerkt',
'page_delete' => 'verwijderde pagina',
- 'page_delete_notification' => 'Pagina Succesvol Verwijderd',
+ 'page_delete_notification' => 'Pagina succesvol verwijderd',
'page_restore' => 'herstelde pagina',
- 'page_restore_notification' => 'Pagina Succesvol Hersteld',
+ 'page_restore_notification' => 'Pagina succesvol hersteld',
'page_move' => 'verplaatste pagina',
// Chapters
'chapter_create' => 'maakte hoofdstuk',
- 'chapter_create_notification' => 'Hoofdstuk Succesvol Aangemaakt',
- 'chapter_update' => 'veranderde hoofdstuk',
- 'chapter_update_notification' => 'Hoofdstuk Succesvol Bijgewerkt',
+ 'chapter_create_notification' => 'Hoofdstuk succesvol aangemaakt',
+ 'chapter_update' => 'wijzigde hoofdstuk',
+ 'chapter_update_notification' => 'Hoofdstuk succesvol bijgewerkt',
'chapter_delete' => 'verwijderde hoofdstuk',
- 'chapter_delete_notification' => 'Hoofdstuk Succesvol Verwijderd',
+ 'chapter_delete_notification' => 'Hoofdstuk succesvol verwijderd',
'chapter_move' => 'verplaatste hoofdstuk',
// Books
'book_create' => 'maakte boek',
- 'book_create_notification' => 'Boek Succesvol Aangemaakt',
- 'book_update' => 'veranderde boek',
- 'book_update_notification' => 'Boek Succesvol Bijgewerkt',
+ 'book_create_notification' => 'Boek succesvol aangemaakt',
+ 'book_update' => 'wijzigde boek',
+ 'book_update_notification' => 'Boek succesvol bijgewerkt',
'book_delete' => 'verwijderde boek',
- 'book_delete_notification' => 'Boek Succesvol Verwijderd',
+ 'book_delete_notification' => 'Boek succesvol verwijderd',
'book_sort' => 'sorteerde boek',
- 'book_sort_notification' => 'Boek Succesvol Gesorteerd',
+ 'book_sort_notification' => 'Boek succesvol gesorteerd',
// Bookshelves
- 'bookshelf_create' => 'maakte Boekenplank',
- 'bookshelf_create_notification' => 'Boekenplank Succesvol Aangemaakt',
- 'bookshelf_update' => 'veranderde boekenplank',
- 'bookshelf_update_notification' => 'Boekenplank Succesvol Bijgewerkt',
+ 'bookshelf_create' => 'maakte boekenplank',
+ 'bookshelf_create_notification' => 'Boekenplank succesvol aangemaakt',
+ 'bookshelf_update' => 'wijzigde boekenplank',
+ 'bookshelf_update_notification' => 'Boekenplank succesvol bijgewerkt',
'bookshelf_delete' => 'verwijderde boekenplank',
- 'bookshelf_delete_notification' => 'Boekenplank Succesvol Verwijderd',
+ 'bookshelf_delete_notification' => 'Boekenplank succesvol verwijderd',
+
+ // Favourites
+ 'favourite_add_notification' => '":name" is toegevoegd aan je favorieten',
+ 'favourite_remove_notification' => '":name" is verwijderd uit je favorieten',
// Other
- 'commented_on' => 'reactie op',
+ 'commented_on' => 'reageerde op',
+ 'permissions_update' => 'wijzigde permissies',
];
return [
'failed' => 'Deze inloggegevens zijn niet bij ons bekend.',
- 'throttle' => 'Te veel loginpogingen! Probeer het opnieuw na :seconds seconden.',
+ 'throttle' => 'Te veel login pogingen! Probeer het opnieuw na :seconds seconden.',
// Login & Register
'sign_up' => 'Registreren',
'username' => 'Gebruikersnaam',
'email' => 'E-mail',
'password' => 'Wachtwoord',
- 'password_confirm' => 'Wachtwoord Bevestigen',
+ 'password_confirm' => 'Wachtwoord bevestigen',
'password_hint' => 'Minimaal 8 tekens',
'forgot_password' => 'Wachtwoord vergeten?',
'remember_me' => 'Mij onthouden',
- 'ldap_email_hint' => 'Geef een email op waarmee je dit account wilt gebruiken.',
- 'create_account' => 'Account Aanmaken',
+ 'ldap_email_hint' => 'Geef een emailadres op voor dit account.',
+ 'create_account' => 'Account aanmaken',
'already_have_account' => 'Heb je al een account?',
'dont_have_account' => 'Nog geen account?',
'social_login' => 'Aanmelden via een sociaal netwerk',
- 'social_registration' => 'Social Registratie',
- 'social_registration_text' => 'Registreer en log in met een andere dienst.',
+ 'social_registration' => 'Social registratie',
+ 'social_registration_text' => 'Registreer en log in met een andere service.',
'register_thanks' => 'Bedankt voor het registreren!',
'register_confirm' => 'Controleer je e-mail en bevestig je registratie om in te loggen op :appName.',
'registrations_disabled' => 'Registratie is momenteel niet mogelijk',
'registration_email_domain_invalid' => 'Dit e-maildomein is niet toegestaan',
- 'register_success' => 'Bedankt voor het inloggen. Je bent ook geregistreerd.',
+ 'register_success' => 'Bedankt voor het aanmelden! Je bent nu geregistreerd en aangemeld.',
// Password Reset
- 'reset_password' => 'Wachtwoord Herstellen',
+ 'reset_password' => 'Wachtwoord herstellen',
'reset_password_send_instructions' => 'Geef je e-mail en we sturen je een link om je wachtwoord te herstellen',
- 'reset_password_send_button' => 'Link Sturen',
+ 'reset_password_send_button' => 'Link sturen',
'reset_password_sent' => 'Een link om het wachtwoord te resetten zal verstuurd worden naar :email als dat e-mailadres in het systeem gevonden is.',
'reset_password_success' => 'Je wachtwoord is succesvol hersteld.',
'email_reset_subject' => 'Herstel je wachtwoord van :appName',
- 'email_reset_text' => 'Je ontvangt deze e-mail zodat je je wachtwoord kunt herstellen.',
- 'email_reset_not_requested' => 'Als je jouw wachtwoord niet wilt wijzigen, doe dan niets.',
+ 'email_reset_text' => 'Je ontvangt deze e-mail omdat je een wachtwoord herstel verzoek had verzonden.',
+ 'email_reset_not_requested' => 'Als je geen wachtwoord herstel hebt aangevraagd, hoef je niets te doen.',
// Email Confirmation
'email_confirm_text' => 'Bevestig je registratie door op onderstaande knop te drukken:',
'email_confirm_action' => 'Bevestig je e-mail',
'email_confirm_send_error' => 'E-mail bevestiging is vereisd maar het systeem kon geen mail verzenden. Neem contact op met de beheerder.',
- 'email_confirm_success' => 'Je e-mailadres is bevestigt!',
+ 'email_confirm_success' => 'Je e-mailadres is bevestigd!',
'email_confirm_resent' => 'De bevestigingse-mails is opnieuw verzonden. Controleer je inbox.',
- 'email_not_confirmed' => 'E-mail nog niet bevestigd',
+ 'email_not_confirmed' => 'E-mailadres nog niet bevestigd',
'email_not_confirmed_text' => 'Je e-mailadres is nog niet bevestigd.',
'email_not_confirmed_click_link' => 'Klik op de link in de e-mail die vlak na je registratie is verstuurd.',
'email_not_confirmed_resend' => 'Als je deze e-mail niet kunt vinden kun je deze met onderstaande formulier opnieuw verzenden.',
- 'email_not_confirmed_resend_button' => 'Bevestigingsmail Opnieuw Verzenden',
+ 'email_not_confirmed_resend_button' => 'Bevestigingsmail opnieuw verzenden',
// User Invite
'user_invite_email_subject' => 'Je bent uitgenodigd voor :appName!',
'save' => 'Opslaan',
'continue' => 'Doorgaan',
'select' => 'Kies',
- 'toggle_all' => 'Toggle Alles',
+ 'toggle_all' => 'Toggle alles',
'more' => 'Meer',
// Form Labels
'description' => 'Beschrijving',
'role' => 'Rol',
'cover_image' => 'Omslagfoto',
- 'cover_image_description' => 'Deze afbeelding moet ongeveer 300x170px zijn.',
+ 'cover_image_description' => 'Deze afbeelding moet ongeveer 440x250px zijn.',
// Actions
'actions' => 'Acties',
'view' => 'Bekijk',
- 'view_all' => 'Bekijk Alle',
+ 'view_all' => 'Bekijk alle',
'create' => 'Aanmaken',
'update' => 'Bijwerken',
'edit' => 'Bewerk',
'copy' => 'Kopiëren',
'reply' => 'Beantwoorden',
'delete' => 'Verwijder',
- 'delete_confirm' => 'Confirm Deletion',
+ 'delete_confirm' => 'Verwijdering bevestigen',
'search' => 'Zoek',
'search_clear' => 'Zoekopdracht wissen',
'reset' => 'Resetten',
'remove' => 'Verwijderen',
'add' => 'Toevoegen',
'fullscreen' => 'Volledig scherm',
+ 'favourite' => 'Favoriet',
+ 'unfavourite' => 'Verwijderen uit favoriet',
+ 'next' => 'Volgende',
+ 'previous' => 'Vorige',
// Sort Options
'sort_options' => 'Sorteeropties',
- 'sort_direction_toggle' => 'Sorteer richting',
+ 'sort_direction_toggle' => 'Sorteerrichting',
'sort_ascending' => 'Sorteer oplopend',
- 'sort_descending' => 'Sorteer teruglopend',
+ 'sort_descending' => 'Sorteer aflopend',
'sort_name' => 'Naam',
+ 'sort_default' => 'Standaard',
'sort_created_at' => 'Aanmaakdatum',
'sort_updated_at' => 'Gewijzigd op',
// Misc
'deleted_user' => 'Verwijderde gebruiker',
- 'no_activity' => 'Geen activiteiten',
+ 'no_activity' => 'Geen activiteit om weer te geven',
'no_items' => 'Geen items beschikbaar',
'back_to_top' => 'Terug naar boven',
- 'toggle_details' => 'Details Weergeven',
- 'toggle_thumbnails' => 'Thumbnails Weergeven',
+ 'toggle_details' => 'Details weergeven',
+ 'toggle_thumbnails' => 'Thumbnails weergeven',
'details' => 'Details',
'grid_view' => 'Grid weergave',
- 'list_view' => 'Lijst weergave',
+ 'list_view' => 'Lijstweergave',
'default' => 'Standaard',
'breadcrumb' => 'Kruimelpad',
// Header
+ 'header_menu_expand' => 'Header menu uitvouwen',
'profile_menu' => 'Profiel menu',
- 'view_profile' => 'Profiel Weergeven',
- 'edit_profile' => 'Profiel Bewerken',
- 'dark_mode' => 'Donkere Modus',
- 'light_mode' => 'Lichte Modus',
+ 'view_profile' => 'Profiel weergeven',
+ 'edit_profile' => 'Profiel bewerken',
+ 'dark_mode' => 'Donkere modus',
+ 'light_mode' => 'Lichte modus',
// Layout tabs
'tab_info' => 'Info',
+ 'tab_info_label' => 'Tabblad: Toon secundaire informatie',
'tab_content' => 'Inhoud',
+ 'tab_content_label' => 'Tabblad: Toon primaire inhoud',
// Email Content
- 'email_action_help' => 'Als je de knop ":actionText" niet werkt, kopieer en plak de onderstaande URL in je web browser:',
+ 'email_action_help' => 'Als je de knop ":actionText" niet werkt, kopieër en plak de onderstaande URL in je web browser:',
'email_rights' => 'Alle rechten voorbehouden',
+
+ // Footer Link Options
+ // Not directly used but available for convenience to users.
+ 'privacy_policy' => 'Privacybeleid',
+ 'terms_of_service' => 'Algemene voorwaarden',
];
return [
// Image Manager
- 'image_select' => 'Selecteer Afbeelding',
+ 'image_select' => 'Selecteer afbeelding',
'image_all' => 'Alles',
'image_all_title' => 'Alle afbeeldingen weergeven',
'image_book_title' => 'Afbeeldingen van dit boek weergeven',
'image_page_title' => 'Afbeeldingen van deze pagina weergeven',
'image_search_hint' => 'Zoek op afbeeldingsnaam',
'image_uploaded' => 'Geüpload :uploadedDate',
- 'image_load_more' => 'Meer Laden',
+ 'image_load_more' => 'Meer laden',
'image_image_name' => 'Afbeeldingsnaam',
'image_delete_used' => 'Deze afbeeldingen is op onderstaande pagina\'s in gebruik.',
'image_delete_confirm_text' => 'Weet u zeker dat u deze afbeelding wilt verwijderen?',
- 'image_select_image' => 'Kies Afbeelding',
+ 'image_select_image' => 'Kies afbeelding',
'image_dropzone' => 'Sleep afbeeldingen hier of klik hier om te uploaden',
- 'images_deleted' => 'Verwijderde Afbeeldingen',
- 'image_preview' => 'Afbeelding Voorbeeld',
+ 'images_deleted' => 'Verwijderde afbeeldingen',
+ 'image_preview' => 'Afbeelding voorbeeld',
'image_upload_success' => 'Afbeelding succesvol geüpload',
'image_update_success' => 'Afbeeldingsdetails succesvol verwijderd',
'image_delete_success' => 'Afbeelding succesvol verwijderd',
// Code Editor
'code_editor' => 'Code invoegen',
- 'code_language' => 'Code taal',
+ 'code_language' => 'Codetaal',
'code_content' => 'Code',
- 'code_session_history' => 'Zittingsgeschiedenis',
+ 'code_session_history' => 'Sessie geschiedenis',
'code_save' => 'Sla code op',
];
return [
// Shared
- 'recently_created' => 'Recent Aangemaakt',
- 'recently_created_pages' => 'Recent Aangemaakte Pagina\'s',
- 'recently_updated_pages' => 'Recent Bijgewerkte Pagina\'s',
- 'recently_created_chapters' => 'Recent Aangemaakte Hoofdstukken',
- 'recently_created_books' => 'Recent Aangemaakte Boeken',
- 'recently_created_shelves' => 'Recent Aangemaakte Boekenplanken',
- 'recently_update' => 'Recent Bijgewerkt',
- 'recently_viewed' => 'Recent Bekeken',
- 'recent_activity' => 'Recente Activiteit',
- 'create_now' => 'Maak er zelf één',
+ 'recently_created' => 'Recent aangemaakt',
+ 'recently_created_pages' => 'Recent aangemaakte pagina\'s',
+ 'recently_updated_pages' => 'Recent bijgewerkte pagina\'s',
+ 'recently_created_chapters' => 'Recent aangemaakte hoofdstukken',
+ 'recently_created_books' => 'Recent aangemaakte boeken',
+ 'recently_created_shelves' => 'Recent aangemaakte boekenplanken',
+ 'recently_update' => 'Recent bijgewerkt',
+ 'recently_viewed' => 'Recent bekeken',
+ 'recent_activity' => 'Recente activiteit',
+ 'create_now' => 'Maak er nu één',
'revisions' => 'Revisies',
'meta_revision' => 'Revisie #:revisionCount',
'meta_created' => 'Aangemaakt :timeLength',
'meta_created_name' => 'Aangemaakt: :timeLength door :user',
- 'meta_updated' => ':timeLength Aangepast',
+ 'meta_updated' => 'Aangepast: :timeLength',
'meta_updated_name' => 'Aangepast: :timeLength door :user',
- 'entity_select' => 'Entiteit Selecteren',
+ 'meta_owned_name' => 'Eigendom van :user',
+ 'entity_select' => 'Entiteit selecteren',
'images' => 'Afbeeldingen',
- 'my_recent_drafts' => 'Mijn Concepten',
- 'my_recently_viewed' => 'Mijn Recent Bekeken',
+ 'my_recent_drafts' => 'Mijn concepten',
+ 'my_recently_viewed' => 'Mijn recent bekeken',
+ 'my_most_viewed_favourites' => 'Mijn meest bekeken favorieten',
+ 'my_favourites' => 'Mijn favorieten',
'no_pages_viewed' => 'Je hebt nog niets bekeken',
'no_pages_recently_created' => 'Er zijn geen recent aangemaakte pagina\'s',
'no_pages_recently_updated' => 'Er zijn geen recente wijzigingen',
'export' => 'Exporteren',
- 'export_html' => 'Ingesloten Webbestand',
- 'export_pdf' => 'PDF Bestand',
- 'export_text' => 'Normaal Tekstbestand',
+ 'export_html' => 'Ingesloten webbestand',
+ 'export_pdf' => 'PDF bestand',
+ 'export_text' => 'Normaal tekstbestand',
// Permissions and restrictions
'permissions' => 'Permissies',
'permissions_intro' => 'Als je dit aanzet, dan gelden rol-permissies niet meer voor deze pagina.',
- 'permissions_enable' => 'Custom Permissies Aanzetten',
- 'permissions_save' => 'Permissies Opslaan',
+ 'permissions_enable' => 'Aangepaste permissies aanzetten',
+ 'permissions_save' => 'Permissies opslaan',
+ 'permissions_owner' => 'Eigenaar',
// Search
'search_results' => 'Zoekresultaten',
- 'search_total_results_found' => ':count resultaten gevonden|:count resultaten gevonden',
+ 'search_total_results_found' => ':count resultaten gevonden|:count totaal aantal resultaten gevonden',
'search_clear' => 'Zoekopdracht wissen',
'search_no_pages' => 'Er zijn geen pagina\'s gevonden',
'search_for_term' => 'Zoeken op :term',
'search_advanced' => 'Uitgebreid zoeken',
'search_terms' => 'Zoektermen',
'search_content_type' => 'Inhoudstype',
- 'search_exact_matches' => 'Exacte Matches',
+ 'search_exact_matches' => 'Exacte matches',
'search_tags' => 'Zoek tags',
'search_options' => 'Opties',
'search_viewed_by_me' => 'Bekeken door mij',
'search_not_viewed_by_me' => 'Niet bekeken door mij',
- 'search_permissions_set' => 'Permissies gezet',
+ 'search_permissions_set' => 'Permissies ingesteld',
'search_created_by_me' => 'Door mij gemaakt',
'search_updated_by_me' => 'Door mij geupdate',
- 'search_date_options' => 'Datum Opties',
+ 'search_owned_by_me' => 'Eigendom van mij',
+ 'search_date_options' => 'Datum opties',
'search_updated_before' => 'Geupdate voor',
'search_updated_after' => 'Geupdate na',
'search_created_before' => 'Gecreëerd voor',
'x_shelves' => ':count Boekenplank|:count Boekenplanken',
'shelves_long' => 'Boekenplanken',
'shelves_empty' => 'Er zijn geen boekenplanken aangemaakt',
- 'shelves_create' => 'Nieuwe Boekenplank Aanmaken',
- 'shelves_popular' => 'Populaire Boekenplanken',
- 'shelves_new' => 'Nieuwe Boekenplanken',
- 'shelves_new_action' => 'Nieuwe Boekplank',
+ 'shelves_create' => 'Nieuwe boekenplank maken',
+ 'shelves_popular' => 'Populaire boekenplanken',
+ 'shelves_new' => 'Nieuwe boekenplanken',
+ 'shelves_new_action' => 'Nieuwe boekenplank',
'shelves_popular_empty' => 'De meest populaire boekenplanken worden hier weergegeven.',
'shelves_new_empty' => 'De meest recent aangemaakt boekenplanken worden hier weergeven.',
- 'shelves_save' => 'Boekenplanken Opslaan',
+ 'shelves_save' => 'Boekenplank opslaan',
'shelves_books' => 'Boeken op deze plank',
- 'shelves_add_books' => 'Toevoegen boeken aan deze plank',
- 'shelves_drag_books' => 'Sleep boeken hier naartoe om deze toe te voegen aan deze plank',
+ 'shelves_add_books' => 'Voeg boeken toe aan deze plank',
+ 'shelves_drag_books' => 'Sleep boeken hiernaartoe om deze toe te voegen aan deze plank',
'shelves_empty_contents' => 'Er zijn geen boeken aan deze plank toegekend',
'shelves_edit_and_assign' => 'Bewerk boekenplank om boeken toe te kennen.',
- 'shelves_edit_named' => 'Bewerk Boekenplank :name',
- 'shelves_edit' => 'Bewerk Boekenplank',
- 'shelves_delete' => 'Verwijder Boekenplank',
- 'shelves_delete_named' => 'Verwijder Boekenplank :name',
+ 'shelves_edit_named' => 'Bewerk boekenplank :name',
+ 'shelves_edit' => 'Bewerk boekenplank',
+ 'shelves_delete' => 'Verwijder boekenplank',
+ 'shelves_delete_named' => 'Verwijder boekenplank :name',
'shelves_delete_explain' => "Deze actie verwijdert de boekenplank met naam ':name'. De boeken op deze plank worden niet verwijderd.",
'shelves_delete_confirmation' => 'Weet je zeker dat je deze boekenplank wilt verwijderen?',
- 'shelves_permissions' => 'Boekenplank Permissies',
- 'shelves_permissions_updated' => 'Boekenplank Permissies Opgeslagen',
- 'shelves_permissions_active' => 'Boekenplank Permissies Actief',
- 'shelves_copy_permissions_to_books' => 'Kopieer Permissies naar Boeken',
- 'shelves_copy_permissions' => 'Kopieer Permissies',
- 'shelves_copy_permissions_explain' => 'Met deze actie worden de permissies van deze boekenplank gekopieerd naar alle boeken op de plank. Voordat deze actie wordt uitgevoerd, zorg dat de wijzigingen in de permissies van deze boekenplank zijn opgeslagen.',
- 'shelves_copy_permission_success' => 'Boekenplank permissies gekopieerd naar :count boeken',
+ 'shelves_permissions' => 'Boekenplank permissies',
+ 'shelves_permissions_updated' => 'Boekenplank permissies opgeslagen',
+ 'shelves_permissions_active' => 'Boekenplank permissies actief',
+ 'shelves_copy_permissions_to_books' => 'Kopieer permissies naar boeken',
+ 'shelves_copy_permissions' => 'Kopieer permissies',
+ 'shelves_copy_permissions_explain' => 'Met deze actie worden de permissies van deze boekenplank gekopieërd naar alle boeken op de plank. Voordat deze actie wordt uitgevoerd, zorg dat de wijzigingen in de permissies van deze boekenplank zijn opgeslagen.',
+ 'shelves_copy_permission_success' => 'Boekenplank permissies gekopieërd naar :count boeken',
// Books
'book' => 'Boek',
'books' => 'Boeken',
'x_books' => ':count Boek|:count Boeken',
'books_empty' => 'Er zijn geen boeken aangemaakt',
- 'books_popular' => 'Populaire Boeken',
- 'books_recent' => 'Recente Boeken',
- 'books_new' => 'Nieuwe Boeken',
- 'books_new_action' => 'Nieuw Boek',
+ 'books_popular' => 'Populaire boeken',
+ 'books_recent' => 'Recente boeken',
+ 'books_new' => 'Nieuwe boeken',
+ 'books_new_action' => 'Nieuw boek',
'books_popular_empty' => 'De meest populaire boeken worden hier weergegeven.',
'books_new_empty' => 'De meest recent aangemaakte boeken verschijnen hier.',
- 'books_create' => 'Nieuw Boek Aanmaken',
- 'books_delete' => 'Boek Verwijderen',
- 'books_delete_named' => 'Verwijder Boek :bookName',
+ 'books_create' => 'Nieuw boek maken',
+ 'books_delete' => 'Boek verwijderen',
+ 'books_delete_named' => 'Verwijder boek :bookName',
'books_delete_explain' => 'Deze actie verwijdert het boek \':bookName\', Alle pagina\'s en hoofdstukken worden verwijderd.',
'books_delete_confirmation' => 'Weet je zeker dat je dit boek wilt verwijderen?',
- 'books_edit' => 'Boek Bewerken',
- 'books_edit_named' => 'Bewerkt Boek :bookName',
- 'books_form_book_name' => 'Boek Naam',
- 'books_save' => 'Boek Opslaan',
- 'books_permissions' => 'Boek Permissies',
- 'books_permissions_updated' => 'Boek Permissies Opgeslagen',
- 'books_empty_contents' => 'Er zijn nog een hoofdstukken en pagina\'s voor dit boek gemaakt.',
- 'books_empty_create_page' => 'Pagina Toevoegen',
+ 'books_edit' => 'Boek bewerken',
+ 'books_edit_named' => 'Bewerk boek :bookName',
+ 'books_form_book_name' => 'Boek naam',
+ 'books_save' => 'Boek opslaan',
+ 'books_permissions' => 'Boek permissies',
+ 'books_permissions_updated' => 'Boek permissies opgeslagen',
+ 'books_empty_contents' => 'Er zijn nog geen hoofdstukken en pagina\'s voor dit boek gemaakt.',
+ 'books_empty_create_page' => 'Nieuwe pagina maken',
'books_empty_sort_current_book' => 'Boek sorteren',
- 'books_empty_add_chapter' => 'Hoofdstuk Toevoegen',
- 'books_permissions_active' => 'Boek Permissies Actief',
+ 'books_empty_add_chapter' => 'Hoofdstuk toevoegen',
+ 'books_permissions_active' => 'Boek permissies actief',
'books_search_this' => 'Zoeken in dit boek',
- 'books_navigation' => 'Boek Navigatie',
+ 'books_navigation' => 'Boek navigatie',
'books_sort' => 'Inhoud van het boek sorteren',
- 'books_sort_named' => 'Sorteer Boek :bookName',
- 'books_sort_name' => 'Sorteren op Naam',
+ 'books_sort_named' => 'Sorteer boek :bookName',
+ 'books_sort_name' => 'Sorteren op naam',
'books_sort_created' => 'Sorteren op datum van aanmaken',
'books_sort_updated' => 'Sorteren op datum van bijgewerkt',
'books_sort_chapters_first' => 'Hoofdstukken eerst',
- 'books_sort_chapters_last' => 'Hoofdstukken Laatst',
- 'books_sort_show_other' => 'Bekijk Andere Boeken',
- 'books_sort_save' => 'Nieuwe Order Opslaan',
+ 'books_sort_chapters_last' => 'Hoofdstukken laatst',
+ 'books_sort_show_other' => 'Bekijk andere boeken',
+ 'books_sort_save' => 'Nieuwe volgorde opslaan',
// Chapters
'chapter' => 'Hoofdstuk',
'chapters' => 'Hoofdstukken',
'x_chapters' => ':count Hoofdstuk|:count Hoofdstukken',
- 'chapters_popular' => 'Populaire Hoofdstukken',
- 'chapters_new' => 'Nieuw Hoofdstuk',
- 'chapters_create' => 'Hoofdstuk Toevoegen',
- 'chapters_delete' => 'Hoofdstuk Verwijderen',
- 'chapters_delete_named' => 'Verwijder Hoofdstuk :chapterName',
- 'chapters_delete_explain' => 'Dit verwijdert het hoofdstuk \':chapterName\', Alle pagina\'s zullen verwijdert worden.
- en toegevoegd worden aan het bijbehorende boek.',
+ 'chapters_popular' => 'Populaire hoofdstukken',
+ 'chapters_new' => 'Nieuw hoofdstuk',
+ 'chapters_create' => 'Nieuw hoofdstuk maken',
+ 'chapters_delete' => 'Hoofdstuk verwijderen',
+ 'chapters_delete_named' => 'Verwijder hoofdstuk :chapterName',
+ 'chapters_delete_explain' => 'Dit verwijdert het hoofdstuk met de naam \':chapterName\'. Alle pagina\'s die binnen dit hoofdstuk staan, worden ook verwijderd.',
'chapters_delete_confirm' => 'Weet je zeker dat je dit boek wilt verwijderen?',
- 'chapters_edit' => 'Hoofdstuk Aanpassen',
- 'chapters_edit_named' => 'Hoofdstuk :chapterName Aanpassen',
- 'chapters_save' => 'Hoofdstuk Opslaan',
- 'chapters_move' => 'Hoofdstuk Verplaatsen',
- 'chapters_move_named' => 'Verplaatst Hoofdstuk :chapterName',
- 'chapter_move_success' => 'Hoofdstuk Verplaatst Naar :bookName',
- 'chapters_permissions' => 'Hoofdstuk Permissies',
+ 'chapters_edit' => 'Hoofdstuk aanpassen',
+ 'chapters_edit_named' => 'Hoofdstuk :chapterName aanpassen',
+ 'chapters_save' => 'Hoofdstuk opslaan',
+ 'chapters_move' => 'Hoofdstuk verplaatsen',
+ 'chapters_move_named' => 'Verplaatst hoofdstuk :chapterName',
+ 'chapter_move_success' => 'Hoofdstuk verplaatst naar :bookName',
+ 'chapters_permissions' => 'Hoofdstuk permissies',
'chapters_empty' => 'Er zijn geen pagina\'s in dit hoofdstuk aangemaakt.',
- 'chapters_permissions_active' => 'Hoofdstuk Permissies Actief',
- 'chapters_permissions_success' => 'Hoofdstuk Permissies Bijgewerkt',
+ 'chapters_permissions_active' => 'Hoofdstuk permissies actief',
+ 'chapters_permissions_success' => 'Hoofdstuk permissies bijgewerkt',
'chapters_search_this' => 'Doorzoek dit hoofdstuk',
// Pages
'page' => 'Pagina',
'pages' => 'Pagina\'s',
'x_pages' => ':count Pagina|:count Pagina\'s',
- 'pages_popular' => 'Populaire Pagina\'s',
- 'pages_new' => 'Nieuwe Pagina',
+ 'pages_popular' => 'Populaire pagina\'s',
+ 'pages_new' => 'Nieuwe pagina',
'pages_attachments' => 'Bijlages',
- 'pages_navigation' => 'Pagina Navigatie',
- 'pages_delete' => 'Pagina Verwijderen',
- 'pages_delete_named' => 'Verwijderde Pagina :pageName',
- 'pages_delete_draft_named' => 'Verwijderde Conceptpagina :pageName',
- 'pages_delete_draft' => 'Verwijder Conceptpagina',
+ 'pages_navigation' => 'Pagina navigatie',
+ 'pages_delete' => 'Pagina verwijderen',
+ 'pages_delete_named' => 'Verwijderd pagina :pageName',
+ 'pages_delete_draft_named' => 'Verwijder concept pagina :pageName',
+ 'pages_delete_draft' => 'Verwijder concept pagina',
'pages_delete_success' => 'Pagina verwijderd',
'pages_delete_draft_success' => 'Concept verwijderd',
'pages_delete_confirm' => 'Weet je zeker dat je deze pagina wilt verwijderen?',
'pages_delete_draft_confirm' => 'Weet je zeker dat je dit concept wilt verwijderen?',
- 'pages_editing_named' => 'Pagina :pageName Bewerken',
- 'pages_edit_draft_options' => 'Concept Opties',
+ 'pages_editing_named' => 'Pagina :pageName bewerken',
+ 'pages_edit_draft_options' => 'Concept opties',
'pages_edit_save_draft' => 'Concept opslaan',
- 'pages_edit_draft' => 'Paginaconcept Bewerken',
- 'pages_editing_draft' => 'Concept Bewerken',
- 'pages_editing_page' => 'Concept Bewerken',
+ 'pages_edit_draft' => 'Paginaconcept bewerken',
+ 'pages_editing_draft' => 'Concept bewerken',
+ 'pages_editing_page' => 'Concept bewerken',
'pages_edit_draft_save_at' => 'Concept opgeslagen op ',
- 'pages_edit_delete_draft' => 'Concept Verwijderen',
- 'pages_edit_discard_draft' => 'Concept Verwijderen',
+ 'pages_edit_delete_draft' => 'Concept verwijderen',
+ 'pages_edit_discard_draft' => 'Concept verwijderen',
'pages_edit_set_changelog' => 'Changelog',
'pages_edit_enter_changelog_desc' => 'Geef een korte omschrijving van de wijzingen die je gemaakt hebt.',
- 'pages_edit_enter_changelog' => 'Zie logboek',
- 'pages_save' => 'Pagina Opslaan',
- 'pages_title' => 'Pagina Titel',
- 'pages_name' => 'Pagina Naam',
- 'pages_md_editor' => 'Bewerker',
+ 'pages_edit_enter_changelog' => 'Zie changelog',
+ 'pages_save' => 'Pagina opslaan',
+ 'pages_title' => 'Pagina titel',
+ 'pages_name' => 'Pagina naam',
+ 'pages_md_editor' => 'Bewerken',
'pages_md_preview' => 'Voorbeeld',
- 'pages_md_insert_image' => 'Afbeelding Invoegen',
- 'pages_md_insert_link' => 'Entity Link Invoegen',
- 'pages_md_insert_drawing' => 'Tekening Toevoegen',
+ 'pages_md_insert_image' => 'Afbeelding invoegen',
+ 'pages_md_insert_link' => 'Entity link invoegen',
+ 'pages_md_insert_drawing' => 'Tekening invoegen',
'pages_not_in_chapter' => 'Deze pagina staat niet in een hoofdstuk',
- 'pages_move' => 'Pagina Verplaatsten',
+ 'pages_move' => 'Pagina verplaatsten',
'pages_move_success' => 'Pagina verplaatst naar ":parentName"',
- 'pages_copy' => 'Pagina Kopiëren',
- 'pages_copy_desination' => 'Kopieerbestemming',
- 'pages_copy_success' => 'Pagina succesvol gekopieerd',
- 'pages_permissions' => 'Pagina Permissies',
- 'pages_permissions_success' => 'Pagina Permissies bijgwerkt',
+ 'pages_copy' => 'Pagina kopiëren',
+ 'pages_copy_desination' => 'Kopieër bestemming',
+ 'pages_copy_success' => 'Pagina succesvol gekopieërd',
+ 'pages_permissions' => 'Pagina permissies',
+ 'pages_permissions_success' => 'Pagina permissies bijgewerkt',
'pages_revision' => 'Revisie',
- 'pages_revisions' => 'Pagina Revisies',
- 'pages_revisions_named' => 'Pagina Revisies voor :pageName',
- 'pages_revision_named' => 'Pagina Revisie voor :pageName',
+ 'pages_revisions' => 'Pagina revisies',
+ 'pages_revisions_named' => 'Pagina revisies voor :pageName',
+ 'pages_revision_named' => 'Pagina revisie voor :pageName',
+ 'pages_revision_restored_from' => 'Hersteld van #:id; :samenvatting',
'pages_revisions_created_by' => 'Aangemaakt door',
'pages_revisions_date' => 'Revisiedatum',
'pages_revisions_number' => '#',
'pages_revisions_numbered' => 'Revisie #:id',
- 'pages_revisions_numbered_changes' => 'Revisie #:id Wijzigingen',
- 'pages_revisions_changelog' => 'Wijzigingslogboek',
+ 'pages_revisions_numbered_changes' => 'Revisie #:id wijzigingen',
+ 'pages_revisions_changelog' => 'Changelog',
'pages_revisions_changes' => 'Wijzigingen',
- 'pages_revisions_current' => 'Huidige Versie',
+ 'pages_revisions_current' => 'Huidige versie',
'pages_revisions_preview' => 'Voorbeeld',
'pages_revisions_restore' => 'Herstellen',
'pages_revisions_none' => 'Deze pagina heeft geen revisies',
- 'pages_copy_link' => 'Link Kopiëren',
+ 'pages_copy_link' => 'Link kopiëren',
'pages_edit_content_link' => 'Bewerk inhoud',
- 'pages_permissions_active' => 'Pagina Permissies Actief',
+ 'pages_permissions_active' => 'Pagina permissies actief',
'pages_initial_revision' => 'Eerste publicatie',
- 'pages_initial_name' => 'Nieuwe Pagina',
+ 'pages_initial_name' => 'Nieuwe pagina',
'pages_editing_draft_notification' => 'U bewerkt momenteel een concept dat voor het laatst is opgeslagen op :timeDiff.',
'pages_draft_edited_notification' => 'Deze pagina is sindsdien bijgewerkt. Het wordt aanbevolen dat u dit concept verwijderd.',
'pages_draft_edit_active' => [
'time_b' => 'in de laatste :minCount minuten',
'message' => ':start :time. Let op om elkaars updates niet te overschrijven!',
],
- 'pages_draft_discarded' => 'Concept verwijderd, de editor is bijgewerkt met de huidige pagina-inhoud',
- 'pages_specific' => 'Specifieke Pagina',
+ 'pages_draft_discarded' => 'Concept verwijderd, de editor is bijgewerkt met de huidige paginainhoud',
+ 'pages_specific' => 'Specifieke pagina',
'pages_is_template' => 'Paginasjabloon',
// Editor Sidebar
'page_tags' => 'Pagina Labels',
- 'chapter_tags' => 'Tags van Hoofdstuk',
- 'book_tags' => 'Tags van Boeken',
- 'shelf_tags' => 'Tags van Boekplanken',
+ 'chapter_tags' => 'Labels van hoofdstuk',
+ 'book_tags' => 'Labels van boeken',
+ 'shelf_tags' => 'Labels van boekenplanken',
'tag' => 'Label',
- 'tags' => 'Tags',
- 'tag_name' => 'Naam Tag',
- 'tag_value' => 'Label Waarde (Optioneel)',
+ 'tags' => 'Labels',
+ 'tag_name' => 'Naam label',
+ 'tag_value' => 'Labelwaarde (Optioneel)',
'tags_explain' => "Voeg labels toe om de inhoud te categoriseren. \n Je kunt meerdere labels toevoegen.",
'tags_add' => 'Voeg een extra label toe',
- 'tags_remove' => 'Deze tag verwijderen',
+ 'tags_remove' => 'Dit label verwijderen',
'attachments' => 'Bijlages',
'attachments_explain' => 'Upload bijlages of voeg een link toe. Deze worden zichtbaar in het navigatiepaneel.',
'attachments_explain_instant_save' => 'Wijzigingen worden meteen opgeslagen.',
'attachments_items' => 'Bijlages',
- 'attachments_upload' => 'Bestand Uploaden',
- 'attachments_link' => 'Link Toevoegen',
- 'attachments_set_link' => 'Zet Link',
+ 'attachments_upload' => 'Bestand uploaden',
+ 'attachments_link' => 'Link toevoegen',
+ 'attachments_set_link' => 'Zet link',
'attachments_delete' => 'Weet u zeker dat u deze bijlage wilt verwijderen?',
'attachments_dropzone' => 'Sleep hier een bestand of klik hier om een bestand toe te voegen',
'attachments_no_files' => 'Er zijn geen bestanden geüpload',
'attachments_explain_link' => 'Je kunt een link toevoegen als je geen bestanden wilt uploaden. Dit kan een link naar een andere pagina op deze website zijn, maar ook een link naar een andere website.',
- 'attachments_link_name' => 'Link Naam',
+ 'attachments_link_name' => 'Link naam',
'attachment_link' => 'Bijlage link',
'attachments_link_url' => 'Link naar bestand',
- 'attachments_link_url_hint' => 'Url, site of bestand',
+ 'attachments_link_url_hint' => 'URL van site of bestand',
'attach' => 'Koppelen',
- 'attachments_insert_link' => 'Add Attachment Link to Page',
- 'attachments_edit_file' => 'Bestand Bewerken',
+ 'attachments_insert_link' => 'Bijlage link toevoegen aan pagina',
+ 'attachments_edit_file' => 'Bestand bewerken',
'attachments_edit_file_name' => 'Bestandsnaam',
'attachments_edit_drop_upload' => 'Sleep een bestand of klik hier om te uploaden en te overschrijven',
'attachments_order_updated' => 'De volgorde van de bijlages is bijgewerkt',
// Comments
'comment' => 'Reactie',
'comments' => 'Reacties',
- 'comment_add' => 'Reactie Toevoegen',
+ 'comment_add' => 'Reactie toevoegen',
'comment_placeholder' => 'Laat hier een reactie achter',
'comment_count' => '{0} Geen reacties|{1} 1 Reactie|[2,*] :count Reacties',
'comment_save' => 'Sla reactie op',
'comment_deleted_success' => 'Reactie verwijderd',
'comment_created_success' => 'Reactie toegevoegd',
'comment_updated_success' => 'Reactie bijgewerkt',
- 'comment_delete_confirm' => 'Zeker reactie verwijderen?',
+ 'comment_delete_confirm' => 'Weet je zeker dat je deze reactie wilt verwijderen?',
'comment_in_reply_to' => 'Antwoord op :commentId',
// Revision
'revision_restore_confirm' => 'Weet u zeker dat u deze revisie wilt herstellen? De huidige pagina-inhoud wordt vervangen.',
'revision_delete_success' => 'Revisie verwijderd',
'revision_cannot_delete_latest' => 'Kan de laatste revisie niet verwijderen.'
-];
\ No newline at end of file
+];
'saml_no_email_address' => 'Kan geen e-mailadres voor deze gebruiker vinden in de gegevens die door het externe verificatiesysteem worden verstrekt',
'saml_invalid_response_id' => 'Het verzoek van het externe verificatiesysteem is niet herkend door een door deze applicatie gestart proces. Het terug navigeren na een login kan dit probleem veroorzaken.',
'saml_fail_authed' => 'Inloggen met :system mislukt, het systeem gaf geen succesvolle autorisatie',
- 'social_no_action_defined' => 'Geen actie gedefineerd',
+ 'social_no_action_defined' => 'Geen actie gedefineërd',
'social_login_bad_response' => "Fout ontvangen tijdens :socialAccount login: \n:error",
'social_account_in_use' => 'Dit :socialAccount account is al in gebruik, Probeer in te loggen met de :socialAccount optie.',
'social_account_email_in_use' => 'Het e-mailadres :email is al in gebruik. Als je al een account hebt kun je een :socialAccount account verbinden met je profielinstellingen.',
'404_page_not_found' => 'Pagina Niet Gevonden',
'sorry_page_not_found' => 'Sorry, de pagina die je zocht is niet beschikbaar.',
'sorry_page_not_found_permission_warning' => 'Als u verwacht dat deze pagina bestaat heeft u misschien geen rechten om het te bekijken.',
+ 'image_not_found' => 'Afbeelding niet gevonden',
+ 'image_not_found_subtitle' => 'Sorry, de afbeelding die je zocht is niet beschikbaar.',
+ 'image_not_found_details' => 'Als u verwachtte dat deze afbeelding zou bestaan, dan is deze misschien verwijderd.',
'return_home' => 'Terug naar home',
'error_occurred' => 'Er Ging Iets Fout',
'app_down' => ':appName is nu niet beschikbaar',
'app_homepage' => 'Applicatie Homepagina',
'app_homepage_desc' => 'Selecteer een weergave om weer te geven op de homepage in plaats van de standaard weergave. Paginarechten worden genegeerd voor geselecteerde pagina\'s.',
'app_homepage_select' => 'Selecteer een pagina',
+ 'app_footer_links' => 'Voettekst links',
+ 'app_footer_links_desc' => 'Voeg links toe om te laten zien in de voettekst van de site. Deze worden onderaan de meeste pagina\'s weergegeven, met inbegrip van pagina\'s die geen inloggen vereisen. U kunt een label van "trans::<key>" gebruiken om systeemgedefinieerde vertalingen te gebruiken. Bijvoorbeeld: Het gebruik van "trans:common.privacy_policy" biedt de vertaalde tekst "Privacybeleid" en "trans:common.terms_of_service" voor de vertaalde tekst "Servicevoorwaarden".',
+ 'app_footer_links_label' => 'Link label',
+ 'app_footer_links_url' => 'Link URL',
+ 'app_footer_links_add' => 'Voettekst link toevoegen',
'app_disable_comments' => 'Reacties uitschakelen',
'app_disable_comments_toggle' => 'Opmerkingen uitschakelen',
'app_disable_comments_desc' => 'Schakel opmerkingen uit op alle pagina\'s in de applicatie. Bestaande opmerkingen worden niet getoond.',
'maint' => 'Onderhoud',
'maint_image_cleanup' => 'Afbeeldingen opschonen',
'maint_image_cleanup_desc' => "Scant pagina- en revisie inhoud om te controleren welke afbeeldingen en tekeningen momenteel worden gebruikt en welke afbeeldingen overbodig zijn. Zorg ervoor dat je een volledige database en afbeelding backup maakt voordat je dit uitvoert.",
- 'maint_image_cleanup_ignore_revisions' => 'Afbeeldingen in revisies negeren',
+ 'maint_delete_images_only_in_revisions' => 'Ook afbeeldingen die alleen in oude pagina revisies bestaan verwijderen',
'maint_image_cleanup_run' => 'Opschonen uitvoeren',
'maint_image_cleanup_warning' => ':count potentieel ongebruikte afbeeldingen gevonden. Weet u zeker dat u deze afbeeldingen wilt verwijderen?',
'maint_image_cleanup_success' => ':count potentieel ongebruikte afbeeldingen gevonden en verwijderd!',
'maint_send_test_email_mail_subject' => 'Test E-mail',
'maint_send_test_email_mail_greeting' => 'E-mailbezorging lijkt te werken!',
'maint_send_test_email_mail_text' => 'Gefeliciteerd! Nu je deze e-mailmelding hebt ontvangen, lijken je e-mailinstellingen correct te zijn geconfigureerd.',
+ 'maint_recycle_bin_desc' => 'Verwijderde planken, boeken, hoofdstukken en pagina\'s worden naar de prullenbak gestuurd om ze te herstellen of definitief te verwijderen. Oudere items in de prullenbak kunnen automatisch worden verwijderd, afhankelijk van de systeemconfiguratie.',
+ 'maint_recycle_bin_open' => 'Prullenbak openen',
+
+ // Recycle Bin
+ 'recycle_bin' => 'Prullenbak',
+ 'recycle_bin_desc' => 'Hier kunt u items herstellen die zijn verwijderd of kiezen om ze permanent te verwijderen uit het systeem. Deze lijst is niet gefilterd, in tegenstelling tot vergelijkbare activiteitenlijsten in het systeem waar rechtenfilters worden toegepast.',
+ 'recycle_bin_deleted_item' => 'Verwijderde Item',
+ 'recycle_bin_deleted_by' => 'Verwijderd door',
+ 'recycle_bin_deleted_at' => 'Verwijdert op',
+ 'recycle_bin_permanently_delete' => 'Permanent verwijderen',
+ 'recycle_bin_restore' => 'Herstellen',
+ 'recycle_bin_contents_empty' => 'De prullenbak is momenteel leeg',
+ 'recycle_bin_empty' => 'Prullenbak legen',
+ 'recycle_bin_empty_confirm' => 'Dit zal permanent alle items in de prullenbak vernietigen, inclusief inhoud die in elk item zit. Weet u zeker dat u de prullenbak wilt legen?',
+ 'recycle_bin_destroy_confirm' => 'Deze actie zal dit item permanent verwijderen, samen met alle onderliggende elementen hieronder vanuit het systeem en u kunt deze inhoud niet herstellen. Weet u zeker dat u dit item permanent wilt verwijderen?',
+ 'recycle_bin_destroy_list' => 'Te vernietigen objecten',
+ 'recycle_bin_restore_list' => 'Items te herstellen',
+ 'recycle_bin_restore_confirm' => 'Deze actie herstelt het verwijderde item, inclusief alle onderliggende elementen, op hun oorspronkelijke locatie. Als de oorspronkelijke locatie sindsdien is verwijderd en zich nu in de prullenbak bevindt, zal ook het bovenliggende item moeten worden hersteld.',
+ 'recycle_bin_restore_deleted_parent' => 'De bovenliggende map van dit item is ook verwijderd. Deze zal worden verwijderd totdat het bovenliggende item ook is hersteld.',
+ 'recycle_bin_destroy_notification' => 'Verwijderde totaal :count items uit de prullenbak.',
+ 'recycle_bin_restore_notification' => 'Herstelde totaal :count items uit de prullenbak.',
// Audit Log
'audit' => 'Audit Log',
- 'audit_desc' => 'This audit log displays a list of activities tracked in the system. This list is unfiltered unlike similar activity lists in the system where permission filters are applied.',
- 'audit_event_filter' => 'Event Filter',
- 'audit_event_filter_no_filter' => 'No Filter',
- 'audit_deleted_item' => 'Deleted Item',
- 'audit_deleted_item_name' => 'Name: :name',
- 'audit_table_user' => 'User',
- 'audit_table_event' => 'Event',
- 'audit_table_item' => 'Related Item',
- 'audit_table_date' => 'Activity Date',
- 'audit_date_from' => 'Date Range From',
- 'audit_date_to' => 'Date Range To',
+ 'audit_desc' => 'Dit auditlogboek toont een lijst met activiteiten die in het systeem zijn gedaan. Deze lijst is niet gefilterd, in tegenstelling tot vergelijkbare activiteitenlijsten in het systeem waar rechtenfilters worden toegepast.',
+ 'audit_event_filter' => 'Gebeurtenis filter',
+ 'audit_event_filter_no_filter' => 'Geen filter',
+ 'audit_deleted_item' => 'Verwijderd Item',
+ 'audit_deleted_item_name' => 'Naam: :name',
+ 'audit_table_user' => 'Gebruiker',
+ 'audit_table_event' => 'Gebeurtenis',
+ 'audit_table_related' => 'Gerelateerd Item of Detail',
+ 'audit_table_date' => 'Activiteit datum',
+ 'audit_date_from' => 'Datum bereik vanaf',
+ 'audit_date_to' => 'Datum bereik tot',
// Role Settings
'roles' => 'Rollen',
'role_access_api' => 'Ga naar systeem API',
'role_manage_settings' => 'Beheer app instellingen',
'role_asset' => 'Asset Permissies',
- 'roles_system_warning' => 'Be aware that access to any of the above three permissions can allow a user to alter their own privileges or the privileges of others in the system. Only assign roles with these permissions to trusted users.',
+ 'roles_system_warning' => 'Wees ervan bewust dat toegang tot een van de bovengenoemde drie machtigingen een gebruiker in staat kan stellen zijn eigen privileges of de privileges van anderen in het systeem te wijzigen. Wijs alleen rollen toe met deze machtigingen aan vertrouwde gebruikers.',
'role_asset_desc' => 'Deze permissies bepalen de standaardtoegangsrechten. Permissies op boeken, hoofdstukken en pagina\'s overschrijven deze instelling.',
'role_asset_admins' => 'Beheerders krijgen automatisch toegang tot alle inhoud, maar deze opties kunnen interface opties tonen of verbergen.',
'role_all' => 'Alles',
'user_profile' => 'Gebruikersprofiel',
'users_add_new' => 'Gebruiker toevoegen',
'users_search' => 'Gebruiker zoeken',
+ 'users_latest_activity' => 'Laatste activiteit',
'users_details' => 'Gebruiker details',
'users_details_desc' => 'Stel een weergavenaam en e-mailadres in voor deze gebruiker. Het e-mailadres zal worden gebruikt om in te loggen.',
'users_details_desc_no_email' => 'Stel een weergavenaam in voor deze gebruiker zodat anderen deze kunnen herkennen.',
'users_send_invite_text' => 'U kunt ervoor kiezen om deze gebruiker een uitnodigingsmail te sturen waarmee hij zijn eigen wachtwoord kan instellen, anders kunt u zelf zijn wachtwoord instellen.',
'users_send_invite_option' => 'Stuur gebruiker uitnodigings e-mail',
'users_external_auth_id' => 'Externe authenticatie ID',
- 'users_external_auth_id_desc' => 'This is the ID used to match this user when communicating with your external authentication system.',
+ 'users_external_auth_id_desc' => 'Dit is het ID dat gebruikt wordt om deze gebruiker te vergelijken met uw externe verificatiesysteem.',
'users_password_warning' => 'Vul onderstaande formulier alleen in als je het wachtwoord wilt aanpassen:',
'users_system_public' => 'De eigenschappen van deze gebruiker worden voor elke gastbezoeker gebruikt. Er kan niet mee ingelogd worden en wordt automatisch toegewezen.',
'users_delete' => 'Verwijder gebruiker',
'users_delete_named' => 'Verwijder gebruiker :userName',
'users_delete_warning' => 'Dit zal de gebruiker \':userName\' volledig uit het systeem verwijderen.',
'users_delete_confirm' => 'Weet je zeker dat je deze gebruiker wilt verwijderen?',
+ 'users_migrate_ownership' => 'Draag eigendom over',
+ 'users_migrate_ownership_desc' => 'Selecteer een gebruiker hier als u wilt dat een andere gebruiker de eigenaar wordt van alle items die momenteel eigendom zijn van deze gebruiker.',
+ 'users_none_selected' => 'Geen gebruiker geselecteerd',
'users_delete_success' => 'Gebruiker succesvol verwijderd',
'users_edit' => 'Bewerk Gebruiker',
'users_edit_profile' => 'Bewerk Profiel',
'users_social_connected' => ':socialAccount account is succesvol aan je profiel gekoppeld.',
'users_social_disconnected' => ':socialAccount account is succesvol ontkoppeld van je profiel.',
'users_api_tokens' => 'API Tokens',
- 'users_api_tokens_none' => 'No API tokens have been created for this user',
- 'users_api_tokens_create' => 'Create Token',
- 'users_api_tokens_expires' => 'Expires',
- 'users_api_tokens_docs' => 'API Documentation',
+ 'users_api_tokens_none' => 'Er zijn geen API-tokens gemaakt voor deze gebruiker',
+ 'users_api_tokens_create' => 'Token aanmaken',
+ 'users_api_tokens_expires' => 'Verloopt',
+ 'users_api_tokens_docs' => 'API Documentatie',
// API Tokens
- 'user_api_token_create' => 'Create API Token',
+ 'user_api_token_create' => 'API-token aanmaken',
'user_api_token_name' => 'Naam',
- 'user_api_token_name_desc' => 'Give your token a readable name as a future reminder of its intended purpose.',
+ 'user_api_token_name_desc' => 'Geef je token een leesbare naam als een toekomstige herinnering aan het beoogde doel.',
'user_api_token_expiry' => 'Vervaldatum',
- 'user_api_token_expiry_desc' => 'Set a date at which this token expires. After this date, requests made using this token will no longer work. Leaving this field blank will set an expiry 100 years into the future.',
- 'user_api_token_create_secret_message' => 'Immediately after creating this token a "Token ID" & "Token Secret" will be generated and displayed. The secret will only be shown a single time so be sure to copy the value to somewhere safe and secure before proceeding.',
- 'user_api_token_create_success' => 'API token successfully created',
- 'user_api_token_update_success' => 'API token successfully updated',
+ 'user_api_token_expiry_desc' => 'Stel een datum in waarop deze token verloopt. Na deze datum zullen aanvragen die met deze token zijn ingediend niet langer werken. Als dit veld leeg blijft, wordt een vervaldatum van 100 jaar in de toekomst ingesteld.',
+ 'user_api_token_create_secret_message' => 'Onmiddellijk na het aanmaken van dit token zal een "Token ID" en "Token Geheim" worden gegenereerd en weergegeven. Het geheim zal slechts één keer getoond worden. Kopieer de waarde dus eerst op een veilige plaats voordat u doorgaat.',
+ 'user_api_token_create_success' => 'API token succesvol aangemaakt',
+ 'user_api_token_update_success' => 'API token succesvol bijgewerkt',
'user_api_token' => 'API Token',
'user_api_token_id' => 'Token ID',
- 'user_api_token_id_desc' => 'This is a non-editable system generated identifier for this token which will need to be provided in API requests.',
- 'user_api_token_secret' => 'Token Secret',
- 'user_api_token_secret_desc' => 'This is a system generated secret for this token which will need to be provided in API requests. This will only be displayed this one time so copy this value to somewhere safe and secure.',
- 'user_api_token_created' => 'Token created :timeAgo',
- 'user_api_token_updated' => 'Token updated :timeAgo',
+ 'user_api_token_id_desc' => 'Dit is een niet bewerkbaar systeem gegenereerde id voor dit token dat moet worden verstrekt in API-verzoeken.',
+ 'user_api_token_secret' => 'Geheime token sleutel',
+ 'user_api_token_secret_desc' => 'Dit is een systeem gegenereerd geheim voor dit token dat moet worden verstrekt in API verzoeken. Dit wordt maar één keer weergegeven, dus kopieër deze waarde naar een veilige plaats.',
+ 'user_api_token_created' => 'Token gemaakt :timeAgo',
+ 'user_api_token_updated' => 'Token bijgewerkt :timeAgo',
'user_api_token_delete' => 'Token Verwijderen',
- 'user_api_token_delete_warning' => 'This will fully delete this API token with the name \':tokenName\' from the system.',
- 'user_api_token_delete_confirm' => 'Are you sure you want to delete this API token?',
- 'user_api_token_delete_success' => 'API token successfully deleted',
+ 'user_api_token_delete_warning' => 'Dit zal de API-token met de naam \':tokenName\' volledig uit het systeem verwijderen.',
+ 'user_api_token_delete_confirm' => 'Weet u zeker dat u deze API-token wilt verwijderen?',
+ 'user_api_token_delete_success' => 'API-token succesvol verwijderd',
//! If editing translations files directly please ignore this in all
//! languages apart from en. Content will be auto-copied from en.
'en' => 'English',
'ar' => 'العربية',
'bg' => 'Bǎlgarski',
+ 'bs' => 'Bosanski',
+ 'ca' => 'Catalaans',
'cs' => 'Česky',
'da' => 'Dansk',
'de' => 'Deutsch (Sie)',
'es_AR' => 'Español Argentina',
'fr' => 'Français',
'he' => 'עברית',
+ 'hr' => 'Hrvatski',
'hu' => 'Magyar',
+ 'id' => 'Bahasa Indonesia',
'it' => 'Italian',
'ja' => '日本語',
'ko' => '한국어',
+ 'lv' => 'Latviešu Valoda',
'nl' => 'Nederlands',
+ 'nb' => 'Norsk (Bokmål)',
'pl' => 'Polski',
+ 'pt' => 'Português',
'pt_BR' => 'Português do Brasil',
'ru' => 'Русский',
'sk' => 'Slovensky',
'string' => ':attribute moet minstens :min karakters bevatten.',
'array' => ':attribute moet minstens :min items bevatten.',
],
- 'no_double_extension' => ':attribute mag maar een enkele bestandsextensie hebben.',
'not_in' => ':attribute is ongeldig.',
'not_regex' => ':attribute formaat is ongeldig.',
'numeric' => ':attribute moet een getal zijn.',
'required_without' => ':attribute veld is verplicht wanneer :values niet ingesteld is.',
'required_without_all' => ':attribute veld is verplicht wanneer geen van :values ingesteld zijn.',
'same' => ':attribute en :other moeten overeenkomen.',
+ 'safe_url' => 'De opgegeven link is mogelijk niet veilig.',
'size' => [
'numeric' => ':attribute moet :size zijn.',
'file' => ':attribute moet :size kilobytes zijn.',
'bookshelf_delete' => 'usunięto półkę',
'bookshelf_delete_notification' => 'Półka usunięta pomyślnie',
+ // Favourites
+ 'favourite_add_notification' => '":name" has been added to your favourites',
+ 'favourite_remove_notification' => '":name" has been removed from your favourites',
+
// Other
'commented_on' => 'skomentował',
+ 'permissions_update' => 'zaktualizowane uprawnienia',
];
'remove' => 'Usuń',
'add' => 'Dodaj',
'fullscreen' => 'Pełny ekran',
+ 'favourite' => 'Favourite',
+ 'unfavourite' => 'Unfavourite',
+ 'next' => 'Next',
+ 'previous' => 'Previous',
// Sort Options
'sort_options' => 'Opcje sortowania',
'sort_ascending' => 'Sortuj rosnąco',
'sort_descending' => 'Sortuj malejąco',
'sort_name' => 'Nazwa',
+ 'sort_default' => 'Default',
'sort_created_at' => 'Data utworzenia',
'sort_updated_at' => 'Data aktualizacji',
'breadcrumb' => 'Ścieżka nawigacji',
// Header
+ 'header_menu_expand' => 'Expand Header Menu',
'profile_menu' => 'Menu profilu',
'view_profile' => 'Zobacz profil',
'edit_profile' => 'Edytuj profil',
// Layout tabs
'tab_info' => 'Informacje',
+ 'tab_info_label' => 'Tab: Show Secondary Information',
'tab_content' => 'Treść',
+ 'tab_content_label' => 'Tab: Show Primary Content',
// Email Content
'email_action_help' => 'Jeśli masz problem z kliknięciem przycisku ":actionText", skopiuj i wklej poniższy adres URL w nowej karcie swojej przeglądarki:',
'email_rights' => 'Wszelkie prawa zastrzeżone',
+
+ // Footer Link Options
+ // Not directly used but available for convenience to users.
+ 'privacy_policy' => 'Polityka prywatności',
+ 'terms_of_service' => 'Warunki usługi',
];
'meta_created_name' => 'Utworzono :timeLength przez :user',
'meta_updated' => 'Zaktualizowano :timeLength',
'meta_updated_name' => 'Zaktualizowano :timeLength przez :user',
+ 'meta_owned_name' => 'Właściciel :user',
'entity_select' => 'Wybór obiektu',
'images' => 'Obrazki',
'my_recent_drafts' => 'Moje ostatnie wersje robocze',
'my_recently_viewed' => 'Moje ostatnio wyświetlane',
+ 'my_most_viewed_favourites' => 'My Most Viewed Favourites',
+ 'my_favourites' => 'My Favourites',
'no_pages_viewed' => 'Nie przeglądałeś jeszcze żadnych stron',
'no_pages_recently_created' => 'Nie utworzono ostatnio żadnych stron',
'no_pages_recently_updated' => 'Nie zaktualizowano ostatnio żadnych stron',
'permissions_intro' => 'Jeśli włączone są indywidualne uprawnienia, to te uprawnienia będą miały priorytet względem pozostałych ustawionych uprawnień ról.',
'permissions_enable' => 'Włącz własne uprawnienia',
'permissions_save' => 'Zapisz uprawnienia',
+ 'permissions_owner' => 'Właściciel',
// Search
'search_results' => 'Wyniki wyszukiwania',
'search_permissions_set' => 'Zbiór uprawnień',
'search_created_by_me' => 'Utworzone przeze mnie',
'search_updated_by_me' => 'Zaktualizowane przeze mnie',
+ 'search_owned_by_me' => 'Owned by me',
'search_date_options' => 'Opcje dat',
'search_updated_before' => 'Zaktualizowane przed',
'search_updated_after' => 'Zaktualizowane po',
'chapters_create' => 'Utwórz nowy rozdział',
'chapters_delete' => 'Usuń rozdział',
'chapters_delete_named' => 'Usuń rozdział :chapterName',
- 'chapters_delete_explain' => 'To spowoduje usunięcie rozdziału \':chapterName\', Wszystkie strony zostaną usunięte
- i dodane bezpośrednio do książki.',
+ 'chapters_delete_explain' => 'Spowoduje to usunięcie rozdziału o nazwie \':chapterName\'. Wszystkie strony, które istnieją w tym rozdziale, również zostaną usunięte.',
'chapters_delete_confirm' => 'Czy na pewno chcesz usunąć ten rozdział?',
'chapters_edit' => 'Edytuj rozdział',
'chapters_edit_named' => 'Edytuj rozdział :chapterName',
'pages_revisions' => 'Wersje strony',
'pages_revisions_named' => 'Wersje strony :pageName',
'pages_revision_named' => 'Wersja strony :pageName',
+ 'pages_revision_restored_from' => 'Przywrócono z #:id; :summary',
'pages_revisions_created_by' => 'Utworzona przez',
'pages_revisions_date' => 'Data wersji',
'pages_revisions_number' => '#',
'attachments_link_url' => 'Link do pliku',
'attachments_link_url_hint' => 'Strona lub plik',
'attach' => 'Załącz',
- 'attachments_insert_link' => 'Add Attachment Link to Page',
+ 'attachments_insert_link' => 'Dodaj link do załącznika do strony',
'attachments_edit_file' => 'Edytuj plik',
'attachments_edit_file_name' => 'Nazwa pliku',
'attachments_edit_drop_upload' => 'Upuść pliki lub kliknij tutaj by przesłać pliki i nadpisać istniejące',
'revision_restore_confirm' => 'Czu ma pewno chcesz przywrócić tą wersję? Aktualna zawartość strony zostanie nadpisana.',
'revision_delete_success' => 'Usunięto wersję',
'revision_cannot_delete_latest' => 'Nie można usunąć najnowszej wersji.'
-];
\ No newline at end of file
+];
'404_page_not_found' => 'Strona nie została znaleziona',
'sorry_page_not_found' => 'Przepraszamy, ale strona której szukasz nie została znaleziona.',
'sorry_page_not_found_permission_warning' => 'Jeśli spodziewałeś się, że ta strona istnieje, prawdopodobnie nie masz uprawnień do jej wyświetlenia.',
+ 'image_not_found' => 'Image Not Found',
+ 'image_not_found_subtitle' => 'Sorry, The image file you were looking for could not be found.',
+ 'image_not_found_details' => 'If you expected this image to exist it might have been deleted.',
'return_home' => 'Powrót do strony głównej',
'error_occurred' => 'Wystąpił błąd',
'app_down' => ':appName jest aktualnie wyłączona',
'app_homepage' => 'Strona główna',
'app_homepage_desc' => 'Wybierz widok, który będzie wyświetlany na stronie głównej zamiast w widoku domyślnego. Uprawnienia dostępowe są ignorowane dla wybranych stron.',
'app_homepage_select' => 'Wybierz stronę',
+ 'app_footer_links' => 'Linki w stopce',
+ 'app_footer_links_desc' => 'Dodaj linki do pokazania w stopce witryny. Będą one wyświetlane na dole większości stron, włącznie z tymi, które nie wymagają logowania. Możesz użyć etykiety "trans::<key>" aby użyć tłumaczeń zdefiniowanych przez system. Na przykład: Używanie "trans::common.privacy_policy" zapewni przetłumaczony tekst "Polityka prywatności" i "trans::common.terms_of_service" zapewni przetłumaczony tekst "Warunki korzystania z usługi".',
+ 'app_footer_links_label' => 'Etykieta linku',
+ 'app_footer_links_url' => 'URL odnośnika',
+ 'app_footer_links_add' => 'Dodaj link w stopce',
'app_disable_comments' => 'Wyłącz komentarze',
'app_disable_comments_toggle' => 'Wyłącz komentowanie',
'app_disable_comments_desc' => 'Wyłącz komentarze na wszystkich stronach w aplikacji. Istniejące komentarze nie będą pokazywane.',
'maint' => 'Konserwacja',
'maint_image_cleanup' => 'Czyszczenie obrazków',
'maint_image_cleanup_desc' => "Skanuje zawartość strony i poprzednie wersje, aby sprawdzić, które obrazy i rysunki są aktualnie używane, a które obrazy są zbędne. Przed uruchomieniem tej opcji należy utworzyć pełną kopię zapasową bazy danych i obrazków.",
- 'maint_image_cleanup_ignore_revisions' => 'Ignoruje obrazki w poprzednich wersjach',
+ 'maint_delete_images_only_in_revisions' => 'Usuń również obrazy, które istnieją tylko w starych rewizjach strony',
'maint_image_cleanup_run' => 'Uruchom czyszczenie',
'maint_image_cleanup_warning' => 'Znaleziono :count potencjalnie niepotrzebnych obrazków. Czy na pewno chcesz je usunąć?',
'maint_image_cleanup_success' => ':count potencjalnie nieużywane obrazki zostały znalezione i usunięte!',
'maint_send_test_email_mail_subject' => 'E-mail testowy',
'maint_send_test_email_mail_greeting' => 'Wygląda na to, że wysyłka wiadomości e-mail działa!',
'maint_send_test_email_mail_text' => 'Gratulacje! Otrzymałeś tego e-maila więc Twoje ustawienia poczty elektronicznej wydają się być prawidłowo skonfigurowane.',
+ 'maint_recycle_bin_desc' => 'Usunięte półki, książki, rozdziały i strony są wysyłane do kosza, aby mogły zostać przywrócone lub trwale usunięte. Starsze przedmioty w koszu mogą zostać automatycznie usunięte po pewnym czasie w zależności od konfiguracji systemu.',
+ 'maint_recycle_bin_open' => 'Otwórz kosz',
+
+ // Recycle Bin
+ 'recycle_bin' => 'Kosz',
+ 'recycle_bin_desc' => 'Here you can restore items that have been deleted or choose to permanently remove them from the system. This list is unfiltered unlike similar activity lists in the system where permission filters are applied.',
+ 'recycle_bin_deleted_item' => 'Usunięta pozycja',
+ 'recycle_bin_deleted_by' => 'Usunięty przez',
+ 'recycle_bin_deleted_at' => 'Czas usunięcia',
+ 'recycle_bin_permanently_delete' => 'Usuń trwale',
+ 'recycle_bin_restore' => 'Przywróć',
+ 'recycle_bin_contents_empty' => 'Kosz jest pusty',
+ 'recycle_bin_empty' => 'Opróżnij kosz',
+ 'recycle_bin_empty_confirm' => 'This will permanently destroy all items in the recycle bin including content contained within each item. Are you sure you want to empty the recycle bin?',
+ 'recycle_bin_destroy_confirm' => 'This action will permanently delete this item, along with any child elements listed below, from the system and you will not be able to restore this content. Are you sure you want to permanently delete this item?',
+ 'recycle_bin_destroy_list' => 'Items to be Destroyed',
+ 'recycle_bin_restore_list' => 'Elementy do przywrócenia',
+ 'recycle_bin_restore_confirm' => 'This action will restore the deleted item, including any child elements, to their original location. If the original location has since been deleted, and is now in the recycle bin, the parent item will also need to be restored.',
+ 'recycle_bin_restore_deleted_parent' => 'The parent of this item has also been deleted. These will remain deleted until that parent is also restored.',
+ 'recycle_bin_destroy_notification' => 'Deleted :count total items from the recycle bin.',
+ 'recycle_bin_restore_notification' => 'Restored :count total items from the recycle bin.',
// Audit Log
- 'audit' => 'Audit Log',
+ 'audit' => 'Dziennik audytu',
'audit_desc' => 'This audit log displays a list of activities tracked in the system. This list is unfiltered unlike similar activity lists in the system where permission filters are applied.',
- 'audit_event_filter' => 'Event Filter',
- 'audit_event_filter_no_filter' => 'No Filter',
- 'audit_deleted_item' => 'Deleted Item',
- 'audit_deleted_item_name' => 'Name: :name',
- 'audit_table_user' => 'User',
- 'audit_table_event' => 'Event',
- 'audit_table_item' => 'Related Item',
- 'audit_table_date' => 'Activity Date',
- 'audit_date_from' => 'Date Range From',
- 'audit_date_to' => 'Date Range To',
+ 'audit_event_filter' => 'Filtry Wydarzeń',
+ 'audit_event_filter_no_filter' => 'Brak filtra',
+ 'audit_deleted_item' => 'Usunięta pozycja',
+ 'audit_deleted_item_name' => 'Nazwa: :name',
+ 'audit_table_user' => 'Użytkownik',
+ 'audit_table_event' => 'Wydarzenie',
+ 'audit_table_related' => 'Powiązany element lub szczegóły',
+ 'audit_table_date' => 'Data Aktywności',
+ 'audit_date_from' => 'Zakres dat od',
+ 'audit_date_to' => 'Zakres dat do',
// Role Settings
'roles' => 'Role',
'role_access_api' => 'Dostęp do systemowego API',
'role_manage_settings' => 'Zarządzanie ustawieniami aplikacji',
'role_asset' => 'Zarządzanie zasobami',
- 'roles_system_warning' => 'Be aware that access to any of the above three permissions can allow a user to alter their own privileges or the privileges of others in the system. Only assign roles with these permissions to trusted users.',
+ 'roles_system_warning' => 'Pamiętaj, że dostęp do trzech powyższych uprawnień może pozwolić użytkownikowi na zmianę własnych uprawnień lub uprawnień innych osób w systemie. Przypisz tylko role z tymi uprawnieniami do zaufanych użytkowników.',
'role_asset_desc' => 'Te ustawienia kontrolują zarządzanie zasobami systemu. Uprawnienia książek, rozdziałów i stron nadpisują te ustawienia.',
'role_asset_admins' => 'Administratorzy mają automatycznie dostęp do wszystkich treści, ale te opcję mogą być pokazywać lub ukrywać opcje interfejsu użytkownika.',
'role_all' => 'Wszyscy',
'user_profile' => 'Profil użytkownika',
'users_add_new' => 'Dodaj użytkownika',
'users_search' => 'Wyszukaj użytkownika',
+ 'users_latest_activity' => 'Ostatnia aktywność',
'users_details' => 'Szczegóły użytkownika',
'users_details_desc' => 'Ustaw wyświetlaną nazwę i adres e-mail dla tego użytkownika. Adres e-mail zostanie wykorzystany do zalogowania się do aplikacji.',
'users_details_desc_no_email' => 'Ustaw wyświetlaną nazwę dla tego użytkownika, aby inni mogli go rozpoznać.',
'users_delete_named' => 'Usuń :userName',
'users_delete_warning' => 'To usunie użytkownika \':userName\' z systemu.',
'users_delete_confirm' => 'Czy na pewno chcesz usunąć tego użytkownika?',
- 'users_delete_success' => 'Użytkownik usunięty pomyślnie',
+ 'users_migrate_ownership' => 'Migracja Własności',
+ 'users_migrate_ownership_desc' => 'Wybierz użytkownika tutaj, jeśli chcesz, aby inny użytkownik stał się właścicielem wszystkich elementów będących obecnie w posiadaniu tego użytkownika.',
+ 'users_none_selected' => 'Nie wybrano użytkownika',
+ 'users_delete_success' => 'Użytkownik pomyślnie usunięty',
'users_edit' => 'Edytuj użytkownika',
'users_edit_profile' => 'Edytuj profil',
'users_edit_success' => 'Użytkownik zaktualizowany pomyślnie',
'en' => 'English',
'ar' => 'العربية',
'bg' => 'Bǎlgarski',
+ 'bs' => 'Bosanski',
+ 'ca' => 'Kataloński',
'cs' => 'Česky',
'da' => 'Dansk',
'de' => 'Deutsch (Sie)',
'es_AR' => 'Español Argentina',
'fr' => 'Français',
'he' => 'עברית',
+ 'hr' => 'Hrvatski',
'hu' => 'Magyar',
+ 'id' => 'Bahasa Indonesia',
'it' => 'Italian',
'ja' => '日本語',
'ko' => '한국어',
+ 'lv' => 'Latviešu Valoda',
'nl' => 'Nederlands',
+ 'nb' => 'Norsk (Bokmål)',
'pl' => 'Polski',
+ 'pt' => 'Português',
'pt_BR' => 'Português do Brasil',
'ru' => 'Русский',
'sk' => 'Slovensky',
'string' => 'Długość :attribute nie może być mniejsza niż :min znaków.',
'array' => 'Rozmiar :attribute musi posiadać co najmniej :min elementy.',
],
- 'no_double_extension' => ':attribute może mieć tylko jedno rozszerzenie.',
'not_in' => 'Wartość :attribute jest nieprawidłowa.',
'not_regex' => 'Format :attribute jest nieprawidłowy.',
'numeric' => ':attribute musi być liczbą.',
'required_without' => 'Pole :attribute jest wymagane jeśli :values nie zostało wprowadzone.',
'required_without_all' => 'Pole :attribute jest wymagane jeśli żadna z wartości :values nie została podana.',
'same' => 'Pole :attribute i :other muszą być takie same.',
+ 'safe_url' => 'Podany link może nie być bezpieczny.',
'size' => [
'numeric' => ':attribute musi mieć długość :size.',
'file' => ':attribute musi mieć :size kilobajtów.',
return [
// Pages
- 'page_create' => 'created page',
- 'page_create_notification' => 'Page Successfully Created',
- 'page_update' => 'updated page',
- 'page_update_notification' => 'Page Successfully Updated',
- 'page_delete' => 'deleted page',
- 'page_delete_notification' => 'Page Successfully Deleted',
- 'page_restore' => 'restored page',
- 'page_restore_notification' => 'Page Successfully Restored',
- 'page_move' => 'moved page',
+ 'page_create' => 'página criada',
+ 'page_create_notification' => 'Página criada com sucesso',
+ 'page_update' => 'página atualizada',
+ 'page_update_notification' => 'Página atualizada com sucesso',
+ 'page_delete' => 'página eliminada',
+ 'page_delete_notification' => 'Página eliminada com sucesso',
+ 'page_restore' => 'página restaurada',
+ 'page_restore_notification' => 'Página restaurada com sucesso',
+ 'page_move' => 'página movida',
// Chapters
- 'chapter_create' => 'created chapter',
- 'chapter_create_notification' => 'Chapter Successfully Created',
- 'chapter_update' => 'updated chapter',
- 'chapter_update_notification' => 'Chapter Successfully Updated',
- 'chapter_delete' => 'deleted chapter',
- 'chapter_delete_notification' => 'Chapter Successfully Deleted',
- 'chapter_move' => 'moved chapter',
+ 'chapter_create' => 'capítulo criado',
+ 'chapter_create_notification' => 'Capítulo criado com sucesso',
+ 'chapter_update' => 'capítulo atualizado',
+ 'chapter_update_notification' => 'Capítulo atualizado com sucesso',
+ 'chapter_delete' => 'capítulo excluído',
+ 'chapter_delete_notification' => 'Capítulo excluído com sucesso',
+ 'chapter_move' => 'capítulo movido',
// Books
- 'book_create' => 'created book',
- 'book_create_notification' => 'Book Successfully Created',
- 'book_update' => 'updated book',
- 'book_update_notification' => 'Book Successfully Updated',
- 'book_delete' => 'deleted book',
- 'book_delete_notification' => 'Book Successfully Deleted',
- 'book_sort' => 'sorted book',
- 'book_sort_notification' => 'Book Successfully Re-sorted',
+ 'book_create' => 'livro criado',
+ 'book_create_notification' => 'Livro criado com sucesso',
+ 'book_update' => 'livro atualizado',
+ 'book_update_notification' => 'Livro atualizado com sucesso',
+ 'book_delete' => 'livro eliminado',
+ 'book_delete_notification' => 'Livro eliminado com sucesso',
+ 'book_sort' => 'livro ordenado',
+ 'book_sort_notification' => 'Livro reordenado com sucesso',
// Bookshelves
- 'bookshelf_create' => 'created Bookshelf',
- 'bookshelf_create_notification' => 'Bookshelf Successfully Created',
- 'bookshelf_update' => 'updated bookshelf',
- 'bookshelf_update_notification' => 'Bookshelf Successfully Updated',
- 'bookshelf_delete' => 'deleted bookshelf',
- 'bookshelf_delete_notification' => 'Bookshelf Successfully Deleted',
+ 'bookshelf_create' => 'estante criada',
+ 'bookshelf_create_notification' => 'Estante criada com sucesso',
+ 'bookshelf_update' => 'estante atualizada',
+ 'bookshelf_update_notification' => 'Estante atualizada com sucesso',
+ 'bookshelf_delete' => 'excluiu a prateleira',
+ 'bookshelf_delete_notification' => 'Estante eliminada com sucesso',
+
+ // Favourites
+ 'favourite_add_notification' => '":name" has been added to your favourites',
+ 'favourite_remove_notification' => '":name" has been removed from your favourites',
// Other
- 'commented_on' => 'commented on',
+ 'commented_on' => 'comentado a',
+ 'permissions_update' => 'permissões atualizadas',
];
*/
return [
- 'failed' => 'These credentials do not match our records.',
- 'throttle' => 'Too many login attempts. Please try again in :seconds seconds.',
+ 'failed' => 'As credenciais fornecidas não correspondem aos nossos registos.',
+ 'throttle' => 'Demasiadas tentativas de início de sessão. Por favor, tente novamente em :seconds segundos.',
// Login & Register
- 'sign_up' => 'Sign up',
- 'log_in' => 'Log in',
- 'log_in_with' => 'Login with :socialDriver',
- 'sign_up_with' => 'Sign up with :socialDriver',
- 'logout' => 'Logout',
+ 'sign_up' => 'Criar conta',
+ 'log_in' => 'Iniciar sessão',
+ 'log_in_with' => 'Iniciar sessão com :socialDriver',
+ 'sign_up_with' => 'Criar conta com :socialDriver',
+ 'logout' => 'Terminar sessão',
- 'name' => 'Name',
- 'username' => 'Username',
- 'email' => 'Email',
- 'password' => 'Password',
- 'password_confirm' => 'Confirm Password',
- 'password_hint' => 'Must be over 7 characters',
- 'forgot_password' => 'Forgot Password?',
- 'remember_me' => 'Remember Me',
- 'ldap_email_hint' => 'Please enter an email to use for this account.',
- 'create_account' => 'Create Account',
- 'already_have_account' => 'Already have an account?',
- 'dont_have_account' => 'Don\'t have an account?',
- 'social_login' => 'Social Login',
- 'social_registration' => 'Social Registration',
- 'social_registration_text' => 'Register and sign in using another service.',
+ 'name' => 'Nome',
+ 'username' => 'Nome de utilizador',
+ 'email' => 'E-mail',
+ 'password' => 'Palavra-passe',
+ 'password_confirm' => 'Confirmar Palavra-passe',
+ 'password_hint' => 'Deve ser maior que 7 caracteres',
+ 'forgot_password' => 'Esqueceu-se da palavra-passe?',
+ 'remember_me' => 'Lembrar-se de mim',
+ 'ldap_email_hint' => 'Por favor insira um endereço de e-mail para esta conta.',
+ 'create_account' => 'Criar Conta',
+ 'already_have_account' => 'Já possui uma conta?',
+ 'dont_have_account' => 'Não possui uma conta?',
+ 'social_login' => 'Inicio de Sessão com Redes Sociais',
+ 'social_registration' => 'Registo com Redes Sociais',
+ 'social_registration_text' => 'Registe e inicie sessão com recurso a outro serviço.',
- 'register_thanks' => 'Thanks for registering!',
- 'register_confirm' => 'Please check your email and click the confirmation button to access :appName.',
- 'registrations_disabled' => 'Registrations are currently disabled',
- 'registration_email_domain_invalid' => 'That email domain does not have access to this application',
- 'register_success' => 'Thanks for signing up! You are now registered and signed in.',
+ 'register_thanks' => 'Obrigado por se registar!',
+ 'register_confirm' => 'Por favor, verifique o seu e-mail e carregue no botão de confirmação para aceder :appName.',
+ 'registrations_disabled' => 'Os registos estão temporariamente desativados',
+ 'registration_email_domain_invalid' => 'O domínio de e-mail usado não tem acesso permitido a esta aplicação',
+ 'register_success' => 'Obrigado por se registar! Você está agora registado e com a sessão iniciada.',
// Password Reset
- 'reset_password' => 'Reset Password',
- 'reset_password_send_instructions' => 'Enter your email below and you will be sent an email with a password reset link.',
- 'reset_password_send_button' => 'Send Reset Link',
- 'reset_password_sent' => 'A password reset link will be sent to :email if that email address is found in the system.',
- 'reset_password_success' => 'Your password has been successfully reset.',
- 'email_reset_subject' => 'Reset your :appName password',
- 'email_reset_text' => 'You are receiving this email because we received a password reset request for your account.',
- 'email_reset_not_requested' => 'If you did not request a password reset, no further action is required.',
+ 'reset_password' => 'Redefinir Senha',
+ 'reset_password_send_instructions' => 'Insira o seu endereço de e-mail abaixo, e uma mensagem com o link de redefinição de palavra-passe será lhe enviada.',
+ 'reset_password_send_button' => 'Enviar o Link de Redefinição',
+ 'reset_password_sent' => 'Um link de redefinição de palavra-passe será enviado para :email, se o endereço de e-mail for encontrado no sistema.',
+ 'reset_password_success' => 'A sua palavra-passe foi redefinida com sucesso.',
+ 'email_reset_subject' => 'Redefina a sua palavra-passe de :appName',
+ 'email_reset_text' => 'Você recebeu este e-mail pois recebemos uma solicitação de redefinição de senha para a sua conta.',
+ 'email_reset_not_requested' => 'Caso não tenha sido você a solicitar a redefinição de senha, ignore este e-mail.',
// Email Confirmation
- 'email_confirm_subject' => 'Confirm your email on :appName',
- 'email_confirm_greeting' => 'Thanks for joining :appName!',
- 'email_confirm_text' => 'Please confirm your email address by clicking the button below:',
- 'email_confirm_action' => 'Confirm Email',
- 'email_confirm_send_error' => 'Email confirmation required but the system could not send the email. Contact the admin to ensure email is set up correctly.',
- 'email_confirm_success' => 'Your email has been confirmed!',
- 'email_confirm_resent' => 'Confirmation email resent, Please check your inbox.',
+ 'email_confirm_subject' => 'Confirme o seu endereço de e-mail para :appName',
+ 'email_confirm_greeting' => 'Obrigado por se registar em :appName!',
+ 'email_confirm_text' => 'Por favor, confirme o seu endereço de e-mail ao carregar no botão abaixo:',
+ 'email_confirm_action' => 'Confirmar E-mail',
+ 'email_confirm_send_error' => 'A confirmação do endereço de e-mail é requerida, mas o sistema não pôde enviar a mensagem. Por favor, entre em contacto com o administrador para se certificar que o serviço de envio de e-mails está corretamente configurado.',
+ 'email_confirm_success' => 'O seu endereço de e-mail foi confirmado!',
+ 'email_confirm_resent' => 'E-mail de confirmação reenviado. Por favor, verifique a sua caixa de entrada.',
- 'email_not_confirmed' => 'Email Address Not Confirmed',
- 'email_not_confirmed_text' => 'Your email address has not yet been confirmed.',
- 'email_not_confirmed_click_link' => 'Please click the link in the email that was sent shortly after you registered.',
- 'email_not_confirmed_resend' => 'If you cannot find the email you can re-send the confirmation email by submitting the form below.',
- 'email_not_confirmed_resend_button' => 'Resend Confirmation Email',
+ 'email_not_confirmed' => 'Endereço de E-mail Não Confirmado',
+ 'email_not_confirmed_text' => 'O seu endereço de e-mail ainda não foi confirmado.',
+ 'email_not_confirmed_click_link' => 'Por favor, carregue no link que se encontra no e-mail que lhe foi enviado após o seu registo.',
+ 'email_not_confirmed_resend' => 'Caso não encontre o e-mail poderá reenviar a confirmação utilizando o formulário abaixo.',
+ 'email_not_confirmed_resend_button' => 'Reenviar o E-mail de Confirmação',
// User Invite
- 'user_invite_email_subject' => 'You have been invited to join :appName!',
- 'user_invite_email_greeting' => 'An account has been created for you on :appName.',
- 'user_invite_email_text' => 'Click the button below to set an account password and gain access:',
- 'user_invite_email_action' => 'Set Account Password',
- 'user_invite_page_welcome' => 'Welcome to :appName!',
- 'user_invite_page_text' => 'To finalise your account and gain access you need to set a password which will be used to log-in to :appName on future visits.',
- 'user_invite_page_confirm_button' => 'Confirm Password',
- 'user_invite_success' => 'Password set, you now have access to :appName!'
+ 'user_invite_email_subject' => 'Você recebeu um convite para se juntar a :appName!',
+ 'user_invite_email_greeting' => 'Uma conta foi criada para si em :appName.',
+ 'user_invite_email_text' => 'Carregue no botão abaixo para definir uma palavra-passe de conta e obter acesso:',
+ 'user_invite_email_action' => 'Defina a Palavra-passe da Conta',
+ 'user_invite_page_welcome' => 'Bem-vindo(a) a :appName!',
+ 'user_invite_page_text' => 'Para finalizar a sua conta e obter acesso, precisa de definir uma senha que será utilizada para efetuar login em :appName em visitas futuras.',
+ 'user_invite_page_confirm_button' => 'Confirmar Palavra-Passe',
+ 'user_invite_success' => 'Palavra-passe definida, tem agora acesso a :appName!'
];
\ No newline at end of file
return [
// Buttons
- 'cancel' => 'Cancel',
- 'confirm' => 'Confirm',
- 'back' => 'Back',
- 'save' => 'Save',
- 'continue' => 'Continue',
- 'select' => 'Select',
- 'toggle_all' => 'Toggle All',
- 'more' => 'More',
+ 'cancel' => 'Cancelar',
+ 'confirm' => 'Confirmar',
+ 'back' => 'Voltar',
+ 'save' => 'Guardar',
+ 'continue' => 'Continuar',
+ 'select' => 'Selecionar',
+ 'toggle_all' => 'Alternar Todos',
+ 'more' => 'Mais',
// Form Labels
- 'name' => 'Name',
- 'description' => 'Description',
- 'role' => 'Role',
- 'cover_image' => 'Cover image',
- 'cover_image_description' => 'This image should be approx 440x250px.',
+ 'name' => 'Nome',
+ 'description' => 'Descrição',
+ 'role' => 'Cargo',
+ 'cover_image' => 'Imagem de capa',
+ 'cover_image_description' => 'Esta imagem deve ser aproximadamente 440x250px.',
// Actions
- 'actions' => 'Actions',
- 'view' => 'View',
- 'view_all' => 'View All',
- 'create' => 'Create',
- 'update' => 'Update',
- 'edit' => 'Edit',
- 'sort' => 'Sort',
- 'move' => 'Move',
- 'copy' => 'Copy',
- 'reply' => 'Reply',
- 'delete' => 'Delete',
- 'delete_confirm' => 'Confirm Deletion',
- 'search' => 'Search',
- 'search_clear' => 'Clear Search',
- 'reset' => 'Reset',
- 'remove' => 'Remove',
- 'add' => 'Add',
- 'fullscreen' => 'Fullscreen',
+ 'actions' => 'Ações',
+ 'view' => 'Visualizar',
+ 'view_all' => 'Visualizar Todos',
+ 'create' => 'Criar',
+ 'update' => 'Atualizar',
+ 'edit' => 'Editar',
+ 'sort' => 'Ordenar',
+ 'move' => 'Mover',
+ 'copy' => 'Copiar',
+ 'reply' => 'Responder',
+ 'delete' => 'Eliminar',
+ 'delete_confirm' => 'Confirmar eliminação',
+ 'search' => 'Pesquisar',
+ 'search_clear' => 'Limpar Pesquisa',
+ 'reset' => 'Redefinir',
+ 'remove' => 'Remover',
+ 'add' => 'Adicionar',
+ 'fullscreen' => 'Ecrã completo',
+ 'favourite' => 'Favourite',
+ 'unfavourite' => 'Unfavourite',
+ 'next' => 'Next',
+ 'previous' => 'Previous',
// Sort Options
- 'sort_options' => 'Sort Options',
- 'sort_direction_toggle' => 'Sort Direction Toggle',
- 'sort_ascending' => 'Sort Ascending',
- 'sort_descending' => 'Sort Descending',
- 'sort_name' => 'Name',
- 'sort_created_at' => 'Created Date',
- 'sort_updated_at' => 'Updated Date',
+ 'sort_options' => 'Opções de Ordenação',
+ 'sort_direction_toggle' => 'Alternar Direção de Ordenação',
+ 'sort_ascending' => 'Ordenação Crescente',
+ 'sort_descending' => 'Ordenação Decrescente',
+ 'sort_name' => 'Nome',
+ 'sort_default' => 'Padrão',
+ 'sort_created_at' => 'Data de Criação',
+ 'sort_updated_at' => 'Data de Atualização',
// Misc
- 'deleted_user' => 'Deleted User',
- 'no_activity' => 'No activity to show',
- 'no_items' => 'No items available',
- 'back_to_top' => 'Back to top',
- 'toggle_details' => 'Toggle Details',
- 'toggle_thumbnails' => 'Toggle Thumbnails',
- 'details' => 'Details',
- 'grid_view' => 'Grid View',
- 'list_view' => 'List View',
- 'default' => 'Default',
- 'breadcrumb' => 'Breadcrumb',
+ 'deleted_user' => 'Utilizador Eliminado',
+ 'no_activity' => 'Nenhuma atividade a mostrar',
+ 'no_items' => 'Nenhum item disponível',
+ 'back_to_top' => 'Voltar ao topo',
+ 'toggle_details' => 'Alternar Detalhes',
+ 'toggle_thumbnails' => 'Alternar Miniaturas',
+ 'details' => 'Detalhes',
+ 'grid_view' => 'Visualização em Grade',
+ 'list_view' => 'Visualização em Lista',
+ 'default' => 'Padrão',
+ 'breadcrumb' => 'Caminho',
// Header
- 'profile_menu' => 'Profile Menu',
- 'view_profile' => 'View Profile',
- 'edit_profile' => 'Edit Profile',
- 'dark_mode' => 'Dark Mode',
- 'light_mode' => 'Light Mode',
+ 'header_menu_expand' => 'Expandir Menu de Cabeçalho',
+ 'profile_menu' => 'Menu de Perfil',
+ 'view_profile' => 'Visualizar Perfil',
+ 'edit_profile' => 'Editar Perfil',
+ 'dark_mode' => 'Modo Escuro',
+ 'light_mode' => 'Modo Claro',
// Layout tabs
- 'tab_info' => 'Info',
- 'tab_content' => 'Content',
+ 'tab_info' => 'Informações',
+ 'tab_info_label' => 'Separador: Mostrar Informação Secundária',
+ 'tab_content' => 'Conteúdo',
+ 'tab_content_label' => 'Separador: Mostrar Conteúdo Primário',
// Email Content
- 'email_action_help' => 'If you’re having trouble clicking the ":actionText" button, copy and paste the URL below into your web browser:',
- 'email_rights' => 'All rights reserved',
+ 'email_action_help' => 'Se estiver com problemas ao carregar no botão ":actionText", copie e cole o URL abaixo no seu navegador:',
+ 'email_rights' => 'Todos os direitos reservados',
+
+ // Footer Link Options
+ // Not directly used but available for convenience to users.
+ 'privacy_policy' => 'Política de Privacidade',
+ 'terms_of_service' => 'Termos de Utilização',
];
return [
// Image Manager
- 'image_select' => 'Image Select',
- 'image_all' => 'All',
- 'image_all_title' => 'View all images',
- 'image_book_title' => 'View images uploaded to this book',
- 'image_page_title' => 'View images uploaded to this page',
- 'image_search_hint' => 'Search by image name',
- 'image_uploaded' => 'Uploaded :uploadedDate',
- 'image_load_more' => 'Load More',
- 'image_image_name' => 'Image Name',
- 'image_delete_used' => 'This image is used in the pages below.',
- 'image_delete_confirm_text' => 'Are you sure you want to delete this image?',
- 'image_select_image' => 'Select Image',
- 'image_dropzone' => 'Drop images or click here to upload',
- 'images_deleted' => 'Images Deleted',
- 'image_preview' => 'Image Preview',
- 'image_upload_success' => 'Image uploaded successfully',
- 'image_update_success' => 'Image details successfully updated',
- 'image_delete_success' => 'Image successfully deleted',
- 'image_upload_remove' => 'Remove',
+ 'image_select' => 'Selecionar Imagem',
+ 'image_all' => 'Todas',
+ 'image_all_title' => 'Visualizar todas as imagens',
+ 'image_book_title' => 'Visualizar imagens relacionadas a este livro',
+ 'image_page_title' => 'Visualizar imagens relacionadas a esta página',
+ 'image_search_hint' => 'Pesquisar imagem por nome',
+ 'image_uploaded' => 'Adicionada em :uploadedDate',
+ 'image_load_more' => 'Carregar Mais',
+ 'image_image_name' => 'Nome da Imagem',
+ 'image_delete_used' => 'Esta imagem é utilizada nas páginas abaixo.',
+ 'image_delete_confirm_text' => 'Tem certeza de que deseja eliminar esta imagem?',
+ 'image_select_image' => 'Selecionar Imagem',
+ 'image_dropzone' => 'Arraste imagens ou carregue aqui para fazer upload',
+ 'images_deleted' => 'Imagens Eliminadas',
+ 'image_preview' => 'Pré-visualização de Imagem',
+ 'image_upload_success' => 'Carregamento da imagem efetuado com sucesso',
+ 'image_update_success' => 'Detalhes da imagem atualizados com sucesso',
+ 'image_delete_success' => 'Imagem eliminada com sucesso',
+ 'image_upload_remove' => 'Remover',
// Code Editor
- 'code_editor' => 'Edit Code',
- 'code_language' => 'Code Language',
- 'code_content' => 'Code Content',
- 'code_session_history' => 'Session History',
- 'code_save' => 'Save Code',
+ 'code_editor' => 'Editar Código',
+ 'code_language' => 'Linguagem do Código',
+ 'code_content' => 'Código',
+ 'code_session_history' => 'Histórico de Sessão',
+ 'code_save' => 'Guardar Código',
];
return [
// Shared
- 'recently_created' => 'Recently Created',
- 'recently_created_pages' => 'Recently Created Pages',
- 'recently_updated_pages' => 'Recently Updated Pages',
- 'recently_created_chapters' => 'Recently Created Chapters',
- 'recently_created_books' => 'Recently Created Books',
- 'recently_created_shelves' => 'Recently Created Shelves',
- 'recently_update' => 'Recently Updated',
- 'recently_viewed' => 'Recently Viewed',
- 'recent_activity' => 'Recent Activity',
- 'create_now' => 'Create one now',
- 'revisions' => 'Revisions',
- 'meta_revision' => 'Revision #:revisionCount',
- 'meta_created' => 'Created :timeLength',
- 'meta_created_name' => 'Created :timeLength by :user',
- 'meta_updated' => 'Updated :timeLength',
- 'meta_updated_name' => 'Updated :timeLength by :user',
- 'entity_select' => 'Entity Select',
- 'images' => 'Images',
- 'my_recent_drafts' => 'My Recent Drafts',
- 'my_recently_viewed' => 'My Recently Viewed',
- 'no_pages_viewed' => 'You have not viewed any pages',
- 'no_pages_recently_created' => 'No pages have been recently created',
- 'no_pages_recently_updated' => 'No pages have been recently updated',
- 'export' => 'Export',
- 'export_html' => 'Contained Web File',
- 'export_pdf' => 'PDF File',
- 'export_text' => 'Plain Text File',
+ 'recently_created' => 'Criado recentemente',
+ 'recently_created_pages' => 'Páginas Criadas Recentemente',
+ 'recently_updated_pages' => 'Páginas Atualizadas Recentemente',
+ 'recently_created_chapters' => 'Capítulos Criados Recentemente',
+ 'recently_created_books' => 'Livros Criados Recentemente',
+ 'recently_created_shelves' => 'Estantes Criadas Recentemente',
+ 'recently_update' => 'Atualizados Recentemente',
+ 'recently_viewed' => 'Visualizados Recentemente',
+ 'recent_activity' => 'Atividade Recente',
+ 'create_now' => 'Criar um agora',
+ 'revisions' => 'Revisões',
+ 'meta_revision' => 'Revisão #:revisionCount',
+ 'meta_created' => 'Criado :timeLength',
+ 'meta_created_name' => 'Criado :timeLength por :user',
+ 'meta_updated' => 'Atualizado :timeLength',
+ 'meta_updated_name' => 'Atualizado :timeLength por :user',
+ 'meta_owned_name' => 'Propriedade de :user',
+ 'entity_select' => 'Seleção de Entidade',
+ 'images' => 'Imagens',
+ 'my_recent_drafts' => 'Os Meus Rascunhos Recentes',
+ 'my_recently_viewed' => 'Visualizados Recentemente Por Mim',
+ 'my_most_viewed_favourites' => 'My Most Viewed Favourites',
+ 'my_favourites' => 'My Favourites',
+ 'no_pages_viewed' => 'Você não viu nenhuma página',
+ 'no_pages_recently_created' => 'Nenhuma página foi recentemente criada',
+ 'no_pages_recently_updated' => 'Nenhuma página foi recentemente atualizada',
+ 'export' => 'Exportar',
+ 'export_html' => 'Arquivo Web contido',
+ 'export_pdf' => 'Arquivo PDF',
+ 'export_text' => 'Arquivo Texto',
// Permissions and restrictions
- 'permissions' => 'Permissions',
- 'permissions_intro' => 'Once enabled, These permissions will take priority over any set role permissions.',
- 'permissions_enable' => 'Enable Custom Permissions',
- 'permissions_save' => 'Save Permissions',
+ 'permissions' => 'Permissões',
+ 'permissions_intro' => 'Uma vez ativadas, estas permissões terão prioridade sobre quaisquer outro conjunto de permissões.',
+ 'permissions_enable' => 'Ativar Permissões Personalizadas',
+ 'permissions_save' => 'Guardar Permissões',
+ 'permissions_owner' => 'Proprietário',
// Search
- 'search_results' => 'Search Results',
- 'search_total_results_found' => ':count result found|:count total results found',
- 'search_clear' => 'Clear Search',
- 'search_no_pages' => 'No pages matched this search',
- 'search_for_term' => 'Search for :term',
- 'search_more' => 'More Results',
- 'search_advanced' => 'Advanced Search',
- 'search_terms' => 'Search Terms',
- 'search_content_type' => 'Content Type',
- 'search_exact_matches' => 'Exact Matches',
- 'search_tags' => 'Tag Searches',
- 'search_options' => 'Options',
- 'search_viewed_by_me' => 'Viewed by me',
- 'search_not_viewed_by_me' => 'Not viewed by me',
- 'search_permissions_set' => 'Permissions set',
- 'search_created_by_me' => 'Created by me',
- 'search_updated_by_me' => 'Updated by me',
- 'search_date_options' => 'Date Options',
- 'search_updated_before' => 'Updated before',
- 'search_updated_after' => 'Updated after',
- 'search_created_before' => 'Created before',
- 'search_created_after' => 'Created after',
- 'search_set_date' => 'Set Date',
- 'search_update' => 'Update Search',
+ 'search_results' => 'Resultado(s) da Pesquisa',
+ 'search_total_results_found' => ':count resultado encontrado|:count resultados encontrados',
+ 'search_clear' => 'Limpar Pesquisa',
+ 'search_no_pages' => 'Nenhuma página corresponde à pesquisa',
+ 'search_for_term' => 'Pesquisar por :term',
+ 'search_more' => 'Mais Resultados',
+ 'search_advanced' => 'Pesquisa Avançada',
+ 'search_terms' => 'Termos da Pesquisa',
+ 'search_content_type' => 'Tipo de Conteúdo',
+ 'search_exact_matches' => 'Correspondências Exatas',
+ 'search_tags' => 'Persquisar Tags',
+ 'search_options' => 'Opções',
+ 'search_viewed_by_me' => 'Visualizado por mim',
+ 'search_not_viewed_by_me' => 'Não visualizado por mim',
+ 'search_permissions_set' => 'Permissão definida',
+ 'search_created_by_me' => 'Criado por mim',
+ 'search_updated_by_me' => 'Atualizado por mim',
+ 'search_owned_by_me' => 'Propriedade minha',
+ 'search_date_options' => 'Opções de Data',
+ 'search_updated_before' => 'Atualizado antes de',
+ 'search_updated_after' => 'Atualizado depois de',
+ 'search_created_before' => 'Criado antes de',
+ 'search_created_after' => 'Criado depois de',
+ 'search_set_date' => 'Definir Data',
+ 'search_update' => 'Atualizar pesquisa',
// Shelves
- 'shelf' => 'Shelf',
- 'shelves' => 'Shelves',
- 'x_shelves' => ':count Shelf|:count Shelves',
- 'shelves_long' => 'Bookshelves',
- 'shelves_empty' => 'No shelves have been created',
- 'shelves_create' => 'Create New Shelf',
- 'shelves_popular' => 'Popular Shelves',
- 'shelves_new' => 'New Shelves',
- 'shelves_new_action' => 'New Shelf',
- 'shelves_popular_empty' => 'The most popular shelves will appear here.',
- 'shelves_new_empty' => 'The most recently created shelves will appear here.',
- 'shelves_save' => 'Save Shelf',
- 'shelves_books' => 'Books on this shelf',
- 'shelves_add_books' => 'Add books to this shelf',
- 'shelves_drag_books' => 'Drag books here to add them to this shelf',
- 'shelves_empty_contents' => 'This shelf has no books assigned to it',
- 'shelves_edit_and_assign' => 'Edit shelf to assign books',
- 'shelves_edit_named' => 'Edit Bookshelf :name',
- 'shelves_edit' => 'Edit Bookshelf',
- 'shelves_delete' => 'Delete Bookshelf',
- 'shelves_delete_named' => 'Delete Bookshelf :name',
- 'shelves_delete_explain' => "This will delete the bookshelf with the name ':name'. Contained books will not be deleted.",
- 'shelves_delete_confirmation' => 'Are you sure you want to delete this bookshelf?',
- 'shelves_permissions' => 'Bookshelf Permissions',
- 'shelves_permissions_updated' => 'Bookshelf Permissions Updated',
- 'shelves_permissions_active' => 'Bookshelf Permissions Active',
- 'shelves_copy_permissions_to_books' => 'Copy Permissions to Books',
- 'shelves_copy_permissions' => 'Copy Permissions',
- 'shelves_copy_permissions_explain' => 'This will apply the current permission settings of this bookshelf to all books contained within. Before activating, ensure any changes to the permissions of this bookshelf have been saved.',
- 'shelves_copy_permission_success' => 'Bookshelf permissions copied to :count books',
+ 'shelf' => 'Estante',
+ 'shelves' => 'Estantes',
+ 'x_shelves' => ':count Estante|:count Estantes',
+ 'shelves_long' => 'Estantes de Livros',
+ 'shelves_empty' => 'Nenhuma estante foi criada',
+ 'shelves_create' => 'Criar Nova Estante',
+ 'shelves_popular' => 'Estantes Populares',
+ 'shelves_new' => 'Estantes Novas',
+ 'shelves_new_action' => 'Nova Estante',
+ 'shelves_popular_empty' => 'As estantes mais populares serão mostradas aqui.',
+ 'shelves_new_empty' => 'As mais recentes estantes criadas serão mostradas aqui.',
+ 'shelves_save' => 'Guardar Estante',
+ 'shelves_books' => 'Livros nesta estante',
+ 'shelves_add_books' => 'Adicionar livros a esta estante',
+ 'shelves_drag_books' => 'Arraste livros aqui para adicioná-los a esta estante',
+ 'shelves_empty_contents' => 'Esta estante não tem livros atribuídos',
+ 'shelves_edit_and_assign' => 'Editar estante para atribuir livros',
+ 'shelves_edit_named' => 'Editar Estante de Livros :name',
+ 'shelves_edit' => 'Editar Estante de Livros',
+ 'shelves_delete' => 'Eliminar Estante de Livros',
+ 'shelves_delete_named' => 'Excluir Prateleira de Livros :name',
+ 'shelves_delete_explain' => "A ação vai eliminar a estante de nome ':name'. Os livros nela presentes não serão eliminados.",
+ 'shelves_delete_confirmation' => 'Tem a certeza que quer eliminar esta estante de livros?',
+ 'shelves_permissions' => 'Permissões da Estante',
+ 'shelves_permissions_updated' => 'Permissões da Estante de Livros Atualizada',
+ 'shelves_permissions_active' => 'Permissões da Estante de Livros Ativas',
+ 'shelves_copy_permissions_to_books' => 'Copiar Permissões para Livros',
+ 'shelves_copy_permissions' => 'Copiar Permissões',
+ 'shelves_copy_permissions_explain' => 'Isto aplicará as configurações de permissões atuais desta estante a todos os livros nela contidos. Antes de ativar, assegure-se de que quaisquer alterações nas permissões desta estante foram guardadas.',
+ 'shelves_copy_permission_success' => 'Permissões de estante copiadas para :count livros',
// Books
- 'book' => 'Book',
- 'books' => 'Books',
- 'x_books' => ':count Book|:count Books',
- 'books_empty' => 'No books have been created',
- 'books_popular' => 'Popular Books',
- 'books_recent' => 'Recent Books',
- 'books_new' => 'New Books',
- 'books_new_action' => 'New Book',
- 'books_popular_empty' => 'The most popular books will appear here.',
- 'books_new_empty' => 'The most recently created books will appear here.',
- 'books_create' => 'Create New Book',
- 'books_delete' => 'Delete Book',
- 'books_delete_named' => 'Delete Book :bookName',
- 'books_delete_explain' => 'This will delete the book with the name \':bookName\'. All pages and chapters will be removed.',
- 'books_delete_confirmation' => 'Are you sure you want to delete this book?',
- 'books_edit' => 'Edit Book',
- 'books_edit_named' => 'Edit Book :bookName',
- 'books_form_book_name' => 'Book Name',
- 'books_save' => 'Save Book',
- 'books_permissions' => 'Book Permissions',
- 'books_permissions_updated' => 'Book Permissions Updated',
- 'books_empty_contents' => 'No pages or chapters have been created for this book.',
- 'books_empty_create_page' => 'Create a new page',
- 'books_empty_sort_current_book' => 'Sort the current book',
- 'books_empty_add_chapter' => 'Add a chapter',
- 'books_permissions_active' => 'Book Permissions Active',
- 'books_search_this' => 'Search this book',
- 'books_navigation' => 'Book Navigation',
- 'books_sort' => 'Sort Book Contents',
- 'books_sort_named' => 'Sort Book :bookName',
- 'books_sort_name' => 'Sort by Name',
- 'books_sort_created' => 'Sort by Created Date',
- 'books_sort_updated' => 'Sort by Updated Date',
- 'books_sort_chapters_first' => 'Chapters First',
- 'books_sort_chapters_last' => 'Chapters Last',
- 'books_sort_show_other' => 'Show Other Books',
- 'books_sort_save' => 'Save New Order',
+ 'book' => 'Livro',
+ 'books' => 'Livros',
+ 'x_books' => ':count Livro|:count Livros',
+ 'books_empty' => 'Nenhum livro foi criado',
+ 'books_popular' => 'Livros Populares',
+ 'books_recent' => 'Livros Recentes',
+ 'books_new' => 'Livros Novos',
+ 'books_new_action' => 'Novo Livro',
+ 'books_popular_empty' => 'Os livros mais populares serão mostrados aqui.',
+ 'books_new_empty' => 'Os livros mais recentemente criados serão mostrados aqui.',
+ 'books_create' => 'Criar Livro Novo',
+ 'books_delete' => 'Eliminar Livro',
+ 'books_delete_named' => 'Eliminar Livro :bookName',
+ 'books_delete_explain' => 'A ação vai eliminar o livro com de nome \':bookName\'. Todas as páginas e capítulos serão também removidos.',
+ 'books_delete_confirmation' => 'Tem a certeza que quer eliminar este livro?',
+ 'books_edit' => 'Editar Livro',
+ 'books_edit_named' => 'Editar Livro :bookName',
+ 'books_form_book_name' => 'Nome do Livro',
+ 'books_save' => 'Guardar Livro',
+ 'books_permissions' => 'Permissões do Livro',
+ 'books_permissions_updated' => 'Permissões do Livro Atualizadas',
+ 'books_empty_contents' => 'Nenhuma página ou capítulo foram criados para este livro.',
+ 'books_empty_create_page' => 'Criar uma nova página',
+ 'books_empty_sort_current_book' => 'Ordenar o livro atual',
+ 'books_empty_add_chapter' => 'Adicionar um capítulo',
+ 'books_permissions_active' => 'Permissões do Livro Ativas',
+ 'books_search_this' => 'Pesquisar neste livro',
+ 'books_navigation' => 'Navegação do Livro',
+ 'books_sort' => 'Ordenar Conteúdos do Livro',
+ 'books_sort_named' => 'Ordenar Livro :bookName',
+ 'books_sort_name' => 'Ordenar por Nome',
+ 'books_sort_created' => 'Ordenar por Data de Criação',
+ 'books_sort_updated' => 'Ordenar por Data de Atualização',
+ 'books_sort_chapters_first' => 'Capítulos Primeiro',
+ 'books_sort_chapters_last' => 'Capítulos por Último',
+ 'books_sort_show_other' => 'Mostrar Outros Livros',
+ 'books_sort_save' => 'Guardar Nova Ordenação',
// Chapters
- 'chapter' => 'Chapter',
- 'chapters' => 'Chapters',
- 'x_chapters' => ':count Chapter|:count Chapters',
- 'chapters_popular' => 'Popular Chapters',
- 'chapters_new' => 'New Chapter',
- 'chapters_create' => 'Create New Chapter',
- 'chapters_delete' => 'Delete Chapter',
- 'chapters_delete_named' => 'Delete Chapter :chapterName',
- 'chapters_delete_explain' => 'This will delete the chapter with the name \':chapterName\'. All pages will be removed and added directly to the parent book.',
- 'chapters_delete_confirm' => 'Are you sure you want to delete this chapter?',
- 'chapters_edit' => 'Edit Chapter',
- 'chapters_edit_named' => 'Edit Chapter :chapterName',
- 'chapters_save' => 'Save Chapter',
- 'chapters_move' => 'Move Chapter',
- 'chapters_move_named' => 'Move Chapter :chapterName',
- 'chapter_move_success' => 'Chapter moved to :bookName',
- 'chapters_permissions' => 'Chapter Permissions',
- 'chapters_empty' => 'No pages are currently in this chapter.',
- 'chapters_permissions_active' => 'Chapter Permissions Active',
- 'chapters_permissions_success' => 'Chapter Permissions Updated',
- 'chapters_search_this' => 'Search this chapter',
+ 'chapter' => 'Capítulo',
+ 'chapters' => 'Capítulos',
+ 'x_chapters' => ':count Capítulo|:count Capítulos',
+ 'chapters_popular' => 'Capítulos Populares',
+ 'chapters_new' => 'Novo Capítulo',
+ 'chapters_create' => 'Criar Novo Capítulo',
+ 'chapters_delete' => 'Eliminar Capítulo',
+ 'chapters_delete_named' => 'Eliminar Capítulo :chapterName',
+ 'chapters_delete_explain' => 'Isto irá eliminar o capítulo com o nome \':chapterName\'. Todas as páginas existentes dentro do mesmo serão também eliminadas.',
+ 'chapters_delete_confirm' => 'Tem certeza que deseja eliminar o capítulo?',
+ 'chapters_edit' => 'Editar Capítulo',
+ 'chapters_edit_named' => 'Editar Capítulo :chapterName',
+ 'chapters_save' => 'Guardar Capítulo',
+ 'chapters_move' => 'Mover Capítulo',
+ 'chapters_move_named' => 'Mover Capítulo :chapterName',
+ 'chapter_move_success' => 'Capítulo movido para :bookName',
+ 'chapters_permissions' => 'Permissões do Capítulo',
+ 'chapters_empty' => 'Nenhuma página existente neste capítulo.',
+ 'chapters_permissions_active' => 'Permissões de Capítulo Ativas',
+ 'chapters_permissions_success' => 'Permissões de Capítulo Atualizadas',
+ 'chapters_search_this' => 'Pesquisar neste Capítulo',
// Pages
- 'page' => 'Page',
- 'pages' => 'Pages',
- 'x_pages' => ':count Page|:count Pages',
- 'pages_popular' => 'Popular Pages',
- 'pages_new' => 'New Page',
- 'pages_attachments' => 'Attachments',
- 'pages_navigation' => 'Page Navigation',
- 'pages_delete' => 'Delete Page',
- 'pages_delete_named' => 'Delete Page :pageName',
- 'pages_delete_draft_named' => 'Delete Draft Page :pageName',
- 'pages_delete_draft' => 'Delete Draft Page',
- 'pages_delete_success' => 'Page deleted',
- 'pages_delete_draft_success' => 'Draft page deleted',
- 'pages_delete_confirm' => 'Are you sure you want to delete this page?',
- 'pages_delete_draft_confirm' => 'Are you sure you want to delete this draft page?',
- 'pages_editing_named' => 'Editing Page :pageName',
- 'pages_edit_draft_options' => 'Draft Options',
- 'pages_edit_save_draft' => 'Save Draft',
- 'pages_edit_draft' => 'Edit Page Draft',
- 'pages_editing_draft' => 'Editing Draft',
- 'pages_editing_page' => 'Editing Page',
- 'pages_edit_draft_save_at' => 'Draft saved at ',
- 'pages_edit_delete_draft' => 'Delete Draft',
- 'pages_edit_discard_draft' => 'Discard Draft',
- 'pages_edit_set_changelog' => 'Set Changelog',
- 'pages_edit_enter_changelog_desc' => 'Enter a brief description of the changes you\'ve made',
- 'pages_edit_enter_changelog' => 'Enter Changelog',
- 'pages_save' => 'Save Page',
- 'pages_title' => 'Page Title',
- 'pages_name' => 'Page Name',
+ 'page' => 'Página',
+ 'pages' => 'Páginas',
+ 'x_pages' => ':count Página|:count Páginas',
+ 'pages_popular' => 'Páginas Populares',
+ 'pages_new' => 'Nova Página',
+ 'pages_attachments' => 'Anexos',
+ 'pages_navigation' => 'Navegação da Página',
+ 'pages_delete' => 'Eliminar Página',
+ 'pages_delete_named' => 'Eliminar Página :pageName',
+ 'pages_delete_draft_named' => 'Eliminar Rascunho de Página de nome :pageName',
+ 'pages_delete_draft' => 'Eliminar Rascunho de Página',
+ 'pages_delete_success' => 'Página eliminada',
+ 'pages_delete_draft_success' => 'Rascunho de página eliminado',
+ 'pages_delete_confirm' => 'Tem certeza que deseja eliminar a página?',
+ 'pages_delete_draft_confirm' => 'Tem certeza que deseja eliminar o rascunho de página?',
+ 'pages_editing_named' => 'A Editar a Página :pageName',
+ 'pages_edit_draft_options' => 'Opções de Rascunho',
+ 'pages_edit_save_draft' => 'Guardar Rascunho',
+ 'pages_edit_draft' => 'Editar Rascunho de Página',
+ 'pages_editing_draft' => 'A Editar Rascunho',
+ 'pages_editing_page' => 'A Editar Página',
+ 'pages_edit_draft_save_at' => 'Rascunho guardado em ',
+ 'pages_edit_delete_draft' => 'Eliminar Rascunho',
+ 'pages_edit_discard_draft' => 'Descartar Rascunho',
+ 'pages_edit_set_changelog' => 'Relatar Alterações',
+ 'pages_edit_enter_changelog_desc' => 'Digite uma breve descrição das alterações efetuadas por si',
+ 'pages_edit_enter_changelog' => 'Inserir Alterações',
+ 'pages_save' => 'Guardar Página',
+ 'pages_title' => 'Título da Página',
+ 'pages_name' => 'Nome da Página',
'pages_md_editor' => 'Editor',
- 'pages_md_preview' => 'Preview',
- 'pages_md_insert_image' => 'Insert Image',
- 'pages_md_insert_link' => 'Insert Entity Link',
- 'pages_md_insert_drawing' => 'Insert Drawing',
- 'pages_not_in_chapter' => 'Page is not in a chapter',
- 'pages_move' => 'Move Page',
- 'pages_move_success' => 'Page moved to ":parentName"',
- 'pages_copy' => 'Copy Page',
- 'pages_copy_desination' => 'Copy Destination',
- 'pages_copy_success' => 'Page successfully copied',
- 'pages_permissions' => 'Page Permissions',
- 'pages_permissions_success' => 'Page permissions updated',
- 'pages_revision' => 'Revision',
- 'pages_revisions' => 'Page Revisions',
- 'pages_revisions_named' => 'Page Revisions for :pageName',
- 'pages_revision_named' => 'Page Revision for :pageName',
- 'pages_revisions_created_by' => 'Created By',
- 'pages_revisions_date' => 'Revision Date',
+ 'pages_md_preview' => 'Pré-Visualização',
+ 'pages_md_insert_image' => 'Inserir Imagem',
+ 'pages_md_insert_link' => 'Inserir Link para Entidade',
+ 'pages_md_insert_drawing' => 'Inserir Desenho',
+ 'pages_not_in_chapter' => 'A página não está dentro de um capítulo',
+ 'pages_move' => 'Mover Página',
+ 'pages_move_success' => 'Pagina movida para ":parentName"',
+ 'pages_copy' => 'Copiar Página',
+ 'pages_copy_desination' => 'Destino da Cópia',
+ 'pages_copy_success' => 'Página copiada com sucesso',
+ 'pages_permissions' => 'Permissões da Página',
+ 'pages_permissions_success' => 'Permissões da Página atualizadas',
+ 'pages_revision' => 'Revisão',
+ 'pages_revisions' => 'Revisões da Página',
+ 'pages_revisions_named' => 'Revisões de Página para :pageName',
+ 'pages_revision_named' => 'Revisão de Página para :pageName',
+ 'pages_revision_restored_from' => 'Recuperado de #:id; :summary',
+ 'pages_revisions_created_by' => 'Criado por',
+ 'pages_revisions_date' => 'Data da Revisão',
'pages_revisions_number' => '#',
- 'pages_revisions_numbered' => 'Revision #:id',
- 'pages_revisions_numbered_changes' => 'Revision #:id Changes',
- 'pages_revisions_changelog' => 'Changelog',
- 'pages_revisions_changes' => 'Changes',
- 'pages_revisions_current' => 'Current Version',
- 'pages_revisions_preview' => 'Preview',
- 'pages_revisions_restore' => 'Restore',
- 'pages_revisions_none' => 'This page has no revisions',
- 'pages_copy_link' => 'Copy Link',
- 'pages_edit_content_link' => 'Edit Content',
- 'pages_permissions_active' => 'Page Permissions Active',
- 'pages_initial_revision' => 'Initial publish',
- 'pages_initial_name' => 'New Page',
- 'pages_editing_draft_notification' => 'You are currently editing a draft that was last saved :timeDiff.',
- 'pages_draft_edited_notification' => 'This page has been updated by since that time. It is recommended that you discard this draft.',
+ 'pages_revisions_numbered' => 'Revisão #:id',
+ 'pages_revisions_numbered_changes' => 'Alterações da Revisão #:id',
+ 'pages_revisions_changelog' => 'Relatório de Alterações',
+ 'pages_revisions_changes' => 'Alterações',
+ 'pages_revisions_current' => 'Versão Atual',
+ 'pages_revisions_preview' => 'Pré-Visualização',
+ 'pages_revisions_restore' => 'Restaurar',
+ 'pages_revisions_none' => 'Essa página não tem revisões',
+ 'pages_copy_link' => 'Copiar Link',
+ 'pages_edit_content_link' => 'Editar Conteúdo',
+ 'pages_permissions_active' => 'Permissões de Página Ativas',
+ 'pages_initial_revision' => 'Publicação Inicial',
+ 'pages_initial_name' => 'Nova Página',
+ 'pages_editing_draft_notification' => 'Você está atualmente a editar um rascunho que foi guardado pela última vez a :timeDiff.',
+ 'pages_draft_edited_notification' => 'Esta página entretanto já foi atualizada. É recomendado que você descarte este rascunho.',
'pages_draft_edit_active' => [
- 'start_a' => ':count users have started editing this page',
- 'start_b' => ':userName has started editing this page',
- 'time_a' => 'since the page was last updated',
- 'time_b' => 'in the last :minCount minutes',
- 'message' => ':start :time. Take care not to overwrite each other\'s updates!',
+ 'start_a' => ':count usuários iniciaram a edição dessa página',
+ 'start_b' => ':userName iniciou a edição desta página',
+ 'time_a' => 'desde que a página foi atualizada pela última vez',
+ 'time_b' => 'nos últimos :minCount minutos',
+ 'message' => ':start :time. Tenha cuidado para não sobrescrever atualizações de outras pessoas!',
],
- 'pages_draft_discarded' => 'Draft discarded, The editor has been updated with the current page content',
- 'pages_specific' => 'Specific Page',
- 'pages_is_template' => 'Page Template',
+ 'pages_draft_discarded' => 'Rascunho descartado. O editor foi atualizado com o conteúdo atual da página',
+ 'pages_specific' => 'Página Específica',
+ 'pages_is_template' => 'Modelo de Página',
// Editor Sidebar
- 'page_tags' => 'Page Tags',
- 'chapter_tags' => 'Chapter Tags',
- 'book_tags' => 'Book Tags',
- 'shelf_tags' => 'Shelf Tags',
- 'tag' => 'Tag',
- 'tags' => 'Tags',
- 'tag_name' => 'Tag Name',
- 'tag_value' => 'Tag Value (Optional)',
- 'tags_explain' => "Add some tags to better categorise your content. \n You can assign a value to a tag for more in-depth organisation.",
- 'tags_add' => 'Add another tag',
- 'tags_remove' => 'Remove this tag',
- 'attachments' => 'Attachments',
- 'attachments_explain' => 'Upload some files or attach some links to display on your page. These are visible in the page sidebar.',
- 'attachments_explain_instant_save' => 'Changes here are saved instantly.',
- 'attachments_items' => 'Attached Items',
- 'attachments_upload' => 'Upload File',
- 'attachments_link' => 'Attach Link',
- 'attachments_set_link' => 'Set Link',
- 'attachments_delete' => 'Are you sure you want to delete this attachment?',
- 'attachments_dropzone' => 'Drop files or click here to attach a file',
- 'attachments_no_files' => 'No files have been uploaded',
- 'attachments_explain_link' => 'You can attach a link if you\'d prefer not to upload a file. This can be a link to another page or a link to a file in the cloud.',
- 'attachments_link_name' => 'Link Name',
- 'attachment_link' => 'Attachment link',
- 'attachments_link_url' => 'Link to file',
- 'attachments_link_url_hint' => 'Url of site or file',
- 'attach' => 'Attach',
- 'attachments_insert_link' => 'Add Attachment Link to Page',
- 'attachments_edit_file' => 'Edit File',
- 'attachments_edit_file_name' => 'File Name',
- 'attachments_edit_drop_upload' => 'Drop files or click here to upload and overwrite',
- 'attachments_order_updated' => 'Attachment order updated',
- 'attachments_updated_success' => 'Attachment details updated',
- 'attachments_deleted' => 'Attachment deleted',
- 'attachments_file_uploaded' => 'File successfully uploaded',
- 'attachments_file_updated' => 'File successfully updated',
- 'attachments_link_attached' => 'Link successfully attached to page',
- 'templates' => 'Templates',
- 'templates_set_as_template' => 'Page is a template',
- 'templates_explain_set_as_template' => 'You can set this page as a template so its contents be utilized when creating other pages. Other users will be able to use this template if they have view permissions for this page.',
- 'templates_replace_content' => 'Replace page content',
- 'templates_append_content' => 'Append to page content',
- 'templates_prepend_content' => 'Prepend to page content',
+ 'page_tags' => 'Etiquetas de Página',
+ 'chapter_tags' => 'Etiquetas do Capítulo',
+ 'book_tags' => 'Etiquetas do Livro',
+ 'shelf_tags' => 'Etiquetas da Prateleira',
+ 'tag' => 'Etiqueta',
+ 'tags' => 'Etiquetas',
+ 'tag_name' => 'Nome da Etiqueta',
+ 'tag_value' => 'Valor da Etiqueta (Opcional)',
+ 'tags_explain' => "Adicione algumas etiquetas para melhor categorizar o seu conteúdo. \n Você poderá atribuir valores às etiquetas para uma organização mais complexa.",
+ 'tags_add' => 'Adicionar outra etiqueta',
+ 'tags_remove' => 'Remover esta etiqueta',
+ 'attachments' => 'Anexos',
+ 'attachments_explain' => 'Carregue alguns arquivos ou anexe links para serem exibidos na sua página. Eles estarão visíveis na barra lateral à direita.',
+ 'attachments_explain_instant_save' => 'As mudanças são guardadas instantaneamente.',
+ 'attachments_items' => 'Itens Anexados',
+ 'attachments_upload' => 'Carregamento de Arquivos',
+ 'attachments_link' => 'Anexar Link',
+ 'attachments_set_link' => 'Definir Link',
+ 'attachments_delete' => 'Tem certeza de que deseja eliminar este anexo?',
+ 'attachments_dropzone' => 'Arraste arquivos para aqui ou clique para os anexar',
+ 'attachments_no_files' => 'Nenhum arquivo foi enviado',
+ 'attachments_explain_link' => 'Pode anexar um link se preferir não fazer o carregamento do arquivo. O link poderá ser para uma outra página ou para um arquivo na nuvem.',
+ 'attachments_link_name' => 'Nome do Link',
+ 'attachment_link' => 'Link do Anexo',
+ 'attachments_link_url' => 'Link para o Arquivo',
+ 'attachments_link_url_hint' => 'Url do sítio ou arquivo',
+ 'attach' => 'Anexar',
+ 'attachments_insert_link' => 'Adicionar Link de Anexo à Página',
+ 'attachments_edit_file' => 'Editar Arquivo',
+ 'attachments_edit_file_name' => 'Nome do Arquivo',
+ 'attachments_edit_drop_upload' => 'Arraste arquivos para aqui ou carregue para anexar arquivos e sobrescreve-los',
+ 'attachments_order_updated' => 'Ordem dos anexos atualizada',
+ 'attachments_updated_success' => 'Detalhes dos anexos atualizados',
+ 'attachments_deleted' => 'Anexo eliminado',
+ 'attachments_file_uploaded' => 'Carregamento de arquivo efetuado com sucesso',
+ 'attachments_file_updated' => 'Arquivo atualizado com sucesso',
+ 'attachments_link_attached' => 'Link anexado com sucesso à página',
+ 'templates' => 'Modelos',
+ 'templates_set_as_template' => 'A página é um modelo',
+ 'templates_explain_set_as_template' => 'Pode definir esta página como um modelo para que o seu conteúdo possa ser utilizado para criar outras páginas. Outros usuários poderão utilizar esta página como modelo se tiverem permissão para visualiza-la.',
+ 'templates_replace_content' => 'Substituir conteúdo da página',
+ 'templates_append_content' => 'Adicionar ao fim do conteúdo da página',
+ 'templates_prepend_content' => 'Adicionar ao início do conteúdo da página',
// Profile View
- 'profile_user_for_x' => 'User for :time',
- 'profile_created_content' => 'Created Content',
- 'profile_not_created_pages' => ':userName has not created any pages',
- 'profile_not_created_chapters' => ':userName has not created any chapters',
- 'profile_not_created_books' => ':userName has not created any books',
- 'profile_not_created_shelves' => ':userName has not created any shelves',
+ 'profile_user_for_x' => 'Utilizador por :time',
+ 'profile_created_content' => 'Conteúdo Criado',
+ 'profile_not_created_pages' => ':userName não criou páginas',
+ 'profile_not_created_chapters' => ':userName não criou capítulos',
+ 'profile_not_created_books' => ':userName não criou livros',
+ 'profile_not_created_shelves' => ':userName não criou estantes',
// Comments
- 'comment' => 'Comment',
- 'comments' => 'Comments',
- 'comment_add' => 'Add Comment',
- 'comment_placeholder' => 'Leave a comment here',
- 'comment_count' => '{0} No Comments|{1} 1 Comment|[2,*] :count Comments',
- 'comment_save' => 'Save Comment',
- 'comment_saving' => 'Saving comment...',
- 'comment_deleting' => 'Deleting comment...',
- 'comment_new' => 'New Comment',
- 'comment_created' => 'commented :createDiff',
- 'comment_updated' => 'Updated :updateDiff by :username',
- 'comment_deleted_success' => 'Comment deleted',
- 'comment_created_success' => 'Comment added',
- 'comment_updated_success' => 'Comment updated',
- 'comment_delete_confirm' => 'Are you sure you want to delete this comment?',
- 'comment_in_reply_to' => 'In reply to :commentId',
+ 'comment' => 'Comentário',
+ 'comments' => 'Comentários',
+ 'comment_add' => 'Adicionar Comentário',
+ 'comment_placeholder' => 'Digite aqui os seus comentários',
+ 'comment_count' => '{0} Nenhum comentário|{1} 1 Comentário|[2,*] :count Comentários',
+ 'comment_save' => 'Guardar comentário',
+ 'comment_saving' => 'Guardar comentário...',
+ 'comment_deleting' => 'Remover comentário...',
+ 'comment_new' => 'Comentário Novo',
+ 'comment_created' => 'comentado :createDiff',
+ 'comment_updated' => 'A editar :updateDiff por :username',
+ 'comment_deleted_success' => 'Comentário removido',
+ 'comment_created_success' => 'Comentário adicionado',
+ 'comment_updated_success' => 'Comentário editado',
+ 'comment_delete_confirm' => 'Tem a certeza de que deseja eliminar este comentário?',
+ 'comment_in_reply_to' => 'Em resposta à :commentId',
// Revision
- 'revision_delete_confirm' => 'Are you sure you want to delete this revision?',
- 'revision_restore_confirm' => 'Are you sure you want to restore this revision? The current page contents will be replaced.',
- 'revision_delete_success' => 'Revision deleted',
- 'revision_cannot_delete_latest' => 'Cannot delete the latest revision.'
-];
\ No newline at end of file
+ 'revision_delete_confirm' => 'Tem a certeza de que deseja eliminar esta revisão?',
+ 'revision_restore_confirm' => 'Tem a certeza que deseja restaurar esta revisão? O conteúdo atual da página será substituído.',
+ 'revision_delete_success' => 'Revisão excluída',
+ 'revision_cannot_delete_latest' => 'Não é possível eliminar a revisão mais recente.'
+];
return [
// Permissions
- 'permission' => 'You do not have permission to access the requested page.',
- 'permissionJson' => 'You do not have permission to perform the requested action.',
+ 'permission' => 'Você não tem permissão para aceder à página requisitada.',
+ 'permissionJson' => 'Você não tem permissão para realizar a ação requerida.',
// Auth
- 'error_user_exists_different_creds' => 'A user with the email :email already exists but with different credentials.',
- 'email_already_confirmed' => 'Email has already been confirmed, Try logging in.',
- 'email_confirmation_invalid' => 'This confirmation token is not valid or has already been used, Please try registering again.',
- 'email_confirmation_expired' => 'The confirmation token has expired, A new confirmation email has been sent.',
- 'email_confirmation_awaiting' => 'The email address for the account in use needs to be confirmed',
- 'ldap_fail_anonymous' => 'LDAP access failed using anonymous bind',
- 'ldap_fail_authed' => 'LDAP access failed using given dn & password details',
- 'ldap_extension_not_installed' => 'LDAP PHP extension not installed',
- 'ldap_cannot_connect' => 'Cannot connect to ldap server, Initial connection failed',
- 'saml_already_logged_in' => 'Already logged in',
- 'saml_user_not_registered' => 'The user :name is not registered and automatic registration is disabled',
- 'saml_no_email_address' => 'Could not find an email address, for this user, in the data provided by the external authentication system',
- 'saml_invalid_response_id' => 'The request from the external authentication system is not recognised by a process started by this application. Navigating back after a login could cause this issue.',
- 'saml_fail_authed' => 'Login using :system failed, system did not provide successful authorization',
- 'social_no_action_defined' => 'No action defined',
- 'social_login_bad_response' => "Error received during :socialAccount login: \n:error",
- 'social_account_in_use' => 'This :socialAccount account is already in use, Try logging in via the :socialAccount option.',
- 'social_account_email_in_use' => 'The email :email is already in use. If you already have an account you can connect your :socialAccount account from your profile settings.',
- 'social_account_existing' => 'This :socialAccount is already attached to your profile.',
- 'social_account_already_used_existing' => 'This :socialAccount account is already used by another user.',
- 'social_account_not_used' => 'This :socialAccount account is not linked to any users. Please attach it in your profile settings. ',
- 'social_account_register_instructions' => 'If you do not yet have an account, You can register an account using the :socialAccount option.',
- 'social_driver_not_found' => 'Social driver not found',
- 'social_driver_not_configured' => 'Your :socialAccount social settings are not configured correctly.',
- 'invite_token_expired' => 'This invitation link has expired. You can instead try to reset your account password.',
+ 'error_user_exists_different_creds' => 'Um utilizador com o endereço de e-mail :email já existe mas com credenciais diferentes.',
+ 'email_already_confirmed' => 'E-mail já foi confirmado. Tente iniciar sessão.',
+ 'email_confirmation_invalid' => 'Este token de confirmação não é válido ou já foi utilizado. Por favor, tente registar-se novamente.',
+ 'email_confirmation_expired' => 'O token de confirmação já expirou. Um novo e-mail foi enviado.',
+ 'email_confirmation_awaiting' => 'O endereço de e-mail da conta em uso precisa ser confirmado',
+ 'ldap_fail_anonymous' => 'O acesso LDAP falhou ao tentar usar o anonymous bind',
+ 'ldap_fail_authed' => 'O acesso LDAP falhou ao tentar os detalhes do dn e senha fornecidos',
+ 'ldap_extension_not_installed' => 'A extensão LDAP PHP não está instalada',
+ 'ldap_cannot_connect' => 'Não foi possível conectar ao servidor LDAP. Conexão inicial falhou',
+ 'saml_already_logged_in' => 'Sessão já iniciada',
+ 'saml_user_not_registered' => 'O utilizador :name não está registado e o registo automático está desativado',
+ 'saml_no_email_address' => 'Não foi possível encontrar um endereço de e-mail para este utilizador nos dados providenciados pelo sistema de autenticação externa',
+ 'saml_invalid_response_id' => 'A requisição do sistema de autenticação externa não foi reconhecia por um processo iniciado por esta aplicação. Navegar para o caminho anterior após o inicio de sessão pode provocar este problema.',
+ 'saml_fail_authed' => 'Inicio de sessão com :system falhou. O sistema não forneceu uma autorização bem sucedida',
+ 'social_no_action_defined' => 'Nenhuma ação definida',
+ 'social_login_bad_response' => "Erro recebido durante o inicio de sessão :socialAccount: \n:error",
+ 'social_account_in_use' => 'Esta conta :socialAccount já está em uso. Por favor, tente entrar utilizando a opção :socialAccount.',
+ 'social_account_email_in_use' => 'O e-mail :email já está em uso. Se já possui uma conta poderá ligar a sua conta :socialAccount a partir das configurações do seu perfil.',
+ 'social_account_existing' => 'Esta conta :socialAccount já está vinculada a este perfil.',
+ 'social_account_already_used_existing' => 'Esta conta :socialAccount já está a ser utilizada por outro utilizador.',
+ 'social_account_not_used' => 'Esta conta :socialAccount não está vinculada a nenhum utilizador. Por favor vincule a conta nas suas configurações de perfil. ',
+ 'social_account_register_instructions' => 'Se não possui uma conta, poderá registar-se utilizando a opção :socialAccount.',
+ 'social_driver_not_found' => 'Social driver não encontrado',
+ 'social_driver_not_configured' => 'Os seus parâmetros sociais de :socialAccount não estão corretamente configurados.',
+ 'invite_token_expired' => 'Este link de convite expirou. Alternativamente, pode tentar redefinir a senha da sua conta.',
// System
- 'path_not_writable' => 'File path :filePath could not be uploaded to. Ensure it is writable to the server.',
- 'cannot_get_image_from_url' => 'Cannot get image from :url',
- 'cannot_create_thumbs' => 'The server cannot create thumbnails. Please check you have the GD PHP extension installed.',
- 'server_upload_limit' => 'The server does not allow uploads of this size. Please try a smaller file size.',
- 'uploaded' => 'The server does not allow uploads of this size. Please try a smaller file size.',
- 'image_upload_error' => 'An error occurred uploading the image',
- 'image_upload_type_error' => 'The image type being uploaded is invalid',
- 'file_upload_timeout' => 'The file upload has timed out.',
+ 'path_not_writable' => 'O caminho do arquivo :filePath não pôde ser carregado. Certifique-se de que tem permissões de escrita no servidor.',
+ 'cannot_get_image_from_url' => 'Não foi possível obter a imagem a partir de :url',
+ 'cannot_create_thumbs' => 'O servidor não pôde criar as miniaturas de imagem. Por favor, verifique se a extensão GD PHP está instalada.',
+ 'server_upload_limit' => 'O servidor não permite o carregamento de arquivos com esse tamanho. Por favor, tente fazer o carregamento de arquivos mais pequenos.',
+ 'uploaded' => 'O servidor não permite o carregamento de arquivos com esse tamanho. Por favor, tente fazer o carregamento de arquivos mais pequenos.',
+ 'image_upload_error' => 'Ocorreu um erro no carregamento da imagem',
+ 'image_upload_type_error' => 'O tipo de imagem enviada é inválida',
+ 'file_upload_timeout' => 'O carregamento do arquivo expirou.',
// Attachments
- 'attachment_not_found' => 'Attachment not found',
+ 'attachment_not_found' => 'Anexo não encontrado',
// Pages
- 'page_draft_autosave_fail' => 'Failed to save draft. Ensure you have internet connection before saving this page',
- 'page_custom_home_deletion' => 'Cannot delete a page while it is set as a homepage',
+ 'page_draft_autosave_fail' => 'Falha ao tentar guardar o rascunho. Certifique-se que a conexão de Internet está funcional antes de tentar guardar esta página',
+ 'page_custom_home_deletion' => 'Não é possível eliminar uma página que está definida como página inicial',
// Entities
- 'entity_not_found' => 'Entity not found',
- 'bookshelf_not_found' => 'Bookshelf not found',
- 'book_not_found' => 'Book not found',
- 'page_not_found' => 'Page not found',
- 'chapter_not_found' => 'Chapter not found',
- 'selected_book_not_found' => 'The selected book was not found',
- 'selected_book_chapter_not_found' => 'The selected Book or Chapter was not found',
- 'guests_cannot_save_drafts' => 'Guests cannot save drafts',
+ 'entity_not_found' => 'Entidade não encontrada',
+ 'bookshelf_not_found' => 'Estante de Livros não encontrada',
+ 'book_not_found' => 'Livro não encontrado',
+ 'page_not_found' => 'Página não encontrada',
+ 'chapter_not_found' => 'Capítulo não encontrado',
+ 'selected_book_not_found' => 'O livro selecionado não foi encontrado',
+ 'selected_book_chapter_not_found' => 'O Livro ou Capítulo selecionado não foi encontrado',
+ 'guests_cannot_save_drafts' => 'Convidados não podem guardar rascunhos',
// Users
- 'users_cannot_delete_only_admin' => 'You cannot delete the only admin',
- 'users_cannot_delete_guest' => 'You cannot delete the guest user',
+ 'users_cannot_delete_only_admin' => 'Não pode excluir o único administrador',
+ 'users_cannot_delete_guest' => 'Não pode excluir o usuário convidado',
// Roles
- 'role_cannot_be_edited' => 'This role cannot be edited',
- 'role_system_cannot_be_deleted' => 'This role is a system role and cannot be deleted',
- 'role_registration_default_cannot_delete' => 'This role cannot be deleted while set as the default registration role',
- 'role_cannot_remove_only_admin' => 'This user is the only user assigned to the administrator role. Assign the administrator role to another user before attempting to remove it here.',
+ 'role_cannot_be_edited' => 'Este cargo não pode ser editado',
+ 'role_system_cannot_be_deleted' => 'Este cargo é um cargo do sistema e não pode ser excluído',
+ 'role_registration_default_cannot_delete' => 'Este cargo não poderá se excluído enquanto estiver definido como o cargo padrão',
+ 'role_cannot_remove_only_admin' => 'Este utilizador é o único vinculado ao cargo de administrador. Atribua o cargo de administrador a outro antes de tentar removê-lo aqui.',
// Comments
- 'comment_list' => 'An error occurred while fetching the comments.',
- 'cannot_add_comment_to_draft' => 'You cannot add comments to a draft.',
- 'comment_add' => 'An error occurred while adding / updating the comment.',
- 'comment_delete' => 'An error occurred while deleting the comment.',
- 'empty_comment' => 'Cannot add an empty comment.',
+ 'comment_list' => 'Ocorreu um erro ao recolher os comentários.',
+ 'cannot_add_comment_to_draft' => 'Não pode adicionar comentários a um rascunho.',
+ 'comment_add' => 'Ocorreu um erro ao adicionar/atualizar o comentário.',
+ 'comment_delete' => 'Ocorreu um erro ao eliminar o comentário.',
+ 'empty_comment' => 'Não é possível adicionar um comentário vazio.',
// Error pages
- '404_page_not_found' => 'Page Not Found',
- 'sorry_page_not_found' => 'Sorry, The page you were looking for could not be found.',
- 'sorry_page_not_found_permission_warning' => 'If you expected this page to exist, you might not have permission to view it.',
- 'return_home' => 'Return to home',
- 'error_occurred' => 'An Error Occurred',
- 'app_down' => ':appName is down right now',
- 'back_soon' => 'It will be back up soon.',
+ '404_page_not_found' => 'Página Não Encontrada',
+ 'sorry_page_not_found' => 'Desculpe, a página que procura não foi encontrada.',
+ 'sorry_page_not_found_permission_warning' => 'Se esperava que esta página existisse, talvez não tenha permissão para visualizá-la.',
+ 'image_not_found' => 'Imagem não encontrada',
+ 'image_not_found_subtitle' => 'Desculpe, o arquivo de imagem que estava à procura não foi encontrado.',
+ 'image_not_found_details' => 'Se estava à espera que a mesma existisse é possível que tenha sido eliminada.',
+ 'return_home' => 'Regressar à página inicial',
+ 'error_occurred' => 'Ocorreu um Erro',
+ 'app_down' => ':appName está fora do ar de momento',
+ 'back_soon' => 'Voltaremos em breve.',
// API errors
- 'api_no_authorization_found' => 'No authorization token found on the request',
- 'api_bad_authorization_format' => 'An authorization token was found on the request but the format appeared incorrect',
- 'api_user_token_not_found' => 'No matching API token was found for the provided authorization token',
- 'api_incorrect_token_secret' => 'The secret provided for the given used API token is incorrect',
- 'api_user_no_api_permission' => 'The owner of the used API token does not have permission to make API calls',
- 'api_user_token_expired' => 'The authorization token used has expired',
+ 'api_no_authorization_found' => 'Nenhum token de autorização encontrado na requisição',
+ 'api_bad_authorization_format' => 'Um token de autorização foi encontrado na requisição, mas o formato parece incorreto',
+ 'api_user_token_not_found' => 'Nenhum token de API correspondente foi encontrado para o token de autorização fornecido',
+ 'api_incorrect_token_secret' => 'O segredo fornecido para o token de API usado está incorreto',
+ 'api_user_no_api_permission' => 'O proprietário do token de API utilizado não tem permissão para fazer requisições de API',
+ 'api_user_token_expired' => 'O token de autenticação expirou',
// Settings & Maintenance
- 'maintenance_test_email_failure' => 'Error thrown when sending a test email:',
+ 'maintenance_test_email_failure' => 'Erro lançado ao enviar um e-mail de teste:',
];
*/
return [
- 'previous' => '« Previous',
- 'next' => 'Next »',
+ 'previous' => '« Anterior',
+ 'next' => 'Seguinte »',
];
*/
return [
- 'password' => 'Passwords must be at least eight characters and match the confirmation.',
- 'user' => "We can't find a user with that e-mail address.",
- 'token' => 'The password reset token is invalid for this email address.',
- 'sent' => 'We have e-mailed your password reset link!',
- 'reset' => 'Your password has been reset!',
+ 'password' => 'As palavras-passe devem ter no mínimo oito caracteres e serem iguais à confirmação.',
+ 'user' => "Não pudemos encontrar um utilizador com o endereço de e-mail fornecido.",
+ 'token' => 'O token de redefinição de senha é inválido para este endereço de e-mail.',
+ 'sent' => 'Enviamos o link de redefinição de palavra-passe para o seu e-mail!',
+ 'reset' => 'A sua palavra-passe foi redefinida com sucesso!',
];
return [
// Common Messages
- 'settings' => 'Settings',
- 'settings_save' => 'Save Settings',
- 'settings_save_success' => 'Settings saved',
+ 'settings' => 'Configurações',
+ 'settings_save' => 'Guardar Configurações',
+ 'settings_save_success' => 'Configurações guardadas',
// App Settings
- 'app_customization' => 'Customization',
- 'app_features_security' => 'Features & Security',
- 'app_name' => 'Application Name',
- 'app_name_desc' => 'This name is shown in the header and in any system-sent emails.',
- 'app_name_header' => 'Show name in header',
- 'app_public_access' => 'Public Access',
- 'app_public_access_desc' => 'Enabling this option will allow visitors, that are not logged-in, to access content in your BookStack instance.',
- 'app_public_access_desc_guest' => 'Access for public visitors can be controlled through the "Guest" user.',
- 'app_public_access_toggle' => 'Allow public access',
- 'app_public_viewing' => 'Allow public viewing?',
- 'app_secure_images' => 'Higher Security Image Uploads',
- 'app_secure_images_toggle' => 'Enable higher security image uploads',
- 'app_secure_images_desc' => 'For performance reasons, all images are public. This option adds a random, hard-to-guess string in front of image urls. Ensure directory indexes are not enabled to prevent easy access.',
- 'app_editor' => 'Page Editor',
- 'app_editor_desc' => 'Select which editor will be used by all users to edit pages.',
- 'app_custom_html' => 'Custom HTML Head Content',
- 'app_custom_html_desc' => 'Any content added here will be inserted into the bottom of the <head> section of every page. This is handy for overriding styles or adding analytics code.',
- 'app_custom_html_disabled_notice' => 'Custom HTML head content is disabled on this settings page to ensure any breaking changes can be reverted.',
- 'app_logo' => 'Application Logo',
- 'app_logo_desc' => 'This image should be 43px in height. <br>Large images will be scaled down.',
- 'app_primary_color' => 'Application Primary Color',
- 'app_primary_color_desc' => 'Sets the primary color for the application including the banner, buttons, and links.',
- 'app_homepage' => 'Application Homepage',
- 'app_homepage_desc' => 'Select a view to show on the homepage instead of the default view. Page permissions are ignored for selected pages.',
- 'app_homepage_select' => 'Select a page',
- 'app_disable_comments' => 'Disable Comments',
- 'app_disable_comments_toggle' => 'Disable comments',
- 'app_disable_comments_desc' => 'Disables comments across all pages in the application. <br> Existing comments are not shown.',
+ 'app_customization' => 'Personalização',
+ 'app_features_security' => 'Recursos & Segurança',
+ 'app_name' => 'Nome da Aplicação',
+ 'app_name_desc' => 'Este nome será mostrado no cabeçalho e em e-mails.',
+ 'app_name_header' => 'Mostrar o nome no cabeçalho',
+ 'app_public_access' => 'Acesso Público',
+ 'app_public_access_desc' => 'Ativar esta opção irá permitir que os visitantes que não estão autenticados, acedam ao conteúdo da sua instância do BookStack.',
+ 'app_public_access_desc_guest' => 'O acesso de visitantes públicos pode ser controlado através do utilizador "Convidado".',
+ 'app_public_access_toggle' => 'Permitir acesso público',
+ 'app_public_viewing' => 'Permitir visualização pública?',
+ 'app_secure_images' => 'Carregamento de Imagens mais Seguro',
+ 'app_secure_images_toggle' => 'Ativar o carregamento de imagem mais seguro',
+ 'app_secure_images_desc' => 'Por razões de performance, todas as imagens são públicas. Esta opção adiciona uma string aleatória na frente das Urls de imagens. Certifique-se de que os diretórios não possam ser indexados para prevenir acesso indesejado.',
+ 'app_editor' => 'Editor de Página',
+ 'app_editor_desc' => 'Selecione qual editor será utilizado pelos utilizadores ao editar páginas.',
+ 'app_custom_html' => 'Conteúdo personalizado para para o Head do HTML',
+ 'app_custom_html_desc' => 'Quaisquer conteúdos aqui adicionados serão inseridos no final da secção <head> de cada página. Esta é uma maneira útil de sobrescrever estilos e adicionar códigos de análise de site.',
+ 'app_custom_html_disabled_notice' => 'O conteúdo personalizado do <head> HTML está desativado nesta página de configurações, para garantir que quaisquer alterações que acabem maliciosas possam ser revertidas.',
+ 'app_logo' => 'Logo da Aplicação',
+ 'app_logo_desc' => 'A imagem deve ter 43px de altura. <br>Imagens maiores serão reduzidas.',
+ 'app_primary_color' => 'Cor Primária da Aplicação',
+ 'app_primary_color_desc' => 'Define a cor primária para a aplicação, incluindo o banner, botões e links.',
+ 'app_homepage' => 'Página Inicial',
+ 'app_homepage_desc' => 'Selecione uma opção para ser exibida como página inicial em vez da padrão. Permissões de página serão ignoradas para as páginas selecionadas.',
+ 'app_homepage_select' => 'Selecione uma página',
+ 'app_footer_links' => 'Links do Rodapé',
+ 'app_footer_links_desc' => 'Adicionar links para mostrar dentro do rodapé do site. Estes serão exibidos no rodapé da maioria das páginas, incluindo as que não requerem autenticação. Pode utilizar uma etiqueta de "trans::<key>" para utilizar traduções definidas pelo sistema. Por exemplo: Utilizando "trans::common.privacy_policy" fornecerá o texto traduzido "Política de Privacidade" e "trans::common.terms_of_service" fornecerá o texto traduzido "Termos de Serviço".',
+ 'app_footer_links_label' => 'Etiqueta do Link',
+ 'app_footer_links_url' => 'URL do link',
+ 'app_footer_links_add' => 'Adicionar Link de Rodapé',
+ 'app_disable_comments' => 'Desativar Comentários',
+ 'app_disable_comments_toggle' => 'Desativar comentários',
+ 'app_disable_comments_desc' => 'Desativar comentários em todas as páginas no aplicativo.<br> Comentários existentes não serão exibidos.',
// Color settings
- 'content_colors' => 'Content Colors',
- 'content_colors_desc' => 'Sets colors for all elements in the page organisation hierarchy. Choosing colors with a similar brightness to the default colors is recommended for readability.',
- 'bookshelf_color' => 'Shelf Color',
- 'book_color' => 'Book Color',
- 'chapter_color' => 'Chapter Color',
- 'page_color' => 'Page Color',
- 'page_draft_color' => 'Page Draft Color',
+ 'content_colors' => 'Cores do Conteúdo',
+ 'content_colors_desc' => 'Define as cores para todos os elementos da hierarquia de organização de páginas. Escolher cores com brilho similar ao das cores padrão é aconselhável para a legibilidade.',
+ 'bookshelf_color' => 'Cor da Prateleira',
+ 'book_color' => 'Cor do Livro',
+ 'chapter_color' => 'Cor do Capítulo',
+ 'page_color' => 'Cor da Página',
+ 'page_draft_color' => 'Cor do Rascunho',
// Registration Settings
- 'reg_settings' => 'Registration',
- 'reg_enable' => 'Enable Registration',
- 'reg_enable_toggle' => 'Enable registration',
- 'reg_enable_desc' => 'When registration is enabled user will be able to sign themselves up as an application user. Upon registration they are given a single, default user role.',
- 'reg_default_role' => 'Default user role after registration',
- 'reg_enable_external_warning' => 'The option above is ignored while external LDAP or SAML authentication is active. User accounts for non-existing members will be auto-created if authentication, against the external system in use, is successful.',
- 'reg_email_confirmation' => 'Email Confirmation',
- 'reg_email_confirmation_toggle' => 'Require email confirmation',
- 'reg_confirm_email_desc' => 'If domain restriction is used then email confirmation will be required and this option will be ignored.',
- 'reg_confirm_restrict_domain' => 'Domain Restriction',
- 'reg_confirm_restrict_domain_desc' => 'Enter a comma separated list of email domains you would like to restrict registration to. Users will be sent an email to confirm their address before being allowed to interact with the application. <br> Note that users will be able to change their email addresses after successful registration.',
- 'reg_confirm_restrict_domain_placeholder' => 'No restriction set',
+ 'reg_settings' => 'Cadastro',
+ 'reg_enable' => 'Habilitar Cadastro',
+ 'reg_enable_toggle' => 'Habilitar cadastro',
+ 'reg_enable_desc' => 'Quando o cadastro é habilitado, visitantes poderão cadastrar-se como usuários do aplicativo. Realizado o cadastro, recebem um único cargo padrão.',
+ 'reg_default_role' => 'Cargo padrão para usuários após o cadastro',
+ 'reg_enable_external_warning' => 'A opção acima é ignorada enquanto a autenticação externa LDAP ou SAML estiver ativa. Contas de usuários para membros não existentes serão criadas automaticamente se a autenticação pelo sistema externo em uso for bem sucedida.',
+ 'reg_email_confirmation' => 'Confirmação de E-mail',
+ 'reg_email_confirmation_toggle' => 'Requerer confirmação de e-mail',
+ 'reg_confirm_email_desc' => 'Em caso da restrição de domínios estar em uso, a confirmação de e-mail será requerida e esta opção será ignorada.',
+ 'reg_confirm_restrict_domain' => 'Restrição de Domínios',
+ 'reg_confirm_restrict_domain_desc' => 'Entre com uma lista separada por vírgulas de domínios de e-mails aos quais você deseja restringir o registo. Um e-mail de confirmação será enviado para o utilizador validar o seu respetivo endereço de e-mail antes de ser permitida a interação com a aplicação. <br> Note que os utilizadores serão capazes de alterar os seus endereços de e-mail após o sucesso na confirmação do registo.',
+ 'reg_confirm_restrict_domain_placeholder' => 'Nenhuma restrição definida',
// Maintenance settings
- 'maint' => 'Maintenance',
- 'maint_image_cleanup' => 'Cleanup Images',
- 'maint_image_cleanup_desc' => "Scans page & revision content to check which images and drawings are currently in use and which images are redundant. Ensure you create a full database and image backup before running this.",
- 'maint_image_cleanup_ignore_revisions' => 'Ignore images in revisions',
- 'maint_image_cleanup_run' => 'Run Cleanup',
- 'maint_image_cleanup_warning' => ':count potentially unused images were found. Are you sure you want to delete these images?',
- 'maint_image_cleanup_success' => ':count potentially unused images found and deleted!',
- 'maint_image_cleanup_nothing_found' => 'No unused images found, Nothing deleted!',
- 'maint_send_test_email' => 'Send a Test Email',
- 'maint_send_test_email_desc' => 'This sends a test email to your email address specified in your profile.',
- 'maint_send_test_email_run' => 'Send test email',
- 'maint_send_test_email_success' => 'Email sent to :address',
- 'maint_send_test_email_mail_subject' => 'Test Email',
- 'maint_send_test_email_mail_greeting' => 'Email delivery seems to work!',
- 'maint_send_test_email_mail_text' => 'Congratulations! As you received this email notification, your email settings seem to be configured properly.',
+ 'maint' => 'Manutenção',
+ 'maint_image_cleanup' => 'Limpeza de Imagens',
+ 'maint_image_cleanup_desc' => "Examina páginas e reviste os seus conteúdos para verificar quais imagens e desenhos estão atualmente em uso e quais são redundantes. Certifique-se de criar uma cópia de segurança completa da base de dados e imagens antes de executar esta ação.",
+ 'maint_delete_images_only_in_revisions' => 'Eliminar também imagens que existam apenas em revisões de página antigas',
+ 'maint_image_cleanup_run' => 'Executar Limpeza',
+ 'maint_image_cleanup_warning' => ':count imagens potencialmente não utilizadas foram encontradas. Tem certeza de que deseja eliminar estas imagens?',
+ 'maint_image_cleanup_success' => ':count imagens potencialmente não utilizadas foram encontradas e eliminadas!',
+ 'maint_image_cleanup_nothing_found' => 'Nenhuma imagem por utilizar foi encontrada, nada foi eliminado!',
+ 'maint_send_test_email' => 'Enviar um E-mail de Teste',
+ 'maint_send_test_email_desc' => 'Esta opção envia um e-mail de teste para o endereço especificado no seu perfil.',
+ 'maint_send_test_email_run' => 'Enviar e-mail de teste',
+ 'maint_send_test_email_success' => 'E-mail enviado para :address',
+ 'maint_send_test_email_mail_subject' => 'E-mail de Teste',
+ 'maint_send_test_email_mail_greeting' => 'O envio de e-mails parece funcionar!',
+ 'maint_send_test_email_mail_text' => 'Parabéns! Já que recebeu esta notificação, as suas opções de e-mail parecem estar configuradas corretamente.',
+ 'maint_recycle_bin_desc' => 'Estantes, livros, capítulos e páginas eliminados são mandados para a reciclagem podendo assim ser restaurados ou excluídos permanentemente. Itens mais antigos da podem vir a ser automaticamente removidos da reciclagem após um tempo, dependendo da configuração do sistema.',
+ 'maint_recycle_bin_open' => 'Abrir Reciclagem',
+
+ // Recycle Bin
+ 'recycle_bin' => 'Reciclagem',
+ 'recycle_bin_desc' => 'Aqui pode restaurar itens que foram eliminados ou eliminá-los permanentemente do sistema. Esta lista não é filtrada diferentemente de listas de atividades parecidas no sistema onde filtros de permissão são aplicados.',
+ 'recycle_bin_deleted_item' => 'Item eliminado',
+ 'recycle_bin_deleted_by' => 'Eliminado por',
+ 'recycle_bin_deleted_at' => 'Data de Eliminação',
+ 'recycle_bin_permanently_delete' => 'Eliminar permanentemente',
+ 'recycle_bin_restore' => 'Restaurar',
+ 'recycle_bin_contents_empty' => 'A reciclagem está atualmente vazia',
+ 'recycle_bin_empty' => 'Esvaziar Reciclagem',
+ 'recycle_bin_empty_confirm' => 'Isto irá destruir permanentemente todos os itens na reciclagem inclusive o conteúdo de cada item. Tem certeza de que a deseja esvaziar?',
+ 'recycle_bin_destroy_confirm' => 'Esta ação irá excluir permanentemente do sistema este item junto com todos os elementos filhos listados abaixo. Não poderá restaurar este conteúdo. Tem certeza de que deseja excluir permanentemente este item?',
+ 'recycle_bin_destroy_list' => 'Itens a serem Destruídos',
+ 'recycle_bin_restore_list' => 'Itens a serem Restaurados',
+ 'recycle_bin_restore_confirm' => 'Esta ação irá restaurar o item excluído, inclusive quaisquer elementos filhos, para o seu local original. Se a localização original tiver, entretanto, sido eliminada e estiver agora na reciclagem, o item pai também precisará de ser restaurado.',
+ 'recycle_bin_restore_deleted_parent' => 'O parente deste item foi também eliminado. Estes permanecerão eliminados até que o parente seja também restaurado.',
+ 'recycle_bin_destroy_notification' => 'Eliminados no total :count itens da lixeira.',
+ 'recycle_bin_restore_notification' => 'Restaurados no total :count itens da reciclagem.',
// Audit Log
- 'audit' => 'Audit Log',
- 'audit_desc' => 'This audit log displays a list of activities tracked in the system. This list is unfiltered unlike similar activity lists in the system where permission filters are applied.',
- 'audit_event_filter' => 'Event Filter',
- 'audit_event_filter_no_filter' => 'No Filter',
- 'audit_deleted_item' => 'Deleted Item',
- 'audit_deleted_item_name' => 'Name: :name',
- 'audit_table_user' => 'User',
- 'audit_table_event' => 'Event',
- 'audit_table_item' => 'Related Item',
- 'audit_table_date' => 'Activity Date',
- 'audit_date_from' => 'Date Range From',
- 'audit_date_to' => 'Date Range To',
+ 'audit' => 'Registo de auditoria',
+ 'audit_desc' => 'Este registo de auditoria exibe uma lista de atividades rastreadas no sistema. Esta lista não é filtrada ao contrário de listas de atividades semelhantes no sistema onde os filtros de permissão são aplicados.',
+ 'audit_event_filter' => 'Filtro de Evento',
+ 'audit_event_filter_no_filter' => 'Sem filtro',
+ 'audit_deleted_item' => 'Item excluído',
+ 'audit_deleted_item_name' => 'Nome: :name',
+ 'audit_table_user' => 'Utilizador',
+ 'audit_table_event' => 'Evento',
+ 'audit_table_related' => 'Item ou Detalhe Relacionado',
+ 'audit_table_date' => 'Data da Atividade',
+ 'audit_date_from' => 'Intervalo De',
+ 'audit_date_to' => 'Intervalo Até',
// Role Settings
- 'roles' => 'Roles',
- 'role_user_roles' => 'User Roles',
- 'role_create' => 'Create New Role',
- 'role_create_success' => 'Role successfully created',
- 'role_delete' => 'Delete Role',
- 'role_delete_confirm' => 'This will delete the role with the name \':roleName\'.',
- 'role_delete_users_assigned' => 'This role has :userCount users assigned to it. If you would like to migrate the users from this role select a new role below.',
- 'role_delete_no_migration' => "Don't migrate users",
- 'role_delete_sure' => 'Are you sure you want to delete this role?',
- 'role_delete_success' => 'Role successfully deleted',
- 'role_edit' => 'Edit Role',
- 'role_details' => 'Role Details',
- 'role_name' => 'Role Name',
- 'role_desc' => 'Short Description of Role',
- 'role_external_auth_id' => 'External Authentication IDs',
- 'role_system' => 'System Permissions',
- 'role_manage_users' => 'Manage users',
- 'role_manage_roles' => 'Manage roles & role permissions',
- 'role_manage_entity_permissions' => 'Manage all book, chapter & page permissions',
- 'role_manage_own_entity_permissions' => 'Manage permissions on own book, chapter & pages',
- 'role_manage_page_templates' => 'Manage page templates',
- 'role_access_api' => 'Access system API',
- 'role_manage_settings' => 'Manage app settings',
- 'role_asset' => 'Asset Permissions',
- 'roles_system_warning' => 'Be aware that access to any of the above three permissions can allow a user to alter their own privileges or the privileges of others in the system. Only assign roles with these permissions to trusted users.',
- 'role_asset_desc' => 'These permissions control default access to the assets within the system. Permissions on Books, Chapters and Pages will override these permissions.',
- 'role_asset_admins' => 'Admins are automatically given access to all content but these options may show or hide UI options.',
- 'role_all' => 'All',
- 'role_own' => 'Own',
- 'role_controlled_by_asset' => 'Controlled by the asset they are uploaded to',
- 'role_save' => 'Save Role',
- 'role_update_success' => 'Role successfully updated',
- 'role_users' => 'Users in this role',
- 'role_users_none' => 'No users are currently assigned to this role',
+ 'roles' => 'Cargos',
+ 'role_user_roles' => 'Cargos de Utilizador',
+ 'role_create' => 'Criar novo Cargo',
+ 'role_create_success' => 'Cargo criado com sucesso',
+ 'role_delete' => 'Excluir Cargo',
+ 'role_delete_confirm' => 'A ação vai eliminar o cargo de nome \':roleName\'.',
+ 'role_delete_users_assigned' => 'Esse cargo tem :userCount utilizadores vinculados nele. Se quiser migrar utilizadores deste cargo para outro, selecione um novo cargo.',
+ 'role_delete_no_migration' => "Não migrar utilizadores",
+ 'role_delete_sure' => 'Tem certeza que deseja excluir este cargo?',
+ 'role_delete_success' => 'Cargo excluído com sucesso',
+ 'role_edit' => 'Editar Cargo',
+ 'role_details' => 'Detalhes do Cargo',
+ 'role_name' => 'Nome do Cargo',
+ 'role_desc' => 'Breve Descrição do Cargo',
+ 'role_external_auth_id' => 'IDs de Autenticação Externa',
+ 'role_system' => 'Permissões do Sistema',
+ 'role_manage_users' => 'Gerir utilizadores',
+ 'role_manage_roles' => 'Gerir cargos e permissões de cargos',
+ 'role_manage_entity_permissions' => 'Gerir todos os livros, capítulos e permissões de páginas',
+ 'role_manage_own_entity_permissions' => 'Gerir permissões de seu próprio livro, capítulo e paginas',
+ 'role_manage_page_templates' => 'Gerir modelos de página',
+ 'role_access_api' => 'Aceder à API do sistema',
+ 'role_manage_settings' => 'Gerir as configurações da aplicação',
+ 'role_asset' => 'Permissões de Ativos',
+ 'roles_system_warning' => 'Esteja ciente de que o acesso a qualquer uma das três permissões acima pode permitir que um utilizador altere os seus próprios privilégios ou privilégios de outros no sistema. Apenas atribua cargos com essas permissões a utilizadores de confiança.',
+ 'role_asset_desc' => 'Estas permissões controlam o acesso padrão para os ativos dentro do sistema. Permissões em Livros, Capítulos e Páginas serão sobrescritas por estas permissões.',
+ 'role_asset_admins' => 'Os administradores recebem automaticamente acesso a todo o conteúdo, mas estas opções podem mostrar ou ocultar as opções da Interface de Usuário.',
+ 'role_all' => 'Todos',
+ 'role_own' => 'Próprio',
+ 'role_controlled_by_asset' => 'Controlado pelo ativo para o qual eles são enviados',
+ 'role_save' => 'Guardar Cargo',
+ 'role_update_success' => 'Cargo atualizado com sucesso',
+ 'role_users' => 'Utilizadores com este cargo',
+ 'role_users_none' => 'Nenhum utilizador está atualmente vinculado a este cargo',
// Users
- 'users' => 'Users',
- 'user_profile' => 'User Profile',
- 'users_add_new' => 'Add New User',
- 'users_search' => 'Search Users',
- 'users_details' => 'User Details',
- 'users_details_desc' => 'Set a display name and an email address for this user. The email address will be used for logging into the application.',
- 'users_details_desc_no_email' => 'Set a display name for this user so others can recognise them.',
- 'users_role' => 'User Roles',
- 'users_role_desc' => 'Select which roles this user will be assigned to. If a user is assigned to multiple roles the permissions from those roles will stack and they will receive all abilities of the assigned roles.',
- 'users_password' => 'User Password',
- 'users_password_desc' => 'Set a password used to log-in to the application. This must be at least 6 characters long.',
- 'users_send_invite_text' => 'You can choose to send this user an invitation email which allows them to set their own password otherwise you can set their password yourself.',
- 'users_send_invite_option' => 'Send user invite email',
- 'users_external_auth_id' => 'External Authentication ID',
- 'users_external_auth_id_desc' => 'This is the ID used to match this user when communicating with your external authentication system.',
- 'users_password_warning' => 'Only fill the below if you would like to change your password.',
- 'users_system_public' => 'This user represents any guest users that visit your instance. It cannot be used to log in but is assigned automatically.',
- 'users_delete' => 'Delete User',
- 'users_delete_named' => 'Delete user :userName',
- 'users_delete_warning' => 'This will fully delete this user with the name \':userName\' from the system.',
- 'users_delete_confirm' => 'Are you sure you want to delete this user?',
- 'users_delete_success' => 'Users successfully removed',
- 'users_edit' => 'Edit User',
- 'users_edit_profile' => 'Edit Profile',
- 'users_edit_success' => 'User successfully updated',
- 'users_avatar' => 'User Avatar',
- 'users_avatar_desc' => 'Select an image to represent this user. This should be approx 256px square.',
- 'users_preferred_language' => 'Preferred Language',
- 'users_preferred_language_desc' => 'This option will change the language used for the user-interface of the application. This will not affect any user-created content.',
- 'users_social_accounts' => 'Social Accounts',
- 'users_social_accounts_info' => 'Here you can connect your other accounts for quicker and easier login. Disconnecting an account here does not revoke previously authorized access. Revoke access from your profile settings on the connected social account.',
- 'users_social_connect' => 'Connect Account',
- 'users_social_disconnect' => 'Disconnect Account',
- 'users_social_connected' => ':socialAccount account was successfully attached to your profile.',
- 'users_social_disconnected' => ':socialAccount account was successfully disconnected from your profile.',
- 'users_api_tokens' => 'API Tokens',
- 'users_api_tokens_none' => 'No API tokens have been created for this user',
- 'users_api_tokens_create' => 'Create Token',
- 'users_api_tokens_expires' => 'Expires',
- 'users_api_tokens_docs' => 'API Documentation',
+ 'users' => 'Utilizadores',
+ 'user_profile' => 'Perfil do Utilizador',
+ 'users_add_new' => 'Adicionar Novo Utilizador',
+ 'users_search' => 'Pesquisar Utilizadores',
+ 'users_latest_activity' => 'Última atividade',
+ 'users_details' => 'Detalhes do Utilizador',
+ 'users_details_desc' => 'Defina um nome de exibição e um endereço de e-mail para este utilizador. O endereço de e-mail será utilizado na autenticação da aplicação.',
+ 'users_details_desc_no_email' => 'Defina um nome de exibição para este utilizador para que outros possam reconhecê-lo.',
+ 'users_role' => 'Cargos do Utilizador',
+ 'users_role_desc' => 'Selecione os cargos aos quais este utilizador será vinculado. Se um utilizador for vinculado a múltiplos cargos, as suas permissões serão empilhadas e ele receberá todas as habilidades dos cargos atribuídos.',
+ 'users_password' => 'Palavra-passe do Utilizador',
+ 'users_password_desc' => 'Defina uma palavra-passe utilizada para efetuar a autenticação na aplicação. Esta deve ter pelo menos 6 caracteres.',
+ 'users_send_invite_text' => 'Pode escolher enviar a este utilizador um convite por e-mail que o possibilitará definir a sua própria palavra-passe, ou defina você mesmo uma.',
+ 'users_send_invite_option' => 'Enviar convite por e-mail',
+ 'users_external_auth_id' => 'ID de Autenticação Externa',
+ 'users_external_auth_id_desc' => 'Este ID é utilizado para relacionar um utilizador ao comunicar com um sistema de autenticação externo.',
+ 'users_password_warning' => 'Apenas preencha os dados abaixo caso queira modificar a sua palavra-passe.',
+ 'users_system_public' => 'Este utilizador representa quaisquer convidados que visitam a aplicação. Não pode ser utilizado para efetuar autenticação mas é automaticamente atribuído.',
+ 'users_delete' => 'Eliminar Utilizador',
+ 'users_delete_named' => 'Eliminar :userName',
+ 'users_delete_warning' => 'A ação vai eliminar completamente o utilizador de nome \':userName\' do sistema.',
+ 'users_delete_confirm' => 'Tem certeza que eliminar este utilizador?',
+ 'users_migrate_ownership' => 'Migrar Posse',
+ 'users_migrate_ownership_desc' => 'Selecione um utilizador aqui se desejar que outro se torne o proprietário de todos os itens atualmente pertencentes a este.',
+ 'users_none_selected' => 'Nenhum utilizador selecionado',
+ 'users_delete_success' => 'Utilizador removido com sucesso',
+ 'users_edit' => 'Editar Utilizador',
+ 'users_edit_profile' => 'Editar Perfil',
+ 'users_edit_success' => 'Utilizador atualizado com sucesso',
+ 'users_avatar' => 'Avatar do Utilizador',
+ 'users_avatar_desc' => 'Defina uma imagem para representar este utilizador. Deve ser um quadrado com aproximadamente 256px de altura e largura.',
+ 'users_preferred_language' => 'Linguagem de Preferência',
+ 'users_preferred_language_desc' => 'Esta opção irá alterar o idioma utilizado para a interface de utilizador da aplicação. Isto não afetará nenhum conteúdo criado por utilizadores.',
+ 'users_social_accounts' => 'Contas Sociais',
+ 'users_social_accounts_info' => 'Aqui pode ligar outras contas para acesso mais rápido. Desligar uma conta não retira a possibilidade de acesso usando-a. Para revogar o acesso ao perfil através da conta social, você deverá fazê-lo na sua conta social.',
+ 'users_social_connect' => 'Contas Associadas',
+ 'users_social_disconnect' => 'Dissociar Conta',
+ 'users_social_connected' => 'A conta:socialAccount foi associada com sucesso ao seu perfil.',
+ 'users_social_disconnected' => 'A conta:socialAccount foi dissociada com sucesso de seu perfil.',
+ 'users_api_tokens' => 'Tokens de API',
+ 'users_api_tokens_none' => 'Nenhum token de API foi criado para este utilizador',
+ 'users_api_tokens_create' => 'Criar Token',
+ 'users_api_tokens_expires' => 'Expira',
+ 'users_api_tokens_docs' => 'Documentação da API',
// API Tokens
- 'user_api_token_create' => 'Create API Token',
- 'user_api_token_name' => 'Name',
- 'user_api_token_name_desc' => 'Give your token a readable name as a future reminder of its intended purpose.',
- 'user_api_token_expiry' => 'Expiry Date',
- 'user_api_token_expiry_desc' => 'Set a date at which this token expires. After this date, requests made using this token will no longer work. Leaving this field blank will set an expiry 100 years into the future.',
- 'user_api_token_create_secret_message' => 'Immediately after creating this token a "Token ID"" & "Token Secret" will be generated and displayed. The secret will only be shown a single time so be sure to copy the value to somewhere safe and secure before proceeding.',
- 'user_api_token_create_success' => 'API token successfully created',
- 'user_api_token_update_success' => 'API token successfully updated',
- 'user_api_token' => 'API Token',
- 'user_api_token_id' => 'Token ID',
- 'user_api_token_id_desc' => 'This is a non-editable system generated identifier for this token which will need to be provided in API requests.',
- 'user_api_token_secret' => 'Token Secret',
- 'user_api_token_secret_desc' => 'This is a system generated secret for this token which will need to be provided in API requests. This will only be displayed this one time so copy this value to somewhere safe and secure.',
- 'user_api_token_created' => 'Token Created :timeAgo',
- 'user_api_token_updated' => 'Token Updated :timeAgo',
- 'user_api_token_delete' => 'Delete Token',
- 'user_api_token_delete_warning' => 'This will fully delete this API token with the name \':tokenName\' from the system.',
- 'user_api_token_delete_confirm' => 'Are you sure you want to delete this API token?',
- 'user_api_token_delete_success' => 'API token successfully deleted',
+ 'user_api_token_create' => 'Criar Token de API',
+ 'user_api_token_name' => 'Nome',
+ 'user_api_token_name_desc' => 'Dê ao seu token um nome legível como um futuro lembrete de seu propósito.',
+ 'user_api_token_expiry' => 'Data de Expiração',
+ 'user_api_token_expiry_desc' => 'Defina uma data em que este token expira. Depois desta data, as requisições feitas usando este token deixarão de funcionar. Deixar este campo em branco definirá um prazo de 100 anos futuros.',
+ 'user_api_token_create_secret_message' => 'Imediatamente após a criação deste token, um "ID de token" e "Segredo de token" serão gerados e exibidos. O segredo só será mostrado uma única vez, portanto, certifique-se de copiar o valor para algum lugar seguro antes de prosseguir.',
+ 'user_api_token_create_success' => 'Token de API criado com sucesso',
+ 'user_api_token_update_success' => 'Token de API atualizado com sucesso',
+ 'user_api_token' => 'Token de API',
+ 'user_api_token_id' => 'ID do Token',
+ 'user_api_token_id_desc' => 'Este é um identificador de sistema não editável, gerado para este token, que precisará ser fornecido em solicitações de API.',
+ 'user_api_token_secret' => 'Segredo do Token',
+ 'user_api_token_secret_desc' => 'Este é um segredo de sistema gerado para este token que precisará ser fornecido em requisições de API. Isto só será mostrado nesta única vez, portanto, copie este valor para um lugar seguro.',
+ 'user_api_token_created' => 'Token criado a :timeAgo',
+ 'user_api_token_updated' => 'Token atualizado a :timeAgo',
+ 'user_api_token_delete' => 'Eliminar Token',
+ 'user_api_token_delete_warning' => 'Isto irá excluir completamente este token de API com o nome \':tokenName\' do sistema.',
+ 'user_api_token_delete_confirm' => 'Tem certeza que deseja eliminar este token de API?',
+ 'user_api_token_delete_success' => 'Token de API excluído com sucesso',
//! If editing translations files directly please ignore this in all
//! languages apart from en. Content will be auto-copied from en.
'language_select' => [
'en' => 'English',
'ar' => 'العربية',
+ 'bg' => 'Bǎlgarski',
+ 'bs' => 'Bosanski',
+ 'ca' => 'Catalão',
'cs' => 'Česky',
'da' => 'Dansk',
'de' => 'Deutsch (Sie)',
'es_AR' => 'Español Argentina',
'fr' => 'Français',
'he' => 'עברית',
+ 'hr' => 'Hrvatski',
'hu' => 'Magyar',
+ 'id' => 'Bahasa Indonesia',
'it' => 'Italian',
'ja' => '日本語',
'ko' => '한국어',
+ 'lv' => 'Latviešu Valoda',
'nl' => 'Nederlands',
+ 'nb' => 'Norsk (Bokmål)',
'pl' => 'Polski',
+ 'pt' => 'Português',
'pt_BR' => 'Português do Brasil',
'ru' => 'Русский',
'sk' => 'Slovensky',
return [
// Standard laravel validation lines
- 'accepted' => 'The :attribute must be accepted.',
- 'active_url' => 'The :attribute is not a valid URL.',
- 'after' => 'The :attribute must be a date after :date.',
- 'alpha' => 'The :attribute may only contain letters.',
- 'alpha_dash' => 'The :attribute may only contain letters, numbers, dashes and underscores.',
- 'alpha_num' => 'The :attribute may only contain letters and numbers.',
- 'array' => 'The :attribute must be an array.',
- 'before' => 'The :attribute must be a date before :date.',
+ 'accepted' => 'O campo :attribute deve ser aceite.',
+ 'active_url' => 'O campo :attribute não é um URL válido.',
+ 'after' => 'O campo :attribute deve ser uma data posterior à data :date.',
+ 'alpha' => 'O campo :attribute deve conter apenas letras.',
+ 'alpha_dash' => 'O campo :attribute deve conter apenas letras, números, traços e sublinhado.',
+ 'alpha_num' => 'O campo :attribute deve conter apenas letras e números.',
+ 'array' => 'O campo :attribute deve ser uma lista(array).',
+ 'before' => 'O campo :attribute deve ser uma data anterior à data :date.',
'between' => [
- 'numeric' => 'The :attribute must be between :min and :max.',
- 'file' => 'The :attribute must be between :min and :max kilobytes.',
- 'string' => 'The :attribute must be between :min and :max characters.',
- 'array' => 'The :attribute must have between :min and :max items.',
+ 'numeric' => 'O campo :attribute deve estar entre :min e :max.',
+ 'file' => 'O campo :attribute deve ter entre :min e :max kilobytes.',
+ 'string' => 'O campo :attribute deve ter entre :min e :max caracteres.',
+ 'array' => 'O campo :attribute deve ter entre :min e :max itens.',
],
- 'boolean' => 'The :attribute field must be true or false.',
- 'confirmed' => 'The :attribute confirmation does not match.',
- 'date' => 'The :attribute is not a valid date.',
- 'date_format' => 'The :attribute does not match the format :format.',
- 'different' => 'The :attribute and :other must be different.',
- 'digits' => 'The :attribute must be :digits digits.',
- 'digits_between' => 'The :attribute must be between :min and :max digits.',
- 'email' => 'The :attribute must be a valid email address.',
- 'ends_with' => 'The :attribute must end with one of the following: :values',
- 'filled' => 'The :attribute field is required.',
+ 'boolean' => 'O campo :attribute deve ser verdadeiro ou falso.',
+ 'confirmed' => 'O campo :attribute não é igual à sua confirmação.',
+ 'date' => 'O campo :attribute não está num formato de data válido.',
+ 'date_format' => 'O campo :attribute não tem a formatação :format.',
+ 'different' => 'O campo :attribute e o campo :other devem ser diferentes.',
+ 'digits' => 'O campo :attribute deve ter :digits dígitos.',
+ 'digits_between' => 'O campo :attribute deve ter entre :min e :max dígitos.',
+ 'email' => 'O campo :attribute deve ser um endereço de e-mail válido.',
+ 'ends_with' => 'O campo :attribute deve terminar com um dos seguintes: :values',
+ 'filled' => 'O campo :attribute é requerido.',
'gt' => [
- 'numeric' => 'The :attribute must be greater than :value.',
- 'file' => 'The :attribute must be greater than :value kilobytes.',
- 'string' => 'The :attribute must be greater than :value characters.',
- 'array' => 'The :attribute must have more than :value items.',
+ 'numeric' => 'O campo :attribute deve ser maior que :value.',
+ 'file' => 'O campo :attribute deve ser maior que :value kilobytes.',
+ 'string' => 'O campo :attribute deve ser maior que :value caracteres.',
+ 'array' => 'O campo :attribute deve ter mais que :value itens.',
],
'gte' => [
- 'numeric' => 'The :attribute must be greater than or equal :value.',
- 'file' => 'The :attribute must be greater than or equal :value kilobytes.',
- 'string' => 'The :attribute must be greater than or equal :value characters.',
- 'array' => 'The :attribute must have :value items or more.',
+ 'numeric' => 'O campo :attribute deve ser maior ou igual a :value.',
+ 'file' => 'O campo :attribute deve ser maior ou igual a :value kilobytes.',
+ 'string' => 'O campo :attribute deve ser maior ou igual a :value caracteres.',
+ 'array' => 'O campo :attribute deve ter :value itens ou mais.',
],
- 'exists' => 'The selected :attribute is invalid.',
- 'image' => 'The :attribute must be an image.',
- 'image_extension' => 'The :attribute must have a valid & supported image extension.',
- 'in' => 'The selected :attribute is invalid.',
- 'integer' => 'The :attribute must be an integer.',
- 'ip' => 'The :attribute must be a valid IP address.',
- 'ipv4' => 'The :attribute must be a valid IPv4 address.',
- 'ipv6' => 'The :attribute must be a valid IPv6 address.',
- 'json' => 'The :attribute must be a valid JSON string.',
+ 'exists' => 'O campo :attribute selecionado não é válido.',
+ 'image' => 'O campo :attribute deve ser uma imagem.',
+ 'image_extension' => 'O campo :attribute deve ter uma extensão de imagem válida e suportada.',
+ 'in' => 'O campo :attribute selecionado não é válido.',
+ 'integer' => 'O campo :attribute deve ser um número inteiro.',
+ 'ip' => 'O campo :attribute deve ser um endereço IP válido.',
+ 'ipv4' => 'O campo :attribute deve ser um endereço IPv4 válido.',
+ 'ipv6' => 'O campo :attribute deve ser um endereço IPv6 válido.',
+ 'json' => 'O campo :attribute deve ser uma string JSON válida.',
'lt' => [
- 'numeric' => 'The :attribute must be less than :value.',
- 'file' => 'The :attribute must be less than :value kilobytes.',
- 'string' => 'The :attribute must be less than :value characters.',
- 'array' => 'The :attribute must have less than :value items.',
+ 'numeric' => 'O campo :attribute deve ser menor que :value.',
+ 'file' => 'O campo :attribute deve ser menor que :value kilobytes.',
+ 'string' => 'O campo :attribute deve ser menor que :value caracteres.',
+ 'array' => 'O campo :attribute deve conter menos que :value itens.',
],
'lte' => [
- 'numeric' => 'The :attribute must be less than or equal :value.',
- 'file' => 'The :attribute must be less than or equal :value kilobytes.',
- 'string' => 'The :attribute must be less than or equal :value characters.',
- 'array' => 'The :attribute must not have more than :value items.',
+ 'numeric' => 'O campo :attribute deve ser menor ou igual a :value.',
+ 'file' => 'O campo :attribute deve ser menor ou igual a :value kilobytes.',
+ 'string' => 'O campo :attribute deve ser menor ou igual a :value caracteres.',
+ 'array' => 'O campo :attribute não deve conter mais que :value itens.',
],
'max' => [
- 'numeric' => 'The :attribute may not be greater than :max.',
- 'file' => 'The :attribute may not be greater than :max kilobytes.',
- 'string' => 'The :attribute may not be greater than :max characters.',
- 'array' => 'The :attribute may not have more than :max items.',
+ 'numeric' => 'O valor para o campo :attribute não deve ser maior que :max.',
+ 'file' => 'O valor para o campo :attribute não deve ter tamanho maior que :max kilobytes.',
+ 'string' => 'O valor para o campo :attribute não deve ter mais que :max caracteres.',
+ 'array' => 'O valor para o campo :attribute não deve ter mais que :max itens.',
],
- 'mimes' => 'The :attribute must be a file of type: :values.',
+ 'mimes' => 'O campo :attribute deve ser do tipo type: :values.',
'min' => [
- 'numeric' => 'The :attribute must be at least :min.',
- 'file' => 'The :attribute must be at least :min kilobytes.',
- 'string' => 'The :attribute must be at least :min characters.',
- 'array' => 'The :attribute must have at least :min items.',
+ 'numeric' => 'O campo :attribute não deve ser menor que :min.',
+ 'file' => 'O campo :attribute não deve ter tamanho menor que :min kilobytes.',
+ 'string' => 'O campo :attribute não deve ter menos que :min caracteres.',
+ 'array' => 'O campo :attribute não deve ter menos que :min itens.',
],
- 'no_double_extension' => 'The :attribute must only have a single file extension.',
- 'not_in' => 'The selected :attribute is invalid.',
- 'not_regex' => 'The :attribute format is invalid.',
- 'numeric' => 'The :attribute must be a number.',
- 'regex' => 'The :attribute format is invalid.',
- 'required' => 'The :attribute field is required.',
- 'required_if' => 'The :attribute field is required when :other is :value.',
- 'required_with' => 'The :attribute field is required when :values is present.',
- 'required_with_all' => 'The :attribute field is required when :values is present.',
- 'required_without' => 'The :attribute field is required when :values is not present.',
- 'required_without_all' => 'The :attribute field is required when none of :values are present.',
- 'same' => 'The :attribute and :other must match.',
+ 'not_in' => 'O campo selecionado :attribute é inválido.',
+ 'not_regex' => 'O formato do campo :attribute é inválido.',
+ 'numeric' => 'O campo :attribute deve ser um número.',
+ 'regex' => 'O formato do campo :attribute é inválido.',
+ 'required' => 'O campo :attribute é requerido.',
+ 'required_if' => 'O campo :attribute é requerido quando o campo :other tem valor :value.',
+ 'required_with' => 'O campo :attribute é requerido quando os valores :values estiverem presentes.',
+ 'required_with_all' => 'O campo :attribute é requerido quando os valores :values estiverem presentes.',
+ 'required_without' => 'O campo :attribute é requerido quando os valores :values não estiverem presentes.',
+ 'required_without_all' => 'O campo :attribute é requerido quando nenhum dos valores :values estiverem presentes.',
+ 'same' => 'O campo :attribute e o campo :other devem ser iguais.',
+ 'safe_url' => 'O link fornecido poderá não ser seguro.',
'size' => [
- 'numeric' => 'The :attribute must be :size.',
- 'file' => 'The :attribute must be :size kilobytes.',
- 'string' => 'The :attribute must be :size characters.',
- 'array' => 'The :attribute must contain :size items.',
+ 'numeric' => 'O tamanho do campo :attribute deve ser :size.',
+ 'file' => 'O tamanho do arquivo :attribute deve ser de :size kilobytes.',
+ 'string' => 'O tamanho do campo :attribute deve ser de :size caracteres.',
+ 'array' => 'O campo :attribute deve conter :size itens.',
],
- 'string' => 'The :attribute must be a string.',
- 'timezone' => 'The :attribute must be a valid zone.',
- 'unique' => 'The :attribute has already been taken.',
- 'url' => 'The :attribute format is invalid.',
- 'uploaded' => 'The file could not be uploaded. The server may not accept files of this size.',
+ 'string' => 'O campo :attribute deve ser uma string.',
+ 'timezone' => 'O campo :attribute deve conter uma timezone válida.',
+ 'unique' => 'Já existe um campo/dado de nome :attribute.',
+ 'url' => 'O formato da URL :attribute é inválido.',
+ 'uploaded' => 'O arquivo não pôde ser carregado. O servidor pode não aceitar arquivos deste tamanho.',
// Custom validation lines
'custom' => [
'password-confirm' => [
- 'required_with' => 'Password confirmation required',
+ 'required_with' => 'Confirmação de senha requerida',
],
],
'bookshelf_delete' => 'excluiu a prateleira',
'bookshelf_delete_notification' => 'Prateleira excluída com sucesso',
+ // Favourites
+ 'favourite_add_notification' => '":name" has been added to your favourites',
+ 'favourite_remove_notification' => '":name" has been removed from your favourites',
+
// Other
'commented_on' => 'comentou em',
+ 'permissions_update' => 'atualizou permissões',
];
'remove' => 'Remover',
'add' => 'Adicionar',
'fullscreen' => 'Tela cheia',
+ 'favourite' => 'Favourite',
+ 'unfavourite' => 'Unfavourite',
+ 'next' => 'Next',
+ 'previous' => 'Previous',
// Sort Options
'sort_options' => 'Opções de Ordenação',
'sort_ascending' => 'Ordenação Crescente',
'sort_descending' => 'Ordenação Decrescente',
'sort_name' => 'Nome',
+ 'sort_default' => 'Padrão',
'sort_created_at' => 'Data de Criação',
'sort_updated_at' => 'Data de Atualização',
'breadcrumb' => 'Caminho',
// Header
+ 'header_menu_expand' => 'Expand Header Menu',
'profile_menu' => 'Menu de Perfil',
'view_profile' => 'Visualizar Perfil',
'edit_profile' => 'Editar Perfil',
// Layout tabs
'tab_info' => 'Informações',
+ 'tab_info_label' => 'Tab: Show Secondary Information',
'tab_content' => 'Conteúdo',
+ 'tab_content_label' => 'Tab: Show Primary Content',
// Email Content
'email_action_help' => 'Se você estiver tendo problemas ao clicar o botão ":actionText", copie e cole a URL abaixo no seu navegador:',
'email_rights' => 'Todos os direitos reservados',
+
+ // Footer Link Options
+ // Not directly used but available for convenience to users.
+ 'privacy_policy' => 'Políticas de Privacidade',
+ 'terms_of_service' => 'Termos de Serviço',
];
'meta_created_name' => 'Criado :timeLength por :user',
'meta_updated' => 'Atualizado :timeLength',
'meta_updated_name' => 'Atualizado :timeLength por :user',
+ 'meta_owned_name' => 'De :user',
'entity_select' => 'Seleção de Entidade',
'images' => 'Imagens',
'my_recent_drafts' => 'Meus Rascunhos Recentes',
'my_recently_viewed' => 'Visualizados por mim Recentemente',
+ 'my_most_viewed_favourites' => 'My Most Viewed Favourites',
+ 'my_favourites' => 'My Favourites',
'no_pages_viewed' => 'Você não visualizou nenhuma página',
'no_pages_recently_created' => 'Nenhuma página criada recentemente',
'no_pages_recently_updated' => 'Nenhuma página atualizada recentemente',
'permissions_intro' => 'Uma vez habilitadas, estas permissões terão prioridade sobre outro conjunto de permissões.',
'permissions_enable' => 'Habilitar Permissões Customizadas',
'permissions_save' => 'Salvar Permissões',
+ 'permissions_owner' => 'Proprietário',
// Search
'search_results' => 'Resultado(s) da Pesquisa',
'search_permissions_set' => 'Permissão definida',
'search_created_by_me' => 'Criado por mim',
'search_updated_by_me' => 'Atualizado por mim',
+ 'search_owned_by_me' => 'Owned by me',
'search_date_options' => 'Opções de Data',
'search_updated_before' => 'Atualizado antes de',
'search_updated_after' => 'Atualizado depois de',
'chapters_create' => 'Criar Novo Capítulo',
'chapters_delete' => 'Excluir Capítulo',
'chapters_delete_named' => 'Excluir Capítulo :chapterName',
- 'chapters_delete_explain' => 'A ação vai excluir o capítulo de nome \':chapterName\'. Todas as páginas do capítulo serão removidas e adicionadas diretamente ao livro pai.',
+ 'chapters_delete_explain' => 'Isto irá excluir o capítulo com o nome \':chapterName\'. Todas as páginas que existem neste capítulo também serão excluídas.',
'chapters_delete_confirm' => 'Tem certeza que deseja excluir o capítulo?',
'chapters_edit' => 'Editar Capítulo',
'chapters_edit_named' => 'Editar Capítulo :chapterName',
'pages_revisions' => 'Revisões da Página',
'pages_revisions_named' => 'Revisões de Página para :pageName',
'pages_revision_named' => 'Revisão de Página para :pageName',
+ 'pages_revision_restored_from' => 'Restaurado de #:id; :summary',
'pages_revisions_created_by' => 'Criada por',
'pages_revisions_date' => 'Data da Revisão',
'pages_revisions_number' => '#',
'attachments_link_url' => 'Link para o Arquivo',
'attachments_link_url_hint' => 'URL do site ou arquivo',
'attach' => 'Anexar',
- 'attachments_insert_link' => 'Add Attachment Link to Page',
+ 'attachments_insert_link' => 'Adicionar Link de Anexo à Página',
'attachments_edit_file' => 'Editar Arquivo',
'attachments_edit_file_name' => 'Nome do Arquivo',
'attachments_edit_drop_upload' => 'Arraste arquivos para cá ou clique para anexar arquivos e sobrescreve-los',
'revision_restore_confirm' => 'Tem certeza que deseja restaurar esta revisão? O conteúdo atual da página será substituído.',
'revision_delete_success' => 'Revisão excluída',
'revision_cannot_delete_latest' => 'Não é possível excluir a revisão mais recente.'
-];
\ No newline at end of file
+];
'404_page_not_found' => 'Página Não Encontrada',
'sorry_page_not_found' => 'Desculpe, a página que você está procurando não pôde ser encontrada.',
'sorry_page_not_found_permission_warning' => 'Se você esperava que esta página existisse, talvez você não tenha permissão para visualizá-la.',
+ 'image_not_found' => 'Image Not Found',
+ 'image_not_found_subtitle' => 'Sorry, The image file you were looking for could not be found.',
+ 'image_not_found_details' => 'If you expected this image to exist it might have been deleted.',
'return_home' => 'Retornar à página inicial',
'error_occurred' => 'Ocorreu um Erro',
'app_down' => ':appName está fora do ar no momento',
'app_homepage' => 'Página Inicial',
'app_homepage_desc' => 'Selecione uma opção para ser exibida como página inicial em vez da padrão. Permissões de página serão ignoradas para as páginas selecionadas.',
'app_homepage_select' => 'Selecione uma página',
+ 'app_footer_links' => 'Links do Rodapé',
+ 'app_footer_links_desc' => 'Add links to show within the site footer. These will be displayed at the bottom of most pages, including those that do not require login. You can use a label of "trans::<key>" to use system-defined translations. For example: Using "trans::common.privacy_policy" will provide the translated text "Privacy Policy" and "trans::common.terms_of_service" will provide the translated text "Terms of Service".',
+ 'app_footer_links_label' => 'Etiqueta do Link',
+ 'app_footer_links_url' => 'URL do Link',
+ 'app_footer_links_add' => 'Adicionar Link de Rodapé',
'app_disable_comments' => 'Desativar Comentários',
'app_disable_comments_toggle' => 'Desativar comentários',
'app_disable_comments_desc' => 'Desativar comentários em todas as páginas no aplicativo.<br> Comentários existentes não serão exibidos.',
'maint' => 'Manutenção',
'maint_image_cleanup' => 'Limpeza de Imagens',
'maint_image_cleanup_desc' => "Examina páginas e revisa seus conteúdos para verificar quais imagens e desenhos estão atualmente em uso e quais são redundantes. Certifique-se de criar um backup completo do banco de dados e imagens antes de executar esta ação.",
- 'maint_image_cleanup_ignore_revisions' => 'Ignorar imagens em revisões',
+ 'maint_delete_images_only_in_revisions' => 'Também excluir imagens que existem apenas em revisões de página antigas',
'maint_image_cleanup_run' => 'Executar Limpeza',
'maint_image_cleanup_warning' => ':count imagens potencialmente não utilizadas foram encontradas. Tem certeza de que deseja excluir estas imagens?',
'maint_image_cleanup_success' => ':count imagens potencialmente não utilizadas foram encontradas e excluídas!',
'maint_send_test_email_mail_subject' => 'E-mail de Teste',
'maint_send_test_email_mail_greeting' => 'O envio de e-mails parece funcionar!',
'maint_send_test_email_mail_text' => 'Parabéns! Já que você recebeu esta notificação, suas opções de e-mail parecem estar configuradas corretamente.',
+ 'maint_recycle_bin_desc' => 'Prateleiras, livros, capítulos e páginas deletados são mandados para a lixeira podendo assim ser restaurados ou excluídos permanentemente. Itens mais antigos da lixeira podem vir a ser automaticamente removidos da lixeira após um tempo dependendo da configuração do sistema.',
+ 'maint_recycle_bin_open' => 'Abrir Lixeira',
+
+ // Recycle Bin
+ 'recycle_bin' => 'Lixeira',
+ 'recycle_bin_desc' => 'Aqui você pode restaurar itens que foram excluídos ou escolher removê-los permanentemente do sistema. Esta lista não é filtrada diferentemente de listas de atividades similares no sistema onde filtros de permissão são aplicados.',
+ 'recycle_bin_deleted_item' => 'Item excluído',
+ 'recycle_bin_deleted_by' => 'Excluído por',
+ 'recycle_bin_deleted_at' => 'Momento de Exclusão',
+ 'recycle_bin_permanently_delete' => 'Excluir permanentemente',
+ 'recycle_bin_restore' => 'Restaurar',
+ 'recycle_bin_contents_empty' => 'A lixeira está vazia',
+ 'recycle_bin_empty' => 'Esvaziar Lixeira',
+ 'recycle_bin_empty_confirm' => 'Isso irá destruir permanentemente todos os itens na lixeira inclusive o conteúdo de cada item. Tem certeza de que quer esvaziar a lixeira?',
+ 'recycle_bin_destroy_confirm' => 'Esta ação irá excluir permanentemente do sistema este item junto com todos os elementos filhos listados abaixo. Você não poderá restaurar esse conteúdo. Tem certeza de que deseja excluir permanentemente este item?',
+ 'recycle_bin_destroy_list' => 'Itens a serem Destruídos',
+ 'recycle_bin_restore_list' => 'Itens a serem restaurados',
+ 'recycle_bin_restore_confirm' => 'Esta ação irá restaurar o item excluído, inclusive quaisquer elementos filhos, para seu local original. Se a localização original tiver, entretanto, sido eliminada e estiver agora na lixeira, o item pai também precisará ser restaurado.',
+ 'recycle_bin_restore_deleted_parent' => 'The parent of this item has also been deleted. These will remain deleted until that parent is also restored.',
+ 'recycle_bin_destroy_notification' => 'Deleted :count total items from the recycle bin.',
+ 'recycle_bin_restore_notification' => 'Restored :count total items from the recycle bin.',
// Audit Log
- 'audit' => 'Audit Log',
+ 'audit' => 'Registro de auditoria',
'audit_desc' => 'This audit log displays a list of activities tracked in the system. This list is unfiltered unlike similar activity lists in the system where permission filters are applied.',
- 'audit_event_filter' => 'Event Filter',
- 'audit_event_filter_no_filter' => 'No Filter',
- 'audit_deleted_item' => 'Deleted Item',
- 'audit_deleted_item_name' => 'Name: :name',
- 'audit_table_user' => 'User',
- 'audit_table_event' => 'Event',
- 'audit_table_item' => 'Related Item',
- 'audit_table_date' => 'Activity Date',
+ 'audit_event_filter' => 'Filtro de Eventos',
+ 'audit_event_filter_no_filter' => 'Sem filtro',
+ 'audit_deleted_item' => 'Item excluído',
+ 'audit_deleted_item_name' => 'Nome: :name',
+ 'audit_table_user' => 'Usuário',
+ 'audit_table_event' => 'Evento',
+ 'audit_table_related' => 'Related Item or Detail',
+ 'audit_table_date' => 'Data da Atividade',
'audit_date_from' => 'Date Range From',
'audit_date_to' => 'Date Range To',
'user_profile' => 'Perfil do Usuário',
'users_add_new' => 'Adicionar Novo Usuário',
'users_search' => 'Pesquisar Usuários',
+ 'users_latest_activity' => 'Última Atividade',
'users_details' => 'Detalhes do Usuário',
'users_details_desc' => 'Defina um nome de exibição e um endereço de e-mail para este usuário. O endereço de e-mail será usado para fazer login na aplicação.',
'users_details_desc_no_email' => 'Defina um nome de exibição para este usuário para que outros usuários possam reconhecê-lo',
'users_delete_named' => 'Excluir :userName',
'users_delete_warning' => 'A ação vai excluir completamente o usuário de nome \':userName\' do sistema.',
'users_delete_confirm' => 'Tem certeza que deseja excluir esse usuário?',
- 'users_delete_success' => 'Usuários excluídos com sucesso',
+ 'users_migrate_ownership' => 'Migrate Ownership',
+ 'users_migrate_ownership_desc' => 'Select a user here if you want another user to become the owner of all items currently owned by this user.',
+ 'users_none_selected' => 'Nenhum usuário selecionado',
+ 'users_delete_success' => 'Usuário removido com sucesso',
'users_edit' => 'Editar Usuário',
'users_edit_profile' => 'Editar Perfil',
'users_edit_success' => 'Usuário atualizado com sucesso',
'en' => 'English',
'ar' => 'العربية',
'bg' => 'Bǎlgarski',
+ 'bs' => 'Bosanski',
+ 'ca' => 'Català',
'cs' => 'Česky',
'da' => 'Dansk',
'de' => 'Deutsch (Sie)',
'es_AR' => 'Español Argentina',
'fr' => 'Français',
'he' => 'עברית',
+ 'hr' => 'Hrvatski',
'hu' => 'Magyar',
+ 'id' => 'Bahasa Indonesia',
'it' => 'Italian',
'ja' => '日本語',
'ko' => '한국어',
+ 'lv' => 'Latviešu Valoda',
'nl' => 'Nederlands',
+ 'nb' => 'Norsk (Bokmål)',
'pl' => 'Polski',
+ 'pt' => 'Português',
'pt_BR' => 'Português do Brasil',
'ru' => 'Русский',
'sk' => 'Slovensky',
'string' => 'O campo :attribute não deve ter menos que :min caracteres.',
'array' => 'O campo :attribute não deve ter menos que :min itens.',
],
- 'no_double_extension' => 'O campo :attribute deve ter apenas uma extensão de arquivo.',
'not_in' => 'O campo selecionado :attribute é inválido.',
'not_regex' => 'O formato do campo :attribute é inválido.',
'numeric' => 'O campo :attribute deve ser um número.',
'required_without' => 'O campo :attribute é requerido quando os valores :values não estiverem presentes.',
'required_without_all' => 'O campo :attribute é requerido quando nenhum dos valores :values estiverem presentes.',
'same' => 'O campo :attribute e o campo :other devem ser iguais.',
+ 'safe_url' => 'O link fornecido pode não ser seguro.',
'size' => [
'numeric' => 'O tamanho do campo :attribute deve ser :size.',
'file' => 'O tamanho do arquivo :attribute deve ser de :size kilobytes.',
'bookshelf_delete' => 'удалил полку',
'bookshelf_delete_notification' => 'Полка успешно удалена',
+ // Favourites
+ 'favourite_add_notification' => '":name" добавлено в избранное',
+ 'favourite_remove_notification' => ':name" удалено из избранного',
+
// Other
'commented_on' => 'прокомментировал',
+ 'permissions_update' => 'обновил разрешения',
];
'remove' => 'Удалить',
'add' => 'Добавить',
'fullscreen' => 'На весь экран',
+ 'favourite' => 'Избранное',
+ 'unfavourite' => 'Убрать из избранного',
+ 'next' => 'Следующая',
+ 'previous' => 'Предыдущая',
// Sort Options
'sort_options' => 'Параметры сортировки',
'sort_ascending' => 'По возрастанию',
'sort_descending' => 'По убыванию',
'sort_name' => 'По имени',
+ 'sort_default' => 'По умолчанию',
'sort_created_at' => 'По дате создания',
'sort_updated_at' => 'По дате обновления',
'breadcrumb' => 'Навигация',
// Header
+ 'header_menu_expand' => 'Развернуть меню заголовка',
'profile_menu' => 'Меню профиля',
'view_profile' => 'Посмотреть профиль',
'edit_profile' => 'Редактировать профиль',
// Layout tabs
'tab_info' => 'Информация',
+ 'tab_info_label' => 'Вкладка: Показать вторичную информацию',
'tab_content' => 'Содержание',
+ 'tab_content_label' => 'Вкладка: Показать основной контент',
// Email Content
'email_action_help' => 'Если у вас возникли проблемы с нажатием кнопки \':actionText\', то скопируйте и вставьте указанный URL-адрес в свой браузер:',
'email_rights' => 'Все права защищены',
+
+ // Footer Link Options
+ // Not directly used but available for convenience to users.
+ 'privacy_policy' => 'Политика конфиденциальности',
+ 'terms_of_service' => 'Условия использования',
];
'meta_created_name' => ':user создал :timeLength',
'meta_updated' => 'Обновлено :timeLength',
'meta_updated_name' => ':user обновил :timeLength',
+ 'meta_owned_name' => 'Владелец :user',
'entity_select' => 'Выбор объекта',
'images' => 'Изображения',
'my_recent_drafts' => 'Мои последние черновики',
'my_recently_viewed' => 'Мои недавние просмотры',
+ 'my_most_viewed_favourites' => 'Популярное избранное',
+ 'my_favourites' => 'Мое избранное',
'no_pages_viewed' => 'Вы не просматривали ни одной страницы',
'no_pages_recently_created' => 'Нет недавно созданных страниц',
'no_pages_recently_updated' => 'Нет недавно обновленных страниц',
'permissions_intro' => 'После включения опции эти разрешения будут иметь приоритет над любыми установленными разрешениями роли.',
'permissions_enable' => 'Включение пользовательских разрешений',
'permissions_save' => 'Сохранить разрешения',
+ 'permissions_owner' => 'Владелец',
// Search
'search_results' => 'Результаты поиска',
'search_permissions_set' => 'Набор разрешений',
'search_created_by_me' => 'Создано мной',
'search_updated_by_me' => 'Обновлено мной',
+ 'search_owned_by_me' => 'Созданные мной',
'search_date_options' => 'Параметры даты',
'search_updated_before' => 'Обновлено до',
'search_updated_after' => 'Обновлено после',
'chapters_create' => 'Создать новую главу',
'chapters_delete' => 'Удалить главу',
'chapters_delete_named' => 'Удалить главу :chapterName',
- 'chapters_delete_explain' => 'Это удалит главу с именем \':chapterName\'. Все страницы главы будут удалены и перемещены напрямую в книгу.',
+ 'chapters_delete_explain' => 'Это действие удалит главу с названием \':chapterName\'. Все страницы, которые существуют в этой главе, также будут удалены.',
'chapters_delete_confirm' => 'Вы действительно хотите удалить эту главу?',
'chapters_edit' => 'Редактировать главу',
'chapters_edit_named' => 'Редактировать главу :chapterName',
'pages_revisions' => 'Версии страницы',
'pages_revisions_named' => 'Версии страницы для :pageName',
'pages_revision_named' => 'Версия страницы для :pageName',
+ 'pages_revision_restored_from' => 'Восстановлено из #:id; :summary',
'pages_revisions_created_by' => 'Создана',
'pages_revisions_date' => 'Дата версии',
'pages_revisions_number' => '#',
'revision_restore_confirm' => 'Вы уверены, что хотите восстановить эту версию? Текущее содержимое страницы будет заменено.',
'revision_delete_success' => 'Версия удалена',
'revision_cannot_delete_latest' => 'Нельзя удалить последнюю версию.'
-];
\ No newline at end of file
+];
'404_page_not_found' => 'Страница не найдена',
'sorry_page_not_found' => 'Извините, страница, которую вы искали, не найдена.',
'sorry_page_not_found_permission_warning' => 'Если вы ожидали что страница существует, возможно у вас нет прав для её просмотра.',
+ 'image_not_found' => 'Изображение не найдено',
+ 'image_not_found_subtitle' => 'К сожалению, файл изображения, который вы искали, не найден.',
+ 'image_not_found_details' => 'Возможно данное изображение было удалено.',
'return_home' => 'вернуться на главную страницу',
'error_occurred' => 'Произошла ошибка',
'app_down' => ':appName в данный момент не доступно',
'app_editor_desc' => 'Выберите, какой редактор будет использоваться всеми пользователями для редактирования страниц.',
'app_custom_html' => 'Пользовательский контент заголовка HTML',
'app_custom_html_desc' => 'Любой контент, добавленный здесь, будет вставлен в нижнюю часть раздела <head> каждой страницы. Это удобно для переопределения стилей или добавления кода аналитики.',
- 'app_custom_html_disabled_notice' => 'Пользовательский контент заголовка HTML отключен на этой странице, чтобы гарантировать отмену любых критических изменений',
+ 'app_custom_html_disabled_notice' => 'Пользовательский контент заголовка HTML отключен на этой странице, чтобы гарантировать отмену любых критических изменений.',
'app_logo' => 'Логотип приложения',
'app_logo_desc' => 'Это изображение должно быть 43px в высоту. <br>Большое изображение будет уменьшено.',
'app_primary_color' => 'Основной цвет приложения',
'app_homepage' => 'Стартовая страница приложения',
'app_homepage_desc' => 'Выберите страницу, которая будет отображаться на главной странице вместо стандартной. Права на страницы игнорируются для выбранных страниц.',
'app_homepage_select' => 'Выберите страницу',
+ 'app_footer_links' => 'Ссылки в нижней части страницы',
+ 'app_footer_links_desc' => 'Добавьте ссылки для отображения в нижнем колонтитуле сайта. Они будут отображаться в нижней части большинства страниц, включая те, которые не требуют входа. Вы можете использовать метку "trans::<key>" для использования системных переводов. Например: Использование "trans::common.privacy_policy" обеспечит перевод текста "Политика конфиденциальности" и "trans:common.terms_of_service" предоставит переведенный текст "Правила использования".',
+ 'app_footer_links_label' => 'Название ссылки',
+ 'app_footer_links_url' => 'Адрес ссылки',
+ 'app_footer_links_add' => 'Добавить ссылку',
'app_disable_comments' => 'Отключение комментариев',
'app_disable_comments_toggle' => 'Отключить комментарии',
'app_disable_comments_desc' => 'Отключение комментариев на всех страницах. Существующие комментарии будут скрыты.',
'maint' => 'Обслуживание',
'maint_image_cleanup' => 'Очистка изображений',
'maint_image_cleanup_desc' => "Сканирует содержимое страниц и предыдущих версий и определяет изображения, которые не используются. Убедитесь, что у вас есть резервная копия базы данных и папки изображений перед запуском этой функции.",
- 'maint_image_cleanup_ignore_revisions' => 'Пропускать изображения в версиях',
+ 'maint_delete_images_only_in_revisions' => 'Также удалять изображения, которые существуют только в старой версии страницы',
'maint_image_cleanup_run' => 'Выполнить очистку',
'maint_image_cleanup_warning' => 'Найдено :count возможно бесполезных изображений. Вы уверены, что хотите удалить эти изображения?',
'maint_image_cleanup_success' => ':count возможно бесполезных изображений было найдено и удалено!',
'maint_send_test_email_mail_subject' => 'Проверка электронной почты',
'maint_send_test_email_mail_greeting' => 'Доставка электронной почты работает!',
'maint_send_test_email_mail_text' => 'Поздравляем! Поскольку вы получили это письмо, электронная почта настроена правильно.',
+ 'maint_recycle_bin_desc' => 'Удаленные полки, книги, главы и страницы отправляются в корзину, чтобы они могли быть восстановлены или удалены навсегда. Более старые элементы в корзине могут быть автоматически удалены через некоторое время в зависимости от системной конфигурации.',
+ 'maint_recycle_bin_open' => 'Открыть корзину',
+
+ // Recycle Bin
+ 'recycle_bin' => 'Корзина',
+ 'recycle_bin_desc' => 'Здесь вы можете восстановить удаленные элементы или навсегда удалить их из системы. Этот список не отфильтрован в отличие от аналогичных списков действий в системе, где применяются фильтры.',
+ 'recycle_bin_deleted_item' => 'Удаленный элемент',
+ 'recycle_bin_deleted_by' => 'Удалён',
+ 'recycle_bin_deleted_at' => 'Время удаления',
+ 'recycle_bin_permanently_delete' => 'Удалить навсегда',
+ 'recycle_bin_restore' => 'Восстановить',
+ 'recycle_bin_contents_empty' => 'На данный момент корзина пуста',
+ 'recycle_bin_empty' => 'Очистить корзину',
+ 'recycle_bin_empty_confirm' => 'Это действие навсегда уничтожит все элементы в корзине, включая содержимое, содержащееся в каждом элементе. Вы уверены, что хотите очистить корзину?',
+ 'recycle_bin_destroy_confirm' => 'Это действие удалит этот элемент навсегда вместе с любыми дочерними элементами, перечисленными ниже, и вы не сможете восстановить этот контент. Вы уверены, что хотите навсегда удалить этот элемент?',
+ 'recycle_bin_destroy_list' => 'Элементы для удаления',
+ 'recycle_bin_restore_list' => 'Элементы для восстановления',
+ 'recycle_bin_restore_confirm' => 'Это действие восстановит удаленный элемент, включая дочерние, в исходное место. Если исходное место было удалено и теперь находится в корзине, родительский элемент также необходимо будет восстановить.',
+ 'recycle_bin_restore_deleted_parent' => 'Родитель этого элемента также был удален. Элементы будут удалены до тех пор, пока этот родитель не будет восстановлен.',
+ 'recycle_bin_destroy_notification' => 'Удалено :count элементов из корзины.',
+ 'recycle_bin_restore_notification' => 'Восстановлено :count элементов из корзины',
// Audit Log
'audit' => 'Журнал аудита',
- 'audit_desc' => 'Этот журнал аудита отображает список действий, отслеживаемых в системе. Этот список не отфильтрован в отличие от аналогичных списков действий в системе, где применяются фильтры разрешений.',
+ 'audit_desc' => 'Этот журнал аудита отображает список действий, отслеживаемых в системе. Этот список не отфильтрован в отличие от аналогичных списков действий в системе, где применяются фильтры.',
'audit_event_filter' => 'Фильтр событий',
'audit_event_filter_no_filter' => 'Без фильтра',
'audit_deleted_item' => 'Удаленный элемент',
'audit_deleted_item_name' => 'Имя: :name',
'audit_table_user' => 'Пользователь',
'audit_table_event' => 'Событие',
- 'audit_table_item' => 'Связанный элемент',
+ 'audit_table_related' => 'Связанный элемент',
'audit_table_date' => 'Дата действия',
'audit_date_from' => 'Диапазон даты от',
'audit_date_to' => 'Диапазон даты до',
// Role Settings
'roles' => 'Роли',
- 'role_user_roles' => 'Роли пользователя',
+ 'role_user_roles' => 'Роли пользователей',
'role_create' => 'Добавить роль',
'role_create_success' => 'Роль успешно добавлена',
'role_delete' => 'Удалить роль',
'role_access_api' => 'Доступ к системному API',
'role_manage_settings' => 'Управление настройками приложения',
'role_asset' => 'Права доступа к материалам',
- 'roles_system_warning' => 'Ð\98мейÑ\82е в видÑ\83, Ñ\87Ñ\82о доÑ\81Ñ\82Ñ\83п к лÑ\8eбомÑ\83 из Ñ\83казаннÑ\8bÑ\85 вÑ\8bÑ\88е Ñ\82Ñ\80еÑ\85 Ñ\80азÑ\80еÑ\88ений можеÑ\82 позволиÑ\82Ñ\8c полÑ\8cзоваÑ\82елÑ\8e измениÑ\82Ñ\8c Ñ\81вои Ñ\81обÑ\81Ñ\82веннÑ\8bе пÑ\80ивилегии или пÑ\80ивилегии дÑ\80Ñ\83гиÑ\85 полÑ\8cзоваÑ\82елей Ñ\81иÑ\81Ñ\82емÑ\8b. Ð\9dазнаÑ\87иÑ\82Ñ\8c Ñ\80оли Ñ\81 Ñ\8dÑ\82ими пÑ\80авами только доверенным пользователям.',
+ 'roles_system_warning' => 'Ð\98мейÑ\82е в видÑ\83, Ñ\87Ñ\82о доÑ\81Ñ\82Ñ\83п к лÑ\8eбомÑ\83 из Ñ\83казаннÑ\8bÑ\85 вÑ\8bÑ\88е Ñ\82Ñ\80еÑ\85 Ñ\80азÑ\80еÑ\88ений можеÑ\82 позволиÑ\82Ñ\8c полÑ\8cзоваÑ\82елÑ\8e измениÑ\82Ñ\8c Ñ\81вои Ñ\81обÑ\81Ñ\82веннÑ\8bе пÑ\80ивилегии или пÑ\80ивилегии дÑ\80Ñ\83гиÑ\85 полÑ\8cзоваÑ\82елей Ñ\81иÑ\81Ñ\82емÑ\8b. Ð\9dазнаÑ\87аÑ\82Ñ\8c Ñ\80оли Ñ\81 Ñ\8dÑ\82ими пÑ\80авами можно только доверенным пользователям.',
'role_asset_desc' => 'Эти разрешения контролируют доступ по умолчанию к параметрам внутри системы. Разрешения на книги, главы и страницы перезапишут эти разрешения.',
'role_asset_admins' => 'Администраторы автоматически получают доступ ко всему контенту, но эти опции могут отображать или скрывать параметры пользовательского интерфейса.',
'role_all' => 'Все',
'user_profile' => 'Профиль пользователя',
'users_add_new' => 'Добавить пользователя',
'users_search' => 'Поиск пользователей',
+ 'users_latest_activity' => 'Последние действия',
'users_details' => 'Данные пользователя',
'users_details_desc' => 'Укажите имя и адрес электронной почты для этого пользователя. Адрес электронной почты будет использоваться для входа в приложение.',
'users_details_desc_no_email' => 'Задайте имя для этого пользователя, чтобы другие могли его узнать.',
'users_system_public' => 'Этот пользователь представляет любых гостевых пользователей, которые посещают ваше приложение. Он не может использоваться для входа в систему и назначается автоматически.',
'users_delete' => 'Удалить пользователя',
'users_delete_named' => 'Удалить пользователя :userName',
- 'users_delete_warning' => 'Это полностью удалит пользователя с именем \':userName\' из системы.',
+ 'users_delete_warning' => 'Это полностью удалит пользователя \':userName\' из системы.',
'users_delete_confirm' => 'Вы уверены что хотите удалить этого пользователя?',
- 'users_delete_success' => 'Пользователи успешно удалены',
+ 'users_migrate_ownership' => 'Наследник контента',
+ 'users_migrate_ownership_desc' => 'Выберите пользователя, если вы хотите, чтобы он стал владельцем всех элементов, в настоящее время принадлежащих удаляемому пользователю.',
+ 'users_none_selected' => 'Пользователь не выбран',
+ 'users_delete_success' => 'Пользователь успешно удален',
'users_edit' => 'Редактировать пользователя',
'users_edit_profile' => 'Редактировать профиль',
'users_edit_success' => 'Пользователь успешно обновлен',
'user_api_token_name' => 'Имя',
'user_api_token_name_desc' => 'Присвойте вашему токену читаемое имя, в качестве напоминания о его назначении в будущем.',
'user_api_token_expiry' => 'Истекает',
- 'user_api_token_expiry_desc' => 'Установите дату истечения срока действия этого токена. После этой даты запросы, сделанные с использованием этого токена, больше не будут работать. Если оставить это поле пустым, срок действия истечет через 100 лет.',
+ 'user_api_token_expiry_desc' => 'Установите дату истечения срока действия этого токена. После наступления даты запросы, сделанные с использованием данного токена, больше не будут работать. Если оставить это поле пустым, срок действия истечет через 100 лет.',
'user_api_token_create_secret_message' => 'Сразу после создания этого токена будут сгенерированы и отображены идентификатор токена и секретный ключ. Секретный ключ будет показан только один раз, поэтому перед продолжением обязательно скопируйте значение в безопасное и надежное место.',
'user_api_token_create_success' => 'API токен успешно создан',
'user_api_token_update_success' => 'API токен успешно обновлен',
'en' => 'English',
'ar' => 'العربية',
'bg' => 'Bǎlgarski',
+ 'bs' => 'Bosanski',
+ 'ca' => 'Català',
'cs' => 'Česky',
'da' => 'Dansk',
'de' => 'Deutsch (Sie)',
'es_AR' => 'Español Argentina',
'fr' => 'Français',
'he' => 'עברית',
+ 'hr' => 'Hrvatski',
'hu' => 'Magyar',
+ 'id' => 'Bahasa Indonesia',
'it' => 'Italian',
'ja' => '日本語',
'ko' => '한국어',
+ 'lv' => 'Latviešu Valoda',
'nl' => 'Nederlands',
+ 'nb' => 'Norsk (Bokmål)',
'pl' => 'Polski',
+ 'pt' => 'Português',
'pt_BR' => 'Português do Brasil',
'ru' => 'Русский',
'sk' => 'Slovensky',
'string' => ':attribute должен быть минимум :min символов.',
'array' => ':attribute должен содержать хотя бы :min элементов.',
],
- 'no_double_extension' => ':attribute должен иметь только одно расширение файла.',
'not_in' => 'Выбранный :attribute некорректен.',
'not_regex' => 'Формат :attribute некорректен.',
'numeric' => ':attribute должен быть числом.',
'required_without' => ':attribute обязательное поле когда :values не установлены.',
'required_without_all' => ':attribute обязательное поле когда ни одно из :values не установлены.',
'same' => ':attribute и :other должны совпадать.',
+ 'safe_url' => 'Предоставленная ссылка может быть небезопасной.',
'size' => [
'numeric' => ':attribute должен быть :size.',
'file' => ':attribute должен быть :size килобайт.',
return [
// Pages
- 'page_create' => 'vytvoril stránku',
+ 'page_create' => 'vytvoril(a) stránku',
'page_create_notification' => 'Stránka úspešne vytvorená',
'page_update' => 'aktualizoval stránku',
'page_update_notification' => 'Stránka úspešne aktualizovaná',
- 'page_delete' => 'odstránil stránku',
+ 'page_delete' => 'odstránil(a) stránku',
'page_delete_notification' => 'Stránka úspešne odstránená',
- 'page_restore' => 'obnovil stránku',
+ 'page_restore' => 'obnovil(a) stránku',
'page_restore_notification' => 'Stránka úspešne obnovená',
- 'page_move' => 'presunul stránku',
+ 'page_move' => 'presunul(a) stránku',
// Chapters
- 'chapter_create' => 'vytvoril kapitolu',
+ 'chapter_create' => 'vytvoril(a) kapitolu',
'chapter_create_notification' => 'Kapitola úspešne vytvorená',
- 'chapter_update' => 'aktualizoval kapitolu',
+ 'chapter_update' => 'aktualizoval(a) kapitolu',
'chapter_update_notification' => 'Kapitola úspešne aktualizovaná',
- 'chapter_delete' => 'odstránil kapitolu',
+ 'chapter_delete' => 'odstránil(a) kapitolu',
'chapter_delete_notification' => 'Kapitola úspešne odstránená',
- 'chapter_move' => 'presunul kapitolu',
+ 'chapter_move' => 'presunul(a) kapitolu',
// Books
- 'book_create' => 'vytvoril knihu',
+ 'book_create' => 'vytvoril(a) knihu',
'book_create_notification' => 'Kniha úspešne vytvorená',
- 'book_update' => 'aktualizoval knihu',
+ 'book_update' => 'aktualizoval(a) knihu',
'book_update_notification' => 'Kniha úspešne aktualizovaná',
- 'book_delete' => 'odstránil knihu',
+ 'book_delete' => 'odstránil(a) knihu',
'book_delete_notification' => 'Kniha úspešne odstránená',
- 'book_sort' => 'zoradil knihu',
+ 'book_sort' => 'zoradil(a) knihu',
'book_sort_notification' => 'Kniha úspešne znovu zoradená',
// Bookshelves
- 'bookshelf_create' => 'vytvorená knižnica',
+ 'bookshelf_create' => 'vytvoril(a) knižnicu',
'bookshelf_create_notification' => 'Knižnica úspešne vytvorená',
- 'bookshelf_update' => 'aktualizovaná knižnica',
+ 'bookshelf_update' => 'aktualizoval(a) knižnicu',
'bookshelf_update_notification' => 'Knižnica úspešne aktualizovaná',
- 'bookshelf_delete' => 'odstránená knižnica',
+ 'bookshelf_delete' => 'odstránil(a) knižnicu',
'bookshelf_delete_notification' => 'Knižnica úspešne odstránená',
+ // Favourites
+ 'favourite_add_notification' => '":name" has been added to your favourites',
+ 'favourite_remove_notification' => '":name" has been removed from your favourites',
+
// Other
- 'commented_on' => 'komentované na',
+ 'commented_on' => 'komentoval(a)',
+ 'permissions_update' => 'aktualizované oprávnenia',
];
*/
return [
- 'failed' => 'Tieto údaje nesedia s našimi záznamami.',
+ 'failed' => 'Tieto údaje sa nezhodujú s našimi záznamami.',
'throttle' => 'Priveľa pokusov o prihlásenie. Skúste znova o :seconds sekúnd.',
// Login & Register
'password_hint' => 'Musí mať viac ako 7 znakov',
'forgot_password' => 'Zabudli ste heslo?',
'remember_me' => 'Zapamätať si ma',
- 'ldap_email_hint' => 'Zadajte prosím email, ktorý sa má použiť pre tento účet.',
+ 'ldap_email_hint' => 'Zadajte prosím e-mail, ktorý sa má použiť pre tento účet.',
'create_account' => 'Vytvoriť účet',
'already_have_account' => 'Už máte svoj účet?',
'dont_have_account' => 'Nemáte účet?',
'social_login' => 'Sociálne prihlásenie',
'social_registration' => 'Sociálna registrácia',
- 'social_registration_text' => 'Registrovať sa a prihlásiť sa použitím inej služby.',
+ 'social_registration_text' => 'Registrácia a prihlásenie pomocou inej služby.',
- 'register_thanks' => 'Ďakujeme zaregistráciu!',
- 'register_confirm' => 'Skontrolujte prosím svoj email a kliknite na potvrdzujúce tlačidlo pre prístup k :appName.',
+ 'register_thanks' => 'Ďakujeme za registráciu!',
+ 'register_confirm' => 'Prosím, skontrolujte svoj e-mail a kliknite na potvrdzujúce tlačidlo pre prístup k :appName.',
'registrations_disabled' => 'Registrácie sú momentálne zablokované',
- 'registration_email_domain_invalid' => 'Táto emailová doména nemá prístup k tejto aplikácii',
+ 'registration_email_domain_invalid' => 'Táto e-mailová doména nemá prístup k tejto aplikácii',
'register_success' => 'Ďakujeme za registráciu! Teraz ste registrovaný a prihlásený.',
// Password Reset
- 'reset_password' => 'Reset hesla',
- 'reset_password_send_instructions' => 'Zadajte svoj email nižšie a bude Vám odoslaný email s odkazom pre reset hesla.',
- 'reset_password_send_button' => 'Poslať odkaz na reset hesla',
- 'reset_password_sent' => 'Odkaz na obnovenie hesla bude odoslaný na :email, ak sa táto e-mailová adresa nachádza v systéme.',
+ 'reset_password' => 'Resetovanie hesla',
+ 'reset_password_send_instructions' => 'Nižšie zadajte svoj e-mail, na ktorý Vám zašleme odkaz pre resetovanie hesla.',
+ 'reset_password_send_button' => 'Poslať odkaz na resetovanie hesla',
+ 'reset_password_sent' => 'Odkaz na resetovanie hesla bude odoslaný na :email, ak sa táto e-mailová adresa nachádza v systéme.',
'reset_password_success' => 'Vaše heslo bolo úspešne resetované.',
- 'email_reset_subject' => 'Reset Vášho :appName hesla',
- 'email_reset_text' => 'Tento email Ste dostali pretože sme dostali požiadavku na reset hesla pre Váš účet.',
- 'email_reset_not_requested' => 'Ak ste nepožiadali o reset hesla, nemusíte nič robiť.',
+ 'email_reset_subject' => 'Resetovanie Vášho hesla do :appName',
+ 'email_reset_text' => 'Tento e-mail ste obdržali, pretože sme dostali požiadavku na resetovanie hesla pre Váš účet.',
+ 'email_reset_not_requested' => 'Ak ste nepožiadali o resetovanie hesla, nemusíte robiť nič.',
// Email Confirmation
- 'email_confirm_subject' => 'Potvrdiť email na :appName',
- 'email_confirm_greeting' => 'Ďakujeme za pridanie sa k :appName!',
- 'email_confirm_text' => 'Prosím potvrďte Vašu emailovú adresu kliknutím na tlačidlo nižšie:',
- 'email_confirm_action' => 'Potvrdiť email',
- 'email_confirm_send_error' => 'Je požadované overenie emailu, ale systém nemohol odoslať email. Kontaktujte administrátora by ste sa uistili, že email je nastavený správne.',
+ 'email_confirm_subject' => 'Potvrdiť e-mail na :appName',
+ 'email_confirm_greeting' => 'Ďakujeme, že ste sa pridali k :appName!',
+ 'email_confirm_text' => 'Prosím, potvrďte Vašu e-mailovú adresu kliknutím na tlačidlo nižšie:',
+ 'email_confirm_action' => 'Potvrdiť e-mail',
+ 'email_confirm_send_error' => 'Je požadované overenie e-mailu, ale systém nemohol e-mail odoslať. Kontaktujte administrátora, aby ste sa uistili, že je e-mail nastavený správne.',
'email_confirm_success' => 'Váš email bol overený!',
- 'email_confirm_resent' => 'Potvrdzujúci email bol poslaný znovu, skontrolujte prosím svoju emailovú schránku.',
+ 'email_confirm_resent' => 'Potvrdzujúci e-mail bol poslaný znovu, skontrolujte prosím svoju e-mailovú schránku.',
- 'email_not_confirmed' => 'Emailová adresa nebola overená',
- 'email_not_confirmed_text' => 'Vaša emailová adresa nebola zatiaľ overená.',
- 'email_not_confirmed_click_link' => 'Prosím, kliknite na odkaz v emaili, ktorý bol poslaný krátko po Vašej registrácii.',
- 'email_not_confirmed_resend' => 'Ak nemôžete násť email, môžete znova odoslať overovací email odoslaním doleuvedeného formulára.',
- 'email_not_confirmed_resend_button' => 'Znova odoslať overovací email',
+ 'email_not_confirmed' => 'E-mailová adresa nebola overená',
+ 'email_not_confirmed_text' => 'Vaša e-mailová adresa nebola zatiaľ overená.',
+ 'email_not_confirmed_click_link' => 'Prosím, kliknite na odkaz v e-maili, ktorý bol poslaný krátko po Vašej registrácii.',
+ 'email_not_confirmed_resend' => 'Ak nemôžete nájsť e-mail, môžete znova odoslať overovací e-mail odoslaním doleuvedeného formulára.',
+ 'email_not_confirmed_resend_button' => 'Znova odoslať overovací e-mail',
// User Invite
'user_invite_email_subject' => 'Dostali ste pozvánku na pripojenie sa k aplikácii :appName!',
'user_invite_email_greeting' => 'Účet pre :appName bol pre vás vytvorený.',
'user_invite_email_text' => 'Kliknutím na tlačidlo nižšie nastavíte heslo k účtu a získate prístup:',
- 'user_invite_email_action' => 'Heslo k účtu',
- 'user_invite_page_welcome' => 'Vitajte na stránke :appName!',
+ 'user_invite_email_action' => 'Nastaviť heslo k účtu',
+ 'user_invite_page_welcome' => 'Vitajte v :appName!',
'user_invite_page_text' => 'Ak chcete dokončiť svoj účet a získať prístup, musíte nastaviť heslo, ktoré sa použije na prihlásenie do aplikácie :appName pri budúcich návštevách.',
'user_invite_page_confirm_button' => 'Potvrdiť heslo',
- 'user_invite_success' => 'Nastavené heslo, teraz máte prístup k :appName!'
+ 'user_invite_success' => 'Heslo bolo nastavené, teraz máte prístup k :appName!'
];
\ No newline at end of file
'remove' => 'Odstrániť',
'add' => 'Pridať',
'fullscreen' => 'Celá obrazovka',
+ 'favourite' => 'Favourite',
+ 'unfavourite' => 'Unfavourite',
+ 'next' => 'Next',
+ 'previous' => 'Previous',
// Sort Options
'sort_options' => 'Možnosti triedenia',
'sort_ascending' => 'Zoradiť vzostupne',
'sort_descending' => 'Zoradiť zostupne',
'sort_name' => 'Meno',
+ 'sort_default' => 'Default',
'sort_created_at' => 'Dátum vytvorenia',
'sort_updated_at' => 'Aktualizované dňa',
'breadcrumb' => 'Breadcrumb',
// Header
+ 'header_menu_expand' => 'Expand Header Menu',
'profile_menu' => 'Menu profilu',
'view_profile' => 'Zobraziť profil',
'edit_profile' => 'Upraviť profil',
// Layout tabs
'tab_info' => 'Informácie',
+ 'tab_info_label' => 'Tab: Show Secondary Information',
'tab_content' => 'Obsah',
+ 'tab_content_label' => 'Tab: Show Primary Content',
// Email Content
'email_action_help' => 'Ak máte problém klinkúť na tlačidlo ":actionText", skopírujte a vložte URL uvedenú nižšie do Vášho prehliadača:',
'email_rights' => 'Všetky práva vyhradené',
+
+ // Footer Link Options
+ // Not directly used but available for convenience to users.
+ 'privacy_policy' => 'Privacy Policy',
+ 'terms_of_service' => 'Terms of Service',
];
'meta_created_name' => 'Vytvorené :timeLength používateľom :user',
'meta_updated' => 'Aktualizované :timeLength',
'meta_updated_name' => 'Aktualizované :timeLength používateľom :user',
+ 'meta_owned_name' => 'Owned by :user',
'entity_select' => 'Entita vybraná',
'images' => 'Obrázky',
'my_recent_drafts' => 'Moje nedávne koncepty',
'my_recently_viewed' => 'Nedávno mnou zobrazené',
+ 'my_most_viewed_favourites' => 'My Most Viewed Favourites',
+ 'my_favourites' => 'My Favourites',
'no_pages_viewed' => 'Nepozreli ste si žiadne stránky',
'no_pages_recently_created' => 'Žiadne stránky neboli nedávno vytvorené',
'no_pages_recently_updated' => 'Žiadne stránky neboli nedávno aktualizované',
'permissions_intro' => 'Ak budú tieto oprávnenia povolené, budú mať prioritu pred oprávneniami roly.',
'permissions_enable' => 'Povoliť vlastné oprávnenia',
'permissions_save' => 'Uložiť oprávnenia',
+ 'permissions_owner' => 'Owner',
// Search
'search_results' => 'Výsledky hľadania',
'search_permissions_set' => 'Oprávnenia',
'search_created_by_me' => 'Vytvorené mnou',
'search_updated_by_me' => 'Aktualizované mnou',
+ 'search_owned_by_me' => 'Owned by me',
'search_date_options' => 'Možnosti dátumu',
'search_updated_before' => 'Aktualizované pred',
'search_updated_after' => 'Aktualizované po',
'chapters_create' => 'Vytvoriť novú kapitolu',
'chapters_delete' => 'Zmazať kapitolu',
'chapters_delete_named' => 'Zmazať kapitolu :chapterName',
- 'chapters_delete_explain' => 'Toto zmaže kapitolu menom \':chapterName\', všetky stránky budú ostránené
- a pridané priamo do rodičovskej knihy.',
+ 'chapters_delete_explain' => 'This will delete the chapter with the name \':chapterName\'. All pages that exist within this chapter will also be deleted.',
'chapters_delete_confirm' => 'Ste si istý, že chcete zmazať túto kapitolu?',
'chapters_edit' => 'Upraviť kapitolu',
'chapters_edit_named' => 'Upraviť kapitolu :chapterName',
'pages_revisions' => 'Revízie stránky',
'pages_revisions_named' => 'Revízie stránky :pageName',
'pages_revision_named' => 'Revízia stránky :pageName',
+ 'pages_revision_restored_from' => 'Restored from #:id; :summary',
'pages_revisions_created_by' => 'Vytvoril',
'pages_revisions_date' => 'Dátum revízie',
'pages_revisions_number' => '#',
'revision_restore_confirm' => 'Naozaj chcete obnoviť túto revíziu? Aktuálny obsah stránky sa nahradí.',
'revision_delete_success' => 'Revízia bola vymazaná',
'revision_cannot_delete_latest' => 'Nie je možné vymazať poslednú revíziu.'
-];
\ No newline at end of file
+];
'404_page_not_found' => 'Stránka nenájdená',
'sorry_page_not_found' => 'Prepáčte, stránka ktorú hľadáte nebola nájdená.',
'sorry_page_not_found_permission_warning' => 'If you expected this page to exist, you might not have permission to view it.',
+ 'image_not_found' => 'Image Not Found',
+ 'image_not_found_subtitle' => 'Sorry, The image file you were looking for could not be found.',
+ 'image_not_found_details' => 'If you expected this image to exist it might have been deleted.',
'return_home' => 'Vrátiť sa domov',
'error_occurred' => 'Nastala chyba',
'app_down' => ':appName je momentálne nedostupná',
'app_homepage' => 'Application Homepage',
'app_homepage_desc' => 'Select a view to show on the homepage instead of the default view. Page permissions are ignored for selected pages.',
'app_homepage_select' => 'Select a page',
+ 'app_footer_links' => 'Footer Links',
+ 'app_footer_links_desc' => 'Add links to show within the site footer. These will be displayed at the bottom of most pages, including those that do not require login. You can use a label of "trans::<key>" to use system-defined translations. For example: Using "trans::common.privacy_policy" will provide the translated text "Privacy Policy" and "trans::common.terms_of_service" will provide the translated text "Terms of Service".',
+ 'app_footer_links_label' => 'Link Label',
+ 'app_footer_links_url' => 'Link URL',
+ 'app_footer_links_add' => 'Add Footer Link',
'app_disable_comments' => 'Zakázať komentáre',
'app_disable_comments_toggle' => 'Disable comments',
'app_disable_comments_desc' => 'Zakázať komentáre na všetkých stránkach aplikácie. Existujúce komentáre sa nezobrazujú.',
'maint' => 'Maintenance',
'maint_image_cleanup' => 'Cleanup Images',
'maint_image_cleanup_desc' => "Scans page & revision content to check which images and drawings are currently in use and which images are redundant. Ensure you create a full database and image backup before running this.",
- 'maint_image_cleanup_ignore_revisions' => 'Ignore images in revisions',
+ 'maint_delete_images_only_in_revisions' => 'Also delete images that only exist in old page revisions',
'maint_image_cleanup_run' => 'Run Cleanup',
'maint_image_cleanup_warning' => ':count potentially unused images were found. Are you sure you want to delete these images?',
'maint_image_cleanup_success' => ':count potentially unused images found and deleted!',
'maint_send_test_email_mail_subject' => 'Test Email',
'maint_send_test_email_mail_greeting' => 'Email delivery seems to work!',
'maint_send_test_email_mail_text' => 'Congratulations! As you received this email notification, your email settings seem to be configured properly.',
+ 'maint_recycle_bin_desc' => 'Deleted shelves, books, chapters & pages are sent to the recycle bin so they can be restored or permanently deleted. Older items in the recycle bin may be automatically removed after a while depending on system configuration.',
+ 'maint_recycle_bin_open' => 'Open Recycle Bin',
+
+ // Recycle Bin
+ 'recycle_bin' => 'Recycle Bin',
+ 'recycle_bin_desc' => 'Here you can restore items that have been deleted or choose to permanently remove them from the system. This list is unfiltered unlike similar activity lists in the system where permission filters are applied.',
+ 'recycle_bin_deleted_item' => 'Deleted Item',
+ 'recycle_bin_deleted_by' => 'Deleted By',
+ 'recycle_bin_deleted_at' => 'Deletion Time',
+ 'recycle_bin_permanently_delete' => 'Permanently Delete',
+ 'recycle_bin_restore' => 'Restore',
+ 'recycle_bin_contents_empty' => 'The recycle bin is currently empty',
+ 'recycle_bin_empty' => 'Empty Recycle Bin',
+ 'recycle_bin_empty_confirm' => 'This will permanently destroy all items in the recycle bin including content contained within each item. Are you sure you want to empty the recycle bin?',
+ 'recycle_bin_destroy_confirm' => 'This action will permanently delete this item, along with any child elements listed below, from the system and you will not be able to restore this content. Are you sure you want to permanently delete this item?',
+ 'recycle_bin_destroy_list' => 'Items to be Destroyed',
+ 'recycle_bin_restore_list' => 'Items to be Restored',
+ 'recycle_bin_restore_confirm' => 'This action will restore the deleted item, including any child elements, to their original location. If the original location has since been deleted, and is now in the recycle bin, the parent item will also need to be restored.',
+ 'recycle_bin_restore_deleted_parent' => 'The parent of this item has also been deleted. These will remain deleted until that parent is also restored.',
+ 'recycle_bin_destroy_notification' => 'Deleted :count total items from the recycle bin.',
+ 'recycle_bin_restore_notification' => 'Restored :count total items from the recycle bin.',
// Audit Log
'audit' => 'Audit Log',
'audit_deleted_item_name' => 'Name: :name',
'audit_table_user' => 'User',
'audit_table_event' => 'Event',
- 'audit_table_item' => 'Related Item',
+ 'audit_table_related' => 'Related Item or Detail',
'audit_table_date' => 'Activity Date',
'audit_date_from' => 'Date Range From',
'audit_date_to' => 'Date Range To',
'user_profile' => 'Profil používateľa',
'users_add_new' => 'Pridať nového používateľa',
'users_search' => 'Hľadať medzi používateľmi',
+ 'users_latest_activity' => 'Latest Activity',
'users_details' => 'User Details',
'users_details_desc' => 'Set a display name and an email address for this user. The email address will be used for logging into the application.',
'users_details_desc_no_email' => 'Set a display name for this user so others can recognise them.',
'users_delete_named' => 'Zmazať používateľa :userName',
'users_delete_warning' => ' Toto úplne odstráni používateľa menom \':userName\' zo systému.',
'users_delete_confirm' => 'Ste si istý, že chcete zmazať tohoto používateľa?',
- 'users_delete_success' => 'Používateľ úspešne zmazaný',
+ 'users_migrate_ownership' => 'Migrate Ownership',
+ 'users_migrate_ownership_desc' => 'Select a user here if you want another user to become the owner of all items currently owned by this user.',
+ 'users_none_selected' => 'No user selected',
+ 'users_delete_success' => 'User successfully removed',
'users_edit' => 'Upraviť používateľa',
'users_edit_profile' => 'Upraviť profil',
'users_edit_success' => 'Používateľ úspešne upravený',
'en' => 'English',
'ar' => 'العربية',
'bg' => 'Bǎlgarski',
+ 'bs' => 'Bosanski',
+ 'ca' => 'Català',
'cs' => 'Česky',
'da' => 'Dansk',
'de' => 'Deutsch (Sie)',
'es_AR' => 'Español Argentina',
'fr' => 'Français',
'he' => 'עברית',
+ 'hr' => 'Hrvatski',
'hu' => 'Magyar',
+ 'id' => 'Bahasa Indonesia',
'it' => 'Italian',
'ja' => '日本語',
'ko' => '한국어',
+ 'lv' => 'Latviešu Valoda',
'nl' => 'Nederlands',
+ 'nb' => 'Norsk (Bokmål)',
'pl' => 'Polski',
+ 'pt' => 'Português',
'pt_BR' => 'Português do Brasil',
'ru' => 'Русский',
'sk' => 'Slovensky',
'string' => ':attribute musí mať aspoň :min znakov.',
'array' => ':attribute musí mať aspoň :min položiek.',
],
- 'no_double_extension' => 'The :attribute must only have a single file extension.',
'not_in' => 'Vybraný :attribute je neplatný.',
'not_regex' => 'The :attribute format is invalid.',
'numeric' => ':attribute musí byť číslo.',
'required_without' => 'Políčko :attribute je povinné aj :values neexistuje.',
'required_without_all' => 'Políčko :attribute je povinné ak ani jedno z :values neexistuje.',
'same' => ':attribute a :other musia byť rovnaké.',
+ 'safe_url' => 'The provided link may not be safe.',
'size' => [
'numeric' => ':attribute musí byť :size.',
'file' => ':attribute musí mať :size kilobajtov.',
// Pages
'page_create' => 'ustvarjena stran',
- 'page_create_notification' => 'Zapis uspešno ustvarjen',
- 'page_update' => 'nadgrajena stran',
- 'page_update_notification' => 'Uspešno posodobljeno',
+ 'page_create_notification' => 'Stran uspešno ustvarjena',
+ 'page_update' => 'posodobljena stran',
+ 'page_update_notification' => 'Stran uspešno posodobljena',
'page_delete' => 'izbrisana stran',
- 'page_delete_notification' => 'Uspešno izbrisano',
+ 'page_delete_notification' => 'Stran uspešno izbrisana',
'page_restore' => 'obnovljena stran',
- 'page_restore_notification' => 'Uspešna obnovitev',
+ 'page_restore_notification' => 'Stran uspešno obnovljena',
'page_move' => 'premaknjena stran',
// Chapters
'chapter_create' => 'ustvarjeno poglavje',
- 'chapter_create_notification' => 'Zapis uspešno ustvarjen',
- 'chapter_update' => 'nadgradi poglavje',
- 'chapter_update_notification' => 'Uspešno posodobljeno',
+ 'chapter_create_notification' => 'Poglavje uspešno ustvarjeno',
+ 'chapter_update' => 'posodobljeno poglavje',
+ 'chapter_update_notification' => 'Poglavje uspešno posodobljeno',
'chapter_delete' => 'izbrisano poglavje',
- 'chapter_delete_notification' => 'Uspešno izbrisano',
+ 'chapter_delete_notification' => 'Poglavje uspešno izbrisano',
'chapter_move' => 'premaknjeno poglavje',
// Books
'book_create' => 'knjiga ustvarjena',
- 'book_create_notification' => 'Knjiga Uspešno Usvarjena',
+ 'book_create_notification' => 'Knjiga uspešno usvarjena',
'book_update' => 'knjiga posodobljena',
- 'book_update_notification' => 'Uspešno posodobljeno',
+ 'book_update_notification' => 'Knjiga uspešno posodobljena',
'book_delete' => 'izbrisana knjiga',
- 'book_delete_notification' => 'Uspešno izbrisano',
+ 'book_delete_notification' => 'Knjiga uspešno izbrisana',
'book_sort' => 'razvrščena knjiga',
- 'book_sort_notification' => 'Knjiga Uspešno Razvrščena',
+ 'book_sort_notification' => 'Knjiga uspešno razvrščena',
// Bookshelves
'bookshelf_create' => 'knjižna polica izdelana',
- 'bookshelf_create_notification' => 'Knjižna Polica Izdelana',
+ 'bookshelf_create_notification' => 'Knjižna polica uspešno ustvarjena',
'bookshelf_update' => 'knjižna polica posodobljena',
- 'bookshelf_update_notification' => 'Knjižna Polica Uspešno Posodobljena',
+ 'bookshelf_update_notification' => 'Knjižna polica uspešno posodobljena',
'bookshelf_delete' => 'knjižna polica izbrisana',
- 'bookshelf_delete_notification' => 'Knjižna Polica Uspešno Izbrisana',
+ 'bookshelf_delete_notification' => 'Knjižna polica uspešno Izbrisana',
+
+ // Favourites
+ 'favourite_add_notification' => '":name" has been added to your favourites',
+ 'favourite_remove_notification' => '":name" has been removed from your favourites',
// Other
'commented_on' => 'komentar na',
+ 'permissions_update' => 'pravice so posodobljene',
];
'reset_password' => 'Ponastavi geslo',
'reset_password_send_instructions' => 'Spodaj vpišite vaš e-poštni naslov in prejeli boste e-pošto s povezavo za ponastavitev gesla.',
'reset_password_send_button' => 'Pošlji povezavo za ponastavitev',
- 'reset_password_sent' => 'A password reset link will be sent to :email if that email address is found in the system.',
+ 'reset_password_sent' => 'V kolikor e-poštni naslov :email obstaja v sistemu, bo nanj poslana povezava za ponastavitev gesla.',
'reset_password_success' => 'Vaše geslo je bilo uspešno spremenjeno.',
'email_reset_subject' => 'Ponastavi svoje :appName geslo',
'email_reset_text' => 'To e-poštno sporočilo ste prejeli, ker smo prejeli zahtevo za ponastavitev gesla za vaš račun.',
'more' => 'Več',
// Form Labels
- 'name' => 'Ime',
+ 'name' => 'Naziv',
'description' => 'Opis',
'role' => 'Vloga',
'cover_image' => 'Naslovna slika',
- 'cover_image_description' => 'Slika naj bo okoli 440x250px velika.',
+ 'cover_image_description' => 'Slika naj bo velika približno 440x250px.',
// Actions
'actions' => 'Dejanja',
'copy' => 'Kopiraj',
'reply' => 'Odgovori',
'delete' => 'Izbriši',
- 'delete_confirm' => 'Confirm Deletion',
+ 'delete_confirm' => 'Potrdi brisanje',
'search' => 'Išči',
- 'search_clear' => 'Počisti iskanje',
+ 'search_clear' => 'Razveljavi iskanje',
'reset' => 'Ponastavi',
- 'remove' => 'Remove',
+ 'remove' => 'Odstrani',
'add' => 'Dodaj',
'fullscreen' => 'Celozaslonski način',
+ 'favourite' => 'Favourite',
+ 'unfavourite' => 'Unfavourite',
+ 'next' => 'Next',
+ 'previous' => 'Previous',
// Sort Options
'sort_options' => 'Možnosti razvrščanja',
'sort_ascending' => 'Razvrsti naraščajoče',
'sort_descending' => 'Razvrsti padajoče',
'sort_name' => 'Ime',
+ 'sort_default' => 'Default',
'sort_created_at' => 'Datum nastanka',
'sort_updated_at' => 'Datum posodobitve',
// Misc
'deleted_user' => 'Izbrisan uporabnik',
'no_activity' => 'Ni aktivnosti za prikaz',
- 'no_items' => 'Ni na voljo nobenih elementov',
+ 'no_items' => 'Na voljo ni nobenega elementa',
'back_to_top' => 'Nazaj na vrh',
'toggle_details' => 'Preklopi podrobnosti',
'toggle_thumbnails' => 'Preklopi sličice',
'breadcrumb' => 'Pot',
// Header
+ 'header_menu_expand' => 'Expand Header Menu',
'profile_menu' => 'Meni profila',
'view_profile' => 'Ogled profila',
'edit_profile' => 'Uredi profil',
- 'dark_mode' => 'Dark Mode',
- 'light_mode' => 'Light Mode',
+ 'dark_mode' => 'Način temnega zaslona',
+ 'light_mode' => 'Način svetlega zaslona',
// Layout tabs
'tab_info' => 'Informacije',
+ 'tab_info_label' => 'Tab: Show Secondary Information',
'tab_content' => 'Vsebina',
+ 'tab_content_label' => 'Tab: Show Primary Content',
// Email Content
- 'email_action_help' => 'Če imate težave s klikom na ":actionText" gumb, kopirajte im prilepite spodnjo povezavo v vaš brskalnik:',
+ 'email_action_help' => 'V kolikor imate težave s klikom na gumb ":actionText", kopirajte in prilepite spodnjo povezavo v vaš brskalnik:',
'email_rights' => 'Vse pravice pridržane',
+
+ // Footer Link Options
+ // Not directly used but available for convenience to users.
+ 'privacy_policy' => 'Pravilnik o zasebnosti',
+ 'terms_of_service' => 'Pogoji uporabe',
];
'image_select' => 'Izberi slike',
'image_all' => 'Vse',
'image_all_title' => 'Prikaži vse slike',
- 'image_book_title' => 'Preglej slike naložene v to knjigo',
+ 'image_book_title' => 'Prikaži slike naložene v to knjigo',
'image_page_title' => 'Preglej slike naložene na to stran',
'image_search_hint' => 'Iskanje po nazivu slike',
'image_uploaded' => 'Naloženo :uploadedDate',
- 'image_load_more' => 'Naloži več',
+ 'image_load_more' => 'Dodatno naloži',
'image_image_name' => 'Ime slike',
'image_delete_used' => 'Ta slika je uporabljena na spodnjih straneh.',
- 'image_delete_confirm_text' => 'Are you sure you want to delete this image?',
+ 'image_delete_confirm_text' => 'Ste prepričani, da želite izbrisati to sliko?',
'image_select_image' => 'Izberite sliko',
'image_dropzone' => 'Povlecite slike ali kliknite tukaj za nalaganje',
'images_deleted' => 'Slike so bile izbrisane',
'image_preview' => 'Predogled slike',
'image_upload_success' => 'Slika uspešno naložena',
'image_update_success' => 'Podatki slike uspešno posodobljeni',
- 'image_delete_success' => 'Uspešno izbrisano',
+ 'image_delete_success' => 'Slika uspešno izbrisana',
'image_upload_remove' => 'Odstrani',
// Code Editor
'code_editor' => 'Uredi kodo',
'code_language' => 'Koda jezika',
'code_content' => 'Koda vsebine',
- 'code_session_history' => 'Session History',
+ 'code_session_history' => 'Zgodovina seje',
'code_save' => 'Shrani kodo',
];
// Shared
'recently_created' => 'Nazadnje objavljeno',
'recently_created_pages' => 'Nazadnje objavljene strani',
- 'recently_updated_pages' => 'Nedavno posodobljene strani',
+ 'recently_updated_pages' => 'Nazadnje posodobljene strani',
'recently_created_chapters' => 'Nazadnje objavljena poglavja',
'recently_created_books' => 'Nazadnje objavljene knjige',
- 'recently_created_shelves' => 'Nazadnje objavljene police',
- 'recently_update' => 'Nedavno posodobljeno',
- 'recently_viewed' => 'Nedavno prikazano',
+ 'recently_created_shelves' => 'Nazadnje ustvarjene police',
+ 'recently_update' => 'Nazadnje posodobljeno',
+ 'recently_viewed' => 'Nazadnje prikazano',
'recent_activity' => 'Nedavna dejavnost',
'create_now' => 'Ustvarite eno sedaj',
'revisions' => 'Revizije',
- 'meta_revision' => 'Revizije #:revisionCount',
+ 'meta_revision' => 'Številka revizije #:revisionCount',
'meta_created' => 'Ustvarjeno :timeLength',
- 'meta_created_name' => 'Created :timeLength by :user',
+ 'meta_created_name' => 'Ustvaril :timeLength uporabnik :user',
'meta_updated' => 'Posodobljeno :timeLength',
- 'meta_updated_name' => 'Posodobljeno :timeLength by :user',
+ 'meta_updated_name' => 'Posodobil :timeLength uporabnik :user',
+ 'meta_owned_name' => 'V lasti :user',
'entity_select' => 'Izbira entitete',
'images' => 'Slike',
'my_recent_drafts' => 'Moji nedavni osnutki',
'my_recently_viewed' => 'Nedavno prikazano',
+ 'my_most_viewed_favourites' => 'My Most Viewed Favourites',
+ 'my_favourites' => 'My Favourites',
'no_pages_viewed' => 'Niste si ogledali še nobene strani',
'no_pages_recently_created' => 'Nedavno ni bila ustvarjena nobena stran',
'no_pages_recently_updated' => 'Nedavno ni bila posodobljena nobena stran',
'export' => 'Izvozi',
'export_html' => 'Vsebuje spletno datoteko',
- 'export_pdf' => 'Datoteka PDF',
+ 'export_pdf' => 'PDF datoteka (.pdf)',
'export_text' => 'Navadna besedilna datoteka',
// Permissions and restrictions
'permissions' => 'Dovoljenja',
- 'permissions_intro' => 'Ko so enkrat omogočena, bodo ta dovoljenja imela prednost pred dovoljenji za določanje vlog.',
+ 'permissions_intro' => 'V trenutku, ko bodo omogočena, bodo imela ta dovoljenja prednost pred dovoljenji za določanje vlog.',
'permissions_enable' => 'Omogoči dovoljenja po meri',
'permissions_save' => 'Shrani dovoljenja',
+ 'permissions_owner' => 'Lastnik',
// Search
'search_results' => 'Rezultati iskanja',
'search_no_pages' => 'Nobena stran se ne ujema z vašim iskanjem',
'search_for_term' => 'Išči :term',
'search_more' => 'Prikaži več rezultatov',
- 'search_advanced' => 'Advanced Search',
- 'search_terms' => 'Search Terms',
+ 'search_advanced' => 'Napredno iskanje',
+ 'search_terms' => 'Iskalni izrazi',
'search_content_type' => 'Vrsta vsebine',
'search_exact_matches' => 'Natančno ujemanje',
- 'search_tags' => 'Iskanje oznak',
+ 'search_tags' => 'Iskanje po oznakah',
'search_options' => 'Možnosti',
'search_viewed_by_me' => 'Ogledano',
'search_not_viewed_by_me' => 'Neogledano',
'search_permissions_set' => 'Nastavljena dovoljenja',
'search_created_by_me' => 'Ustvaril sem jaz',
'search_updated_by_me' => 'Posodobil sem jaz',
+ 'search_owned_by_me' => 'Owned by me',
'search_date_options' => 'Možnosti datuma',
'search_updated_before' => 'Posodobljeno pred',
'search_updated_after' => 'Posodobljeno po',
'x_shelves' => ':count Polica|:count Police',
'shelves_long' => 'Knjižne police',
'shelves_empty' => 'Ustvarjena ni bila nobena polica',
- 'shelves_create' => 'Izdelaj novo polico',
+ 'shelves_create' => 'Ustvari novo polico',
'shelves_popular' => 'Priljubljene police',
'shelves_new' => 'Nove police',
'shelves_new_action' => 'Nova polica',
'shelves_popular_empty' => 'Najbolj priljubljene police se bodo pojavile tukaj.',
- 'shelves_new_empty' => 'Zadnje ustvarjene police se bodo pojavile tukaj.',
+ 'shelves_new_empty' => 'Nazadnje ustvarjene police se bodo pojavile tukaj.',
'shelves_save' => 'Shrani polico',
'shelves_books' => 'Knjige na tej polici',
'shelves_add_books' => 'Dodaj knjige na to polico',
- 'shelves_drag_books' => 'Povleci knjige sem za jih dodati na to polico',
- 'shelves_empty_contents' => 'Ta polica nima dodeljenih knjig',
- 'shelves_edit_and_assign' => 'Uredi polico za dodajanje knjig',
+ 'shelves_drag_books' => 'Povlecite knjige sem, da jih dodate na to polico',
+ 'shelves_empty_contents' => 'Na tej polici ni nobene knjige',
+ 'shelves_edit_and_assign' => 'Uredi knjižno polico za dodajanje knjig',
'shelves_edit_named' => 'Uredi knjižno polico :name',
'shelves_edit' => 'Uredi knjižno polico',
'shelves_delete' => 'Izbriši knjižno polico',
'shelves_delete_named' => 'Izbriši knjižno polico :name',
- 'shelves_delete_explain' => "To bo izbrisalo knjižno polico z imenom ':name'. Vsebovane knjige ne bodo izbrisane.",
+ 'shelves_delete_explain' => "S tem boste izbrisali knjižno polico z nazivom ':name'. Vsebovane knjige ne bodo izbrisane.",
'shelves_delete_confirmation' => 'Ali ste prepričani, da želite izbrisati ta knjižno polico?',
'shelves_permissions' => 'Dovoljenja knjižnih polic',
'shelves_permissions_updated' => 'Posodobljena dovoljenja knjižnih polic',
'shelves_permissions_active' => 'Aktivna dovoljenja knjižnih polic',
'shelves_copy_permissions_to_books' => 'Kopiraj dovoljenja na knjige',
- 'shelves_copy_permissions' => 'Kopiraj dovoljenja',
- 'shelves_copy_permissions_explain' => 'To bo uporabilo trenutne nastavitve dovoljenj te knjižne police za vse knjige, ki jih vsebuje. Pred aktiviranjem zagotovite, da so shranjene vse spremembe dovoljenj te knjižne police.',
+ 'shelves_copy_permissions' => 'Dovoljenja kopiranja',
+ 'shelves_copy_permissions_explain' => 'To bo uveljavilo trenutne nastavitve dovoljenj na knjižni polici za vse knjige, ki jih vsebuje ta polica. Pred aktiviranjem zagotovite, da so shranjene vse spremembe dovoljenj te knjižne police.',
'shelves_copy_permission_success' => 'Dovoljenja knjižne police kopirana na :count knjig',
// Books
'books_recent' => 'Zadnje knjige',
'books_new' => 'Nove knjige',
'books_new_action' => 'Nova knjiga',
- 'books_popular_empty' => 'Najbolj priljubljene knjige se bodo pojavile tukaj.',
- 'books_new_empty' => 'Zadnje ustvarjene knjige se bodo pojavile tukaj.',
- 'books_create' => 'Izdelaj novo knjigo',
+ 'books_popular_empty' => 'Tukaj bodo prikazane najbolj priljubljene knjige.',
+ 'books_new_empty' => 'Tukaj bodo prikazane nazadnje ustvarjene knjige.',
+ 'books_create' => 'Ustvari novo knjigo',
'books_delete' => 'Izbriši knjigo',
'books_delete_named' => 'Izbriši knjigo :bookName',
- 'books_delete_explain' => 'To bo izbrisalo knjigo z imenom \':bookName\'. Vse strani in poglavja bodo odstranjena.',
+ 'books_delete_explain' => 'S tem boste izbrisali knjigo z nazivom \':bookName\'. Vse strani in poglavja bodo odstranjena.',
'books_delete_confirmation' => 'Ali ste prepričani, da želite izbrisati to knjigo?',
'books_edit' => 'Uredi knjigo',
'books_edit_named' => 'Uredi knjigo :bookName',
'books_save' => 'Shrani knjigo',
'books_permissions' => 'Dovoljenja knjige',
'books_permissions_updated' => 'Posodobljena dovoljenja knjige',
- 'books_empty_contents' => 'Nobena stran ali poglavje ni bilo ustvarjeno za to knjigo.',
+ 'books_empty_contents' => 'V tej knjigi ni bila ustvarjena še nobena stran ali poglavje.',
'books_empty_create_page' => 'Ustvari novo stran',
'books_empty_sort_current_book' => 'Razvrsti trenutno knjigo',
'books_empty_add_chapter' => 'Dodaj poglavje',
'books_permissions_active' => 'Aktivna dovoljenja knjige',
- 'books_search_this' => 'Išči to knjigo',
- 'books_navigation' => 'Navigacija knjige',
- 'books_sort' => 'Razvrsti vsebine knjige',
+ 'books_search_this' => 'Išči v tej knjigi',
+ 'books_navigation' => 'Navigacija po knjigi',
+ 'books_sort' => 'Razvrsti vsebino knjige',
'books_sort_named' => 'Razvrsti knjigo :bookName',
'books_sort_name' => 'Razvrsti po imenu',
'books_sort_created' => 'Razvrsti po datumu nastanka',
'books_sort_chapters_first' => 'Najprej poglavja',
'books_sort_chapters_last' => 'Nazadnje poglavja',
'books_sort_show_other' => 'Prikaži druge knjige',
- 'books_sort_save' => 'Shrani novo naročilo',
+ 'books_sort_save' => 'Shrani novo razvrstitev',
// Chapters
'chapter' => 'Poglavje',
'chapters_create' => 'Ustvari novo poglavje',
'chapters_delete' => 'Izbriši poglavje',
'chapters_delete_named' => 'Izbriši poglavje :chapterName',
- 'chapters_delete_explain' => 'To bo izbrisalo poglavje z \':chapterName\'. Vse strani bodo odstranjene in dodane neposredno v matično knjigo.',
- 'chapters_delete_confirm' => 'Si prepričan, da želiš izbrisati to poglavje?',
+ 'chapters_delete_explain' => 'Poglavje z imenom ":chapterName" bo izbrisano. Vse strani znotraj poglavja bodo prav tako izbrisane.',
+ 'chapters_delete_confirm' => 'Ste prepričani, da želite izbrisati to poglavje?',
'chapters_edit' => 'Uredi poglavje',
'chapters_edit_named' => 'Uredi poglavje :chapterName',
'chapters_save' => 'Shrani poglavje',
'chapter_move_success' => 'Poglavje premaknjeno v :bookName',
'chapters_permissions' => 'Dovoljenja poglavij',
'chapters_empty' => 'V tem poglavju trenutno ni strani.',
- 'chapters_permissions_active' => 'Aktivna dovoljenja poglavij',
+ 'chapters_permissions_active' => 'Dovoljenja poglavij so aktivirana',
'chapters_permissions_success' => 'Posodobljena dovoljenja poglavij',
'chapters_search_this' => 'Išči v tem poglavju',
'x_pages' => ':count Stran|:count Strani',
'pages_popular' => 'Priljubjene strani',
'pages_new' => 'Nova stran',
- 'pages_attachments' => 'Priloge',
+ 'pages_attachments' => 'Priponke',
'pages_navigation' => 'Navigacija po strani',
'pages_delete' => 'Izbriši stran',
'pages_delete_named' => 'Izbriši stran :pageName',
'pages_edit_draft_save_at' => 'Osnutek shranjen ob ',
'pages_edit_delete_draft' => 'Izbriši osnutek',
'pages_edit_discard_draft' => 'Zavrzi osnutek',
- 'pages_edit_set_changelog' => 'Nastavi zgodovino sprememb',
+ 'pages_edit_set_changelog' => 'Opiši spremembe na dokumentu',
'pages_edit_enter_changelog_desc' => 'Vnesite kratek opis sprememb, ki ste jih naredili',
- 'pages_edit_enter_changelog' => 'Vnesite zgodovino sprememb',
+ 'pages_edit_enter_changelog' => 'Vpišite vsebino sprememb',
'pages_save' => 'Shrani stran',
'pages_title' => 'Naslov strani',
'pages_name' => 'Ime strani',
'pages_md_editor' => 'Urejevalnik',
'pages_md_preview' => 'Predogled',
'pages_md_insert_image' => 'Vstavi sliko',
- 'pages_md_insert_link' => 'Vnesi povezavo entitete',
+ 'pages_md_insert_link' => 'Vnesi povezavo do objekta',
'pages_md_insert_drawing' => 'Vstavi risbo',
'pages_not_in_chapter' => 'Stran ni v poglavju',
'pages_move' => 'Premakni stran',
'pages_revisions' => 'Pregled strani',
'pages_revisions_named' => 'Pregledi strani za :pageName',
'pages_revision_named' => 'Pregled strani za :pageName',
+ 'pages_revision_restored_from' => 'Obnovljeno iz #:id; :summary',
'pages_revisions_created_by' => 'Ustvaril',
'pages_revisions_date' => 'Datum revizije',
'pages_revisions_number' => '#',
- 'pages_revisions_numbered' => 'Revizija #:id',
- 'pages_revisions_numbered_changes' => 'Revizija #:id Changes',
+ 'pages_revisions_numbered' => 'Revizija št. :id',
+ 'pages_revisions_numbered_changes' => 'Revizija št. #:id Changes',
'pages_revisions_changelog' => 'Dnevnik sprememb',
'pages_revisions_changes' => 'Spremembe',
'pages_revisions_current' => 'Trenutna različica',
'pages_revisions_preview' => 'Predogled',
'pages_revisions_restore' => 'Obnovi',
- 'pages_revisions_none' => 'Ta stran nima revizije',
+ 'pages_revisions_none' => 'Ta stran nima popravkov',
'pages_copy_link' => 'Kopiraj povezavo',
'pages_edit_content_link' => 'Uredi vsebino',
'pages_permissions_active' => 'Aktivna dovoljenja strani',
'pages_initial_revision' => 'Prvotno objavljeno',
'pages_initial_name' => 'Nova stran',
- 'pages_editing_draft_notification' => 'Trenutno urejate osnutek ku je bil nazadnje shranjen :timeDiff.',
- 'pages_draft_edited_notification' => 'Ta stran je od takrat posodobljena. Priporočamo, da zavržete ta osnutek.',
+ 'pages_editing_draft_notification' => 'Trenutno urejate osnutek, ki je bil nazadnje shranjen :timeDiff.',
+ 'pages_draft_edited_notification' => 'Ta stran je odtlej posodobljena. Priporočamo, da zavržete ta osnutek.',
'pages_draft_edit_active' => [
'start_a' => ':count uporabnikov je začelo urejati to stran',
'start_b' => ':userName je začel urejati to stran',
- 'time_a' => 'od kar je bila stran nazandnje posodobljena',
+ 'time_a' => 'odkar je bila stran nazandnje posodobljena',
'time_b' => 'v zadnjih :minCount minutah',
'message' => ':start :time. Pazite, da ne boste prepisali posodobitev drug drugega!',
],
'tags' => 'Oznake',
'tag_name' => 'Ime oznake',
'tag_value' => 'Vrednost oznake (opcijsko)',
- 'tags_explain' => "Dodajte nekaj oznak za boljšo kategorizacijo vaše vsebine.\nDodelite lahko vrednost oznake za boljšo poglobljeno organizacijo.",
+ 'tags_explain' => "Dodajte nekaj oznak za boljšo kategorizacijo vaše vsebine.\nZ dodelitvijo oznake lahko poskrbite za bolj poglobljeno organizacijo.",
'tags_add' => 'Dodaj drugo oznako',
'tags_remove' => 'Odstrani to oznako',
- 'attachments' => 'Priloge',
- 'attachments_explain' => 'Naložite nekaj datotek ali pripnite nekaj povezav, da bo prikazano na vaši strani. Te so vidne v stranski vrstici strani.',
+ 'attachments' => 'Priponke',
+ 'attachments_explain' => 'Naložite nekaj datotek ali pripnite nekaj povezav, da jih prikažete na vaši strani. Vidne so v stranski orodni vrstici.',
'attachments_explain_instant_save' => 'Spremembe tukaj so takoj shranjene.',
- 'attachments_items' => 'Priloženi element',
+ 'attachments_items' => 'Priloženi elementi',
'attachments_upload' => 'Naloži datoteko',
'attachments_link' => 'Pripni povezavo',
'attachments_set_link' => 'Nastavi povezavo',
- 'attachments_delete' => 'Are you sure you want to delete this attachment?',
+ 'attachments_delete' => 'Ali ste prepričani, da želite izbrisati to priponko?',
'attachments_dropzone' => 'Spustite datoteke ali kliknite tukaj, če želite priložiti datoteko',
'attachments_no_files' => 'Nobena datoteka ni bila naložena',
'attachments_explain_link' => 'Lahko pripnete povezavo, če ne želite naložiti datoteke. Lahko je povezava na drugo stran ali povezava do dateteke v oblaku.',
'attachments_link_name' => 'Ime povezave',
'attachment_link' => 'Povezava priponke',
'attachments_link_url' => 'Povezava do datoteke',
- 'attachments_link_url_hint' => 'Url mesta ali datoteke',
+ 'attachments_link_url_hint' => 'Url spletnega mesta ali datoteke',
'attach' => 'Pripni',
- 'attachments_insert_link' => 'Add Attachment Link to Page',
+ 'attachments_insert_link' => 'Dodaj povezavo na priponko na stran',
'attachments_edit_file' => 'Uredi datoteko',
'attachments_edit_file_name' => 'Ime datoteke',
'attachments_edit_drop_upload' => 'Spustite datoteke ali kliknite tukaj, če želite naložiti in prepisati',
- 'attachments_order_updated' => 'Priloga posodobljena',
+ 'attachments_order_updated' => 'Razvrščanje priponk posodobljeno',
'attachments_updated_success' => 'Podrobnosti priloge posodobljene',
- 'attachments_deleted' => 'Priloga izbirsana',
+ 'attachments_deleted' => 'Priponka izbirsana',
'attachments_file_uploaded' => 'Datoteka uspešno naložena',
'attachments_file_updated' => 'Datoteka uspešno posodobljena',
'attachments_link_attached' => 'Povezava uspešno dodana na stran',
'templates' => 'Predloge',
'templates_set_as_template' => 'Stran je predloga',
- 'templates_explain_set_as_template' => 'To stran lahko nastavite kot predlogo tako bo njena vsebina uporabljena pri izdelavi drugih strani. Ostali uporabniki bodo lahko uporabljali to predlogo, če imajo dovoljenja za to stran.',
+ 'templates_explain_set_as_template' => 'To stran lahko nastavite kot predlogo in njeno vsebino uporabite pri izdelavi drugih strani. Ostali uporabniki bodo lahko uporabljali to predlogo, če imajo dovoljenja za to stran.',
'templates_replace_content' => 'Zamenjaj vsebino strani',
- 'templates_append_content' => 'Dodajte vsebini strani',
- 'templates_prepend_content' => 'Dodaj k vsebini strani',
+ 'templates_append_content' => 'Dodajte k vsebini strani',
+ 'templates_prepend_content' => 'Dodaj predpono k vsebini strani',
// Profile View
'profile_user_for_x' => 'Uporabnik že :time',
'profile_created_content' => 'Ustvarjena vsebina',
'profile_not_created_pages' => ':userName ni izdelal nobene strani',
'profile_not_created_chapters' => ':userName ni izdelal nobenega poglavja',
- 'profile_not_created_books' => ':userName ni izdelal nobene knjige',
+ 'profile_not_created_books' => ':userName ni objavil nobene knjige',
'profile_not_created_shelves' => ':userName ni izdelal nobene knjižne police',
// Comments
'revision_restore_confirm' => 'Ali ste prepričani da želite obnoviti to revizijo? Vsebina trenutne strani bo zamenjana.',
'revision_delete_success' => 'Revizija izbrisana',
'revision_cannot_delete_latest' => 'Ne morem izbrisati zadnje revizije.'
-];
\ No newline at end of file
+];
'error_user_exists_different_creds' => 'Uporabnik z e-pošto :email že obstaja, vendar z drugačnimi poverilnicami.',
'email_already_confirmed' => 'E-naslov je že bil potrjen, poskusite se prijaviti.',
'email_confirmation_invalid' => 'Ta potrditveni žeton ni veljaven ali je že bil uporabljen. Poizkusite znova.',
- 'email_confirmation_expired' => 'Potrditveni žeton je pretečen. Nova potrditvena e-pošta je bila poslana.',
+ 'email_confirmation_expired' => 'Potrditveni žeton je potekel. Nova potrditvena e-pošta je bila poslana.',
'email_confirmation_awaiting' => 'Potrebno je potrditi e-naslov',
'ldap_fail_anonymous' => 'Dostop do LDAP ni uspel z anonimno povezavo',
'ldap_fail_authed' => 'Neuspešen LDAP dostop z danimi podrobnostimi dn & gesla',
- 'ldap_extension_not_installed' => 'PHP razširitev za LDAP ni nameščen',
+ 'ldap_extension_not_installed' => 'PHP razširitev za LDAP ni nameščena',
'ldap_cannot_connect' => 'Ne morem se povezati na LDAP strežnik, neuspešna začetna povezava',
'saml_already_logged_in' => 'Že prijavljen',
'saml_user_not_registered' => 'Uporabniško ime :name ni registrirano in avtomatska registracija je onemogočena',
'saml_no_email_address' => 'Nisem našel e-naslova za tega uporabnika v podatkih iz zunanjega sistema za preverjanje pristnosti',
- 'saml_invalid_response_id' => 'Zahteva iz zunanjega sistema za preverjanje pristnosti ni prepoznana s strani procesa zagnanega s strani te aplikacije. Pomik nazaj po prijavi je lahko povzročil te težave.',
+ 'saml_invalid_response_id' => 'Zahteva iz zunanjega sistema za preverjanje pristnosti ni prepoznana s strani procesa zagnanega s strani te aplikacije. Pomik nazaj po prijavi je lahko vzrok teh težav.',
'saml_fail_authed' => 'Prijava z uporabo :system ni uspela, sistem ni zagotovil uspešne avtorizacije',
'social_no_action_defined' => 'Akcija ni določena',
'social_login_bad_response' => "Napaka pri :socialAccount prijavi:\n:error",
'social_account_register_instructions' => 'Če še nimate računa, se lahko registrirate z uporabo :socialAccount.',
'social_driver_not_found' => 'Socialni vtičnik ni najden',
'social_driver_not_configured' => 'Vaše nastavitve :socialAccount niso pravilo nastavljene.',
- 'invite_token_expired' => 'Ta link je pretečen. Namesto tega lahko ponastavite vaše geslo računa.',
+ 'invite_token_expired' => 'Ta povezava je potekla. Namesto tega lahko ponastavite vaše geslo računa.',
// System
- 'path_not_writable' => 'Poti :filePath ni bilo mogoče naložiti. Prepričajte se da je zapisljiva na strežnik.',
+ 'path_not_writable' => 'Poti :filePath ni bilo mogoče naložiti. Prepričajte se, da je zapisljiva na strežnik.',
'cannot_get_image_from_url' => 'Ne morem pridobiti slike z :url',
'cannot_create_thumbs' => 'Strežnik ne more izdelati sličice. Prosimo preverite če imate GD PHP razširitev nameščeno.',
- 'server_upload_limit' => 'Strežnik ne dovoli nalaganj take velikosti. Prosimo poskusite manjšo velikost datoteke.',
- 'uploaded' => 'Strežnik ne dovoli nalaganj take velikosti. Prosimo poskusite manjšo velikost datoteke.',
+ 'server_upload_limit' => 'Strežnik ne dovoli nalaganj take velikosti. Prosimo poskusite z manjšo velikostjo datoteke.',
+ 'uploaded' => 'Strežnik ne dovoli nalaganj take velikosti. Prosimo poskusite zmanjšati velikost datoteke.',
'image_upload_error' => 'Prišlo je do napake med nalaganjem slike',
'image_upload_type_error' => 'Napačen tip (format) slike',
'file_upload_timeout' => 'Čas nalaganjanja datoteke je potekel.',
// Pages
'page_draft_autosave_fail' => 'Osnutka ni bilo mogoče shraniti. Pred shranjevanjem te strani se prepričajte, da imate internetno povezavo',
- 'page_custom_home_deletion' => 'Ne morem izbrisati strani dokler je nastavljena kot domača stran',
+ 'page_custom_home_deletion' => 'Ne morem izbrisati strani, ki je nastavljena kot domača stran',
// Entities
- 'entity_not_found' => 'Entiteta ni najdena',
+ 'entity_not_found' => 'Ne najdem tega objekta',
'bookshelf_not_found' => 'Knjižna polica ni najdena',
'book_not_found' => 'Knjiga ni najdena',
'page_not_found' => 'Stran ni najdena',
// Roles
'role_cannot_be_edited' => 'Te vloge mi možno urejati',
'role_system_cannot_be_deleted' => 'Ta vloga je sistemska in je ni možno brisati',
- 'role_registration_default_cannot_delete' => 'Te vloge ni možno brisati dokler je nastavljena kot privzeta',
- 'role_cannot_remove_only_admin' => 'Ta uporabnik je edini administrator. Dodelite vlogo administratorja drugemu uporabniku preden ga poskusite brisati.',
+ 'role_registration_default_cannot_delete' => 'Te vloge ni možno brisati, dokler je nastavljena kot privzeta',
+ 'role_cannot_remove_only_admin' => 'Ta uporabnik je edini administrator. Dodelite vlogo administratorja drugemu uporabniku, preden ga poskusite brisati.',
// Comments
'comment_list' => 'Napaka se je pojavila pri pridobivanju komentarjev.',
- 'cannot_add_comment_to_draft' => 'Ni mogoče dodajanje komentarjev v osnutek.',
- 'comment_add' => 'Napaka se je pojavila pri dodajanju / posodobitev komentarjev.',
+ 'cannot_add_comment_to_draft' => 'V osnutek ni možno dodajati komentarjev.',
+ 'comment_add' => 'Napaka se je pojavila pri dodajanju / posodobitvi komentarjev.',
'comment_delete' => 'Napaka se je pojavila pri brisanju komentarja.',
'empty_comment' => 'Praznega komentarja ne morete objaviti.',
// Error pages
'404_page_not_found' => 'Strani ni mogoče najti',
- 'sorry_page_not_found' => 'Oprostite, strani ki jo iščete ni mogoče najti.',
- 'sorry_page_not_found_permission_warning' => 'Če pričakujete, da ta stran obstaja, mogoče nimate pravic, da jo vidite.',
+ 'sorry_page_not_found' => 'Oprostite, strani ki jo iščete, ni mogoče najti.',
+ 'sorry_page_not_found_permission_warning' => 'Če pričakujete, da ta stran obstaja, mogoče nimate pravic ogleda zanjo.',
+ 'image_not_found' => 'Image Not Found',
+ 'image_not_found_subtitle' => 'Sorry, The image file you were looking for could not be found.',
+ 'image_not_found_details' => 'If you expected this image to exist it might have been deleted.',
'return_home' => 'Vrni se domov',
'error_occurred' => 'Prišlo je do napake',
'app_down' => ':appName trenutno ni dosegljiva',
*/
return [
- 'previous' => '« Prejšnje',
+ 'previous' => '« Predhodno',
'next' => 'Naslednje »',
];
*/
return [
- 'password' => 'Gesla morajo biti najmanj osem znakov in se morajo ujemati s potrditvijo.',
+ 'password' => 'Gesla morajo biti najmanj osem znakov dolga in se morajo ujemati s potrditvijo.',
'user' => "Ne moremo najti uporabnika s tem e-poštnim naslovom.",
- 'token' => 'The password reset token is invalid for this email address.',
+ 'token' => 'Žeton za ponastavitev gesla ni veljaven za ta e-poštni naslov.',
'sent' => 'Poslali smo vam povezavo za ponastavitev gesla!',
'reset' => 'Vaše geslo je bilo ponastavljeno!',
// Common Messages
'settings' => 'Nastavitve',
'settings_save' => 'Shrani nastavitve',
- 'settings_save_success' => 'Nastavitve, shranjene',
+ 'settings_save_success' => 'Nastavitve shranjene',
// App Settings
- 'app_customization' => 'Prilagajanje',
+ 'app_customization' => 'Prilagoditev',
'app_features_security' => 'Lastnosti & Varnost',
'app_name' => 'Ime aplikacije',
'app_name_desc' => 'To ime je prikazano v glavi in vsaki sistemski e-pošti.',
'app_homepage' => 'Domača stran aplikacije',
'app_homepage_desc' => 'Izberi pogled, da se pokaže na domači strani, namesto osnovnega pogleda. Dovoljenja strani so prezrta za izbrane strani.',
'app_homepage_select' => 'Izberi stran',
+ 'app_footer_links' => 'Povezave v nogi',
+ 'app_footer_links_desc' => 'Dodaj URL povezave, ki bodo na voljo v nogi spletne strani. Povezave bodo vidne na dnu večine strani, vključno s tistimi, ki ne zahtevajo prijave. Na voljo imate oznako "trans::<key>" za uporabo sistemskih prevodov. Na primer: uporaba oznake "trans::common.privacy_policy" bo poskrbela za prevod besedila "Privacy Policy" in oznaka "trans::common.terms_of_service" bo poskrbela za prevod besedila "Terms of Service".',
+ 'app_footer_links_label' => 'Oznaka povezave',
+ 'app_footer_links_url' => 'Naslov URL povezave',
+ 'app_footer_links_add' => 'Dodaj povezavo v nogo',
'app_disable_comments' => 'Onemogoči komentarje',
'app_disable_comments_toggle' => 'Onemogoči komentarje',
'app_disable_comments_desc' => 'Onemogoči komentarje na vseh straneh v aplikaciji. <br> Obstoječi komentarji se ne prikazujejo.',
// Maintenance settings
'maint' => 'Vzdrževanje',
- 'maint_image_cleanup' => 'odstrani /počisti slike',
- 'maint_image_cleanup_desc' => "Scans page & revision content to check which images and drawings are currently in use and which images are redundant. Ensure you create a full database and image backup before running this.",
- 'maint_image_cleanup_ignore_revisions' => 'Ignore images in revisions',
- 'maint_image_cleanup_run' => 'zaženite čiščenje',
- 'maint_image_cleanup_warning' => ':zaznano je bilo število neuporabljenih slik. Ali si prepričan, da želiš odstraniti izbrane slike?',
- 'maint_image_cleanup_success' => ':najdeno in izbrisano je bilo število neuporabljenih slik!',
- 'maint_image_cleanup_nothing_found' => 'Najdenih ni bilo nobenih neuporabljenih slik!',
+ 'maint_image_cleanup' => 'Odstrani /počisti slike',
+ 'maint_image_cleanup_desc' => "Pregleda vsebino strani in revizij ter ugotovi, katere slike in risbe so v uporabi in katere so odvečne. Preden to poženeš, naredi popolno varnostno kopijo podatkovne zbirke in slik.",
+ 'maint_delete_images_only_in_revisions' => 'Izbriši tudi slike, ki obstajajo le v starih različicah strani',
+ 'maint_image_cleanup_run' => 'Zaženi čiščenje',
+ 'maint_image_cleanup_warning' => 'Najdenih je bilo :count verjetno neuporabljenih slik. Ali si prepričan, da želiš odstraniti izbrane slike?',
+ 'maint_image_cleanup_success' => ':count verjetno neuporavljenih slik je bilo najdenih in izbrisanih!',
+ 'maint_image_cleanup_nothing_found' => 'Ni bilo najdenih neuporabljenih slik, nič ni izbrisano!',
'maint_send_test_email' => 'Pošlji testno e-pismo',
'maint_send_test_email_desc' => 'To pošlje testno e-pošto na vaš e-poštni naslov, naveden v vašem profilu.',
- 'maint_send_test_email_run' => 'Pošlji preizkusno sporočilo',
+ 'maint_send_test_email_run' => 'Pošlji testno sporočilo',
'maint_send_test_email_success' => 'e-pošta poslana na :naslov',
- 'maint_send_test_email_mail_subject' => 'Preizkusno sporočilo',
+ 'maint_send_test_email_mail_subject' => 'Testno e-sporočilo',
'maint_send_test_email_mail_greeting' => 'Zdi se, da dostava e-pošte deluje!',
- 'maint_send_test_email_mail_text' => 'Čestitke! Če ste prejeli e.poštno obvestilo so bile vaše e-poštne nastavitve pravilno konfigurirane.',
+ 'maint_send_test_email_mail_text' => 'Čestitke! Če ste prejeli e-poštno obvestilo so bile vaše e-poštne nastavitve pravilno konfigurirane.',
+ 'maint_recycle_bin_desc' => 'Izbrisane police, knjige, poglavja in strani se pošljejo v koš, da jih je mogoče obnoviti ali trajno izbrisati. Starejše predmete v košu lahko čez nekaj časa samodejno odstranite, odvisno od konfiguracije sistema.',
+ 'maint_recycle_bin_open' => 'Odpri koš',
+
+ // Recycle Bin
+ 'recycle_bin' => 'Koš',
+ 'recycle_bin_desc' => 'Tu lahko obnovite predmete, ki so bili izbrisani, ali pa jih trajno odstranite s sistema. Ta seznam je nefiltriran, za razliko od podobnih seznamov dejavnosti v sistemu, kjer se uporabljajo filtri dovoljenj.',
+ 'recycle_bin_deleted_item' => 'Izbrisan element',
+ 'recycle_bin_deleted_by' => 'Izbrisal uporabnik',
+ 'recycle_bin_deleted_at' => 'Čas izbrisa',
+ 'recycle_bin_permanently_delete' => 'Trajno izbrišem?',
+ 'recycle_bin_restore' => 'Obnovi',
+ 'recycle_bin_contents_empty' => 'Koš je prazen',
+ 'recycle_bin_empty' => 'Izprazni koš',
+ 'recycle_bin_empty_confirm' => 'S tem boste trajno uničili vse predmete v košu, vključno z vsebino vsakega predmeta. Ali ste prepričani, da želite izprazniti koš?',
+ 'recycle_bin_destroy_confirm' => 'S tem dejanjem boste ta element skupaj s spodaj navedenimi podrejenimi elementi trajno izbrisali iz sistema in te vsebine ne boste mogli obnoviti. Ali ste prepričani, da želite trajno izbrisati ta element?',
+ 'recycle_bin_destroy_list' => 'Predmeti, ki naj bodo trajno izbrisani',
+ 'recycle_bin_restore_list' => 'Predmeti, ki naj bodo obnovljeni',
+ 'recycle_bin_restore_confirm' => 'S tem dejanjem boste izbrisani element, vključno z vsemi podrejenimi elementi, obnovili na prvotno mesto. Če je bilo prvotno mesto od takrat izbrisano in je zdaj v košu, bo treba obnoviti tudi nadrejeni element.',
+ 'recycle_bin_restore_deleted_parent' => 'Nadrejeni element je bil prav tako izbrisan. Dokler se ne obnovi nadrejenega elementa, ni mogoče obnoviti njemu podrejenih elementov.',
+ 'recycle_bin_destroy_notification' => 'Izbrisano :count skupno število elementov iz koša.',
+ 'recycle_bin_restore_notification' => 'Obnovljeno :count skupno število elementov iz koša.',
// Audit Log
- 'audit' => 'Audit Log',
- 'audit_desc' => 'This audit log displays a list of activities tracked in the system. This list is unfiltered unlike similar activity lists in the system where permission filters are applied.',
- 'audit_event_filter' => 'Event Filter',
- 'audit_event_filter_no_filter' => 'No Filter',
- 'audit_deleted_item' => 'Deleted Item',
- 'audit_deleted_item_name' => 'Name: :name',
- 'audit_table_user' => 'User',
- 'audit_table_event' => 'Event',
- 'audit_table_item' => 'Related Item',
- 'audit_table_date' => 'Activity Date',
- 'audit_date_from' => 'Date Range From',
- 'audit_date_to' => 'Date Range To',
+ 'audit' => 'Dnevnik dogodkov',
+ 'audit_desc' => 'Ta dnevnik dogodkov prikazuje seznam dejavnosti, ki jim sledi sistem. Seznam je nefiltriran, za razliko od podobnih seznamov dejavnosti v sistemu, kjer se uporabljajo filtri dovoljenj.',
+ 'audit_event_filter' => 'Filter dogodkov',
+ 'audit_event_filter_no_filter' => 'Ni filtra',
+ 'audit_deleted_item' => 'Izbrisan element',
+ 'audit_deleted_item_name' => 'Naziv: :name',
+ 'audit_table_user' => 'Uporabnik',
+ 'audit_table_event' => 'Dogodek',
+ 'audit_table_related' => 'Povezani predmet ali podrobnost',
+ 'audit_table_date' => 'Datum zadnje dejavnosti',
+ 'audit_date_from' => 'Časovno obdobje od',
+ 'audit_date_to' => 'Časovno obdobje do',
// Role Settings
'roles' => 'Vloge',
- 'role_user_roles' => 'Pravilo uporabnika',
- 'role_create' => 'Izdelaj novo polico',
- 'role_create_success' => 'Zapis uspešno ustvarjen',
+ 'role_user_roles' => 'Vloge uporabnika',
+ 'role_create' => 'Ustvari novo vlogo',
+ 'role_create_success' => 'Vloga uspešno ustvarjena',
'role_delete' => 'Brisanje vloge',
- 'role_delete_confirm' => 'Izbrisana bo vloga z imenom \':vlogaImena\'.',
- 'role_delete_users_assigned' => 'This role has :userCount users assigned to it. If you would like to migrate the users from this role select a new role below.',
- 'role_delete_no_migration' => "Uporabniki niso prenosljivi",
- 'role_delete_sure' => 'Ali ste prepričani, da želite izbrisati to element?',
- 'role_delete_success' => 'Uspešno izbrisano',
- 'role_edit' => 'Uredi zapis',
- 'role_details' => 'Podrobnosti zapisa',
- 'role_name' => 'Ime zapisa',
- 'role_desc' => 'Kratki opis ',
+ 'role_delete_confirm' => 'Izbrisana bo vloga z imenom \':roleName\'.',
+ 'role_delete_users_assigned' => 'Ta vloga ima dodeljenih :userCount uporabnikov. V kolikor želite uporabnike preseliti iz te vloge, spodaj izberite novo vlogo.',
+ 'role_delete_no_migration' => "Ne prenašaj uporabnikov",
+ 'role_delete_sure' => 'Ali ste prepričani, da želite izbrisati to vlogo?',
+ 'role_delete_success' => 'Vloga uspešno izbrisana',
+ 'role_edit' => 'Uredi vlogo',
+ 'role_details' => 'Podrobnosti vloge',
+ 'role_name' => 'Naziv vloge',
+ 'role_desc' => 'Kratki opis vloge',
'role_external_auth_id' => 'Zunanje dokazilo ID',
'role_system' => 'Sistemska dovoljenja',
'role_manage_users' => 'Upravljanje uporabnikov',
- 'role_manage_roles' => 'Vloga upravljanja & vloga dovoljenj',
- 'role_manage_entity_permissions' => 'Upravljanje vseh knjig, poglavij & dovoljenj',
- 'role_manage_own_entity_permissions' => 'Manage permissions on own book, chapter & pages',
- 'role_manage_page_templates' => 'Manage page templates',
- 'role_access_api' => 'Access system API',
+ 'role_manage_roles' => 'Upravljanje vlog in dovoljenja vlog',
+ 'role_manage_entity_permissions' => 'Upravljanje dovoljenj vseh knjig, poglavij in strani',
+ 'role_manage_own_entity_permissions' => 'Upravljanje dovoljenj za svojo knjigo, poglavje in strani',
+ 'role_manage_page_templates' => 'Uredi predloge',
+ 'role_access_api' => 'API za dostop do sistema',
'role_manage_settings' => 'Nastavitve za upravljanje',
'role_asset' => 'Sistemska dovoljenja',
- 'roles_system_warning' => 'Be aware that access to any of the above three permissions can allow a user to alter their own privileges or the privileges of others in the system. Only assign roles with these permissions to trusted users.',
- 'role_asset_desc' => 'These permissions control default access to the assets within the system. Permissions on Books, Chapters and Pages will override these permissions.',
- 'role_asset_admins' => 'Admins are automatically given access to all content but these options may show or hide UI options.',
+ 'roles_system_warning' => 'Zavedajte se, da lahko dostop do kateregakoli od zgornjih treh dovoljenj uporabniku omogoči, da spremeni lastne privilegije ali privilegije drugih v sistemu. Vloge s temi dovoljenji dodelite samo zaupanja vrednim uporabnikom.',
+ 'role_asset_desc' => 'Ta dovoljenja nadzorujejo privzeti dostop do sredstev v sistemu. Dovoljenja za knjige, poglavja in strani bodo razveljavila ta dovoljenja.',
+ 'role_asset_admins' => 'Skrbniki samodejno pridobijo dostop do vseh vsebin, vendar lahko te možnosti prikažejo ali pa skrijejo možnosti uporabniškega vmesnika.',
'role_all' => 'Vse',
- 'role_own' => 'Own',
- 'role_controlled_by_asset' => '
-46/5000
-Nadzira ga sredstvo, v katerega so naloženi',
+ 'role_own' => 'Lasten',
+ 'role_controlled_by_asset' => 'Nadzira ga sredstvo, v katerega so naloženi',
'role_save' => 'Shrani vlogo',
'role_update_success' => 'Vloga uspešno posodobljena',
'role_users' => 'Uporabniki v tej vlogi',
- 'role_users_none' => '
-V tej vlogi trenutno ni dodeljen noben uporabnik',
+ 'role_users_none' => 'Tej vlogi trenutno ni dodeljen noben uporabnik',
// Users
'users' => 'Uporabniki',
'user_profile' => 'Uporabniški profil',
'users_add_new' => 'Dodaj novega uporabnika',
'users_search' => 'Išči uporabnike',
+ 'users_latest_activity' => 'Zadnja dejavnost',
'users_details' => 'Podatki o uporabniku',
'users_details_desc' => 'Nastavite prikazno ime in e-poštni naslov za tega uporabnika. E-poštni naslov bo uporabljen za prijavo v aplikacijo.',
'users_details_desc_no_email' => ' Nastavite prikazno ime za tega uporabnika, da ga bodo drugi lahko prepoznali.',
'users_role' => 'Vloge uporabnika',
- 'users_role_desc' => 'Izberi katere vloge bodo dodeljene uporabniku. Če je uporabniku dodeljenih več vlog, se dovoljenja združijo in prejmenjo vse sposobnosti dodeljenih vlog.',
+ 'users_role_desc' => 'Izberi vloge, ki bodo dodeljene uporabniku. Če je uporabniku dodeljenih več vlog, se dovoljenja združijo in prejmenjo vsa dovoljenja dodeljenih vlog.',
'users_password' => 'Uporabniško geslo',
- 'users_password_desc' => 'Nastavite geslo, ki se uporablja za prijavo v aplikacijo. Dolg mora biti vsaj 6 znakov.',
- 'users_send_invite_text' => 'Uporabniku lahko pošljete e-poštno sporočilo s povabilom, ki mu omogoča, da nastavi svoje geslo, ali ga nastavite kar sami.',
- 'users_send_invite_option' => 'Pošlji uporabniku e-povabilo',
+ 'users_password_desc' => 'Nastavite geslo, ki se uporablja za prijavo v aplikacijo. Dolgo mora biti vsaj 6 znakov.',
+ 'users_send_invite_text' => 'Uporabniku lahko pošljete e-poštno sporočilo s povabilom, ki mu omogoča, da nastavi svoje geslo, ali pa ga nastavite kar sami.',
+ 'users_send_invite_option' => 'Pošlji uporabniku e-poštno povabilo',
'users_external_auth_id' => 'Zunanje dokazilo ID',
'users_external_auth_id_desc' => 'To je ID, s katerim se ta uporabnik ujema pri komunikaciji z vašim zunanjim sistemom za preverjanje pristnosti.',
'users_password_warning' => 'Spodaj izpolni le, če želiš spremeniti geslo.',
- 'users_system_public' => 'Ta uporabnik predstavlja vse gostujoče uporabnike, ki obiščejo vaš primer. Za prijavo je ni mogoče uporabiti, ampak je dodeljena samodejno.',
+ 'users_system_public' => 'Ta uporabnik predstavlja vse gostujoče uporabnike, ki obiščejo vašo wiki stran. Za prijavo je ni mogoče uporabiti, ampak je dodeljena samodejno.',
'users_delete' => 'Brisanje uporabnika',
'users_delete_named' => 'Brisanje uporabnika :userName',
'users_delete_warning' => 'Iz sistema se bo popolnoma izbrisal uporabnik z imenom \':userName\'',
- 'users_delete_confirm' => 'Ste prepričani, da želite izbrisati izbranega uporabnika?',
- 'users_delete_success' => 'Uporabniki uspešno odstranjeni.',
+ 'users_delete_confirm' => 'Ste prepričani, da želite izbrisati tega uporabnika?',
+ 'users_migrate_ownership' => 'Prenesi lastništvo',
+ 'users_migrate_ownership_desc' => 'Izberite uporabnika, če želite nanj prenesti lastništvo vseh vnosov.',
+ 'users_none_selected' => 'Ni izbranega uporabnika',
+ 'users_delete_success' => 'Uporabnik uspešno odstranjen',
'users_edit' => 'Uredi uporabnika',
'users_edit_profile' => 'Uredi profil',
'users_edit_success' => 'Uporabnik uspešno posodobljen',
- 'users_avatar' => 'uporabnikov avatar',
+ 'users_avatar' => 'Uporabnikov avatar',
'users_avatar_desc' => 'Izberi sliko, ki predstavlja uporabnika. Velikost mora biti približno 256px.',
'users_preferred_language' => 'Izbrani jezik',
'users_preferred_language_desc' => 'Ta možnost bo spremenila jezik, ki se uporablja za uporabniški vmesnik aplikacije. To ne bo vplivalo na nobeno vsebino, ki jo ustvari uporabnik.',
'users_social_accounts' => 'Družbene ikone / računi',
- 'users_social_accounts_info' => 'Here you can connect your other accounts for quicker and easier login. Disconnecting an account here does not revoke previously authorized access. Revoke access from your profile settings on the connected social account.',
+ 'users_social_accounts_info' => 'Tu lahko za hitrejšo in lažjo prijavo povežete druge račune. Prekinitev povezave računa tukaj ne prekliče predhodno odobrenega dostopa. Prekličite dostop iz nastavitev profila v povezanem družabnem računu.',
'users_social_connect' => 'Povežite račun',
'users_social_disconnect' => 'Odklop računa',
- 'users_social_connected' => ':socialAccount račun je bil uspešno dodan na vašem profilu',
- 'users_social_disconnected' => ':socialAccount račun je bil uspešno odstranjen iz vašega profila',
+ 'users_social_connected' => ':socialAccount račun je bil uspešno dodan vašemu profilu.',
+ 'users_social_disconnected' => ':socialAccount račun je bil uspešno odstranjen iz vašega profila.',
'users_api_tokens' => 'API žeton',
'users_api_tokens_none' => 'Nič API žetonov ni bilo ustvarjenih za uporabnika',
'users_api_tokens_create' => 'Ustvari žeton',
// API Tokens
'user_api_token_create' => 'Ustvari žeton',
'user_api_token_name' => 'Ime',
- 'user_api_token_name_desc' => 'Give your token a readable name as a future reminder of its intended purpose.',
+ 'user_api_token_name_desc' => 'Dajte žetonu berljivo ime kot prihodnji opomnik o predvidenem namenu.',
'user_api_token_expiry' => 'Datum poteka',
'user_api_token_expiry_desc' => 'Določi datum izteka uporabnosti žetona. Po tem datumu, zahteve poslane s tem žetonom, ne bodo več delovale.
Če pustite to polje prazno, bo iztek uporabnosti 100.let .',
'user_api_token_update_success' => 'API žeton uspešno posodobljen',
'user_api_token' => 'API žeton',
'user_api_token_id' => 'Žeton ID',
- 'user_api_token_id_desc' => 'This is a non-editable system generated identifier for this token which will need to be provided in API requests.',
+ 'user_api_token_id_desc' => 'To je sistemski identifikator, ki ga ni mogoče urejati za ta žeton in ga je treba navesti v zahtevah za API.',
'user_api_token_secret' => 'Skrivnost žetona',
- 'user_api_token_secret_desc' => 'This is a system generated secret for this token which will need to be provided in API requests. This will only be displayed this one time so copy this value to somewhere safe and secure.',
+ 'user_api_token_secret_desc' => 'To je sistemsko ustvarjena skrivnost za ta žeton, ki jo bo treba navesti v zahtevah za API. To bo prikazano samo enkrat, zato kopirajte to vrednost na varno mesto.',
'user_api_token_created' => 'Žeton ustvarjen :timeAgo',
'user_api_token_updated' => 'Žeton posodobljen :timeAgo',
'user_api_token_delete' => 'Briši žeton',
'en' => 'English',
'ar' => 'العربية',
'bg' => 'Bǎlgarski',
+ 'bs' => 'Bosanski',
+ 'ca' => 'Català',
'cs' => 'Česky',
'da' => 'danščina',
'de' => 'Deutsch (Sie)',
'es_AR' => 'Español Argentina',
'fr' => 'Français',
'he' => 'עברית',
+ 'hr' => 'Hrvatski',
'hu' => 'Magyar',
+ 'id' => 'Bahasa Indonesia',
'it' => 'Italian',
'ja' => '日本語',
'ko' => '한국어',
+ 'lv' => 'Latviešu Valoda',
'nl' => 'Nederlands',
+ 'nb' => 'Norsk (Bokmål)',
'pl' => 'Polski',
+ 'pt' => 'Português',
'pt_BR' => 'Português do Brasil',
'ru' => 'Русский',
'sk' => 'Slovensky',
'string' => ':attribute mora biti najmanj :min znakov.',
'array' => ':attribute mora imeti vsaj :min elementov.',
],
- 'no_double_extension' => ':attribute mora imeti samo eno razširitveno datoteko',
'not_in' => 'Izbrani atribut je neveljaven.',
'not_regex' => ':attribute oblika ni veljavna.',
'numeric' => 'Atribut mora biti število.',
'required_without' => 'Polje atributa je obvezno, če: vrednosti niso prisotne.',
'required_without_all' => 'Polje atributa je obvezno, če nobena od: vrednosti ni prisotna.',
'same' => 'Atribut in: drugi se morajo ujemati.',
+ 'safe_url' => 'Podana povezava morda ni varna.',
'size' => [
'numeric' => ':attribute mora biti :velikost.',
'file' => ':attribute mora biti :velikost KB.',
'bookshelf_delete' => 'tog bort hyllan',
'bookshelf_delete_notification' => 'Hyllan har tagits bort',
+ // Favourites
+ 'favourite_add_notification' => '":name" har lagts till i dina favoriter',
+ 'favourite_remove_notification' => '":name" har tagits bort från dina favoriter',
+
// Other
'commented_on' => 'kommenterade',
+ 'permissions_update' => 'uppdaterade behörigheter',
];
'reset_password' => 'Återställ lösenord',
'reset_password_send_instructions' => 'Ange din e-postadress nedan så skickar vi ett mail med en länk för att återställa ditt lösenord.',
'reset_password_send_button' => 'Skicka återställningslänk',
- 'reset_password_sent' => 'A password reset link will be sent to :email if that email address is found in the system.',
+ 'reset_password_sent' => 'En länk för återställning av lösenord kommer att skickas till :email om den e-postadressen finns i systemet.',
'reset_password_success' => 'Ditt lösenord har återställts.',
'email_reset_subject' => 'Återställ ditt lösenord till :appName',
'email_reset_text' => 'Du får detta mail eftersom vi fått en begäran om att återställa lösenordet till ditt konto.',
'copy' => 'Kopiera',
'reply' => 'Svara',
'delete' => 'Ta bort',
- 'delete_confirm' => 'Confirm Deletion',
+ 'delete_confirm' => 'Bekräfta radering',
'search' => 'Sök',
'search_clear' => 'Rensa sökning',
'reset' => 'Återställ',
'remove' => 'Radera',
'add' => 'Lägg till',
'fullscreen' => 'Helskärm',
+ 'favourite' => 'Favorit',
+ 'unfavourite' => 'Ta bort favorit',
+ 'next' => 'Nästa',
+ 'previous' => 'Föregående',
// Sort Options
'sort_options' => 'Sorteringsalternativ',
'sort_ascending' => 'Sortera stigande',
'sort_descending' => 'Sortera fallande',
'sort_name' => 'Namn',
+ 'sort_default' => 'Standard',
'sort_created_at' => 'Skapad',
'sort_updated_at' => 'Uppdaterad',
'breadcrumb' => 'Brödsmula',
// Header
+ 'header_menu_expand' => 'Expandera sidhuvudsmenyn',
'profile_menu' => 'Profilmeny',
'view_profile' => 'Visa profil',
'edit_profile' => 'Redigera profil',
- 'dark_mode' => 'Dark Mode',
- 'light_mode' => 'Light Mode',
+ 'dark_mode' => 'Mörkt läge',
+ 'light_mode' => 'Ljust Läge',
// Layout tabs
'tab_info' => 'Information',
+ 'tab_info_label' => 'Flik: Visa sekundär information',
'tab_content' => 'Innehåll',
+ 'tab_content_label' => 'Flik: Visa primärt innehåll',
// Email Content
'email_action_help' => 'Om du har problem, klicka på knappen ":actionText", och kopiera och klistra in den här adressen i din webbläsare:',
'email_rights' => 'Alla rättigheter är reserverade',
+
+ // Footer Link Options
+ // Not directly used but available for convenience to users.
+ 'privacy_policy' => 'Integritetspolicy',
+ 'terms_of_service' => 'Användarvillkor',
];
'image_load_more' => 'Ladda fler',
'image_image_name' => 'Bildnamn',
'image_delete_used' => 'Den här bilden används på nedanstående sidor.',
- 'image_delete_confirm_text' => 'Are you sure you want to delete this image?',
+ 'image_delete_confirm_text' => 'Är du säker på att du vill radera denna bild?',
'image_select_image' => 'Välj bild',
'image_dropzone' => 'Släpp bilder här eller klicka för att ladda upp',
'images_deleted' => 'Bilder borttagna',
'code_editor' => 'Redigera kod',
'code_language' => 'Språk',
'code_content' => 'Kod',
- 'code_session_history' => 'Session History',
+ 'code_session_history' => 'Sessionshistorik',
'code_save' => 'Spara',
];
'meta_created_name' => 'Skapad :timeLength av :user',
'meta_updated' => 'Uppdaterad :timeLength',
'meta_updated_name' => 'Uppdaterad :timeLength av :user',
+ 'meta_owned_name' => 'Ägs av :user',
'entity_select' => 'Välj enhet',
'images' => 'Bilder',
'my_recent_drafts' => 'Mina nyaste utkast',
'my_recently_viewed' => 'Mina senast visade sidor',
+ 'my_most_viewed_favourites' => 'Mina mest visade favoriter',
+ 'my_favourites' => 'Mina favoriter',
'no_pages_viewed' => 'Du har inte visat några sidor',
'no_pages_recently_created' => 'Inga sidor har skapats nyligen',
'no_pages_recently_updated' => 'Inga sidor har uppdaterats nyligen',
'permissions_intro' => 'Dessa rättigheter kommer att överskrida eventuella rollbaserade rättigheter.',
'permissions_enable' => 'Aktivera anpassade rättigheter',
'permissions_save' => 'Spara rättigheter',
+ 'permissions_owner' => 'Ägare',
// Search
'search_results' => 'Sökresultat',
'search_no_pages' => 'Inga sidor matchade sökningen',
'search_for_term' => 'Sök efter :term',
'search_more' => 'Fler resultat',
- 'search_advanced' => 'Advanced Search',
- 'search_terms' => 'Search Terms',
+ 'search_advanced' => 'Avancerad sök',
+ 'search_terms' => 'Söktermer',
'search_content_type' => 'Innehållstyp',
'search_exact_matches' => 'Exakta matchningar',
'search_tags' => 'Taggar',
'search_permissions_set' => 'Har anpassade rättigheter',
'search_created_by_me' => 'Skapade av mig',
'search_updated_by_me' => 'Uppdaterade av mig',
+ 'search_owned_by_me' => 'Ägs av mig',
'search_date_options' => 'Datumalternativ',
'search_updated_before' => 'Uppdaterade före',
'search_updated_after' => 'Uppdaterade efter',
'chapters_create' => 'Skapa nytt kapitel',
'chapters_delete' => 'Radera kapitel',
'chapters_delete_named' => 'Radera kapitlet :chapterName',
- 'chapters_delete_explain' => 'Du håller på att ta bort kapitlet \':chapterName\'. Alla sidor kommer att flyttas direkt in i den aktuella boken istället.',
+ 'chapters_delete_explain' => 'Detta kommer att ta bort kapitlet med namnet \':chapterName\'. Alla sidor som finns inom detta kapitel kommer också att raderas.',
'chapters_delete_confirm' => 'Är du säker på att du vill ta bort det här kapitlet?',
'chapters_edit' => 'Redigera kapitel',
'chapters_edit_named' => 'Redigera kapitel :chapterName',
'pages_revisions' => 'Sidrevisioner',
'pages_revisions_named' => 'Sidrevisioner för :pageName',
'pages_revision_named' => 'Sidrevision för :pageName',
+ 'pages_revision_restored_from' => 'Återställd från #:id; :summary',
'pages_revisions_created_by' => 'Skapad av',
'pages_revisions_date' => 'Revisionsdatum',
'pages_revisions_number' => '#',
'attachments_upload' => 'Ladda upp fil',
'attachments_link' => 'Bifoga länk',
'attachments_set_link' => 'Ange länk',
- 'attachments_delete' => 'Are you sure you want to delete this attachment?',
+ 'attachments_delete' => 'Är du säker på att du vill ta bort bilagan?',
'attachments_dropzone' => 'Släpp filer här eller klicka för att ladda upp',
'attachments_no_files' => 'Inga filer har laddats upp',
'attachments_explain_link' => 'Du kan bifoga en länk om du inte vill ladda upp en fil. Detta kan vara en länk till en annan sida eller till en fil i molnet.',
'attachments_link_url' => 'Länk till fil',
'attachments_link_url_hint' => 'URL till sida eller fil',
'attach' => 'Bifoga',
- 'attachments_insert_link' => 'Add Attachment Link to Page',
+ 'attachments_insert_link' => 'Lägg till bilagelänk till sida',
'attachments_edit_file' => 'Redigera fil',
'attachments_edit_file_name' => 'Filnamn',
'attachments_edit_drop_upload' => 'Släpp filer här eller klicka för att ladda upp och skriva över',
'revision_restore_confirm' => 'Är du säker på att du vill använda denna revision? Det nuvarande innehållet kommer att ersättas.',
'revision_delete_success' => 'Revisionen raderad',
'revision_cannot_delete_latest' => 'Det går inte att ta bort den senaste versionen.'
-];
\ No newline at end of file
+];
'404_page_not_found' => 'Sidan hittades inte',
'sorry_page_not_found' => 'Tyvärr gick det inte att hitta sidan du söker.',
'sorry_page_not_found_permission_warning' => 'Om du förväntade dig att denna sida skulle existera, kanske du inte har behörighet att se den.',
+ 'image_not_found' => 'Bilden hittades inte',
+ 'image_not_found_subtitle' => 'Tyvärr gick det inte att hitta bilden du letade efter.',
+ 'image_not_found_details' => 'Om du förväntade dig att den här bilden skulle finnas kan den ha tagits bort.',
'return_home' => 'Återvänd till startsidan',
'error_occurred' => 'Ett fel inträffade',
'app_down' => ':appName är nere just nu',
'password' => 'Lösenord måste vara minst sex tecken långa och anges likadant två gånger.',
'user' => "Det finns ingen användare med den e-postadressen.",
- 'token' => 'The password reset token is invalid for this email address.',
+ 'token' => 'Lösenordsåterställningstoken är ogiltig för denna e-postadress.',
'sent' => 'Vi har mailat dig en länk för att återställa ditt lösenord!',
'reset' => 'Ditt lösenord har blivit återställt!',
'app_homepage' => 'Startsida',
'app_homepage_desc' => 'Välj en sida att använda som startsida istället för standardvyn. Den valda sidans rättigheter kommer att ignoreras.',
'app_homepage_select' => 'Välj en sida',
+ 'app_footer_links' => 'Sidfotslänkar',
+ 'app_footer_links_desc' => 'Lägg till länkar som visas i sidfoten. Dessa kommer att visas längst ner på de flesta sidor, inklusive de som inte kräver inloggning. Du kan använda en etikett av "trans::<key>" för att använda systemdefinierade översättningar. Exempelvis översätts "trans::common.privacy_policy" till "Integritetspolicy" och "trans::common.terms_of_service" till "Användarvillkor".',
+ 'app_footer_links_label' => 'Länketikett',
+ 'app_footer_links_url' => 'Länk URL',
+ 'app_footer_links_add' => 'Lägg till sidfotslänk',
'app_disable_comments' => 'Inaktivera kommentarer',
'app_disable_comments_toggle' => 'Inaktivera kommentarer',
'app_disable_comments_desc' => 'Inaktivera kommentarer på alla sidor i applikationen. Befintliga kommentarer visas inte.',
'maint' => 'Underhåll',
'maint_image_cleanup' => 'Rensa bilder',
'maint_image_cleanup_desc' => "Söker igenom innehåll i sidor & revisioner för att se vilka bilder och teckningar som är i bruk och vilka som är överflödiga. Se till att ta en komplett backup av databas och bilder innan du kör detta.",
- 'maint_image_cleanup_ignore_revisions' => 'Ignorera bilder i revisioner',
+ 'maint_delete_images_only_in_revisions' => 'Ta också bort bilder som bara finns i gamla sidrevideringar',
'maint_image_cleanup_run' => 'Kör rensning',
'maint_image_cleanup_warning' => 'Hittade :count bilder som potentiellt inte används. Vill du verkligen ta bort dessa bilder?',
'maint_image_cleanup_success' => 'Hittade och raderade :count bilder som potentiellt inte används!',
'maint_send_test_email_mail_subject' => 'Testmejl',
'maint_send_test_email_mail_greeting' => 'E-postleverans verkar fungera!',
'maint_send_test_email_mail_text' => 'Grattis! Eftersom du fick detta e-postmeddelande verkar dina e-postinställningar vara korrekt konfigurerade.',
+ 'maint_recycle_bin_desc' => 'Borttagna hyllor, böcker, kapitel & sidor skickas till papperskorgen så att de kan återställas eller raderas permanent. Äldre objekt i papperskorgen kan automatiskt tas bort efter ett tag beroende på systemkonfiguration.',
+ 'maint_recycle_bin_open' => 'Öppna papperskorgen',
+
+ // Recycle Bin
+ 'recycle_bin' => 'Papperskorgen',
+ 'recycle_bin_desc' => 'Här kan du återställa objekt som har tagits bort eller välja att permanent ta bort dem från systemet. Denna lista är ofiltrerad till skillnad från liknande aktivitetslistor i systemet där behörighetsfilter tillämpas.',
+ 'recycle_bin_deleted_item' => 'Raderat objekt',
+ 'recycle_bin_deleted_by' => 'Borttagen av',
+ 'recycle_bin_deleted_at' => 'Tid för borttagning',
+ 'recycle_bin_permanently_delete' => 'Radera permanent',
+ 'recycle_bin_restore' => 'Återställ',
+ 'recycle_bin_contents_empty' => 'Papperskorgen är för närvarande tom',
+ 'recycle_bin_empty' => 'Töm papperskorgen',
+ 'recycle_bin_empty_confirm' => 'Detta kommer permanent att förstöra alla objekt i papperskorgen inklusive innehåll som finns i varje objekt. Är du säker du vill tömma papperskorgen?',
+ 'recycle_bin_destroy_confirm' => 'Denna åtgärd kommer att permanent ta bort detta objekt, tillsammans med alla underordnade element som anges nedan, från systemet och du kommer inte att kunna återställa detta innehåll. Är du säker på att du vill ta bort objektet permanent?',
+ 'recycle_bin_destroy_list' => 'Objekt som ska förstöras',
+ 'recycle_bin_restore_list' => 'Objekt som ska återställas',
+ 'recycle_bin_restore_confirm' => 'Denna åtgärd kommer att återställa det raderade objektet, inklusive alla underordnade element, till deras ursprungliga plats. Om den ursprungliga platsen har tagits bort sedan dess, och är nu i papperskorgen, kommer det överordnade objektet också att behöva återställas.',
+ 'recycle_bin_restore_deleted_parent' => 'Föräldern till det här objektet har också tagits bort. Dessa kommer att förbli raderade tills den förälder är återställd.',
+ 'recycle_bin_destroy_notification' => 'Raderade :count totala objekt från papperskorgen.',
+ 'recycle_bin_restore_notification' => 'Återställt :count totala objekt från papperskorgen.',
// Audit Log
- 'audit' => 'Audit Log',
- 'audit_desc' => 'This audit log displays a list of activities tracked in the system. This list is unfiltered unlike similar activity lists in the system where permission filters are applied.',
- 'audit_event_filter' => 'Event Filter',
- 'audit_event_filter_no_filter' => 'No Filter',
- 'audit_deleted_item' => 'Deleted Item',
- 'audit_deleted_item_name' => 'Name: :name',
- 'audit_table_user' => 'User',
- 'audit_table_event' => 'Event',
- 'audit_table_item' => 'Related Item',
- 'audit_table_date' => 'Activity Date',
- 'audit_date_from' => 'Date Range From',
- 'audit_date_to' => 'Date Range To',
+ 'audit' => 'Auditlogg',
+ 'audit_desc' => 'Denna granskningslogg visar en lista över aktiviteter som spåras i systemet. Denna lista är ofiltrerad till skillnad från liknande aktivitetslistor i systemet där behörighetsfilter tillämpas.',
+ 'audit_event_filter' => 'Händelse Filter',
+ 'audit_event_filter_no_filter' => 'Inget filter',
+ 'audit_deleted_item' => 'Raderat objekt',
+ 'audit_deleted_item_name' => 'Namn: :name',
+ 'audit_table_user' => 'Användare',
+ 'audit_table_event' => 'Händelse',
+ 'audit_table_related' => 'Relaterat objekt eller detalj',
+ 'audit_table_date' => 'Datum för senaste aktiviteten',
+ 'audit_date_from' => 'Datumintervall från',
+ 'audit_date_to' => 'Datumintervall till',
// Role Settings
'roles' => 'Roller',
'role_access_api' => 'Åtkomst till systemets API',
'role_manage_settings' => 'Hantera appinställningar',
'role_asset' => 'Tillgång till innehåll',
- 'roles_system_warning' => 'Be aware that access to any of the above three permissions can allow a user to alter their own privileges or the privileges of others in the system. Only assign roles with these permissions to trusted users.',
+ 'roles_system_warning' => 'Var medveten om att åtkomst till någon av ovanstående tre behörigheter kan tillåta en användare att ändra sina egna rättigheter eller andras rättigheter i systemet. Tilldela endast roller med dessa behörigheter till betrodda användare.',
'role_asset_desc' => 'Det här är standardinställningarna för allt innehåll i systemet. Eventuella anpassade rättigheter på böcker, kapitel och sidor skriver över dessa inställningar.',
'role_asset_admins' => 'Administratörer har automatisk tillgång till allt innehåll men dessa alternativ kan visa och dölja vissa gränssnittselement',
'role_all' => 'Alla',
'user_profile' => 'Användarprofil',
'users_add_new' => 'Lägg till användare',
'users_search' => 'Sök användare',
+ 'users_latest_activity' => 'Senaste aktivitet',
'users_details' => 'Användarinformation',
'users_details_desc' => 'Ange ett visningsnamn och en e-postadress för den här användaren. E-postadressen kommer att användas vid inloggningen.',
'users_details_desc_no_email' => 'Ange ett visningsnamn för den här användaren så att andra kan känna igen den.',
'users_delete_named' => 'Ta bort användaren :userName',
'users_delete_warning' => 'Detta kommer att ta bort användaren \':userName\' från systemet helt och hållet.',
'users_delete_confirm' => 'Är du säker på att du vill ta bort användaren?',
+ 'users_migrate_ownership' => 'Överför ägarskap',
+ 'users_migrate_ownership_desc' => 'Välj en användare här om du vill att en annan användare ska bli ägare till alla objekt som för närvarande ägs av denna användare.',
+ 'users_none_selected' => 'Ingen användare vald',
'users_delete_success' => 'Användaren har tagits bort',
'users_edit' => 'Redigera användare',
'users_edit_profile' => 'Redigera profil',
'en' => 'English',
'ar' => 'العربية',
'bg' => 'Bǎlgarski',
+ 'bs' => 'Bosanski',
+ 'ca' => 'Katalanska',
'cs' => 'Česky',
'da' => 'Danska',
'de' => 'Deutsch (Sie)',
'es_AR' => 'Español Argentina',
'fr' => 'Français',
'he' => 'עברית',
+ 'hr' => 'Hrvatski',
'hu' => 'Magyar',
+ 'id' => 'Bahasa Indonesia',
'it' => 'Italian',
'ja' => '日本語',
'ko' => '한국어',
+ 'lv' => 'Latviešu Valoda',
'nl' => 'Nederlands',
+ 'nb' => 'Norsk (Bokmål)',
'pl' => 'Polski',
+ 'pt' => 'Português',
'pt_BR' => 'Português do Brasil',
'ru' => 'Русский',
'sk' => 'Slovensky',
'string' => ':attribute måste vara minst :min tecken.',
'array' => ':attribute måste ha minst :min poster.',
],
- 'no_double_extension' => ':attribute får bara ha ett filtillägg.',
'not_in' => 'Vald :attribute är inte giltig',
'not_regex' => 'Formatet på :attribute är ogiltigt.',
'numeric' => ':attribute måste vara ett nummer.',
'required_without' => ':attribute är obligatoriskt när :values inte finns.',
'required_without_all' => ':attribute är obligatirskt när ingen av :values finns.',
'same' => ':attribute och :other måste stämma överens.',
+ 'safe_url' => 'Den angivna länken kanske inte är säker.',
'size' => [
'numeric' => ':attribute måste vara :size.',
'file' => ':attribute måste vara :size kilobyte.',
'string' => 'The :attribute must be at least :min characters.',
'array' => 'The :attribute must have at least :min items.',
],
- 'no_double_extension' => 'The :attribute must only have a single file extension.',
'not_in' => 'The selected :attribute is invalid.',
'not_regex' => 'The :attribute format is invalid.',
'numeric' => 'The :attribute must be a number.',
'bookshelf_delete' => 'kitaplığı sildi',
'bookshelf_delete_notification' => 'Kitaplık Başarıyla Silindi',
+ // Favourites
+ 'favourite_add_notification' => '":name" favorilerinize eklendi',
+ 'favourite_remove_notification' => '":name" favorilerinizden çıkarıldı',
+
// Other
'commented_on' => 'yorum yaptı',
+ 'permissions_update' => 'güncellenmiş izinler',
];
'remove' => 'Kaldır',
'add' => 'Ekle',
'fullscreen' => 'Tam Ekran',
+ 'favourite' => 'Favourite',
+ 'unfavourite' => 'Unfavourite',
+ 'next' => 'Next',
+ 'previous' => 'Previous',
// Sort Options
'sort_options' => 'Sıralama Seçenekleri',
'sort_ascending' => 'Artan Sıralama',
'sort_descending' => 'Azalan Sıralama',
'sort_name' => 'İsim',
+ 'sort_default' => 'Default',
'sort_created_at' => 'Oluşturulma Tarihi',
'sort_updated_at' => 'Güncelleme Tarihi',
'breadcrumb' => 'Gezinti Menüsü',
// Header
+ 'header_menu_expand' => 'Expand Header Menu',
'profile_menu' => 'Profil Menüsü',
'view_profile' => 'Profili Görüntüle',
'edit_profile' => 'Profili Düzenle',
// Layout tabs
'tab_info' => 'Bilgi',
+ 'tab_info_label' => 'Tab: Show Secondary Information',
'tab_content' => 'İçerik',
+ 'tab_content_label' => 'Tab: Show Primary Content',
// Email Content
'email_action_help' => '":actionText" butonuna tıklamada sorun yaşıyorsanız, aşağıda bulunan bağlantıyı kopyalayıp tarayıcınıza yapıştırın:',
'email_rights' => 'Tüm hakları saklıdır',
+
+ // Footer Link Options
+ // Not directly used but available for convenience to users.
+ 'privacy_policy' => 'Privacy Policy',
+ 'terms_of_service' => 'Terms of Service',
];
'meta_created_name' => ':user tarafından :timeLength oluşturuldu',
'meta_updated' => ':timeLength güncellendi',
'meta_updated_name' => ':user tarafından :timeLength güncellendi',
+ 'meta_owned_name' => 'Owned by :user',
'entity_select' => 'Öge Seçimi',
'images' => 'Görseller',
'my_recent_drafts' => 'Son Taslaklarım',
'my_recently_viewed' => 'Son Görüntülediklerim',
+ 'my_most_viewed_favourites' => 'My Most Viewed Favourites',
+ 'my_favourites' => 'My Favourites',
'no_pages_viewed' => 'Herhangi bir sayfa görüntülemediniz',
'no_pages_recently_created' => 'Yakın zamanda bir sayfa oluşturulmadı',
'no_pages_recently_updated' => 'Yakın zamanda bir sayfa güncellenmedi',
'permissions_intro' => 'Etkinleştirildikten sonra bu izinler, diğer bütün izinlerden öncelikli olacaktır.',
'permissions_enable' => 'Özelleştirilmiş Yetkileri Etkinleştir',
'permissions_save' => 'İzinleri Kaydet',
+ 'permissions_owner' => 'Sahip',
// Search
'search_results' => 'Arama Sonuçları',
'search_permissions_set' => 'İzinler ayarlanmış',
'search_created_by_me' => 'Oluşturduklarım',
'search_updated_by_me' => 'Güncellediklerim',
+ 'search_owned_by_me' => 'Owned by me',
'search_date_options' => 'Tarih Seçenekleri',
'search_updated_before' => 'Önce güncellendi',
'search_updated_after' => 'Sonra güncellendi',
'chapters_create' => 'Yeni Bölüm Oluştur',
'chapters_delete' => 'Bölümü Sil',
'chapters_delete_named' => ':chapterName Bölümünü Sil',
- 'chapters_delete_explain' => 'Bu işlem sonunda \':chapterName\' bölümü silinecek ve bu bölüme ait bütün sayfalar direkt olarak ana kitaba aktarılacaktır.',
+ 'chapters_delete_explain' => 'This will delete the chapter with the name \':chapterName\'. All pages that exist within this chapter will also be deleted.',
'chapters_delete_confirm' => 'Bölümü silmek istediğinize emin misiniz?',
'chapters_edit' => 'Bölümü Düzenle',
'chapters_edit_named' => ':chapterName Bölümünü Düzenle',
'pages_revisions' => 'Sayfa Revizyonları',
'pages_revisions_named' => ':pageName için Sayfa Revizyonları',
'pages_revision_named' => ':pageName için Sayfa Revizyonu',
+ 'pages_revision_restored_from' => 'Restored from #:id; :summary',
'pages_revisions_created_by' => 'Revize Eden',
'pages_revisions_date' => 'Revizyon Tarihi',
'pages_revisions_number' => '#',
'attachments_link_url' => 'Dosya bağlantısı',
'attachments_link_url_hint' => 'Dosyanın veya sitenin url adresi',
'attach' => 'Ekle',
- 'attachments_insert_link' => 'Add Attachment Link to Page',
+ 'attachments_insert_link' => 'Sayfaya Bağlantı Ekle',
'attachments_edit_file' => 'Dosyayı Düzenle',
'attachments_edit_file_name' => 'Dosya Adı',
'attachments_edit_drop_upload' => 'Üzerine yazılacak dosyaları sürükleyin veya seçin',
'revision_restore_confirm' => 'Bu revizyonu yeniden yüklemek istediğinize emin misiniz? Sayfanın şu anki içeriği değiştirilecektir.',
'revision_delete_success' => 'Revizyon silindi',
'revision_cannot_delete_latest' => 'Son revizyonu silemezsiniz.'
-];
\ No newline at end of file
+];
'404_page_not_found' => 'Sayfa Bulunamadı',
'sorry_page_not_found' => 'Üzgünüz, aradığınız sayfa bulunamıyor.',
'sorry_page_not_found_permission_warning' => 'Bu sayfanın var olduğunu düşünüyorsanız, görüntüleme iznine sahip olmayabilirsiniz.',
+ 'image_not_found' => 'Image Not Found',
+ 'image_not_found_subtitle' => 'Sorry, The image file you were looking for could not be found.',
+ 'image_not_found_details' => 'If you expected this image to exist it might have been deleted.',
'return_home' => 'Ana sayfaya dön',
'error_occurred' => 'Bir Hata Oluştu',
'app_down' => ':appName şu anda erişilemez durumda',
'app_homepage' => 'Ana Sayfa',
'app_homepage_desc' => 'Varsayılan görünüm yerine ana sayfada görünmesi için bir görünüm seçin. Sayfa izinleri, burada seçeceğiniz sayfalar için yok sayılacaktır.',
'app_homepage_select' => 'Bir sayfa seçin',
+ 'app_footer_links' => 'Footer Links',
+ 'app_footer_links_desc' => 'Add links to show within the site footer. These will be displayed at the bottom of most pages, including those that do not require login. You can use a label of "trans::<key>" to use system-defined translations. For example: Using "trans::common.privacy_policy" will provide the translated text "Privacy Policy" and "trans::common.terms_of_service" will provide the translated text "Terms of Service".',
+ 'app_footer_links_label' => 'Link Label',
+ 'app_footer_links_url' => 'Link URL',
+ 'app_footer_links_add' => 'Add Footer Link',
'app_disable_comments' => 'Yorumları Devre Dışı Bırak',
'app_disable_comments_toggle' => 'Yorumları devre dışı bırak',
'app_disable_comments_desc' => 'Bütün sayfalar için yorumları devre dışı bırakır. <br> Mevcut yorumlar gösterilmeyecektir.',
'maint' => 'Bakım',
'maint_image_cleanup' => 'Görselleri Temizle',
'maint_image_cleanup_desc' => "Sayfaları ve revizyon içeriklerini tarayarak hangi görsellerin ve çizimlerin kullanımda olduğunu ve hangilerinin gereksiz olduğunu tespit eder. Bunu başlatmadan önce veritabanının ve görsellerin tam bir yedeğinin alındığından emin olun.",
- 'maint_image_cleanup_ignore_revisions' => 'Revizyonlardaki görselleri yoksay',
+ 'maint_delete_images_only_in_revisions' => 'Eski sayfa revizyonlarındaki görselleri de sil',
'maint_image_cleanup_run' => 'Temizliği Başlat',
'maint_image_cleanup_warning' => 'Muhtemelen kullanılmayan :count adet görsel bulundu. Bu görselleri silmek istediğinize emin misiniz?',
'maint_image_cleanup_success' => 'Muhtemelen kullanılmayan :count adet görsel bulundu ve silindi!',
'maint_send_test_email_mail_subject' => 'Deneme E-postası',
'maint_send_test_email_mail_greeting' => 'E-posta iletimi çalışıyor gibi görünüyor!',
'maint_send_test_email_mail_text' => 'Tebrikler! Eğer bu e-posta bildirimini alıyorsanız, e-posta ayarlarınız doğru bir şekilde ayarlanmış demektir.',
+ 'maint_recycle_bin_desc' => 'Silinen raflar, kitaplar, bölümler ve sayfalar geri dönüşüm kutusuna gönderilir, böylece geri yüklenebilir veya kalıcı olarak silinebilir. Geri dönüşüm kutusundaki daha eski öğeler, sistem yapılandırmasına bağlı olarak bir süre sonra otomatik olarak kaldırılabilir.',
+ 'maint_recycle_bin_open' => 'Geri Dönüşüm Kutusunu Aç',
+
+ // Recycle Bin
+ 'recycle_bin' => 'Geri Dönüşüm Kutusu',
+ 'recycle_bin_desc' => 'Burada silinen öğeleri geri yükleyebilir veya bunları sistemden kalıcı olarak kaldırmayı seçebilirsiniz. Bu liste, izin filtrelerinin uygulandığı sistemdeki benzer etkinlik listelerinden farklı olarak filtrelenmez.',
+ 'recycle_bin_deleted_item' => 'Silinen öge',
+ 'recycle_bin_deleted_by' => 'Tarafından silindi',
+ 'recycle_bin_deleted_at' => 'Silinme Zamanı',
+ 'recycle_bin_permanently_delete' => 'Kalıcı Olarak Sil',
+ 'recycle_bin_restore' => 'Geri Yükle',
+ 'recycle_bin_contents_empty' => 'Geri dönüşüm kutusu boş',
+ 'recycle_bin_empty' => 'Geri Dönüşüm Kutusunu Boşalt',
+ 'recycle_bin_empty_confirm' => 'Bu işlem, her bir öğenin içinde bulunan içerik de dahil olmak üzere geri dönüşüm kutusundaki tüm öğeleri kalıcı olarak imha edecektir. Geri dönüşüm kutusunu boşaltmak istediğinizden emin misiniz?',
+ 'recycle_bin_destroy_confirm' => 'Bu işlem, bu öğeyi kalıcı olarak ve aşağıda listelenen alt öğelerle birlikte sistemden silecek ve bu içeriği geri yükleyemeyeceksiniz. Bu öğeyi kalıcı olarak silmek istediğinizden emin misiniz?',
+ 'recycle_bin_destroy_list' => 'Kalıcı Olarak Silinecek Öğeler',
+ 'recycle_bin_restore_list' => 'Geri Yüklenecek Öğeler',
+ 'recycle_bin_restore_confirm' => 'Bu eylem, tüm alt öğeler dahil olmak üzere silinen öğeyi orijinal konumlarına geri yükleyecektir. Orijinal konum o zamandan beri silinmişse ve şimdi geri dönüşüm kutusunda bulunuyorsa, üst öğenin de geri yüklenmesi gerekecektir.',
+ 'recycle_bin_restore_deleted_parent' => 'Bu öğenin üst öğesi de silindi. Bunlar, üst öğe de geri yüklenene kadar silinmiş olarak kalacaktır.',
+ 'recycle_bin_destroy_notification' => 'Deleted :count total items from the recycle bin.',
+ 'recycle_bin_restore_notification' => 'Restored :count total items from the recycle bin.',
// Audit Log
- 'audit' => 'Audit Log',
- 'audit_desc' => 'This audit log displays a list of activities tracked in the system. This list is unfiltered unlike similar activity lists in the system where permission filters are applied.',
- 'audit_event_filter' => 'Event Filter',
- 'audit_event_filter_no_filter' => 'No Filter',
- 'audit_deleted_item' => 'Deleted Item',
- 'audit_deleted_item_name' => 'Name: :name',
- 'audit_table_user' => 'User',
- 'audit_table_event' => 'Event',
- 'audit_table_item' => 'Related Item',
- 'audit_table_date' => 'Activity Date',
- 'audit_date_from' => 'Date Range From',
- 'audit_date_to' => 'Date Range To',
+ 'audit' => 'Denetim Kaydı',
+ 'audit_desc' => 'Bu denetim günlüğü, sistemde izlenen etkinliklerin bir listesini görüntüler. Bu liste, izin filtrelerinin uygulandığı sistemdeki benzer etkinlik listelerinden farklı olarak filtrelenmez.',
+ 'audit_event_filter' => 'Etkinlik Filtresi',
+ 'audit_event_filter_no_filter' => 'Filtre Yok',
+ 'audit_deleted_item' => 'Silinen Öge',
+ 'audit_deleted_item_name' => 'Isim: :name',
+ 'audit_table_user' => 'Kullanıcı',
+ 'audit_table_event' => 'Etkinlik',
+ 'audit_table_related' => 'İlgili Öğe veya Detay',
+ 'audit_table_date' => 'Aktivite Tarihi',
+ 'audit_date_from' => 'Tarih Aralığından',
+ 'audit_date_to' => 'Tarih Aralığına',
// Role Settings
'roles' => 'Roller',
'user_profile' => 'Kullanıcı Profili',
'users_add_new' => 'Yeni Kullanıcı Ekle',
'users_search' => 'Kullanıcı Ara',
+ 'users_latest_activity' => 'Son Etkinlik',
'users_details' => 'Kullanıcı Detayları',
'users_details_desc' => 'Bu kullanıcı için gösterilecek bir isim ve e-posta adresi belirleyin. Buraya yazacağınız e-posta adresi, uygulamaya giriş yaparken kullanılacaktır.',
'users_details_desc_no_email' => 'Diğer kullanıcılar tarafından tanınabilmesi için bir isim belirleyin.',
'users_delete_named' => ':userName kullanıcısını sil ',
'users_delete_warning' => 'Bu işlem \':userName\' kullanıcısını sistemden tamamen silecektir.',
'users_delete_confirm' => 'Bu kullanıcıyı tamamen silmek istediğinize emin misiniz?',
- 'users_delete_success' => 'Kullanıcılar başarıyla silindi.',
+ 'users_migrate_ownership' => 'Sahipliği Taşıyın',
+ 'users_migrate_ownership_desc' => 'Başka bir kullanıcının şu anda bu kullanıcıya ait olan tüm öğelerin sahibi olmasını istiyorsanız buradan bir kullanıcı seçin.',
+ 'users_none_selected' => 'Hiçbir kullanıcı seçilmedi',
+ 'users_delete_success' => 'Kullanıcı başarıyla kaldırıldı',
'users_edit' => 'Kullanıcıyı Düzenle',
'users_edit_profile' => 'Profili Düzenle',
'users_edit_success' => 'Kullanıcı başarıyla güncellendi',
'en' => 'English',
'ar' => 'العربية',
'bg' => 'Bǎlgarski',
+ 'bs' => 'Bosanski',
+ 'ca' => 'Català',
'cs' => 'Česky',
'da' => 'Danca',
'de' => 'Deutsch (Sie)',
'es_AR' => 'Español Argentina',
'fr' => 'Français',
'he' => 'İbranice',
+ 'hr' => 'Hrvatski',
'hu' => 'Magyar',
+ 'id' => 'Bahasa Indonesia',
'it' => 'Italian',
'ja' => '日本語',
'ko' => '한국어',
+ 'lv' => 'Latviešu Valoda',
'nl' => 'Nederlands',
+ 'nb' => 'Norsk (Bokmål)',
'pl' => 'Polski',
+ 'pt' => 'Português',
'pt_BR' => 'Português do Brasil',
'ru' => 'Русский',
'sk' => 'Slovensky',
'string' => ':attribute, en az :min karakter içermelidir.',
'array' => ':attribute, en az :min öge içermelidir.',
],
- 'no_double_extension' => ':attribute, sadece tek bir dosya tipinde olmalıdır.',
'not_in' => 'Seçili :attribute geçersiz.',
'not_regex' => ':attribute formatı geçersiz.',
'numeric' => ':attribute, bir sayı olmalıdır.',
'required_without' => ':values değerinin bulunmuyor olması, :attribute alanını zorunlu kılar.',
'required_without_all' => ':values değerlerinden hiçbirinin bulunmuyor olması, :attribute alanını zorunlu kılar.',
'same' => ':attribute ve :other eşleşmelidir.',
+ 'safe_url' => 'Sağlanan bağlantı güvenli olmayabilir.',
'size' => [
'numeric' => ':attribute, :size boyutunda olmalıdır.',
'file' => ':attribute, :size kilobayt olmalıdır.',
'bookshelf_delete' => 'видалив книжкову полицю',
'bookshelf_delete_notification' => 'Книжкову полицю успішно видалено',
+ // Favourites
+ 'favourite_add_notification' => '":name" has been added to your favourites',
+ 'favourite_remove_notification' => '":name" has been removed from your favourites',
+
// Other
'commented_on' => 'прокоментував',
+ 'permissions_update' => 'оновив дозволи',
];
'copy' => 'Копіювати',
'reply' => 'Відповісти',
'delete' => 'Видалити',
- 'delete_confirm' => 'Confirm Deletion',
+ 'delete_confirm' => 'Підтвердити видалення',
'search' => 'Шукати',
'search_clear' => 'Очистити пошук',
'reset' => 'Скинути',
'remove' => 'Видалити',
'add' => 'Додати',
'fullscreen' => 'На весь екран',
+ 'favourite' => 'Favourite',
+ 'unfavourite' => 'Unfavourite',
+ 'next' => 'Next',
+ 'previous' => 'Previous',
// Sort Options
'sort_options' => 'Параметри сортування',
'sort_ascending' => 'За зростанням',
'sort_descending' => 'За спаданням',
'sort_name' => 'Ім\'я',
+ 'sort_default' => 'За замовчуванням',
'sort_created_at' => 'Дата створення',
'sort_updated_at' => 'Дата оновлення',
'breadcrumb' => 'Навігація',
// Header
+ 'header_menu_expand' => 'Expand Header Menu',
'profile_menu' => 'Меню профілю',
'view_profile' => 'Переглянути профіль',
'edit_profile' => 'Редагувати профіль',
// Layout tabs
'tab_info' => 'Інфо',
+ 'tab_info_label' => 'Tab: Show Secondary Information',
'tab_content' => 'Вміст',
+ 'tab_content_label' => 'Tab: Show Primary Content',
// Email Content
'email_action_help' => 'Якщо у вас виникають проблеми при натисканні кнопки ":actionText", скопіюйте та вставте URL у свій веб-браузер:',
'email_rights' => 'Всі права захищені',
+
+ // Footer Link Options
+ // Not directly used but available for convenience to users.
+ 'privacy_policy' => 'Політика приватності',
+ 'terms_of_service' => 'Умови використання',
];
'image_load_more' => 'Завантажити ще',
'image_image_name' => 'Назва зображення',
'image_delete_used' => 'Це зображення використовується на наступних сторінках.',
- 'image_delete_confirm_text' => 'Are you sure you want to delete this image?',
+ 'image_delete_confirm_text' => 'Ви дійсно хочете видалити це зображення?',
'image_select_image' => 'Вибрати зображення',
'image_dropzone' => 'Перетягніть зображення, або натисніть тут для завантаження',
'images_deleted' => 'Зображень видалено',
'code_editor' => 'Редагувати код',
'code_language' => 'Мова коду',
'code_content' => 'Вміст коду',
- 'code_session_history' => 'Session History',
+ 'code_session_history' => 'Історія сесії',
'code_save' => 'Зберегти Код',
];
'meta_created_name' => ':user створив :timeLength',
'meta_updated' => 'Оновлено :timeLength',
'meta_updated_name' => ':user оновив :timeLength',
+ 'meta_owned_name' => 'Власник :user',
'entity_select' => 'Вибір об\'єкта',
'images' => 'Зображення',
'my_recent_drafts' => 'Мої останні чернетки',
'my_recently_viewed' => 'Мої недавні перегляди',
+ 'my_most_viewed_favourites' => 'My Most Viewed Favourites',
+ 'my_favourites' => 'My Favourites',
'no_pages_viewed' => 'Ви не переглядали жодної сторінки',
'no_pages_recently_created' => 'Не було створено жодної сторінки',
'no_pages_recently_updated' => 'Немає недавно оновлених сторінок',
'permissions_intro' => 'Після ввімкнення ці дозволи будуть мати вищий пріоритет ніж інші дозволи ролей.',
'permissions_enable' => 'Увімкнути спеціальні дозволи',
'permissions_save' => 'Зберегти дозволи',
+ 'permissions_owner' => 'Власник',
// Search
'search_results' => 'Результати пошуку',
'search_no_pages' => 'Немає сторінок, які відповідають цьому пошуку',
'search_for_term' => 'Шукати :term',
'search_more' => 'Більше результатів',
- 'search_advanced' => 'Advanced Search',
- 'search_terms' => 'Search Terms',
+ 'search_advanced' => 'Розширений пошук',
+ 'search_terms' => 'Пошукові фрази',
'search_content_type' => 'Тип вмісту',
'search_exact_matches' => 'Точна відповідність',
'search_tags' => 'Пошукові теги',
'search_permissions_set' => 'Налаштування дозволів',
'search_created_by_me' => 'Створено мною',
'search_updated_by_me' => 'Оновлено мною',
+ 'search_owned_by_me' => 'Належать мені',
'search_date_options' => 'Параметри дати',
'search_updated_before' => 'Оновлено до',
'search_updated_after' => 'Оновлено після',
'chapters_create' => 'Створити новий розділ',
'chapters_delete' => 'Видалити розділ',
'chapters_delete_named' => 'Видалити розділ :chapterName',
- 'chapters_delete_explain' => 'Ця дія видалить розділ з назвою \':chapterName\'. Всі сторінки будуть вилучені, та додані безпосередньо до батьківської книги.',
+ 'chapters_delete_explain' => 'Це видалить розділ під назвою \':chapterName\'. Усі сторінки, що існують у цьому розділі, також будуть видалені.',
'chapters_delete_confirm' => 'Ви впевнені, що хочете видалити цей розділ?',
'chapters_edit' => 'Редагувати розділ',
'chapters_edit_named' => 'Редагувати розділ :chapterName',
'pages_revisions' => 'Версія сторінки',
'pages_revisions_named' => 'Версії сторінки для :pageName',
'pages_revision_named' => 'Версія сторінки для :pageName',
+ 'pages_revision_restored_from' => 'Відновлено з #:id; :summary',
'pages_revisions_created_by' => 'Створена',
'pages_revisions_date' => 'Дата версії',
'pages_revisions_number' => '#',
'attachments_upload' => 'Завантажити файл',
'attachments_link' => 'Приєднати посилання',
'attachments_set_link' => 'Встановити посилання',
- 'attachments_delete' => 'Are you sure you want to delete this attachment?',
+ 'attachments_delete' => 'Дійсно хочете видалити це вкладення?',
'attachments_dropzone' => 'Перетягніть файли, або натисніть тут щоб прикріпити файл',
'attachments_no_files' => 'Файли не завантажені',
'attachments_explain_link' => 'Ви можете приєднати посилання, якщо не бажаєте завантажувати файл. Це може бути посилання на іншу сторінку або посилання на файл у хмарі.',
'attachments_link_url' => 'Посилання на файл',
'attachments_link_url_hint' => 'URL-адреса сайту або файлу',
'attach' => 'Приєднати',
- 'attachments_insert_link' => 'Add Attachment Link to Page',
+ 'attachments_insert_link' => 'Додати посилання на вкладення',
'attachments_edit_file' => 'Редагувати файл',
'attachments_edit_file_name' => 'Назва файлу',
'attachments_edit_drop_upload' => 'Перетягніть файли, або натисніть тут щоб завантажити та перезаписати',
'revision_restore_confirm' => 'Дійсно відновити цю версію? Вміст поточної сторінки буде замінено.',
'revision_delete_success' => 'Версія видалена',
'revision_cannot_delete_latest' => 'Неможливо видалити останню версію.'
-];
\ No newline at end of file
+];
'404_page_not_found' => 'Сторінку не знайдено',
'sorry_page_not_found' => 'Вибачте, сторінку, яку ви шукали, не знайдено.',
'sorry_page_not_found_permission_warning' => 'Якщо ви очікували що ця сторінки існує – можливо у вас немає дозволу на її перегляд.',
+ 'image_not_found' => 'Image Not Found',
+ 'image_not_found_subtitle' => 'Sorry, The image file you were looking for could not be found.',
+ 'image_not_found_details' => 'If you expected this image to exist it might have been deleted.',
'return_home' => 'Повернутися на головну',
'error_occurred' => 'Виникла помилка',
'app_down' => ':appName зараз недоступний',
'api_no_authorization_found' => 'У запиті не знайдено токен авторизації',
'api_bad_authorization_format' => 'У запиті знайдено токен авторизації, але формат недійсний',
'api_user_token_not_found' => 'Не знайдено відповідного API-токена для наданого токена авторизації',
- 'api_incorrect_token_secret' => 'The secret provided for the given used API token is incorrect',
- 'api_user_no_api_permission' => 'The owner of the used API token does not have permission to make API calls',
+ 'api_incorrect_token_secret' => 'Секрет, наданий для даного використовуваного токена API є неправильним',
+ 'api_user_no_api_permission' => 'Власник використовуваного токена API не має дозволу здійснювати виклики API',
'api_user_token_expired' => 'Термін дії токена авторизації закінчився',
// Settings & Maintenance
'app_customization' => 'Налаштування',
'app_features_security' => 'Особливості та безпека',
'app_name' => 'Назва програми',
- 'app_name_desc' => 'ЦÑ\8f назва вÑ\96добÑ\80ажаÑ\94Ñ\82Ñ\8cÑ\81Ñ\8f Ñ\83 заголовкÑ\83 Ñ\82а Ñ\83 всіх листах.',
+ 'app_name_desc' => 'ЦÑ\8f назва показÑ\83Ñ\94Ñ\82Ñ\8cÑ\81Ñ\8f Ñ\83 заголовкÑ\83 Ñ\82а в Ñ\83сіх листах.',
'app_name_header' => 'Показати назву програми в заголовку',
'app_public_access' => 'Публічнй доступ',
'app_public_access_desc' => 'Увімкнення цієї опції дозволить відвідувачам, які не увійшли в систему, отримати доступ до вмісту у вашому екземплярі BookStack.',
'app_primary_color' => 'Основний колір програми',
'app_primary_color_desc' => 'Колір потрібно вказати у hex-форматі. <br>Залиште порожнім, щоб використати стандартний колір.',
'app_homepage' => 'Домашня сторінка програми',
- 'app_homepage_desc' => 'Ð\92ибеÑ\80Ñ\96Ñ\82Ñ\8c Ñ\81Ñ\82оÑ\80Ñ\96нкÑ\83, Ñ\8fка вÑ\96добÑ\80ажаÑ\82имеÑ\82Ñ\8cÑ\81Ñ\8f на домаÑ\88нÑ\96й Ñ\81Ñ\82оÑ\80Ñ\96нÑ\86Ñ\96 замÑ\96Ñ\81Ñ\82Ñ\8c пеÑ\80еглÑ\8fдÑ\83 за Ñ\83мовÑ\87анням. Права на сторінку не враховуються для вибраних сторінок.',
+ 'app_homepage_desc' => 'Ð\92ибеÑ\80Ñ\96Ñ\82Ñ\8c Ñ\81Ñ\82оÑ\80Ñ\96нкÑ\83, Ñ\8fка показÑ\83ваÑ\82имеÑ\82Ñ\8cÑ\81Ñ\8f на домаÑ\88нÑ\96й Ñ\81Ñ\82оÑ\80Ñ\96нÑ\86Ñ\96 замÑ\96Ñ\81Ñ\82Ñ\8c пеÑ\80еглÑ\8fдÑ\83 за замовÑ\87Ñ\83ванням. Права на сторінку не враховуються для вибраних сторінок.',
'app_homepage_select' => 'Вибрати сторінку',
+ 'app_footer_links' => 'Посилання нижньої частини сайту',
+ 'app_footer_links_desc' => 'Додайте посилання до нижньої частини сайту. Вони будуть відображатися в нижній частині більшості сторінок, включаючи ті, що не потребують входу. Для використання системних перекладів ви можете скористатися мітками "trans::<key>". Наприклад: додавання "trans:common.privacy_policy" покаже перекладений текст "Політика конфіденційності" а "trans:common.terms_of_service" покаже перекладений текст "Умови надання послуг".',
+ 'app_footer_links_label' => 'Назва посилання',
+ 'app_footer_links_url' => 'URL посилання',
+ 'app_footer_links_add' => 'Додати посилання до нижньої частини сайту',
'app_disable_comments' => 'Вимкнути коментарі',
'app_disable_comments_toggle' => 'Вимкнути коментарі',
'app_disable_comments_desc' => 'Вимкнути коментарі на всіх сторінках програми. Існуючі коментарі не відображаються.',
// Registration Settings
'reg_settings' => 'Реєстрація',
- 'reg_enable' => 'Дозволити реєстрацію',
+ 'reg_enable' => 'Дозвіл на реєстрацію',
'reg_enable_toggle' => 'Дозволити реєстрацію',
'reg_enable_desc' => 'При включенні реєстрації відвідувач зможе зареєструватися як користувач програми. Після реєстрації їм надається єдина роль користувача за замовчуванням.',
'reg_default_role' => 'Роль користувача за умовчанням після реєстрації',
'reg_email_confirmation' => 'Підтвердження електронною поштою',
'reg_email_confirmation_toggle' => 'Необхідне підтвердження електронною поштою',
'reg_confirm_email_desc' => 'Якщо використовується обмеження домену, то підтвердження електронною поштою буде потрібно, а нижче значення буде проігноровано.',
- 'reg_confirm_restrict_domain' => 'Ð\9eбмежиÑ\82и по домену',
+ 'reg_confirm_restrict_domain' => 'Ð\9eбмеженнÑ\8f по домену',
'reg_confirm_restrict_domain_desc' => 'Введіть список розділених комами доменів електронної пошти, до яких ви хочете обмежити реєстрацію. Користувачам буде надіслано електронне повідомлення для підтвердження своєї адреси, перш ніж дозволяти взаємодіяти з додатком. <br> Зауважте, що користувачі зможуть змінювати свої електронні адреси після успішної реєстрації.',
'reg_confirm_restrict_domain_placeholder' => 'Не встановлено обмежень',
'maint' => 'Обслуговування',
'maint_image_cleanup' => 'Очищення зображень',
'maint_image_cleanup_desc' => "Сканує вміст сторінки та версій, щоб перевірити, які зображення та малюнки в даний час використовуються, а також які зображення зайві. Переконайтеся, що ви створили повну резервну копію бази даних та зображення, перш ніж запускати це.",
- 'maint_image_cleanup_ignore_revisions' => 'Ігнорувати зображення в версіях',
+ 'maint_delete_images_only_in_revisions' => 'Також видалити зображення, що існують лише в старих версіях сторінки',
'maint_image_cleanup_run' => 'Запустити очищення',
'maint_image_cleanup_warning' => ':count потенційно невикористаних зображень було знайдено. Ви впевнені, що хочете видалити ці зображення?',
'maint_image_cleanup_success' => ':count потенційно невикористані зображення знайдено і видалено!',
'maint_send_test_email_mail_subject' => 'Перевірка електронної пошти',
'maint_send_test_email_mail_greeting' => 'Доставляння електронної пошти працює!',
'maint_send_test_email_mail_text' => 'Вітаємо! Оскільки ви отримали цього листа, поштова скринька налаштована правильно.',
+ 'maint_recycle_bin_desc' => 'Видалені полиці, книги, розділи та сторінки попадають кошик, щоб їх можна було відновити або видалити остаточно. Старіші елементи з кошика можна автоматично видаляти через деякий час, залежно від налаштувань системи.',
+ 'maint_recycle_bin_open' => 'Відкрити кошик',
+
+ // Recycle Bin
+ 'recycle_bin' => 'Кошик',
+ 'recycle_bin_desc' => 'Тут ви можете відновити видалені елементи, або назавжди видалити їх із системи. Цей список нефільтрований, на відміну від подібних списків активності в системі, де застосовуються фільтри дозволів.',
+ 'recycle_bin_deleted_item' => 'Виадлений елемент',
+ 'recycle_bin_deleted_by' => 'Ким видалено',
+ 'recycle_bin_deleted_at' => 'Час видалення',
+ 'recycle_bin_permanently_delete' => 'Видалити остаточно',
+ 'recycle_bin_restore' => 'Відновити',
+ 'recycle_bin_contents_empty' => 'Зараз кошик порожній',
+ 'recycle_bin_empty' => 'Очистити кошик',
+ 'recycle_bin_empty_confirm' => 'Це назавжди знищить усі елементи в кошику, включаючи вміст кожного елементу. Ви впевнені, що хочете очистити кошик?',
+ 'recycle_bin_destroy_confirm' => 'Ця дія назавжди видалить цей об\'єкт із системи, а також усі дочірні об\'єкти вказані нижче, і ви не зможете відновити його. Ви впевнені, що хочете назавжди видалити цей об\'єкт?',
+ 'recycle_bin_destroy_list' => 'Елементи для знищення',
+ 'recycle_bin_restore_list' => 'Елементи для відновлення',
+ 'recycle_bin_restore_confirm' => 'Ця дія відновить видалений елемент у початкове місце, включаючи всі дочірні елементи. Якщо вихідне розташування відтоді було видалено, і знаходиться у кошику, батьківський елемент також потрібно буде відновити.',
+ 'recycle_bin_restore_deleted_parent' => 'Батьківський елемент цього об\'єкта також був видалений. Вони залишатимуться видаленими, доки батьківський елемент також не буде відновлений.',
+ 'recycle_bin_destroy_notification' => 'Видалено :count елементів із кошика.',
+ 'recycle_bin_restore_notification' => 'Відновлено :count елементів із кошика.',
// Audit Log
- 'audit' => 'Audit Log',
- 'audit_desc' => 'This audit log displays a list of activities tracked in the system. This list is unfiltered unlike similar activity lists in the system where permission filters are applied.',
- 'audit_event_filter' => 'Event Filter',
- 'audit_event_filter_no_filter' => 'No Filter',
- 'audit_deleted_item' => 'Deleted Item',
- 'audit_deleted_item_name' => 'Name: :name',
- 'audit_table_user' => 'User',
- 'audit_table_event' => 'Event',
- 'audit_table_item' => 'Related Item',
- 'audit_table_date' => 'Activity Date',
- 'audit_date_from' => 'Date Range From',
- 'audit_date_to' => 'Date Range To',
+ 'audit' => 'Журнал аудиту',
+ 'audit_desc' => 'Цей журнал аудиту показує список відстежуваних у системі дій. Цей список нефільтрований, на відміну від подібних списків активності в системі, де застосовуються фільтри дозволів.',
+ 'audit_event_filter' => 'Фільтр подій',
+ 'audit_event_filter_no_filter' => 'Без фільтра',
+ 'audit_deleted_item' => 'Видалений елемент',
+ 'audit_deleted_item_name' => 'Назва: :name',
+ 'audit_table_user' => 'Користувач',
+ 'audit_table_event' => 'Подія',
+ 'audit_table_related' => 'Пов’язаний елемент',
+ 'audit_table_date' => 'Дата активності',
+ 'audit_date_from' => 'Діапазон дат від',
+ 'audit_date_to' => 'Діапазон дат до',
// Role Settings
'roles' => 'Ролі',
'role_manage_entity_permissions' => 'Керування всіма правами на книги, розділи та сторінки',
'role_manage_own_entity_permissions' => 'Керування дозволами на власну книгу, розділ та сторінки',
'role_manage_page_templates' => 'Управління шаблонами сторінок',
- 'role_access_api' => 'Access system API',
+ 'role_access_api' => 'Доступ до системного API',
'role_manage_settings' => 'Керування налаштуваннями програми',
'role_asset' => 'Дозволи',
- 'roles_system_warning' => 'Be aware that access to any of the above three permissions can allow a user to alter their own privileges or the privileges of others in the system. Only assign roles with these permissions to trusted users.',
+ 'roles_system_warning' => 'Майте на увазі, що доступ до будь-якого з вищезазначених трьох дозволів може дозволити користувачеві змінювати власні привілеї або привілеї інших в системі. Ролі з цими дозволами призначайте лише довіреним користувачам.',
'role_asset_desc' => 'Ці дозволи контролюють стандартні доступи всередині системи. Права на книги, розділи та сторінки перевизначать ці дозволи.',
'role_asset_admins' => 'Адміністратори автоматично отримують доступ до всього вмісту, але ці параметри можуть відображати або приховувати параметри інтерфейсу користувача.',
'role_all' => 'Все',
'user_profile' => 'Профіль користувача',
'users_add_new' => 'Додати нового користувача',
'users_search' => 'Пошук користувачів',
+ 'users_latest_activity' => 'Остання активність',
'users_details' => 'Відомості про користувача',
'users_details_desc' => 'Встановіть ім\'я та електронну адресу для цього користувача. Адреса електронної пошти буде використана для входу до програми.',
'users_details_desc_no_email' => 'Встановіть ім\'я для цього користувача, щоб інші могли його розпізнати.',
'users_send_invite_text' => 'Ви можете надіслати цьому користувачеві лист із запрошенням, що дозволить йому встановити пароль власноруч, або ви можете встановити йому пароль самостійно.',
'users_send_invite_option' => 'Надіслати листа із запрошенням користувачу',
'users_external_auth_id' => 'Зовнішній ID автентифікації',
- 'users_external_auth_id_desc' => 'This is the ID used to match this user when communicating with your external authentication system.',
+ 'users_external_auth_id_desc' => 'Цей ідентифікатор використовується для ідентифікації цього користувача під час взаємодії із зовнішньою системою автентифікації.',
'users_password_warning' => 'Тільки якщо ви хочете змінити свій пароль, заповніть поля нижче:',
'users_system_public' => 'Цей користувач представляє будь-яких гостьових користувачів, які відвідують ваш екземпляр. Його не можна використовувати для входу, але він призначається автоматично.',
'users_delete' => 'Видалити користувача',
'users_delete_named' => 'Видалити користувача :userName',
'users_delete_warning' => 'Це повне видалення цього користувача з ім\'ям \':userName\' з системи.',
'users_delete_confirm' => 'Ви впевнені, що хочете видалити цього користувача?',
- 'users_delete_success' => 'Користувачі успішно видалені',
+ 'users_migrate_ownership' => 'Право власності при міграції',
+ 'users_migrate_ownership_desc' => 'Виберіть тут користувача, якщо ви хочете, щоб інший користувач став власником усіх елементів, які зараз належать цьому користувачеві.',
+ 'users_none_selected' => 'Не вибрано жодного користувача',
+ 'users_delete_success' => 'Користувача успішно видалено',
'users_edit' => 'Редагувати користувача',
'users_edit_profile' => 'Редагувати профіль',
'users_edit_success' => 'Користувача успішно оновлено',
'users_social_disconnect' => 'Від\'єднати обліковий запис',
'users_social_connected' => 'Обліковий запис :socialAccount успішно додано до вашого профілю.',
'users_social_disconnected' => 'Обліковий запис :socialAccount був успішно відключений від вашого профілю.',
- 'users_api_tokens' => 'API Tokens',
- 'users_api_tokens_none' => 'No API tokens have been created for this user',
- 'users_api_tokens_create' => 'Create Token',
- 'users_api_tokens_expires' => 'Expires',
- 'users_api_tokens_docs' => 'API Documentation',
+ 'users_api_tokens' => 'API токени',
+ 'users_api_tokens_none' => 'Жодного токена API не створено для цього користувача',
+ 'users_api_tokens_create' => 'Створити токен',
+ 'users_api_tokens_expires' => 'Закінчується',
+ 'users_api_tokens_docs' => 'Документація API',
// API Tokens
- 'user_api_token_create' => 'Create API Token',
- 'user_api_token_name' => 'Name',
- 'user_api_token_name_desc' => 'Give your token a readable name as a future reminder of its intended purpose.',
- 'user_api_token_expiry' => 'Expiry Date',
- 'user_api_token_expiry_desc' => 'Set a date at which this token expires. After this date, requests made using this token will no longer work. Leaving this field blank will set an expiry 100 years into the future.',
- 'user_api_token_create_secret_message' => 'Immediately after creating this token a "Token ID" & "Token Secret" will be generated and displayed. The secret will only be shown a single time so be sure to copy the value to somewhere safe and secure before proceeding.',
- 'user_api_token_create_success' => 'API token successfully created',
- 'user_api_token_update_success' => 'API token successfully updated',
- 'user_api_token' => 'API Token',
- 'user_api_token_id' => 'Token ID',
- 'user_api_token_id_desc' => 'This is a non-editable system generated identifier for this token which will need to be provided in API requests.',
- 'user_api_token_secret' => 'Token Secret',
- 'user_api_token_secret_desc' => 'This is a system generated secret for this token which will need to be provided in API requests. This will only be displayed this one time so copy this value to somewhere safe and secure.',
- 'user_api_token_created' => 'Token created :timeAgo',
- 'user_api_token_updated' => 'Token updated :timeAgo',
- 'user_api_token_delete' => 'Delete Token',
- 'user_api_token_delete_warning' => 'This will fully delete this API token with the name \':tokenName\' from the system.',
- 'user_api_token_delete_confirm' => 'Are you sure you want to delete this API token?',
- 'user_api_token_delete_success' => 'API token successfully deleted',
+ 'user_api_token_create' => 'Створити токен API',
+ 'user_api_token_name' => 'Назва',
+ 'user_api_token_name_desc' => 'Дайте своєму токену читабельну назву як майбутнє нагадування про його пряме призначення.',
+ 'user_api_token_expiry' => 'Дата закінчення',
+ 'user_api_token_expiry_desc' => 'Встановіть дату закінчення терміну дії цього токена. Після цієї дати запити, зроблені за допомогою цього токена, більше не працюватимуть. Якщо залишити це поле порожнім, термін дії токена закінчиться через 100 років.',
+ 'user_api_token_create_secret_message' => 'Відразу після створення цього токена буде створено та показано «Ідентифікатор токена» та «Ключ токена». Ключ буде показано лише один раз, тому перед тим, як продовжити, не забудьте скопіювати значення ключа в надійне та безпечне місце.',
+ 'user_api_token_create_success' => 'Токен API успішно створено',
+ 'user_api_token_update_success' => 'Токен API успішно оновлено',
+ 'user_api_token' => 'Токен API',
+ 'user_api_token_id' => 'Ідентифікатор (ID) токена',
+ 'user_api_token_id_desc' => 'Системний ідентифікатор цього токена, який потрібно буде вказати в запитах API. Його редагування неможливе.',
+ 'user_api_token_secret' => 'Ключ токена',
+ 'user_api_token_secret_desc' => 'Це ключ, згенерований системою для цього токена, його потрібно буде надати в запитах API. Він буде видимий лише цього разу, тому скопіюйте це значення в безпечне та надійне місце.',
+ 'user_api_token_created' => 'Токен створено :timeAgo',
+ 'user_api_token_updated' => 'Токен оновлено :timeAgo',
+ 'user_api_token_delete' => 'Видалити токен',
+ 'user_api_token_delete_warning' => 'Ця дія повністю видалить цей токен API із назвою \':tokenName\' з системи.',
+ 'user_api_token_delete_confirm' => 'Дійсно хочете видалити цей токен API?',
+ 'user_api_token_delete_success' => 'Токен API успішно видалено',
//! If editing translations files directly please ignore this in all
//! languages apart from en. Content will be auto-copied from en.
'en' => 'English',
'ar' => 'العربية',
'bg' => 'Bǎlgarski',
+ 'bs' => 'Bosanski',
+ 'ca' => 'Català',
'cs' => 'Česky',
'da' => 'Dansk',
'de' => 'Deutsch (Sie)',
'es_AR' => 'Español Argentina',
'fr' => 'Français',
'he' => 'עברית',
+ 'hr' => 'Hrvatski',
'hu' => 'Magyar',
+ 'id' => 'Bahasa Indonesia',
'it' => 'Italian',
'ja' => '日本語',
'ko' => '한국어',
+ 'lv' => 'Latviešu Valoda',
'nl' => 'Nederlands',
+ 'nb' => 'Norsk (Bokmål)',
'pl' => 'Polski',
+ 'pt' => 'Português',
'pt_BR' => 'Português do Brasil',
'ru' => 'Русский',
'sk' => 'Slovensky',
'string' => 'Текст в полі :attribute повинен містити не менше :min символів.',
'array' => 'Поле :attribute повинне містити не менше :min елементів.',
],
- 'no_double_extension' => 'Поле :attribute повинне містити тільки одне розширення файлу.',
'not_in' => 'Вибране для :attribute значення не коректне.',
'not_regex' => 'Формат поля :attribute не вірний.',
'numeric' => 'Поле :attribute повинно містити число.',
'required_without' => 'Поле :attribute є обов\'язковим для заповнення, коли :values не вказано.',
'required_without_all' => 'Поле :attribute є обов\'язковим для заповнення, коли :values не вказано.',
'same' => 'Поля :attribute та :other мають збігатися.',
+ 'safe_url' => 'Надане посилання може бути небезпечним.',
'size' => [
'numeric' => 'Поле :attribute має бути довжини :size.',
'file' => 'Файл в полі :attribute має бути розміром :size кілобайт.',
'bookshelf_delete' => 'đã xóa giá sách',
'bookshelf_delete_notification' => 'Giá sách đã được xóa thành công',
+ // Favourites
+ 'favourite_add_notification' => '":name" has been added to your favourites',
+ 'favourite_remove_notification' => '":name" has been removed from your favourites',
+
// Other
'commented_on' => 'đã bình luận về',
+ 'permissions_update' => 'các quyền đã được cập nhật',
];
'reset_password' => 'Đặt lại mật khẩu',
'reset_password_send_instructions' => 'Nhập email vào ô dưới đây và bạn sẽ nhận được một email với liên kết để đặt lại mật khẩu.',
'reset_password_send_button' => 'Gửi liên kết đặt lại mật khẩu',
- 'reset_password_sent' => 'A password reset link will be sent to :email if that email address is found in the system.',
+ 'reset_password_sent' => 'Một đường dẫn đặt lại mật khẩu sẽ được gửi tới :email nếu địa chỉ email đó tồn tại trong hệ thống.',
'reset_password_success' => 'Mật khẩu đã được đặt lại thành công.',
'email_reset_subject' => 'Đặt lại mật khẩu của :appName',
'email_reset_text' => 'Bạn nhận được email này bởi vì chúng tôi nhận được một yêu cầu đặt lại mật khẩu cho tài khoản của bạn.',
'copy' => 'Sao chép',
'reply' => 'Trả lời',
'delete' => 'Xóa',
- 'delete_confirm' => 'Confirm Deletion',
+ 'delete_confirm' => 'Xác nhận Xóa',
'search' => 'Tìm kiếm',
'search_clear' => 'Xoá tìm kiếm',
'reset' => 'Thiết lập lại',
'remove' => 'Xóa bỏ',
'add' => 'Thêm',
'fullscreen' => 'Toàn màn hình',
+ 'favourite' => 'Favourite',
+ 'unfavourite' => 'Unfavourite',
+ 'next' => 'Next',
+ 'previous' => 'Previous',
// Sort Options
'sort_options' => 'Tùy Chọn Sắp Xếp',
'sort_ascending' => 'Sắp xếp tăng dần',
'sort_descending' => 'Sắp xếp giảm dần',
'sort_name' => 'Tên',
+ 'sort_default' => 'Default',
'sort_created_at' => 'Ngày Tạo',
'sort_updated_at' => 'Ngày cập nhật',
'breadcrumb' => 'Đường dẫn liên kết',
// Header
+ 'header_menu_expand' => 'Expand Header Menu',
'profile_menu' => 'Menu Hồ sơ',
'view_profile' => 'Xem Hồ sơ',
'edit_profile' => 'Sửa Hồ sơ',
- 'dark_mode' => 'Dark Mode',
- 'light_mode' => 'Light Mode',
+ 'dark_mode' => 'Chế độ Tối',
+ 'light_mode' => 'Chế độ Sáng',
// Layout tabs
'tab_info' => 'Thông tin',
+ 'tab_info_label' => 'Tab: Show Secondary Information',
'tab_content' => 'Nội dung',
+ 'tab_content_label' => 'Tab: Show Primary Content',
// Email Content
'email_action_help' => 'Nếu bạn đang có vấn đề trong việc bấm nút ":actionText", sao chép và dán địa chỉ URL dưới đây vào trình duyệt web:',
'email_rights' => 'Bản quyền đã được bảo hộ',
+
+ // Footer Link Options
+ // Not directly used but available for convenience to users.
+ 'privacy_policy' => 'Privacy Policy',
+ 'terms_of_service' => 'Terms of Service',
];
'image_load_more' => 'Hiện thêm',
'image_image_name' => 'Tên Ảnh',
'image_delete_used' => 'Ảnh này được sử dụng trong các trang dưới đây.',
- 'image_delete_confirm_text' => 'Are you sure you want to delete this image?',
+ 'image_delete_confirm_text' => 'Bạn có chắc chắn muốn xóa hình ảnh này?',
'image_select_image' => 'Chọn Ảnh',
'image_dropzone' => 'Thả các ảnh hoặc bấm vào đây để tải lên',
'images_deleted' => 'Các ảnh đã được xóa',
'code_editor' => 'Sửa Mã',
'code_language' => 'Ngôn ngữ Mã',
'code_content' => 'Nội dung Mã',
- 'code_session_history' => 'Session History',
+ 'code_session_history' => 'Lịch sử Phiên',
'code_save' => 'Lưu Mã',
];
'meta_created_name' => 'Được tạo :timeLength bởi :user',
'meta_updated' => 'Được cập nhật :timeLength',
'meta_updated_name' => 'Được cập nhật :timeLength bởi :user',
+ 'meta_owned_name' => 'Owned by :user',
'entity_select' => 'Chọn thực thể',
'images' => 'Ảnh',
'my_recent_drafts' => 'Bản nháp gần đây của tôi',
'my_recently_viewed' => 'Xem gần đây',
+ 'my_most_viewed_favourites' => 'My Most Viewed Favourites',
+ 'my_favourites' => 'My Favourites',
'no_pages_viewed' => 'Bạn chưa xem bất cứ trang nào',
'no_pages_recently_created' => 'Không có trang nào được tạo gần đây',
'no_pages_recently_updated' => 'Không có trang nào được cập nhật gần đây',
'permissions_intro' => 'Một khi được bật, các quyền này sẽ được ưu tiên trên hết tất cả các quyền hạn khác.',
'permissions_enable' => 'Bật quyền hạn tùy chỉnh',
'permissions_save' => 'Lưu quyền hạn',
+ 'permissions_owner' => 'Owner',
// Search
'search_results' => 'Kết quả Tìm kiếm',
'search_no_pages' => 'Không trang nào khớp với tìm kiếm này',
'search_for_term' => 'Tìm kiếm cho :term',
'search_more' => 'Thêm kết quả',
- 'search_advanced' => 'Advanced Search',
- 'search_terms' => 'Search Terms',
+ 'search_advanced' => 'Tìm kiếm Nâng cao',
+ 'search_terms' => 'Cụm từ Tìm kiếm',
'search_content_type' => 'Kiểu Nội dung',
'search_exact_matches' => 'Hoàn toàn trùng khớp',
'search_tags' => 'Tìm kiếm Tag',
'search_permissions_set' => 'Phân quyền',
'search_created_by_me' => 'Được tạo bởi tôi',
'search_updated_by_me' => 'Được cập nhật bởi tôi',
+ 'search_owned_by_me' => 'Owned by me',
'search_date_options' => 'Tùy chọn ngày',
'search_updated_before' => 'Đã được cập nhật trước đó',
'search_updated_after' => 'Đã được cập nhật sau',
'chapters_create' => 'Tạo Chương mới',
'chapters_delete' => 'Xóa Chương',
'chapters_delete_named' => 'Xóa Chương :chapterName',
- 'chapters_delete_explain' => 'Chức năng này sẽ xóa chương với tên \':chapterName\'. Tất cả các trang sẽ bị loại bỏ và thêm trực tiếp vào sách chứa nó.',
+ 'chapters_delete_explain' => 'This will delete the chapter with the name \':chapterName\'. All pages that exist within this chapter will also be deleted.',
'chapters_delete_confirm' => 'Bạn có chắc chắn muốn xóa chương này?',
'chapters_edit' => 'Sửa Chương',
'chapters_edit_named' => 'Sửa chương :chapterName',
'pages_revisions' => 'Phiên bản Trang',
'pages_revisions_named' => 'Phiên bản Trang cho :pageName',
'pages_revision_named' => 'Phiên bản Trang cho :pageName',
+ 'pages_revision_restored_from' => 'Restored from #:id; :summary',
'pages_revisions_created_by' => 'Tạo bởi',
'pages_revisions_date' => 'Ngày của Phiên bản',
'pages_revisions_number' => '#',
'attachments_upload' => 'Tải lên Tập tin',
'attachments_link' => 'Đính kèm Liên kết',
'attachments_set_link' => 'Đặt Liên kết',
- 'attachments_delete' => 'Are you sure you want to delete this attachment?',
+ 'attachments_delete' => 'Bạn có chắc chắn muốn xóa tập tin đính kèm này?',
'attachments_dropzone' => 'Thả các tập tin hoặc bấm vào đây để đính kèm một tập tin',
'attachments_no_files' => 'Không có tập tin nào được tải lên',
'attachments_explain_link' => 'Bạn có thể đính kèm một liên kết nếu bạn lựa chọn không tải lên tập tin. Liên kết này có thể trỏ đến một trang khác hoặc một tập tin ở trên mạng (đám mây).',
'attachments_link_url' => 'Liên kết đến tập tin',
'attachments_link_url_hint' => 'URL của trang hoặc tập tin',
'attach' => 'Đính kèm',
- 'attachments_insert_link' => 'Add Attachment Link to Page',
+ 'attachments_insert_link' => 'Thêm Đường dẫn Tập tin đính kèm vào Trang',
'attachments_edit_file' => 'Sửa tập tin',
'attachments_edit_file_name' => 'Tên tệp tin',
'attachments_edit_drop_upload' => 'Thả tập tin hoặc bấm vào đây để tải lên và ghi đè',
'revision_restore_confirm' => 'Bạn có chắc bạn muốn khôi phục phiên bản này? Nội dung trang hiện tại sẽ được thay thế.',
'revision_delete_success' => 'Phiên bản đã được xóa',
'revision_cannot_delete_latest' => 'Không thể xóa phiên bản mới nhất.'
-];
\ No newline at end of file
+];
// Error pages
'404_page_not_found' => 'Không Tìm Thấy Trang',
'sorry_page_not_found' => 'Xin lỗi, Không tìm thấy trang bạn đang tìm kiếm.',
- 'sorry_page_not_found_permission_warning' => 'If you expected this page to exist, you might not have permission to view it.',
+ 'sorry_page_not_found_permission_warning' => 'Nếu trang bạn tìm kiếm tồn tại, có thể bạn đang không có quyền truy cập.',
+ 'image_not_found' => 'Image Not Found',
+ 'image_not_found_subtitle' => 'Sorry, The image file you were looking for could not be found.',
+ 'image_not_found_details' => 'If you expected this image to exist it might have been deleted.',
'return_home' => 'Quay lại trang chủ',
'error_occurred' => 'Đã xảy ra lỗi',
'app_down' => ':appName hiện đang ngoại tuyến',
'password' => 'Mật khẩu phải có tối thiểu 8 ký tự và và phải trùng với mật khẩu xác nhận.',
'user' => "Chúng tôi không tìm thấy người dùng với địa chỉ email đó.",
- 'token' => 'The password reset token is invalid for this email address.',
+ 'token' => 'Mã token đặt lại mật khẩu cho địa chỉ email này không hợp lệ.',
'sent' => 'Chúng tôi đã gửi email chứa liên kết đặt lại mật khẩu cho bạn!',
'reset' => 'Mật khẩu của bạn đã được đặt lại!',
'app_homepage' => 'Trang chủ Ứng dụng',
'app_homepage_desc' => 'Chọn hiển thị để hiện tại trang chủ thay cho hiển thị mặc định. Quyền cho trang được bỏ qua cho các trang được chọn.',
'app_homepage_select' => 'Chọn một trang',
+ 'app_footer_links' => 'Footer Links',
+ 'app_footer_links_desc' => 'Add links to show within the site footer. These will be displayed at the bottom of most pages, including those that do not require login. You can use a label of "trans::<key>" to use system-defined translations. For example: Using "trans::common.privacy_policy" will provide the translated text "Privacy Policy" and "trans::common.terms_of_service" will provide the translated text "Terms of Service".',
+ 'app_footer_links_label' => 'Link Label',
+ 'app_footer_links_url' => 'Link URL',
+ 'app_footer_links_add' => 'Add Footer Link',
'app_disable_comments' => 'Tắt bình luận',
'app_disable_comments_toggle' => 'Tắt bình luận',
'app_disable_comments_desc' => 'Tắt các bình luận trên tất cả các trang của ứng dụng. <br> Các bình luận đã tồn tại sẽ không được hiển thị.',
'maint' => 'Bảo trì',
'maint_image_cleanup' => 'Dọn dẹp ảnh',
'maint_image_cleanup_desc' => "Quét nội dung trang và phiên bản để kiểm tra xem các ảnh và hình vẽ nào đang được sử dụng và ảnh nào dư thừa. Đảm bảo rằng bạn đã tạo bản sao lưu toàn dữ liệu và ảnh trước khi chạy chức năng này.",
- 'maint_image_cleanup_ignore_revisions' => 'Bỏ qua ảnh trong phiên bản chỉnh sửa',
+ 'maint_delete_images_only_in_revisions' => 'Also delete images that only exist in old page revisions',
'maint_image_cleanup_run' => 'Chạy Dọn dẹp',
'maint_image_cleanup_warning' => 'Đã tìm thấy :count ảnh có thể không được sử dụng. Bạn muốn chắc rằng muốn xóa các ảnh này?',
'maint_image_cleanup_success' => ':count ảnh có thể không được sử dụng đã được tìm thấy và xóa!',
'maint_send_test_email_mail_subject' => 'Thử Email',
'maint_send_test_email_mail_greeting' => 'Chức năng gửi email có vẻ đã hoạt động!',
'maint_send_test_email_mail_text' => 'Chúc mừng! Khi bạn nhận được email thông báo này, cài đặt email của bạn có vẻ đã được cấu hình đúng.',
+ 'maint_recycle_bin_desc' => 'Deleted shelves, books, chapters & pages are sent to the recycle bin so they can be restored or permanently deleted. Older items in the recycle bin may be automatically removed after a while depending on system configuration.',
+ 'maint_recycle_bin_open' => 'Mở Thùng Rác',
+
+ // Recycle Bin
+ 'recycle_bin' => 'Thùng Rác',
+ 'recycle_bin_desc' => 'Here you can restore items that have been deleted or choose to permanently remove them from the system. This list is unfiltered unlike similar activity lists in the system where permission filters are applied.',
+ 'recycle_bin_deleted_item' => 'Mục Đã Xóa',
+ 'recycle_bin_deleted_by' => 'Xóa Bởi',
+ 'recycle_bin_deleted_at' => 'Thời điểm Xóa',
+ 'recycle_bin_permanently_delete' => 'Xóa Vĩnh viễn',
+ 'recycle_bin_restore' => 'Khôi phục',
+ 'recycle_bin_contents_empty' => 'Thùng rác hiện đang trống',
+ 'recycle_bin_empty' => 'Dọn dẹp Thùng Rác',
+ 'recycle_bin_empty_confirm' => 'This will permanently destroy all items in the recycle bin including content contained within each item. Are you sure you want to empty the recycle bin?',
+ 'recycle_bin_destroy_confirm' => 'This action will permanently delete this item, along with any child elements listed below, from the system and you will not be able to restore this content. Are you sure you want to permanently delete this item?',
+ 'recycle_bin_destroy_list' => 'Items to be Destroyed',
+ 'recycle_bin_restore_list' => 'Items to be Restored',
+ 'recycle_bin_restore_confirm' => 'This action will restore the deleted item, including any child elements, to their original location. If the original location has since been deleted, and is now in the recycle bin, the parent item will also need to be restored.',
+ 'recycle_bin_restore_deleted_parent' => 'The parent of this item has also been deleted. These will remain deleted until that parent is also restored.',
+ 'recycle_bin_destroy_notification' => 'Deleted :count total items from the recycle bin.',
+ 'recycle_bin_restore_notification' => 'Restored :count total items from the recycle bin.',
// Audit Log
'audit' => 'Audit Log',
'audit_desc' => 'This audit log displays a list of activities tracked in the system. This list is unfiltered unlike similar activity lists in the system where permission filters are applied.',
'audit_event_filter' => 'Event Filter',
- 'audit_event_filter_no_filter' => 'No Filter',
- 'audit_deleted_item' => 'Deleted Item',
- 'audit_deleted_item_name' => 'Name: :name',
- 'audit_table_user' => 'User',
- 'audit_table_event' => 'Event',
- 'audit_table_item' => 'Related Item',
- 'audit_table_date' => 'Activity Date',
- 'audit_date_from' => 'Date Range From',
- 'audit_date_to' => 'Date Range To',
+ 'audit_event_filter_no_filter' => 'Không Lọc',
+ 'audit_deleted_item' => 'Mục Đã Xóa',
+ 'audit_deleted_item_name' => 'Tên: :name',
+ 'audit_table_user' => 'Người dùng',
+ 'audit_table_event' => 'Sự kiện',
+ 'audit_table_related' => 'Related Item or Detail',
+ 'audit_table_date' => 'Ngày hoạt động',
+ 'audit_date_from' => 'Ngày từ khoảng',
+ 'audit_date_to' => 'Ngày đến khoảng',
// Role Settings
'roles' => 'Quyền',
'user_profile' => 'Hồ sơ người dùng',
'users_add_new' => 'Thêm người dùng mới',
'users_search' => 'Tìm kiếm người dùng',
+ 'users_latest_activity' => 'Hoạt động mới nhất',
'users_details' => 'Chi tiết người dùng',
'users_details_desc' => 'Hiển thị tên và địa chỉ email cho người dùng này. Địa chỉ email sẽ được sử dụng để đăng nhập vào ứng dụng.',
'users_details_desc_no_email' => 'Đặt tên cho người dùng này để giúp người dùng khác nhận ra họ.',
'users_delete_named' => 'Xóa người dùng :userName',
'users_delete_warning' => 'Chức năng này sẽ hoàn toàn xóa người dùng với tên \':userName\' từ hệ thống.',
'users_delete_confirm' => 'Bạn có chắc muốn xóa người dùng này không?',
+ 'users_migrate_ownership' => 'Migrate Ownership',
+ 'users_migrate_ownership_desc' => 'Select a user here if you want another user to become the owner of all items currently owned by this user.',
+ 'users_none_selected' => 'Chưa chọn người dùng',
'users_delete_success' => 'Người dùng đã được xóa thành công',
'users_edit' => 'Sửa người dùng',
'users_edit_profile' => 'Sửa Hồ sơ',
'en' => 'English',
'ar' => 'العربية',
'bg' => 'Bǎlgarski',
+ 'bs' => 'Bosanski',
+ 'ca' => 'Català',
'cs' => 'Česky',
'da' => 'Đan Mạch',
'de' => 'Deutsch (Sie)',
'es_AR' => 'Español Argentina',
'fr' => 'Français',
'he' => 'עברית',
+ 'hr' => 'Hrvatski',
'hu' => 'Magyar',
+ 'id' => 'Bahasa Indonesia',
'it' => 'Italian',
'ja' => '日本語',
'ko' => '한국어',
+ 'lv' => 'Latviešu Valoda',
'nl' => 'Nederlands',
+ 'nb' => 'Norsk (Bokmål)',
'pl' => 'Polski',
+ 'pt' => 'Português',
'pt_BR' => 'Português do Brasil',
'ru' => 'Русский',
'sk' => 'Slovensky',
'string' => ':attribute phải có tối thiểu :min ký tự.',
'array' => ':attribute phải có tối thiểu :min mục.',
],
- 'no_double_extension' => ':attribute chỉ được có một định dạng mở rộng duy nhất.',
'not_in' => ':attribute đã chọn không hợp lệ.',
'not_regex' => 'Định dạng của :attribute không hợp lệ.',
'numeric' => ':attribute phải là một số.',
'required_without' => 'Trường :attribute là bắt buộc khi :values không tồn tại.',
'required_without_all' => 'Trường :attribute là bắt buộc khi không có bất cứ :values nào tồn tại.',
'same' => ':attribute và :other phải trùng khớp với nhau.',
+ 'safe_url' => 'Đường dẫn cung cấp có thể không an toàn.',
'size' => [
'numeric' => ':attribute phải có cỡ :size.',
'file' => ':attribute phải có cỡ :size KB.',
'bookshelf_delete' => '删除了书架',
'bookshelf_delete_notification' => '书架已成功删除',
+ // Favourites
+ 'favourite_add_notification' => '":name" 已添加到你的收藏',
+ 'favourite_remove_notification' => '":name" 已从你的收藏中删除',
+
// Other
'commented_on' => '评论',
+ 'permissions_update' => '权限已更新',
];
'sign_up' => '注册',
'log_in' => '登录',
'log_in_with' => '以:socialDriver登录',
- 'sign_up_with' => '注册:socialDriver',
+ 'sign_up_with' => '通过 :socialDriver 账号登录',
'logout' => '注销',
- 'name' => 'å§\93å\90\8d',
+ 'name' => 'å\90\8dç§°',
'username' => '用户名',
'email' => 'Email地址',
'password' => '密码',
'ldap_email_hint' => '请输入用于此帐户的电子邮件。',
'create_account' => '创建账户',
'already_have_account' => '您已经有账号?',
- 'dont_have_account' => 'æ\82¨è¿\98没注å\86\8c?',
+ 'dont_have_account' => 'æ\82¨è¿\98没æ\9c\89è´¦å\8f·å\90\97?',
'social_login' => 'SNS登录',
- 'social_registration' => 'SNS注册',
- 'social_registration_text' => '其他服务注册/登录。',
+ 'social_registration' => '使用社交网站账号注册',
+ 'social_registration_text' => '使用其他服务注册并登录。',
'register_thanks' => '注册完成!',
'register_confirm' => '请点击查收您的Email,并点击确认。',
'remove' => '删除',
'add' => '添加',
'fullscreen' => '全屏',
+ 'favourite' => '收藏',
+ 'unfavourite' => '不喜欢',
+ 'next' => '下一页',
+ 'previous' => '上一页',
// Sort Options
'sort_options' => '排序选项',
'sort_ascending' => '升序',
'sort_descending' => '降序',
'sort_name' => '名称',
+ 'sort_default' => '默认',
'sort_created_at' => '创建时间',
'sort_updated_at' => '更新时间',
'breadcrumb' => '面包屑导航',
// Header
+ 'header_menu_expand' => '展开标头菜单',
'profile_menu' => '个人资料',
'view_profile' => '查看资料',
'edit_profile' => '编辑资料',
// Layout tabs
'tab_info' => '信息',
+ 'tab_info_label' => '标签:显示次要信息',
'tab_content' => '内容',
+ 'tab_content_label' => '标签:显示主要内容',
// Email Content
'email_action_help' => '如果您无法点击“:actionText”按钮,请将下面的网址复制到您的浏览器中打开:',
'email_rights' => '版权所有',
+
+ // Footer Link Options
+ // Not directly used but available for convenience to users.
+ 'privacy_policy' => '隐私政策',
+ 'terms_of_service' => '服务条款',
];
'meta_created_name' => '由 :user 创建于 :timeLength',
'meta_updated' => '更新于 :timeLength',
'meta_updated_name' => '由 :user 更新于 :timeLength',
+ 'meta_owned_name' => '拥有者 :user',
'entity_select' => '实体选择',
'images' => '图片',
'my_recent_drafts' => '我最近的草稿',
'my_recently_viewed' => '我最近看过',
+ 'my_most_viewed_favourites' => '我浏览最多的收藏',
+ 'my_favourites' => '我的收藏',
'no_pages_viewed' => '您尚未查看任何页面',
'no_pages_recently_created' => '最近没有页面被创建',
'no_pages_recently_updated' => '最近没有页面被更新',
'permissions_intro' => '本设置优先于每个用户角色本身所具有的权限。',
'permissions_enable' => '启用自定义权限',
'permissions_save' => '保存权限',
+ 'permissions_owner' => '拥有者',
// Search
'search_results' => '搜索结果',
'search_permissions_set' => '权限设置',
'search_created_by_me' => '我创建的',
'search_updated_by_me' => '我更新的',
+ 'search_owned_by_me' => '我拥有的',
'search_date_options' => '日期选项',
'search_updated_before' => '在此之前更新',
'search_updated_after' => '在此之后更新',
'chapters_create' => '创建章节',
'chapters_delete' => '删除章节',
'chapters_delete_named' => '删除章节「:chapterName」',
- 'chapters_delete_explain' => '这将删除章节「:chapterName」。所有的页面将被删除并添加到其所在的书籍。',
+ 'chapters_delete_explain' => '这将删除名为“:chapterName”的章节。本章节中存在的所有页面也将被删除。',
'chapters_delete_confirm' => '您确定要删除此章节吗?',
'chapters_edit' => '编辑章节',
'chapters_edit_named' => '编辑章节「:chapterName」',
'pages_revisions' => '页面修订',
'pages_revisions_named' => '“:pageName”页面修订',
'pages_revision_named' => '“:pageName”页面修订',
+ 'pages_revision_restored_from' => '从 #:id; :summary 恢复',
'pages_revisions_created_by' => '创建者',
'pages_revisions_date' => '修订日期',
'pages_revisions_number' => '#',
'comment_deleted_success' => '评论已删除',
'comment_created_success' => '评论已添加',
'comment_updated_success' => '评论已更新',
- 'comment_delete_confirm' => '你确定要删除这条评论?',
+ 'comment_delete_confirm' => '您确定要删除这条评论?',
'comment_in_reply_to' => '回复 :commentId',
// Revision
'revision_restore_confirm' => '您确定要恢复到此修订版吗?恢复后原有内容将会被替换。',
'revision_delete_success' => '修订删除',
'revision_cannot_delete_latest' => '无法删除最新版本。'
-];
\ No newline at end of file
+];
'404_page_not_found' => '无法找到页面',
'sorry_page_not_found' => '对不起,无法找到您想访问的页面。',
'sorry_page_not_found_permission_warning' => '您可能没有查看权限。',
+ 'image_not_found' => '未找到图片',
+ 'image_not_found_subtitle' => '对不起,无法找到您想访问的图片。',
+ 'image_not_found_details' => '原本放在这里的图片已被删除。',
'return_home' => '返回主页',
'error_occurred' => '出现错误',
'app_down' => ':appName现在正在关闭',
'app_features_security' => '功能与安全',
'app_name' => '站点名称',
'app_name_desc' => '此名称将在网页头部和Email中显示。',
- 'app_name_header' => '在网页头部显示应用名?',
+ 'app_name_header' => '在网页头部显示站点名称?',
'app_public_access' => '访问权限',
'app_public_access_desc' => '启用此选项将允许未登录的用户访问站点内容。',
'app_public_access_desc_guest' => '可以通过“访客”用户来控制公共访问者的访问。',
'app_homepage' => '站点主页',
'app_homepage_desc' => '选择要在主页上显示的页面来替换默认的视图,选定页面的访问权限将被忽略。',
'app_homepage_select' => '选择一个页面',
+ 'app_footer_links' => '页脚链接',
+ 'app_footer_links_desc' => '添加在网站页脚中显示的链接。这些链接将显示在大多数页面的底部,也包括不需要登录的页面。您可以使用标签"trans::<key>"来使用系统定义的翻译。例如:使用"trans::common.privacy_policy"将显示为“隐私政策”,而"trans::common.terms_of_service"将显示为“服务条款”。',
+ 'app_footer_links_label' => '链接标签',
+ 'app_footer_links_url' => '链接 URL',
+ 'app_footer_links_add' => '添加页脚链接',
'app_disable_comments' => '禁用评论',
'app_disable_comments_toggle' => '禁用评论',
'app_disable_comments_desc' => '在站点的所有页面上禁用评论,现有评论也不会显示出来。',
'maint' => '维护',
'maint_image_cleanup' => '清理图像',
'maint_image_cleanup_desc' => "扫描页面和修订内容以检查哪些图像是正在使用的以及哪些图像是多余的。确保在运行前创建完整的数据库和映像备份。",
- 'maint_image_cleanup_ignore_revisions' => '忽略修订记录中的图像',
+ 'maint_delete_images_only_in_revisions' => '同时删除只存在于旧的页面修订中的图片',
'maint_image_cleanup_run' => '运行清理',
'maint_image_cleanup_warning' => '发现了 :count 张可能未使用的图像。您确定要删除这些图像吗?',
'maint_image_cleanup_success' => '找到并删除了 :count 张可能未使用的图像!',
'maint_send_test_email_success' => '电子邮件已发送至 :address',
'maint_send_test_email_mail_subject' => '测试电子邮件',
'maint_send_test_email_mail_greeting' => '邮件发送功能看起来工作正常!',
- 'maint_send_test_email_mail_text' => '恭喜!您收到了此邮件通知,你的电子邮件设置看起来配置正确。',
+ 'maint_send_test_email_mail_text' => '恭喜!您收到了此邮件通知,您的电子邮件设置看起来已配置正确。',
+ 'maint_recycle_bin_desc' => '被删除的书架、书籍、章节和页面会被存入回收站,您可以还原或永久删除它们。回收站中较旧的项目可能会在系统设置的一段时间后被自动删除。',
+ 'maint_recycle_bin_open' => '打开回收站',
+
+ // Recycle Bin
+ 'recycle_bin' => '回收站',
+ 'recycle_bin_desc' => '在这里,您可以还原已删除的项目,或选择将其从系统中永久删除。与系统中过滤过的类似的活动记录不同,这个表会显示所有操作。',
+ 'recycle_bin_deleted_item' => '被删除的项目',
+ 'recycle_bin_deleted_by' => '删除者',
+ 'recycle_bin_deleted_at' => '删除时间',
+ 'recycle_bin_permanently_delete' => '永久删除',
+ 'recycle_bin_restore' => '恢复',
+ 'recycle_bin_contents_empty' => '回收站当前为空',
+ 'recycle_bin_empty' => '清空回收站',
+ 'recycle_bin_empty_confirm' => '这将永久性销毁回收站中的所有项目(包括每个项目中包含的内容,例如图片)。您确定要清空回收站吗?',
+ 'recycle_bin_destroy_confirm' => '此操作将从系统中永久删除此项目以及下面列出的所有子元素,并且您将无法还原此内容。您确定要永久删除该项目吗?',
+ 'recycle_bin_destroy_list' => '要销毁的项目',
+ 'recycle_bin_restore_list' => '要恢复的项目',
+ 'recycle_bin_restore_confirm' => '此操作会将已删除的项目及其所有子元素恢复到原始位置。如果项目的原始位置已被删除,并且现在位于回收站中,则要恢复项目的上级项目也需要恢复。',
+ 'recycle_bin_restore_deleted_parent' => '该项目的上级项目也已被删除。这些项目将保持被删除状态,直到上级项目被恢复。',
+ 'recycle_bin_destroy_notification' => '从回收站中删除了 :count 个项目。',
+ 'recycle_bin_restore_notification' => '从回收站中恢复了 :count 个项目。',
// Audit Log
'audit' => '审核日志',
- 'audit_desc' => 'è¯¥å®¡æ ¸æ\97¥å¿\97æ\98¾ç¤ºç³»ç»\9fä¸è·\9f踪ç\9a\84æ´»å\8a¨å\88\97表ã\80\82ä¸\8eç³»ç»\9fä¸åº\94ç\94¨äº\86æ\9d\83é\99\90è¿\87滤å\99¨ç\9a\84类似活å\8a¨å\88\97表ä¸\8då\90\8cï¼\8cè¿\99个表æ\98¯æ\9cªç»\8fè¿\87滤ç\9a\84。',
+ 'audit_desc' => 'è¿\99ä»½å®¡æ ¸æ\97¥å¿\97æ\98¾ç¤ºæ\89\80æ\9c\89被系ç»\9fè·\9f踪ç\9a\84æ´»å\8a¨ã\80\82ä¸\8eç³»ç»\9fä¸è¿\87滤è¿\87ç\9a\84类似ç\9a\84æ´»å\8a¨è®°å½\95ä¸\8då\90\8cï¼\8cè¿\99个表ä¼\9aæ\98¾ç¤ºæ\89\80æ\9c\89æ\93\8dä½\9c。',
'audit_event_filter' => '事件过滤器',
'audit_event_filter_no_filter' => '无过滤器',
'audit_deleted_item' => '被删除的项目',
- 'audit_deleted_item_name' => 'å§\93å\90\8d: :name',
+ 'audit_deleted_item_name' => 'å\90\8dç§°: :name',
'audit_table_user' => '用户',
'audit_table_event' => '事件',
- 'audit_table_item' => '相关项目',
+ 'audit_table_related' => '相关项目或详细信息',
'audit_table_date' => '活动日期',
'audit_date_from' => '日期范围从',
'audit_date_to' => '日期范围至',
'user_profile' => '用户资料',
'users_add_new' => '添加用户',
'users_search' => '搜索用户',
+ 'users_latest_activity' => '最后活动',
'users_details' => '用户详细资料',
'users_details_desc' => '设置该用户的显示名称和电子邮件地址。 该电子邮件地址将用于登录本站。',
'users_details_desc_no_email' => '设置此用户的昵称,以便其他人识别。',
'users_delete_named' => '删除用户 :userName',
'users_delete_warning' => '这将从系统中完全删除名为 \':userName\' 的用户。',
'users_delete_confirm' => '您确定要删除这个用户?',
- 'users_delete_success' => '用户删除成功。',
+ 'users_migrate_ownership' => '迁移拥有权',
+ 'users_migrate_ownership_desc' => '如果您想要当前用户拥有的全部项目转移到另一个用户(更改拥有者),请在此处选择一个用户。',
+ 'users_none_selected' => '没有选中用户',
+ 'users_delete_success' => '已成功移除用户',
'users_edit' => '编辑用户',
'users_edit_profile' => '编辑资料',
'users_edit_success' => '用户更新成功',
'en' => 'English',
'ar' => 'العربية',
'bg' => '保加利亚语',
+ 'bs' => 'Bosanski',
+ 'ca' => '加泰罗尼亚语',
'cs' => 'Česky',
'da' => '丹麦',
'de' => 'Deutsch (Sie)',
'es_AR' => 'Español Argentina',
'fr' => 'Français',
'he' => 'עברית',
+ 'hr' => 'Hrvatski',
'hu' => 'Magyar',
+ 'id' => 'Bahasa Indonesia',
'it' => 'Italian',
'ja' => '日本語',
'ko' => '한국어',
+ 'lv' => 'Latviešu Valoda',
'nl' => 'Nederlands',
+ 'nb' => '挪威语 (Bokmål)',
'pl' => 'Polski',
+ 'pt' => 'Português',
'pt_BR' => 'Português do Brasil',
'ru' => 'Русский',
'sk' => 'Slovensky',
'string' => ':attribute 至少为:min个字符。',
'array' => ':attribute 至少有:min项。',
],
- 'no_double_extension' => ':attribute 必须具有一个扩展名。',
'not_in' => '选中的 :attribute 无效。',
'not_regex' => ':attribute 格式错误。',
'numeric' => ':attribute 必须是一个数。',
'required_without' => '当:values不存在时,:attribute 字段是必需的。',
'required_without_all' => '当:values均不存在时,:attribute 字段是必需的。',
'same' => ':attribute 与 :other 必须匹配。',
+ 'safe_url' => '提供的链接可能不安全。',
'size' => [
'numeric' => ':attribute 必须为:size。',
'file' => ':attribute 必须为:size KB。',
'page_delete_notification' => '頁面已刪除成功',
'page_restore' => '已還原頁面',
'page_restore_notification' => '頁面已還原成功',
- 'page_move' => '移動了頁面',
+ 'page_move' => '已移動頁面',
// Chapters
'chapter_create' => '已建立章節',
// Books
'book_create' => '已建立書本',
'book_create_notification' => '書本已建立成功',
- 'book_update' => '更新了圖書',
+ 'book_update' => '已更新書本',
'book_update_notification' => '書本已更新成功',
'book_delete' => '已刪除書本',
'book_delete_notification' => '書本已刪除成功',
'bookshelf_delete' => '已刪除書架',
'bookshelf_delete_notification' => '書架已刪除成功',
+ // Favourites
+ 'favourite_add_notification' => '":name" has been added to your favourites',
+ 'favourite_remove_notification' => '":name" has been removed from your favourites',
+
// Other
'commented_on' => '評論',
+ 'permissions_update' => '更新權限',
];
// Login & Register
'sign_up' => '註冊',
'log_in' => '登入',
- 'log_in_with' => '以:socialDriver登入',
- 'sign_up_with' => '註冊:socialDriver',
+ 'log_in_with' => '以 :socialDriver 登入',
+ 'sign_up_with' => '以 :socialDriver 註冊',
'logout' => '登出',
'name' => '名稱',
'password' => '密碼',
'password_confirm' => '確認密碼',
'password_hint' => '必須超過 7 個字元',
- 'forgot_password' => '忘記密碼?',
+ 'forgot_password' => '忘記密碼?',
'remember_me' => '記住我',
'ldap_email_hint' => '請輸入此帳號使用的電子郵件。',
- 'create_account' => '建立帳戶',
- 'already_have_account' => '已經擁有帳戶?',
- 'dont_have_account' => '沒有帳戶?',
+ 'create_account' => '建立帳號',
+ 'already_have_account' => '已有帳號?',
+ 'dont_have_account' => '沒有帳號?',
'social_login' => '社群網站登入',
- 'social_registration' => '社群網站帳戶註冊',
+ 'social_registration' => '使用社群網站帳號註冊',
'social_registration_text' => '使用其他服務註冊及登入。',
'register_thanks' => '感謝您的註冊!',
'register_confirm' => '請檢查您的電子郵件,並按下確認按鈕以使用 :appName 。',
'registrations_disabled' => '目前已停用註冊',
'registration_email_domain_invalid' => '這個電子郵件網域沒有權限使用',
- 'register_success' => '感謝您註冊:appName,您現在已經登入。',
+ 'register_success' => '感謝您註冊!您已註冊完成並可登入。',
// Password Reset
- 'reset_password' => '重置密碼',
- 'reset_password_send_instructions' => '在下方輸入您的電子郵件,您將收到一封帶有密碼重置連結的郵件。',
- 'reset_password_send_button' => '發送重置連結',
- 'reset_password_sent' => '重置密碼的連結會發送至電子郵件地址:email(如果系統記錄中存在此電子郵件地址)',
- 'reset_password_success' => '您的密碼已成功重置。',
- 'email_reset_subject' => '重置您的:appName密碼',
- 'email_reset_text' => '您收到此電子郵件是因為我們收到了您的帳號的密碼重置請求。',
- 'email_reset_not_requested' => '如果您沒有要求重置密碼,則不需要採取進一步的操作。',
+ 'reset_password' => '重設密碼',
+ 'reset_password_send_instructions' => '在下方輸入您的電子郵件,您將收到一封帶有密碼重設連結的郵件。',
+ 'reset_password_send_button' => '發送重設連結',
+ 'reset_password_sent' => '重設密碼的連結會發送至電子郵件 :email(如果此電子郵件在我們的系統中存在)',
+ 'reset_password_success' => '您的密碼已成功重設。',
+ 'email_reset_subject' => '重設您的 :appName 密碼',
+ 'email_reset_text' => '您收到此電子郵件是因為我們收到了您的帳號的密碼重設請求。',
+ 'email_reset_not_requested' => '如果您沒有要求重設密碼,則不需要採取進一步的操作。',
// Email Confirmation
- 'email_confirm_subject' => '確認您在:appName的電子郵件',
- 'email_confirm_greeting' => '感謝您加入:appName!',
- 'email_confirm_text' => '請點選下面的按鈕確認您的Email位址:',
- 'email_confirm_action' => '確認Email',
- 'email_confirm_send_error' => '需要Email驗證,但系統無法發送電子郵件,請聯繫網站管理員。',
- 'email_confirm_success' => '您的Email位址已成功驗證!',
- 'email_confirm_resent' => '驗證郵件已重新發送,請檢查收件箱。',
+ 'email_confirm_subject' => '確認您在 :appName 的電子郵件',
+ 'email_confirm_greeting' => '感謝您加入 :appName!',
+ 'email_confirm_text' => '請點選下面的按鈕來確認您的電子郵件地址:',
+ 'email_confirm_action' => '確認電子郵件',
+ 'email_confirm_send_error' => '需要電子郵件驗證,但系統無法傳送電子郵件。請與管理員聯絡以確保電子郵件正確設定。',
+ 'email_confirm_success' => '您的電子郵件已成功驗證!',
+ 'email_confirm_resent' => '確認電子郵件已重新傳送。請檢查您的收件匣。',
- 'email_not_confirmed' => 'Email位址未驗證',
+ 'email_not_confirmed' => '電子郵件地址未確認',
'email_not_confirmed_text' => '您的電子郵件位址尚未確認。',
'email_not_confirmed_click_link' => '請檢查註冊時收到的電子郵件,然後點選確認連結。',
- 'email_not_confirmed_resend' => '如果找不到電子郵件,請透過下面的表單重新發送確認Email。',
- 'email_not_confirmed_resend_button' => '重新發送確認Email',
+ 'email_not_confirmed_resend' => '如果找不到電子郵件,請透過下面的表單重新發送確認電子郵件。',
+ 'email_not_confirmed_resend_button' => '重新傳送確認電子郵件',
// User Invite
- 'user_invite_email_subject' => '您受邀請加入:appName!',
- 'user_invite_email_greeting' => '我們為您在:appName上創建了一個新賬戶。',
- 'user_invite_email_text' => '請點擊下面的按鈕設置賬戶密碼并獲取訪問權限:',
- 'user_invite_email_action' => 'è«\8bè¨ç½®è³¬æ\88¶密碼',
- 'user_invite_page_welcome' => '歡迎使用:appName',
- 'user_invite_page_text' => '要完成設置您的賬戶並獲取訪問權限,您需要設置一個密碼。該密碼將在以後訪問時用於登陸:appName',
- 'user_invite_page_confirm_button' => '請確定密碼',
- 'user_invite_success' => '密碼已設置,您現在可以進入:appName了啦!'
+ 'user_invite_email_subject' => '您被邀請加入 :appName!',
+ 'user_invite_email_greeting' => '我們為您在 :appName 上建立了一個新帳號。',
+ 'user_invite_email_text' => '請點擊下方按鈕來設定帳號密碼並取得存取權:',
+ 'user_invite_email_action' => 'è¨å®\9a帳è\99\9f密碼',
+ 'user_invite_page_welcome' => '歡迎使用 :appName!',
+ 'user_invite_page_text' => '要完成設定您的帳號並取得存取權,您必須設定密碼,此密碼將用於登入 :appName。',
+ 'user_invite_page_confirm_button' => '確認密碼',
+ 'user_invite_success' => '密碼已設定,您現在可以存取 :appName 了!'
];
\ No newline at end of file
'back' => '返回',
'save' => '儲存',
'continue' => '繼續',
- 'select' => '選擇',
- 'toggle_all' => '轉換全部',
+ 'select' => '選取',
+ 'toggle_all' => '切換全部',
'more' => '更多',
// Form Labels
'name' => '名稱',
- 'description' => 'æ\91\98è¦\81',
+ 'description' => 'æ\8f\8fè¿°',
'role' => '角色',
'cover_image' => '封面圖片',
- 'cover_image_description' => 'æ\89\80使ç\94¨å\9c\96ç\89\87大å°\8få¿\85é \88æ\98¯440x250px。',
+ 'cover_image_description' => 'æ¤å\9c\96ç\89\87大å°\8fæ\87\89ç´\84ç\82º 440x250px。',
// Actions
'actions' => '動作',
'view' => '檢視',
- 'view_all' => '驗視全部',
+ 'view_all' => '檢視全部',
'create' => '建立',
'update' => '更新',
'edit' => '編輯',
'delete_confirm' => '確認刪除',
'search' => '搜尋',
'search_clear' => '清除搜尋',
- 'reset' => '重置',
- 'remove' => '刪除',
+ 'reset' => '重設',
+ 'remove' => '移除',
'add' => '新增',
- 'fullscreen' => '全屏顯示',
+ 'fullscreen' => '全螢幕',
+ 'favourite' => 'Favourite',
+ 'unfavourite' => 'Unfavourite',
+ 'next' => 'Next',
+ 'previous' => 'Previous',
// Sort Options
- 'sort_options' => '選項分類',
+ 'sort_options' => '排序選項',
'sort_direction_toggle' => '順序方向切換',
- 'sort_ascending' => '升序',
- 'sort_descending' => 'é\99\8d序',
+ 'sort_ascending' => '遞增排序',
+ 'sort_descending' => 'é\81\9eæ¸\9bæ\8e\92序',
'sort_name' => '名稱',
- 'sort_created_at' => '創建日期',
+ 'sort_default' => 'Default',
+ 'sort_created_at' => '建立日期',
'sort_updated_at' => '更新日期',
// Misc
- 'deleted_user' => '刪除使用者',
- 'no_activity' => '無活動',
- 'no_items' => '無項目',
+ 'deleted_user' => 'å·²å\88ªé\99¤ä½¿ç\94¨è\80\85',
+ 'no_activity' => '無活動可顯示',
+ 'no_items' => '無可用項目',
'back_to_top' => '回到頂端',
- 'toggle_details' => '顯示/隱藏詳細資訊',
- 'toggle_thumbnails' => '顯示/隱藏縮圖',
+ 'toggle_details' => '顯示/隱藏詳細資訊',
+ 'toggle_thumbnails' => '顯示/隱藏縮圖',
'details' => '詳細資訊',
- 'grid_view' => '縮å\9c\96檢視',
- 'list_view' => '清單撿視',
+ 'grid_view' => 'ç¶²æ ¼檢視',
+ 'list_view' => '列表檢視',
'default' => '預設',
- 'breadcrumb' => '導覽路徑',
+ 'breadcrumb' => '頁面路徑',
// Header
- 'profile_menu' => '個人資料菜單',
- 'view_profile' => '檢視資料',
- 'edit_profile' => '編輯資料',
+ 'header_menu_expand' => 'Expand Header Menu',
+ 'profile_menu' => '個人資料選單',
+ 'view_profile' => '檢視個人資料',
+ 'edit_profile' => '編輯個人資料',
'dark_mode' => '深色模式',
- 'light_mode' => 'æ\98\8e亮模式',
+ 'light_mode' => 'æ·ºè\89²模式',
// Layout tabs
- 'tab_info' => '訊息',
+ 'tab_info' => '資訊',
+ 'tab_info_label' => 'Tab: Show Secondary Information',
'tab_content' => '內容',
+ 'tab_content_label' => 'Tab: Show Primary Content',
// Email Content
- 'email_action_help' => '如果您無法點選“:actionText”按鈕,請將下面的網址複製到您的瀏覽器中打開:',
+ 'email_action_help' => '如果您無法點擊 ":actionText" 按鈕,請將下方的網址複製並貼上到您的網路瀏覽器中:',
'email_rights' => '版權所有',
+
+ // Footer Link Options
+ // Not directly used but available for convenience to users.
+ 'privacy_policy' => '隱私權政策',
+ 'terms_of_service' => '服務條款',
];
return [
// Image Manager
- 'image_select' => '選擇圖片',
+ 'image_select' => '選取圖片',
'image_all' => '全部',
'image_all_title' => '檢視所有圖片',
'image_book_title' => '檢視上傳到此書本的圖片',
'image_uploaded' => '上傳於 :uploadedDate',
'image_load_more' => '載入更多',
'image_image_name' => '圖片名稱',
- 'image_delete_used' => 'æ\89\80使ç\94¨å\9c\96ç\89\87ç\9b®å\89\8d用於以下頁面。',
+ 'image_delete_used' => 'æ¤å\9c\96ç\89\87用於以下頁面。',
'image_delete_confirm_text' => '您確認想要刪除這個圖片?',
- 'image_select_image' => '選擇圖片',
- 'image_dropzone' => '拖曳圖片或點選這裡上傳',
+ 'image_select_image' => '選取圖片',
+ 'image_dropzone' => '拖曳圖片或點擊此處上傳',
'images_deleted' => '圖片已刪除',
'image_preview' => '圖片預覽',
'image_upload_success' => '圖片上傳成功',
'code_editor' => '編輯程式碼',
'code_language' => '程式語言',
'code_content' => '程式碼內容',
- 'code_session_history' => 'Session 歷程',
+ 'code_session_history' => '工作階段歷史',
'code_save' => '儲存程式碼',
];
// Shared
'recently_created' => '最近建立',
'recently_created_pages' => '最近建立的頁面',
- 'recently_updated_pages' => '最新頁面',
+ 'recently_updated_pages' => '最近更新的頁面',
'recently_created_chapters' => '最近建立的章節',
'recently_created_books' => '最近建立的書本',
- 'recently_created_shelves' => '最近建立的章節',
+ 'recently_created_shelves' => '最近建立的書架',
'recently_update' => '最近更新',
- 'recently_viewed' => '最近看過',
+ 'recently_viewed' => '最近檢視',
'recent_activity' => '近期活動',
'create_now' => '立即建立',
- 'revisions' => '修訂歷史',
- 'meta_revision' => '版本號 #:revisionCount',
+ 'revisions' => '修訂版本',
+ 'meta_revision' => '修訂版本 #:revisionCount',
'meta_created' => '建立於 :timeLength',
'meta_created_name' => '由 :user 建立於 :timeLength',
'meta_updated' => '更新於 :timeLength',
'meta_updated_name' => '由 :user 更新於 :timeLength',
- 'entity_select' => '選擇項目',
+ 'meta_owned_name' => ':user 所擁有',
+ 'entity_select' => '選取項目',
'images' => '圖片',
'my_recent_drafts' => '我最近的草稿',
- 'my_recently_viewed' => '我最近看過',
- 'no_pages_viewed' => '您還沒有看過任何頁面',
- 'no_pages_recently_created' => '最近沒有頁面被建立',
+ 'my_recently_viewed' => '我最近檢視',
+ 'my_most_viewed_favourites' => 'My Most Viewed Favourites',
+ 'my_favourites' => 'My Favourites',
+ 'no_pages_viewed' => '您尚未看過任何頁面',
+ 'no_pages_recently_created' => '最近未建立任何頁面',
'no_pages_recently_updated' => '最近沒有頁面被更新',
'export' => '匯出',
'export_html' => '網頁檔案',
- 'export_pdf' => 'PDF檔案',
+ 'export_pdf' => 'PDF 檔案',
'export_text' => '純文字檔案',
// Permissions and restrictions
'permissions' => '權限',
- 'permissions_intro' => '本設定優先權高於每個使用者角色本身所具有的權限。',
+ 'permissions_intro' => '一旦啟用,這些權限將優先於任何設定的角色權限。',
'permissions_enable' => '啟用自訂權限',
'permissions_save' => '儲存權限',
+ 'permissions_owner' => '擁有者',
// Search
'search_results' => '搜尋結果',
- 'search_total_results_found' => '共找到了:count個結果|共找到了:count個結果',
+ 'search_total_results_found' => '找到了 :count 個結果 | 總共 :count 個結果',
'search_clear' => '清除搜尋',
- 'search_no_pages' => '沒有找到符合的頁面',
- 'search_for_term' => '“:term”的搜尋結果',
+ 'search_no_pages' => '沒有與此搜尋相符的頁面',
+ 'search_for_term' => ':term 的搜尋結果',
'search_more' => '更多結果',
'search_advanced' => '進階搜尋',
'search_terms' => '搜尋字串',
- 'search_content_type' => '種類',
+ 'search_content_type' => '內容類型',
'search_exact_matches' => '精確符合',
'search_tags' => '標籤搜尋',
'search_options' => '選項',
- 'search_viewed_by_me' => '我看過的',
- 'search_not_viewed_by_me' => 'æ\88\91æ²\92ç\9c\8bé\81\8eç\9a\84',
+ 'search_viewed_by_me' => '被我檢視',
+ 'search_not_viewed_by_me' => 'æ\9cªè¢«æ\88\91檢è¦\96',
'search_permissions_set' => '權限設定',
'search_created_by_me' => '我建立的',
'search_updated_by_me' => '我更新的',
+ 'search_owned_by_me' => 'Owned by me',
'search_date_options' => '日期選項',
'search_updated_before' => '在此之前更新',
'search_updated_after' => '在此之後更新',
// Shelves
'shelf' => '書架',
'shelves' => '書架',
- 'x_shelves' => ':count 書架|:count 章節',
+ 'x_shelves' => ':count 書架 | :count 章節',
'shelves_long' => '書架',
- 'shelves_empty' => '不存在已建立的書架',
- 'shelves_create' => '建立書架',
+ 'shelves_empty' => '尚未建立書架',
+ 'shelves_create' => '建ç«\8bæ\96°æ\9b¸æ\9e¶',
'shelves_popular' => '熱門書架',
'shelves_new' => '新書架',
'shelves_new_action' => '建立新的書架',
'shelves_new_empty' => '最近建立的書架將出現在這裡。',
'shelves_save' => '儲存書架',
'shelves_books' => '此書架上的書本',
- 'shelves_add_books' => '將書本添加到此書架中',
- 'shelves_drag_books' => '拖動書本到此處來將它添加至此書架中',
+ 'shelves_add_books' => '新增書本至此書架',
+ 'shelves_drag_books' => '將書本拖曳到此處來將其新增到此書架',
'shelves_empty_contents' => '此書架沒有分配任何書本',
'shelves_edit_and_assign' => '編輯書架以分配書本',
- 'shelves_edit_named' => '編輯書架「:name」',
+ 'shelves_edit_named' => '編輯書架 :name',
'shelves_edit' => '編輯書架',
'shelves_delete' => '刪除書架',
- 'shelves_delete_named' => '刪除書架「:name」',
- 'shelves_delete_explain' => "這將刪除名為「:name」的書架。包含在其中的書本不會被刪除。",
+ 'shelves_delete_named' => '刪除書架 :name',
+ 'shelves_delete_explain' => "這將刪除名為「:name」的書架。但其中的書本不會被刪除。",
'shelves_delete_confirmation' => '您確定要刪除此書架嗎?',
'shelves_permissions' => '書架權限',
'shelves_permissions_updated' => '書架權限已更新',
- 'shelves_permissions_active' => '已啟用此書架的自訂權限',
+ 'shelves_permissions_active' => '書架權限已啟用',
'shelves_copy_permissions_to_books' => '將權限複製到書本',
'shelves_copy_permissions' => '複製權限',
- 'shelves_copy_permissions_explain' => '這會將此書架目前的權限設定套用到所有包含的書本上。在生效之前,請確認您已儲存任何對此書架權限的變更。',
- 'shelves_copy_permission_success' => '已將書架的權限複製到:count本書上',
+ 'shelves_copy_permissions_explain' => '這會將此書架目前的權限設定套用到所有包含的書本上。在啟用前,請確認您已儲存任何對此書架權限的變更。',
+ 'shelves_copy_permission_success' => '已將書架的權限複製到 :count 本書上',
// Books
'book' => '書本',
'books' => '書本',
- 'x_books' => ':count本書|:count本書',
+ 'x_books' => ':count 本書 | :count本書',
'books_empty' => '不存在已建立的書',
'books_popular' => '熱門書本',
- 'books_recent' => '最近的書',
- 'books_new' => '新書',
- 'books_new_action' => '新增一本書',
+ 'books_recent' => '近期書本',
+ 'books_new' => '新書本',
+ 'books_new_action' => '新書本',
'books_popular_empty' => '最受歡迎的書本將出現在這裡。',
'books_new_empty' => '最近建立的書本將出現在這裡。',
- 'books_create' => '建立書本',
+ 'books_create' => '建ç«\8bæ\96°æ\9b¸æ\9c¬',
'books_delete' => '刪除書本',
- 'books_delete_named' => '刪除書本「:bookName」',
+ 'books_delete_named' => '刪除書本 :bookName',
'books_delete_explain' => '這將刪除書本「:bookName」。所有的章節和頁面都會被刪除。',
'books_delete_confirmation' => '您確定要刪除此書本嗎?',
'books_edit' => '編輯書本',
'books_edit_named' => '編輯書本「:bookName」',
- 'books_form_book_name' => '書名',
+ 'books_form_book_name' => '書本名稱',
'books_save' => '儲存書本',
'books_permissions' => '書本權限',
'books_permissions_updated' => '書本權限已更新',
'books_empty_contents' => '本書目前沒有頁面或章節。',
- 'books_empty_create_page' => '建立頁面',
+ 'books_empty_create_page' => '建立新頁面',
'books_empty_sort_current_book' => '排序目前書本',
- 'books_empty_add_chapter' => '加入章節',
- 'books_permissions_active' => '已啟用此書本的自訂權限',
- 'books_search_this' => '搜尋這本書',
+ 'books_empty_add_chapter' => '新增章節',
+ 'books_permissions_active' => '書本權限已啟用',
+ 'books_search_this' => '搜尋此書本',
'books_navigation' => '書本導覽',
'books_sort' => '排序書本內容',
- 'books_sort_named' => '排序書本「:bookName」',
+ 'books_sort_named' => '排序書本 :bookName',
'books_sort_name' => '按名稱排序',
- 'books_sort_created' => 'æ\8c\89å\89µå»º時間排序',
+ 'books_sort_created' => 'æ\8c\89建ç«\8b時間排序',
'books_sort_updated' => '按更新時間排序',
'books_sort_chapters_first' => '第一章',
'books_sort_chapters_last' => '最後一章',
// Chapters
'chapter' => '章節',
'chapters' => '章節',
- 'x_chapters' => ':count個章節|:count個章節',
+ 'x_chapters' => ':count個章節 | :count個章節',
'chapters_popular' => '熱門章節',
'chapters_new' => '新章節',
'chapters_create' => '建立章節',
'chapters_delete' => '刪除章節',
- 'chapters_delete_named' => '刪除章節「:chapterName」',
- 'chapters_delete_explain' => '這將刪除章節「:chapterName」。所有的頁面將被刪除並加入到其所在的書籍。',
+ 'chapters_delete_named' => '刪除章節 :chapterName',
+ 'chapters_delete_explain' => '這將會刪除名稱為「:chapterName」的章節。此章節中的所有頁面都將會被刪除。',
'chapters_delete_confirm' => '您確定要刪除此章節嗎?',
'chapters_edit' => '編輯章節',
'chapters_edit_named' => '編輯章節「:chapterName」',
'chapters_save' => '儲存章節',
'chapters_move' => '移動章節',
- 'chapters_move_named' => '移動章節「:chapterName」',
- 'chapter_move_success' => '章節移動到「:bookName」',
+ 'chapters_move_named' => '移動章節 :chapterName',
+ 'chapter_move_success' => '章節移動到 :bookName',
'chapters_permissions' => '章節權限',
'chapters_empty' => '本章目前沒有頁面。',
- 'chapters_permissions_active' => '已啟用此章節的自訂權限',
+ 'chapters_permissions_active' => '章節權限已啟用',
'chapters_permissions_success' => '章節權限已更新',
- 'chapters_search_this' => '從本章節搜尋',
+ 'chapters_search_this' => '搜尋此章節',
// Pages
'page' => '頁面',
'pages' => '頁面',
- 'x_pages' => ':count個頁面|:count個頁面',
+ 'x_pages' => ':count 頁 | :count 頁',
'pages_popular' => '熱門頁面',
'pages_new' => '新頁面',
'pages_attachments' => '附件',
'pages_navigation' => '頁面導覽',
'pages_delete' => '刪除頁面',
- 'pages_delete_named' => '刪除頁面“:pageName”',
- 'pages_delete_draft_named' => '刪除草稿頁面“:pageName”',
+ 'pages_delete_named' => '刪除頁面 :pageName',
+ 'pages_delete_draft_named' => '刪除草稿頁面 :pageName',
'pages_delete_draft' => '刪除草稿頁面',
'pages_delete_success' => '頁面已刪除',
'pages_delete_draft_success' => '草稿頁面已刪除',
'pages_delete_confirm' => '您確定要刪除此頁面嗎?',
'pages_delete_draft_confirm' => '您確定要刪除此草稿頁面嗎?',
- 'pages_editing_named' => '正在編輯頁面“:pageName”',
+ 'pages_editing_named' => '正在編輯頁面 :pageName',
'pages_edit_draft_options' => '草稿選項',
'pages_edit_save_draft' => '儲存草稿',
'pages_edit_draft' => '編輯頁面草稿',
'pages_edit_draft_save_at' => '草稿儲存於 ',
'pages_edit_delete_draft' => '刪除草稿',
'pages_edit_discard_draft' => '放棄草稿',
- 'pages_edit_set_changelog' => '更新說明',
- 'pages_edit_enter_changelog_desc' => '輸入對您所做更改的簡易說明',
- 'pages_edit_enter_changelog' => '輸入更新說明',
+ 'pages_edit_set_changelog' => '設定變更日誌',
+ 'pages_edit_enter_changelog_desc' => '輸入對您所做變動的簡易描述',
+ 'pages_edit_enter_changelog' => '輸入變更日誌',
'pages_save' => '儲存頁面',
'pages_title' => '頁面標題',
'pages_name' => '頁面名稱',
'pages_md_insert_image' => '插入圖片',
'pages_md_insert_link' => '插入連結',
'pages_md_insert_drawing' => '插入繪圖',
- 'pages_not_in_chapter' => '本頁面不在某章節中',
+ 'pages_not_in_chapter' => '頁面不在章節中',
'pages_move' => '移動頁面',
'pages_move_success' => '頁面已移動到「:parentName」',
'pages_copy' => '複製頁面',
'pages_copy_success' => '頁面已成功複製',
'pages_permissions' => '頁面權限',
'pages_permissions_success' => '頁面權限已更新',
- 'pages_revision' => '修訂',
- 'pages_revisions' => '頁面修訂',
- 'pages_revisions_named' => '“:pageName”頁面修訂',
- 'pages_revision_named' => '“:pageName”頁面修訂',
+ 'pages_revision' => '修訂版本',
+ 'pages_revisions' => '頁面修訂版本',
+ 'pages_revisions_named' => ':pageName 頁面修訂版本',
+ 'pages_revision_named' => ':pageName 頁面修訂版本',
+ 'pages_revision_restored_from' => '從 #:id; :summary 復原',
'pages_revisions_created_by' => '建立者',
'pages_revisions_date' => '修訂日期',
'pages_revisions_number' => '#',
- 'pages_revisions_numbered' => 'ä¿®è¨\82ç·¨è\99\9f:id',
- 'pages_revisions_numbered_changes' => 'ä¿®è¨\82ç·¨è\99\9f:id æ\9b´æ\94¹',
- 'pages_revisions_changelog' => '更新說明',
- 'pages_revisions_changes' => '說æ\98\8e',
+ 'pages_revisions_numbered' => 'ä¿®è¨\82ç\89\88æ\9c¬ #:id',
+ 'pages_revisions_numbered_changes' => 'ä¿®è¨\82ç\89\88æ\9c¬ #:id è®\8aæ\9b´',
+ 'pages_revisions_changelog' => '變動日誌',
+ 'pages_revisions_changes' => 'è®\8aå\8b\95',
'pages_revisions_current' => '目前版本',
'pages_revisions_preview' => '預覽',
- 'pages_revisions_restore' => '恢複',
+ 'pages_revisions_restore' => '還原',
'pages_revisions_none' => '此頁面沒有修訂',
'pages_copy_link' => '複製連結',
- 'pages_edit_content_link' => 'ç¼\96è¾\91å\86\85容',
- 'pages_permissions_active' => '已啟用此頁面的自訂權限',
+ 'pages_edit_content_link' => '編輯å\85§容',
+ 'pages_permissions_active' => '頁面權限已啟用',
'pages_initial_revision' => '初次發布',
'pages_initial_name' => '新頁面',
- 'pages_editing_draft_notification' => '您正在編輯在 :timeDiff 內儲存的草稿.',
- 'pages_draft_edited_notification' => '此頁面已經被更新過,建議您放棄此草稿。',
+ 'pages_editing_draft_notification' => '您正在編輯最後儲存為 :timeDiff 的草稿。',
+ 'pages_draft_edited_notification' => '此頁面已經被更新過。建議您放棄此草稿。',
'pages_draft_edit_active' => [
- 'start_a' => ':count位使用者正在編輯此頁面',
- 'start_b' => '使用者“:userName”已經開始編輯此頁面',
+ 'start_a' => ':count 位使用者已經開始編輯此頁面',
+ 'start_b' => '使用者 :userName 已經開始編輯此頁面',
'time_a' => '自頁面上次更新以來',
'time_b' => '在最近:minCount分鐘',
- 'message' => ':time,:start。注意不要覆蓋到對方的更新。',
+ 'message' => ':start :time。注意不要覆寫其他人的更新!',
],
- 'pages_draft_discarded' => '草稿已丟棄,編輯器已更新到目前頁面內容。',
- 'pages_specific' => '指定頁面',
+ 'pages_draft_discarded' => '草稿已丟棄。編輯器已更新到目前頁面內容',
+ 'pages_specific' => '特定頁面',
'pages_is_template' => '頁面模板',
// Editor Sidebar
'tag' => '標籤',
'tags' => '標籤',
'tag_name' => '標籤名稱',
- 'tag_value' => '標籤值 (非必要)',
- 'tags_explain' => "加入一些標籤以更好地對您的內容進行分類。\n您可以為標籤分配一個值,以進行更深入的組織。",
- 'tags_add' => '加入另一個標籤',
+ 'tag_value' => '標籤值(選擇性)',
+ 'tags_explain' => "加入一些標籤以更好地對您的內容進行分類。 \n 您可以為標籤分配一個值,以進行更深入的組織。",
+ 'tags_add' => '新增另一個標籤',
'tags_remove' => '移除此標籤',
'attachments' => '附件',
- 'attachments_explain' => '上傳一些檔案或附加連結顯示在您的網頁上。將顯示在在頁面的側邊欄。',
- 'attachments_explain_instant_save' => '這裡的更改將立即儲存。Changes here are saved instantly.',
- 'attachments_items' => '附加項目',
+ 'attachments_explain' => '上傳一些檔案或附加連結以顯示在您的網頁上。將顯示在在頁面的側邊欄。',
+ 'attachments_explain_instant_save' => '此處的變動將會立刻儲存。',
+ 'attachments_items' => '附件',
'attachments_upload' => '上傳檔案',
'attachments_link' => '附加連結',
'attachments_set_link' => '設定連結',
- 'attachments_delete' => '確定要刪除此附件嗎?',
- 'attachments_dropzone' => '刪除檔案或點選此處加入檔案',
+ 'attachments_delete' => '您確定要刪除此附件嗎?',
+ 'attachments_dropzone' => '拖曳檔案或點擊此處來附加檔案',
'attachments_no_files' => '尚未上傳檔案',
- 'attachments_explain_link' => '如果您不想上傳檔案,則可以附加連結,這可以是指向其他頁面的連結,也可以是指向雲端檔案的連結。',
+ 'attachments_explain_link' => '如果您不想上傳檔案,則可以附加連結。這可以是指向其他頁面的連結,也可以是指向雲端檔案的連結。',
'attachments_link_name' => '連結名稱',
'attachment_link' => '附件連結',
'attachments_link_url' => '連結到檔案',
'attachments_link_url_hint' => '網站或檔案的網址',
'attach' => '附加',
- 'attachments_insert_link' => 'Add Attachment Link to Page',
+ 'attachments_insert_link' => '將附件連結新增到頁面',
'attachments_edit_file' => '編輯檔案',
'attachments_edit_file_name' => '檔案名稱',
- 'attachments_edit_drop_upload' => '刪除檔案或點選這裡上傳並覆蓋',
+ 'attachments_edit_drop_upload' => '拖曳檔案或點擊此處以上傳並覆寫',
'attachments_order_updated' => '附件順序已更新',
'attachments_updated_success' => '附件資訊已更新',
'attachments_deleted' => '附件已刪除',
'attachments_file_uploaded' => '附件上傳成功',
'attachments_file_updated' => '附件更新成功',
'attachments_link_attached' => '連結成功附加到頁面',
- 'templates' => '樣本',
- 'templates_set_as_template' => '頁面是模板',
- 'templates_explain_set_as_template' => '您可以將此頁面設置為模板,以便在創建其他頁面時利用其內容。 如果其他用戶對此頁面擁有查看權限,則將可以使用此模板。',
+ 'templates' => '範本',
+ 'templates_set_as_template' => '頁面為範本',
+ 'templates_explain_set_as_template' => '您可以將此頁面設定為範本,以便在建立其他頁面時利用其內容。如果其他使用者對此頁面擁有檢視權限,則將可以使用此範本。',
'templates_replace_content' => '替換頁面內容',
'templates_append_content' => '附加到頁面內容',
'templates_prepend_content' => '前置頁面內容',
// Profile View
'profile_user_for_x' => '來這裡:time了',
'profile_created_content' => '已建立內容',
- 'profile_not_created_pages' => ':userName尚未建立任何頁面',
- 'profile_not_created_chapters' => ':userName尚未建立任何章節',
- 'profile_not_created_books' => ':userName尚未建立任何書本',
+ 'profile_not_created_pages' => ':userName 尚未建立任何頁面',
+ 'profile_not_created_chapters' => ':userName 尚未建立任何章節',
+ 'profile_not_created_books' => ':userName 尚未建立任何書本',
'profile_not_created_shelves' => ':userName 沒有創建任何書架',
// Comments
'comments' => '評論',
'comment_add' => '新增評論',
'comment_placeholder' => '在這裡評論',
- 'comment_count' => '{0} 無評論|{1} :count條評論|[2,*] :count條評論',
+ 'comment_count' => '{0} 無評論 |{1} :count 則評論 | [2,*] :count 則評論',
'comment_save' => '儲存評論',
- 'comment_saving' => '正在儲存評論...',
- 'comment_deleting' => '正在刪除評論...',
+ 'comment_saving' => '正在儲存評論……',
+ 'comment_deleting' => '正在刪除評論……',
'comment_new' => '新評論',
'comment_created' => '評論於 :createDiff',
'comment_updated' => '由 :username 於 :updateDiff 更新',
'comment_deleted_success' => '評論已刪除',
'comment_created_success' => '評論已加入',
'comment_updated_success' => '評論已更新',
- 'comment_delete_confirm' => '你確定要刪除這條評論?',
+ 'comment_delete_confirm' => '您確定要刪除這則評論?',
'comment_in_reply_to' => '回覆 :commentId',
// Revision
- 'revision_delete_confirm' => '您確定要刪除此修訂版嗎?',
- 'revision_restore_confirm' => '您確定要還原此修訂版嗎? 當前頁面內容將被替換。',
- 'revision_delete_success' => '修訂刪除',
- 'revision_cannot_delete_latest' => '無法刪除最新版本。'
-];
\ No newline at end of file
+ 'revision_delete_confirm' => '您確定要刪除此修訂版本嗎?',
+ 'revision_restore_confirm' => '您確定要還原此修訂版本嗎? 目前頁面內容將被替換。',
+ 'revision_delete_success' => '修訂版本已刪除',
+ 'revision_cannot_delete_latest' => '無法刪除最新修訂版本。'
+];
// Permissions
'permission' => '您沒有權限進入所請求的頁面。',
- 'permissionJson' => '您沒有權限執行所請求的操作。',
+ 'permissionJson' => '您沒有權限執行所請求的動作。',
// Auth
- 'error_user_exists_different_creds' => 'Email為 :email 的使用者已經存在,但具有不同的憑據。',
- 'email_already_confirmed' => 'Email已被確認,請嘗試登錄。',
- 'email_confirmation_invalid' => '此確認 Session 無效或已被使用,請重新註冊。',
- 'email_confirmation_expired' => '確認 Session 已過期,已發送新的確認電子郵件。',
- 'email_confirmation_awaiting' => '用於此賬戶的電子郵箱需要認證',
- 'ldap_fail_anonymous' => '使用匿名綁定的LDAP進入失敗。',
- 'ldap_fail_authed' => '帶有標識名稱和密碼的LDAP進入失敗。',
- 'ldap_extension_not_installed' => '未安裝LDAP PHP外掛程式',
- 'ldap_cannot_connect' => '無法連接到ldap伺服器,第一次連接失敗',
- 'saml_already_logged_in' => '已登陸',
- 'saml_user_not_registered' => '用戶:name未註冊,自動註冊不可用',
- 'saml_no_email_address' => '在外部認證系統提供的數據中找不到該用戶的電子郵件地址',
- 'saml_invalid_response_id' => '該應用程序啟動的進程無法識別來自外部身份驗證系統的請求。 登錄後返回可能會導致此問題。',
- 'saml_fail_authed' => '使用 :system 登錄失敗,系統未提供成功的授權',
- 'social_no_action_defined' => 'æ²\92æ\9c\89å®\9a義è¡\8cç\82º',
- 'social_login_bad_response' => "在 :socialAccount 登錄時遇到錯誤:\n:error",
- 'social_account_in_use' => ':socialAccount 帳號已被使用,請嘗試透過 :socialAccount 選項登錄。',
- 'social_account_email_in_use' => 'Email :email 已經被使用。如果您已有帳號,則可以在個人資料設定中綁定您的 :socialAccount。',
- 'social_account_existing' => ':socialAccount已經被綁定到您的帳號。',
- 'social_account_already_used_existing' => ':socialAccount帳號已經被其他使用者使用。',
- 'social_account_not_used' => ':socialAccount帳號沒有綁定到任何使用者,請在您的個人資料設定中綁定。 ',
+ 'error_user_exists_different_creds' => '電子郵件為 :email 已存在,但帳號密碼不同。',
+ 'email_already_confirmed' => '已確認電子郵件,請嘗試登入。',
+ 'email_confirmation_invalid' => '這個確認權杖無效或已被使用,請嘗試重新註冊。',
+ 'email_confirmation_expired' => '這個確認權杖無效或已被使用,已傳送新的確認電子郵件。',
+ 'email_confirmation_awaiting' => '用於此帳號的電子郵件地址需要確認',
+ 'ldap_fail_anonymous' => '使用匿名綁定的 LDAP 存取失敗',
+ 'ldap_fail_authed' => '使用指定的 DN 與密碼詳細資訊的 LDAP 存取失敗',
+ 'ldap_extension_not_installed' => '未安裝 PHP 的 LDAP 擴充程式',
+ 'ldap_cannot_connect' => '無法連線至 LDAP 伺服器,初始化連線失敗',
+ 'saml_already_logged_in' => '已登入',
+ 'saml_user_not_registered' => '使用者 :name 未註冊,並已停用自動註冊',
+ 'saml_no_email_address' => '在外部認證系統提供的資料中找不到該使用者的電子郵件地址',
+ 'saml_invalid_response_id' => '此應用程式啟動的處理程序無法識別來自外部認證系統的請求。登入後回上一頁可能會造成此問題。',
+ 'saml_fail_authed' => '使用 :system 登入失敗,系統未提供成功的授權',
+ 'social_no_action_defined' => 'æ\9cªå®\9a義å\8b\95ä½\9c',
+ 'social_login_bad_response' => "在 :socialAccount 登入時遇到錯誤: \n:error",
+ 'social_account_in_use' => ':socialAccount 帳號已被使用,請嘗試透過 :socialAccount 選項登入。',
+ 'social_account_email_in_use' => '電子郵件 :email 已被使用。如果您已有帳號,您可以在您的個人設定中連結您的 :socialAccount 帳號。',
+ 'social_account_existing' => '此 :socialAccount 已附加至您的個人資料。',
+ 'social_account_already_used_existing' => '此 :socialAccount 帳號已經被其他使用者使用。',
+ 'social_account_not_used' => '此 :socialAccount 帳號未連結至任何使用者。請至您的個人設定中連結。 ',
'social_account_register_instructions' => '如果您還沒有帳號,您可以使用 :socialAccount 選項註冊帳號。',
- 'social_driver_not_found' => 'æ\9cªæ\89¾到社交驅動程式',
- 'social_driver_not_configured' => '您的:socialAccount社交設定不正確。',
- 'invite_token_expired' => 'æ¤é\82\80è«\8bé\8f\88æ\8e¥å·²é\81\8eæ\9c\9fï¼\8cæ\82¨å\8f¯ä»¥å\98\97試é\87\8dç½®æ\82¨ç\9a\84賬æ\88¶密碼。',
+ 'social_driver_not_found' => 'æ\89¾ä¸\8d到社交驅動程式',
+ 'social_driver_not_configured' => '您的 :socialAccount 社交設定不正確。',
+ 'invite_token_expired' => 'æ¤é\82\80è«\8bé\80£çµ\90å·²é\81\8eæ\9c\9fã\80\82æ\82¨å\8f¯ä»¥å\98\97試é\87\8dè¨æ\82¨ç\9a\84帳è\99\9f密碼。',
// System
- 'path_not_writable' => '無法上傳到檔案路徑“:filePath”,請確保它可寫入伺服器。',
- 'cannot_get_image_from_url' => '無法從 :url 中獲取圖片',
- 'cannot_create_thumbs' => '伺服器無法建立縮圖,請檢查您是否安裝了GD PHP外掛。',
- 'server_upload_limit' => 'ä¸\8aå\82³ç\9a\84æª\94æ¡\88大å°\8fè¶\85é\81\8e伺æ\9c\8då\99¨å\85\81許ä¸\8aé\99\90。請嘗試較小的檔案。',
- 'uploaded' => 'ä¸\8aå\82³ç\9a\84æª\94æ¡\88大å°\8fè¶\85é\81\8e伺æ\9c\8då\99¨å\85\81許ä¸\8aé\99\90。請嘗試較小的檔案。',
+ 'path_not_writable' => '無法上傳到 :filePath 檔案路徑。請確定其對伺服器來說是可寫入的。',
+ 'cannot_get_image_from_url' => '無法從 :url 取得圖片',
+ 'cannot_create_thumbs' => '伺服器無法建立縮圖。請檢查您是否安裝了 PHP 的 GD 擴充程式。',
+ 'server_upload_limit' => '伺æ\9c\8då\99¨ä¸\8då\85\81許ä¸\8aå\82³é\80\99å\80\8b大ç\9a\84æª\94æ¡\88。請嘗試較小的檔案。',
+ 'uploaded' => '伺æ\9c\8då\99¨ä¸\8då\85\81許ä¸\8aå\82³é\80\99å\80\8b大ç\9a\84æª\94æ¡\88。請嘗試較小的檔案。',
'image_upload_error' => '上傳圖片時發生錯誤',
- 'image_upload_type_error' => '上傳圖片類型錯誤',
- 'file_upload_timeout' => 'æ\96\87ä»¶ä¸\8aå\82³å·²è¶\85時。',
+ 'image_upload_type_error' => '上傳圖片類型無效',
+ 'file_upload_timeout' => 'æª\94æ¡\88ä¸\8aå\82³é\80¾時。',
// Attachments
- 'attachment_not_found' => 'æ²\92æ\9c\89æ\89¾到附件',
+ 'attachment_not_found' => 'æ\89¾ä¸\8d到附件',
// Pages
- 'page_draft_autosave_fail' => '無法儲存草稿,確保您在儲存頁面之前已經連接到互聯網',
- 'page_custom_home_deletion' => '無法刪除一個被設定為首頁的頁面',
+ 'page_draft_autosave_fail' => '無法儲存草稿。請確保您在儲存此頁面前已連線至網際網路',
+ 'page_custom_home_deletion' => '無法刪除被設定為首頁的頁面',
// Entities
- 'entity_not_found' => 'æ\9cªæ\89¾到實體',
- 'bookshelf_not_found' => 'æ\9cªæ\89¾到書架',
- 'book_not_found' => 'æ\9cªæ\89¾å\88°å\9c\96æ\9b¸',
- 'page_not_found' => 'æ\9cªæ\89¾到頁面',
- 'chapter_not_found' => 'æ\9cªæ\89¾到章節',
- 'selected_book_not_found' => '選中的書未找到',
- 'selected_book_chapter_not_found' => 'æ\9cªæ\89¾å\88°æ\89\80é\81¸ç\9a\84å\9c\96æ\9b¸或章節',
- 'guests_cannot_save_drafts' => '訪客不能儲存草稿',
+ 'entity_not_found' => 'æ\89¾ä¸\8d到實體',
+ 'bookshelf_not_found' => 'æ\89¾ä¸\8d到書架',
+ 'book_not_found' => 'æ\89¾ä¸\8då\88°æ\9b¸æ\9c¬',
+ 'page_not_found' => 'æ\89¾ä¸\8d到頁面',
+ 'chapter_not_found' => 'æ\89¾ä¸\8d到章節',
+ 'selected_book_not_found' => '找不到選定的書本',
+ 'selected_book_chapter_not_found' => 'æ\89¾ä¸\8då\88°é\81¸å®\9aç\9a\84æ\9b¸æ\9c¬或章節',
+ 'guests_cannot_save_drafts' => '訪客無法儲存草稿',
// Users
'users_cannot_delete_only_admin' => '您不能刪除唯一的管理員帳號',
// Roles
'role_cannot_be_edited' => '無法編輯這個角色',
'role_system_cannot_be_deleted' => '無法刪除系統角色',
- 'role_registration_default_cannot_delete' => '無法刪除設定為預設註冊的角色',
- 'role_cannot_remove_only_admin' => '該用戶是分配作為管理員職務的唯一用戶。 在嘗試在此處刪除管理員職務之前,請將其分配給其他用戶。',
+ 'role_registration_default_cannot_delete' => '無法刪除設定預設註冊的角色',
+ 'role_cannot_remove_only_admin' => '此使用者是唯一被指派為管理員角色的使用者。在試圖移除這裡前,請將管理員角色指派給其他使用者。',
// Comments
- 'comment_list' => '讀取評論時發生錯誤。',
- 'cannot_add_comment_to_draft' => '您不能為草稿加入評論。',
- 'comment_add' => '加入/更新評論時發生錯誤。',
+ 'comment_list' => '擷取評論時發生錯誤。',
+ 'cannot_add_comment_to_draft' => '您無法新增評論到草稿中。',
+ 'comment_add' => '新增/更新評論時發生錯誤。',
'comment_delete' => '刪除評論時發生錯誤。',
- 'empty_comment' => '不能加入空的評論。',
+ 'empty_comment' => '無法新增空評論。',
// Error pages
- '404_page_not_found' => '無法找到頁面',
- 'sorry_page_not_found' => '對不起,無法找到您想進入的頁面。',
+ '404_page_not_found' => '找不到頁面',
+ 'sorry_page_not_found' => '抱歉,找不到您在尋找的頁面。',
'sorry_page_not_found_permission_warning' => '如果您確認這個頁面存在,則代表可能沒有查看它的權限。',
- 'return_home' => '返回首頁',
+ 'image_not_found' => 'Image Not Found',
+ 'image_not_found_subtitle' => 'Sorry, The image file you were looking for could not be found.',
+ 'image_not_found_details' => 'If you expected this image to exist it might have been deleted.',
+ 'return_home' => '回到首頁',
'error_occurred' => '發生錯誤',
- 'app_down' => ':appName現在正在關閉',
- 'back_soon' => '請耐心等待網站的恢複。',
+ 'app_down' => ':appName 離線中',
+ 'back_soon' => '它應該很快就會重新上線。',
// API errors
- 'api_no_authorization_found' => '在請求上找不到授權令牌',
- 'api_bad_authorization_format' => '在請求中找到授權令牌,但格式似乎不正確',
- 'api_user_token_not_found' => '找不到提供的授權令牌的匹配API令牌',
- 'api_incorrect_token_secret' => '給定使用的API令牌提供的密鑰不正確',
- 'api_user_no_api_permission' => '使用的API令牌的擁有者者無權進行API調用',
- 'api_user_token_expired' => '授權令牌已過期',
+ 'api_no_authorization_found' => '在請求上找不到授權權杖',
+ 'api_bad_authorization_format' => '在請求中找到授權權杖,但格式似乎不正確',
+ 'api_user_token_not_found' => '找不到與提供的授權權杖相符的 API 權杖',
+ 'api_incorrect_token_secret' => '給定使用的 API 權杖的密碼錯誤',
+ 'api_user_no_api_permission' => '使用的 API 權杖擁有者無權呼叫 API',
+ 'api_user_token_expired' => '使用的授權權杖已過期',
// Settings & Maintenance
'maintenance_test_email_failure' => '寄送測試電子郵件時發生錯誤:',
*/
return [
- 'password' => 'å¯\86碼å¿\85é \88è\87³å°\91å\8c\85å\90«å\85å\80\8bå\97å\85\83並è\88\87確èª\8d相符。',
+ 'password' => 'å¯\86碼å¿\85é \88è\87³å°\91å\85«å\80\8bå\97å\85\83ï¼\8c並è\88\87確èª\8då¯\86碼相符。',
'user' => "沒有使用這個電子郵件位址的使用者。",
- 'token' => '這個電子郵件位址的密碼重置權仗無效。',
- 'sent' => '我們已經透過電子郵件發送您的密碼重置連結。',
- 'reset' => '您的密碼已被重置。',
+ 'token' => '這個電子郵件地址的密碼重設權杖無效。',
+ 'sent' => '我們已經透過電子郵件發送您的密碼重設連結。',
+ 'reset' => '您的密碼已被重設!',
];
'settings_save_success' => '設定已儲存',
// App Settings
- 'app_customization' => '自定義',
+ 'app_customization' => '自訂',
'app_features_security' => '功能與安全',
- 'app_name' => 'App名',
- 'app_name_desc' => '此名稱將在網頁頂端和Email中顯示。',
- 'app_name_header' => '在網頁頂端顯示應用名稱?',
- 'app_public_access' => '公共訪問',
- 'app_public_access_desc' => '啟用此選項將允許未登錄的訪問者訪問BookStack實例中的內容。',
- 'app_public_access_desc_guest' => 'å\8f¯ä»¥é\80\9aé\81\8eâ\80\9c訪客â\80\9dæ\8e§å\88¶å\85¬å\85±è¨ªå\95\8fè\80\85ç\9a\84訪å\95\8f。',
- 'app_public_access_toggle' => '允許公開訪問',
- 'app_public_viewing' => '開放公開閱覽?',
- 'app_secure_images' => '啟用更高安全性的圖片上傳?',
+ 'app_name' => '應用程式名稱',
+ 'app_name_desc' => '此名稱會在網頁頂端與任何系統傳送的電子郵件中出現。',
+ 'app_name_header' => '在網頁頂端顯示名稱',
+ 'app_public_access' => '公開存取',
+ 'app_public_access_desc' => '啟用此選項將會允許未登入的訪客存取您 BookStack 站台中的內容。',
+ 'app_public_access_desc_guest' => 'å\8f¯ä»¥é\80\8fé\81\8eã\80\8c訪客ã\80\8d使ç\94¨è\80\85æ\8e§å\88¶å\85¬é\96\8b訪客ç\9a\84å\98å\8f\96。',
+ 'app_public_access_toggle' => '允許公開存取',
+ 'app_public_viewing' => '允許公開檢視?',
+ 'app_secure_images' => '更高安全性的圖片上傳',
'app_secure_images_toggle' => '啟用更高安全性的圖片上傳',
- 'app_secure_images_desc' => 'å\87ºæ\96¼æ\95\88è\83½è\80\83é\87\8fï¼\8cæ\89\80æ\9c\89å\9c\96ç\89\87é\83½æ\98¯å\85¬é\96\8bç\9a\84ã\80\82é\80\99å\80\8bé\81¸é \85æ\9c\83å\9c¨å\9c\96ç\89\87ç\9a\84ç¶²å\9d\80å\89\8då\8a å\85¥ä¸\80å\80\8bé\9a¨æ©\9f並é\9b£ä»¥ç\8c\9c測ç\9a\84å\97å\85\83串ï¼\8cå¾\9eè\80\8c使ç\9b´æ\8e¥é\80²å\85¥è®\8aå¾\97困難。',
+ 'app_secure_images_desc' => 'å\9b ç\82ºæ\95\88è\83½å\9b ç´ ï¼\8cæ\89\80æ\9c\89å\9c\96ç\89\87é\83½æ\98¯å\85¬é\96\8bç\9a\84ã\80\82æ¤é\81¸é \85æ\9c\83å\9c¨å\9c\96ç\89\87ç\9a\84ç¶²å\9d\80å\89\8då\8a å\85¥ä¸\80串é\9a¨æ©\9fä¸\94é\9b£ä»¥ç\8c\9c測ç\9a\84å\97串ã\80\82確ä¿\9dæ\9cªå\95\9fç\94¨ç\9b®é\8c\84ç´¢å¼\95ï¼\8cè®\93ç\9b´æ\8e¥é\80²å\85¥è®\8aå¾\97æ\9b´困難。',
'app_editor' => '頁面編輯器',
- 'app_editor_desc' => '選擇所有使用者將使用哪個編輯器來編輯頁面。',
- 'app_custom_html' => '自訂HTML頂端內容',
- 'app_custom_html_desc' => '此處加入的任何內容都將插入到每個頁面的<head>部分的底部,這對於覆蓋樣式或加入分析程式碼很方便。',
- 'app_custom_html_disabled_notice' => '在此設置頁面上禁用了自定義HTML標題內容,以確保可以恢復所有重大更改。',
- 'app_logo' => 'App Logo',
- 'app_logo_desc' => '這個圖片的高度應該為43px。<br>大圖片將會被縮小。',
- 'app_primary_color' => 'App主要配色',
- 'app_primary_color_desc' => '請使用十六進位數值。<br>保留空白則重置回預設配色。',
- 'app_homepage' => 'App首頁',
- 'app_homepage_desc' => '選擇要做為首頁的頁面,這將會替換預設首頁,而且這個頁面的權限設定將被忽略。',
- 'app_homepage_select' => '預設首頁選擇',
- 'app_disable_comments' => '關閉評論',
- 'app_disable_comments_toggle' => '禁用評論',
- 'app_disable_comments_desc' => '在App的所有頁面上關閉評論,已經存在的評論也不會顯示。',
+ 'app_editor_desc' => '選取所有使用者將使用哪個編輯器來編輯頁面。',
+ 'app_custom_html' => '自訂 HTML 標題內容',
+ 'app_custom_html_desc' => '此處加入的任何內容都將插入到每個頁面的 <head> 部分的底部,這對於覆蓋樣式或加入分析程式碼很方便。',
+ 'app_custom_html_disabled_notice' => '在此設定頁面上停用了自訂 HTML 標題內容,以確保任何重大變更都能被還原。',
+ 'app_logo' => '應用程式圖示',
+ 'app_logo_desc' => '此圖片的高度應為 43px。<br>較大的圖片將會被縮小。',
+ 'app_primary_color' => '應用程式主要色彩',
+ 'app_primary_color_desc' => '設定應用程式的主要色彩,包含了橫幅、按鈕與連結。',
+ 'app_homepage' => '應用程式首頁',
+ 'app_homepage_desc' => '選取要作為首頁的頁面,這將會取代預設首頁。選定頁面的頁面權限將會被忽略。',
+ 'app_homepage_select' => '選取頁面',
+ 'app_footer_links' => '頁面註腳連結',
+ 'app_footer_links_desc' => '新增連結以在網站註腳顯示。這些將會顯示在大多數頁面的底部,包含那些不需要登入的頁面。您可以使用 "trans::<key>" 標籤來使用系統定義的翻譯。舉例來說:使用 "trans::common.privacy_policy" 將會提供已翻譯的文字「隱私權政策」,以及 "trans::common.terms_of_service" 將會提供已翻譯的文字「服務條款」。',
+ 'app_footer_links_label' => '連結標籤',
+ 'app_footer_links_url' => '連結網址',
+ 'app_footer_links_add' => '新增註腳連結',
+ 'app_disable_comments' => '停用評論',
+ 'app_disable_comments_toggle' => '停用評論',
+ 'app_disable_comments_desc' => '在應用程式的所有頁面停用評論。<br>既有的評論將不會顯示。',
// Color settings
'content_colors' => '內容顏色',
- 'content_colors_desc' => '為頁面組織層次結構中的所有元素設置顏色。 為了提高可讀性,建議選擇亮度與默認顏色相似的顏色。',
+ 'content_colors_desc' => '為頁面層次結構中的所有元素設定顏色。 為了提高可讀性,建議選擇亮度與預設顏色相似的顏色。',
'bookshelf_color' => '書架顔色',
'book_color' => '書本顔色',
'chapter_color' => '章節顔色',
'page_draft_color' => '頁面草稿顏色',
// Registration Settings
- 'reg_settings' => '註冊設定',
+ 'reg_settings' => '註冊',
'reg_enable' => '啟用註冊',
'reg_enable_toggle' => '啟用註冊',
- 'reg_enable_desc' => '啟用註冊後,用戶將可以自己註冊為應用程序用戶。註冊後,他們將獲得一個默認的單一用戶角色。',
+ 'reg_enable_desc' => '啟用註冊後,使用者將可以自行註冊為應用程式的使用者。註冊後,他們將會得到一個預設的使用者角色。',
'reg_default_role' => '註冊後的預設使用者角色',
- 'reg_enable_external_warning' => '當外部 LDAP 或 SAML 身份驗證啟用時,將會忽略上述選項。如果外部身份驗證成功,將會自動在本系統建立使用者帳戶。',
+ 'reg_enable_external_warning' => '當外部 LDAP 或 SAML 身份驗證啟用時,將會忽略上述選項。如果外部身份驗證成功,將會自動在本系統建立使用者帳號。',
'reg_email_confirmation' => '電子郵件驗證',
'reg_email_confirmation_toggle' => '需要電子郵件驗證',
- 'reg_confirm_email_desc' => '如果使用網域名稱限制,則需要電子郵件驗證,並且本設定將被忽略。',
- 'reg_confirm_restrict_domain' => '網域名稱限制',
- 'reg_confirm_restrict_domain_desc' => '輸入您想要限制註冊的Email域域名稱列表,用逗號隔開。在被允許與本系統連結之前,使用者會收到一封Email來確認他們的位址。<br>注意,使用者在註冊成功後可以修改他們的Email位址。',
- 'reg_confirm_restrict_domain_placeholder' => '尚未設定限制的網域',
+ 'reg_confirm_email_desc' => '如果使用網域限制,則需要電子郵件驗證,且此選項將被忽略。',
+ 'reg_confirm_restrict_domain' => '網域限制',
+ 'reg_confirm_restrict_domain_desc' => '輸入您想要限制註冊的電子郵件網域列表,以英文逗號分隔。在可以與應用程式互動前,使用者將會收到電子郵件以確認他們的電子郵件地址。<br>注意,使用者可以在註冊成功後變更他們的電子郵件地址。',
+ 'reg_confirm_restrict_domain_placeholder' => '尚未設定限制',
// Maintenance settings
'maint' => '維護',
- 'maint_image_cleanup' => '清理圖像',
- 'maint_image_cleanup_desc' => "掃描頁面和修訂內容以檢查哪些圖像是正在使用的以及哪些圖像是多余的。確保在運行前創建完整的數據庫和映像備份。",
- 'maint_image_cleanup_ignore_revisions' => '忽略修訂記錄中的圖像',
- 'maint_image_cleanup_run' => '運行清理',
- 'maint_image_cleanup_warning' => '發現了:count 張可能未使用的圖像。您確定要刪除這些圖像嗎?',
- 'maint_image_cleanup_success' => '找到並刪除了:count 張可能未使用的圖像!',
- 'maint_image_cleanup_nothing_found' => '找不到未使用的圖像,未刪除任何檔案!',
- 'maint_send_test_email' => '發送測試電子郵件',
- 'maint_send_test_email_desc' => '這會將測試電子郵件發送到您的個人資料中指定的電子郵件地址。',
- 'maint_send_test_email_run' => '發送測試郵件',
- 'maint_send_test_email_success' => 'é\83µä»¶ç\99¼送到 :address',
+ 'maint_image_cleanup' => '清理圖片',
+ 'maint_image_cleanup_desc' => "掃描頁面與修訂版本內容來檢查目前使用了哪些圖片,而哪些圖片又是多餘的。請確保您在執行這個動作前建立了完整的資料庫與映像檔備份。",
+ 'maint_delete_images_only_in_revisions' => '也刪除僅存在於舊的頁面修訂版本中存在的圖片',
+ 'maint_image_cleanup_run' => '執行清理',
+ 'maint_image_cleanup_warning' => '發現了 :count 張可能未使用的圖片。您確定要刪除這些圖片嗎?',
+ 'maint_image_cleanup_success' => '找到並刪除了 :count 張可能未使用的圖片!',
+ 'maint_image_cleanup_nothing_found' => '找不到未使用的圖片,未刪除任何檔案!',
+ 'maint_send_test_email' => '傳送測試電子郵件',
+ 'maint_send_test_email_desc' => '這會將測試電子郵件傳送到您的個人資料中指定的電子郵件地址。',
+ 'maint_send_test_email_run' => '傳送測試郵件',
+ 'maint_send_test_email_success' => 'é\9b»å\90é\83µä»¶å·²å\82³送到 :address',
'maint_send_test_email_mail_subject' => '測試郵件',
'maint_send_test_email_mail_greeting' => '電子郵件傳遞似乎有效!',
- 'maint_send_test_email_mail_text' => '恭喜你! 收到此電子郵件通知時,您的電子郵件設置已經認證成功。',
+ 'maint_send_test_email_mail_text' => '恭喜!您收到這封電子郵件通知時,代表您的電子郵件設定已正確設定。',
+ 'maint_recycle_bin_desc' => '刪除的書架、書本、章節與頁面將會被傳送到回收桶,這樣仍可以還原或永久刪除。回收桶中較舊的項目可能會在一段時間後自動移除,取決於您的系統設定。',
+ 'maint_recycle_bin_open' => '開啟回收桶',
+
+ // Recycle Bin
+ 'recycle_bin' => '資源回收桶',
+ 'recycle_bin_desc' => '在這裡,您可以還原已刪除的項目,或是選擇將其從系統中永久移除。與系統中套用了權限過濾條件類似的活動列表不同的是,此列表並未過濾。',
+ 'recycle_bin_deleted_item' => '已刪除項目',
+ 'recycle_bin_deleted_by' => '刪除由',
+ 'recycle_bin_deleted_at' => '刪除時間',
+ 'recycle_bin_permanently_delete' => '永久刪除',
+ 'recycle_bin_restore' => '還原',
+ 'recycle_bin_contents_empty' => '回收桶目前是空的',
+ 'recycle_bin_empty' => '清空回收桶',
+ 'recycle_bin_empty_confirm' => '這將會永久破壞回收桶中的所有項目,包括每個項目中包含的內容。您確定您想要清空回收桶嗎?',
+ 'recycle_bin_destroy_confirm' => '此動作將會從系統中永久移除此項目以及下方列出的所有下層元素,您將無法還原此內容。您確定您想要永久刪除此項目嗎?',
+ 'recycle_bin_destroy_list' => '要被銷毀的項目',
+ 'recycle_bin_restore_list' => '要被還原的項目',
+ 'recycle_bin_restore_confirm' => '此動作將會還原已被刪除的項目(包含任何下層元素)到其原始位置。如果原始位置已被刪除,且目前位於垃圾桶裡,那麼上層項目也需要被還原。',
+ 'recycle_bin_restore_deleted_parent' => '此項目的上層項目也已被刪除。因此將會保持被刪除的狀態,直到上層項目也被還原。',
+ 'recycle_bin_destroy_notification' => '已從回收桶刪除共 :count 個項目。',
+ 'recycle_bin_restore_notification' => '已從回收桶還原共 :count 個項目。',
// Audit Log
- 'audit' => 'Audit Log',
- 'audit_desc' => 'This audit log displays a list of activities tracked in the system. This list is unfiltered unlike similar activity lists in the system where permission filters are applied.',
- 'audit_event_filter' => 'Event Filter',
- 'audit_event_filter_no_filter' => 'No Filter',
- 'audit_deleted_item' => 'Deleted Item',
- 'audit_deleted_item_name' => 'Name: :name',
- 'audit_table_user' => 'User',
- 'audit_table_event' => 'Event',
- 'audit_table_item' => 'Related Item',
- 'audit_table_date' => 'Activity Date',
- 'audit_date_from' => 'Date Range From',
- 'audit_date_to' => 'Date Range To',
+ 'audit' => '稽核記錄',
+ 'audit_desc' => '此稽核日誌會顯示被系統追蹤的活動列表。與系統中套用了權限過濾條件類似的活動列表不同的是,此列表並未過濾。',
+ 'audit_event_filter' => '活動過濾條件',
+ 'audit_event_filter_no_filter' => '無過濾條件',
+ 'audit_deleted_item' => '已刪除的項目',
+ 'audit_deleted_item_name' => '名稱::name',
+ 'audit_table_user' => '使用者',
+ 'audit_table_event' => '活動',
+ 'audit_table_related' => '相關的項目或詳細資訊',
+ 'audit_table_date' => '活動日期',
+ 'audit_date_from' => '日期範圍,從',
+ 'audit_date_to' => '日期範圍,到',
// Role Settings
'roles' => '角色',
'role_user_roles' => '使用者角色',
- 'role_create' => '建立角色',
+ 'role_create' => '建立新角色',
'role_create_success' => '角色建立成功',
'role_delete' => '刪除角色',
- 'role_delete_confirm' => '這將會刪除名為 \':roleName\' 的角色.',
- 'role_delete_users_assigned' => '有:userCount位使用者屬於此角色。如果您想將此角色中的使用者遷移,請在下面選擇一個新角色。',
+ 'role_delete_confirm' => '這將會刪除名為「:roleName」的角色.',
+ 'role_delete_users_assigned' => '有 :userCount 位使用者屬於此角色。如果您想將此角色中的使用者遷移,請在下面選擇一個新角色。',
'role_delete_no_migration' => "不要遷移使用者",
- 'role_delete_sure' => '您確定要刪除這個角色?',
+ 'role_delete_sure' => '您確定要刪除此角色?',
'role_delete_success' => '角色刪除成功',
'role_edit' => '編輯角色',
'role_details' => '角色詳細資訊',
- 'role_name' => '角色名',
- 'role_desc' => '角色簡述',
- 'role_external_auth_id' => '外部身份驗證ID',
+ 'role_name' => '角色名稱',
+ 'role_desc' => '角色簡短說明',
+ 'role_external_auth_id' => '外部身份驗證 ID',
'role_system' => '系統權限',
'role_manage_users' => '管理使用者',
'role_manage_roles' => '管理角色與角色權限',
- 'role_manage_entity_permissions' => '管理所有圖書,章節和頁面的權限',
- 'role_manage_own_entity_permissions' => '管理自己的圖書,章節和頁面的權限',
- 'role_manage_page_templates' => '管理頁面模板',
- 'role_access_api' => '存取系統API',
- 'role_manage_settings' => '管理App設定',
- 'role_asset' => '資源項目',
- 'roles_system_warning' => '請注意,具有上述三項權限任何一項的用戶能更改自己或系統中其他人的權限。應只將具這些權限的角色分配予受信任的用戶。',
- 'role_asset_desc' => '對系統內資源的預設權限將由這裡的權限控制。若有單獨設定在書本、章節和頁面上的權限,將會覆蓋這裡的權限設定。',
- 'role_asset_admins' => '管理員會自動獲得對所有內容的存取權限,但這些選項可能會顯示或隱藏UI的選項。',
+ 'role_manage_entity_permissions' => '管理所有書本、章節與頁面的權限',
+ 'role_manage_own_entity_permissions' => '管理自己的書本、章節與頁面的權限',
+ 'role_manage_page_templates' => '管理頁面範本',
+ 'role_access_api' => '存取系統 API',
+ 'role_manage_settings' => '管理應用程式設定',
+ 'role_asset' => '資源權限',
+ 'roles_system_warning' => '請注意,有上述三項權限中的任一項的使用者都可以更改自己或系統中其他人的權限。有這些權限的角色只應分配給受信任的使用者。',
+ 'role_asset_desc' => '對系統內資源的預設權限將由這裡的權限控制。若有單獨設定在書本、章節和頁面上的權限,將會覆寫這裡的權限設定。',
+ 'role_asset_admins' => '管理員會自動取得對所有內容的存取權,但這些選項可能會顯示或隱藏使用者介面的選項。',
'role_all' => '全部',
'role_own' => '擁有',
'role_controlled_by_asset' => '依據隸屬的資源來決定',
'role_save' => '儲存角色',
'role_update_success' => '角色更新成功',
- 'role_users' => '此角色的使用者',
- 'role_users_none' => '目前沒有使用者被分配到這個角色',
+ 'role_users' => '屬於此角色的使用者',
+ 'role_users_none' => '目前沒有使用者被分配到此角色',
// Users
'users' => '使用者',
- 'user_profile' => '使用者資料',
- 'users_add_new' => '加入使用者',
+ 'user_profile' => '使用者個人資料',
+ 'users_add_new' => '新增使用者',
'users_search' => '搜尋使用者',
- 'users_details' => '用戶詳情',
- 'users_details_desc' => '請設置用戶的顯示名稱和電子郵件地址, 該電子郵件地址將用於登錄該應用。',
- 'users_details_desc_no_email' => '設置一個用戶的顯示名稱,以便其他人可以認出你。',
+ 'users_latest_activity' => '最新活動',
+ 'users_details' => '使用者詳細資訊',
+ 'users_details_desc' => '為此使用者設定顯示名稱與電子郵件地址。電子郵件地址將用於登入應用程式。',
+ 'users_details_desc_no_email' => '為此使用者設定顯示名稱,這樣其他人才能認出該使用者。',
'users_role' => '使用者角色',
- 'users_role_desc' => '選擇一個將分配給該用戶的角色。 如果將一個用戶分配給多個角色,則這些角色的權限將堆疊在一起,並且他們將獲得分配的角色的所有功能。',
- 'users_password' => '用戶密碼',
- 'users_password_desc' => '設置用於登錄賬戶的密碼, 密碼長度必須至少為6個字符。',
- 'users_send_invite_text' => '您可以選擇向該用戶發送邀請電子郵件,允許他們設置自己的密碼,或者您可以自己設置他們的密碼。',
- 'users_send_invite_option' => 'å\90\91ç\94¨æ\88¶ç\99¼é\80\81é\82\80è«\8bé\9b»å\90é\83µä»¶',
- 'users_external_auth_id' => '外部身份驗證ID',
- 'users_external_auth_id_desc' => '這個 ID 將於外部身份驗證系統時,用於比對使用者。',
+ 'users_role_desc' => '選取要分配的此使用者的角色。若使用者被分配到多個角色,則這些角色的權限將會堆疊,使用者將會取得被分配角色的所有功能。',
+ 'users_password' => '使用者密碼',
+ 'users_password_desc' => '設定用於登入應用程式的密碼。密碼必須至少 6 個字元長。',
+ 'users_send_invite_text' => '您可以選擇向此使用者傳送邀請電子郵件,讓他們可以設定自己的密碼,您也可以自行設定他們的密碼。',
+ 'users_send_invite_option' => 'å\82³é\80\81é\82\80è«\8bé\9b»å\90é\83µä»¶çµ¦ä½¿ç\94¨è\80\85',
+ 'users_external_auth_id' => '外部身份驗證 ID',
+ 'users_external_auth_id_desc' => '與外部身份驗證系統通訊時,此 ID 將用於比對使用者。',
'users_password_warning' => '如果您想更改密碼,請填寫以下內容:',
- 'users_system_public' => 'æ¤ä½¿ç\94¨è\80\85代表é\80²å\85¥æ\82¨ç\9a\84Appç\9a\84ä»»ä½\95訪客ã\80\82å®\83ä¸\8dè\83½ç\94¨æ\96¼ç\99»å\85¥ï¼\8cè\80\8cæ\98¯自動分配。',
+ 'users_system_public' => 'æ¤ä½¿ç\94¨è\80\85代表é\80 訪æ\82¨ç«\99å\8f°ç\9a\84ä»»ä½\95訪客使ç\94¨è\80\85ã\80\82å\85¶ä¸\8dè\83½ç\94¨æ\96¼ç\99»å\85¥ï¼\8cè\80\8cæ\9c\83自動分配。',
'users_delete' => '刪除使用者',
'users_delete_named' => '刪除使用者 :userName',
- 'users_delete_warning' => '這將從系統中完全刪除名為 \':userName\' 的使用者。',
- 'users_delete_confirm' => '您確定要刪除這個使用者?',
- 'users_delete_success' => '使用者刪除成功。',
+ 'users_delete_warning' => '這將從系統中完全刪除名為「:userName」的使用者。',
+ 'users_delete_confirm' => '您確定要刪除此使用者?',
+ 'users_migrate_ownership' => '轉移所有權',
+ 'users_migrate_ownership_desc' => '如果您希望其他使用者變成目前此使用者擁有的所有項目的新擁有者,請在此處選取新的使用者。',
+ 'users_none_selected' => '未選取使用者',
+ 'users_delete_success' => '使用者移除成功',
'users_edit' => '編輯使用者',
- 'users_edit_profile' => '編輯資料',
+ 'users_edit_profile' => '編輯個人資料',
'users_edit_success' => '使用者更新成功',
'users_avatar' => '使用者大頭照',
- 'users_avatar_desc' => '目前圖片應該為約256px的正方形。',
- 'users_preferred_language' => '語言',
- 'users_preferred_language_desc' => 'æ¤é\81¸é \85å°\87æ\9b´æ\94¹ç\94¨æ\96¼æ\87\89ç\94¨ç\94¨æ\88¶ç\95\8cé\9d¢ç\9a\84èª\9eè¨\80ï¼\8cä½\86 é\80\99ä¸\8dæ\9c\83å½±é\9f¿ä»»ä½\95ç\94¨æ\88¶å\89µå»º的內容。',
+ 'users_avatar_desc' => '選取一張代表此使用者的圖片。這應該是大約 256px 的正方形。',
+ 'users_preferred_language' => '偏好語言',
+ 'users_preferred_language_desc' => 'æ¤é\81¸é \85å°\87æ\9c\83è®\8aæ\9b´ç\94¨æ\96¼æ\87\89ç\94¨ç¨\8bå¼\8f使ç\94¨è\80\85ä»\8bé\9d¢ç\9a\84èª\9eè¨\80ã\80\82ä¸\8dæ\9c\83å½±é\9f¿ä»»ä½\95使ç\94¨è\80\85建ç«\8b的內容。',
'users_social_accounts' => '社群網站帳號',
- 'users_social_accounts_info' => '在這里,您可以連結您的其他帳號,以便方便地登入。如果您選擇解除連結,之後將不能透過此社群網站帳號登入,請設定社群網站帳號來取消本系統p的進入權限。',
+ 'users_social_accounts_info' => '您可以在此處連結您其他的帳號以供快速登入。從此處取消連結帳號並不會撤銷先前已授權的存取。請從您連結的社群網站帳號的個人設定中撤銷存取權。',
'users_social_connect' => '連結帳號',
- 'users_social_disconnect' => '解除連結帳號',
- 'users_social_connected' => ':socialAccount 帳號已經成功連結到您的資料。',
- 'users_social_disconnected' => ':socialAccount 帳號已經成功解除連結。',
- 'users_api_tokens' => 'API令牌',
- 'users_api_tokens_none' => '尚未為此用戶創建API令牌',
- 'users_api_tokens_create' => 'å\89µå»ºä»¤ç\89\8c',
+ 'users_social_disconnect' => '取消連結帳號',
+ 'users_social_connected' => ':socialAccount 帳號已經成功連結到您的個人資料。',
+ 'users_social_disconnected' => ':socialAccount 帳號已經成功取消連結。',
+ 'users_api_tokens' => 'API 權杖',
+ 'users_api_tokens_none' => '尚未為此使用者建立 API 權杖',
+ 'users_api_tokens_create' => '建ç«\8bæ¬\8aæ\9d\96',
'users_api_tokens_expires' => '過期',
- 'users_api_tokens_docs' => 'API檔案',
+ 'users_api_tokens_docs' => 'API 文件',
// API Tokens
- 'user_api_token_create' => 'å\89µå»º API 令ç\89\8c',
+ 'user_api_token_create' => '建ç«\8b API æ¬\8aæ\9d\96',
'user_api_token_name' => '名稱',
- 'user_api_token_name_desc' => '給您的令牌一個易讀的名稱,以備將來提醒其預期的用途。',
- 'user_api_token_expiry' => '過期日期',
- 'user_api_token_expiry_desc' => '設置此令牌到期的日期, 在此日期之後,使用此令牌發出的請求將不再起作用。 若該項留空則自動將在100年後到期。',
- 'user_api_token_create_secret_message' => 'å\89µå»ºæ¤ä»¤ç\89\8cå¾\8cï¼\8cå°\87ç«\8bå\8d³ç\94\9fæ\88\90並顯示â\80\9c令ç\89\8cIDâ\80\9då\92\8câ\80\9c令ç\89\8cå¯\86é\91°â\80\9dï¼\8c該å¯\86é\91°å\8fªæ\9c\83顯示ä¸\80次ï¼\8cå\9b æ¤è«\8b確ä¿\9då\9c¨ç¹¼çº\8cæ\93\8dä½\9cä¹\8b前將其複製到安全的地方。',
- 'user_api_token_create_success' => 'æ\88\90å\8a\9få\89µå»ºAPI令ç\89\8c',
- 'user_api_token_update_success' => '成功更新API令牌',
- 'user_api_token' => 'API 令牌',
- 'user_api_token_id' => '令牌 ID',
- 'user_api_token_id_desc' => '這是此令牌的不可編輯的系統生成的標識符,需要在API請求中提供。',
- 'user_api_token_secret' => '令牌密鑰',
- 'user_api_token_secret_desc' => '這是此令牌的系統生成的密鑰,需要在API請求中提供。 這只會顯示一次,因此請將其複製到安全的地方。',
- 'user_api_token_created' => '令牌已創建於 :timeAgo',
- 'user_api_token_updated' => '令牌已更新:timeAgo',
- 'user_api_token_delete' => '刪除令牌',
- 'user_api_token_delete_warning' => '這將從系統中完全刪除名稱為 ":tokenName" 的API令牌。',
- 'user_api_token_delete_confirm' => '您確定要刪除這個API令牌嗎?',
- 'user_api_token_delete_success' => 'API令牌成功刪除',
+ 'user_api_token_name_desc' => '給您的權杖易於辨識的名稱,如此未來才能提醒其預期用途。',
+ 'user_api_token_expiry' => '到期日',
+ 'user_api_token_expiry_desc' => '設定此權杖的到期日。在此日期後,使用此權杖發出的請求將不再起作用。若將此欄留空,將會設定在100年後過期。',
+ 'user_api_token_create_secret_message' => '建ç«\8bæ¤æ¬\8aæ\9d\96å¾\8cï¼\8cå°\87æ\9c\83ç«\8bå\8d³ç\94\9fæ\88\90並顯示ã\80\8cæ¬\8aæ\9d\96 IDã\80\8dè\88\87ã\80\8cæ¬\8aæ\9d\96å¯\86碼ã\80\8dã\80\82該å¯\86碼å°\87å\8fªæ\9c\83顯示ä¸\80次ï¼\8cå\9b æ¤è«\8bå\9c¨ç¹¼çº\8cæ\93\8dä½\9c前將其複製到安全的地方。',
+ 'user_api_token_create_success' => 'æ\88\90å\8a\9f建ç«\8b API æ¬\8aæ\9d\96',
+ 'user_api_token_update_success' => '成功更新 API 權杖',
+ 'user_api_token' => 'API 權杖',
+ 'user_api_token_id' => '權杖 ID',
+ 'user_api_token_id_desc' => '這是此權杖由系統生成的不可編輯識別字串,必須在 API 請求中提供。',
+ 'user_api_token_secret' => '權杖密碼',
+ 'user_api_token_secret_desc' => '這是此權杖由系統生成的密碼,必須在 API 請求中提供。該密碼將只會顯示一次,因此請在繼續操作前將其複製到安全的地方。',
+ 'user_api_token_created' => '權杖建立於:timeAgo',
+ 'user_api_token_updated' => '權杖更新於:timeAgo',
+ 'user_api_token_delete' => '刪除權杖',
+ 'user_api_token_delete_warning' => '這將會從系統中完全刪除名為「:tokenName」的 API 權杖。',
+ 'user_api_token_delete_confirm' => '您確定要刪除此 API 權杖嗎?',
+ 'user_api_token_delete_success' => 'API 權杖已成功刪除',
//! If editing translations files directly please ignore this in all
//! languages apart from en. Content will be auto-copied from en.
'en' => 'English',
'ar' => 'العربية',
'bg' => 'Bǎlgarski',
+ 'bs' => 'Bosanski',
+ 'ca' => '加泰隆尼亞語',
'cs' => 'Česky',
'da' => '丹麥',
'de' => 'Deutsch (Sie)',
'es_AR' => 'Español Argentina',
'fr' => 'Français',
'he' => '希伯來語',
+ 'hr' => 'Hrvatski',
'hu' => 'Magyar',
+ 'id' => 'Bahasa Indonesia',
'it' => 'Italian',
'ja' => '日本語',
'ko' => '한국어',
+ 'lv' => 'Latviešu Valoda',
'nl' => 'Nederlands',
+ 'nb' => 'Norsk (Bokmål)',
'pl' => 'Polski',
+ 'pt' => 'Português',
'pt_BR' => 'Português do Brasil',
'ru' => 'Русский',
'sk' => 'Slovensky',
return [
// Standard laravel validation lines
- 'accepted' => ':attribute 需要被同意。',
- 'active_url' => ':attribute 並不是一個有效的網址',
+ 'accepted' => '必須同意 :attribute。',
+ 'active_url' => ':attribute 並非有效的網址。',
'after' => ':attribute 必須是在 :date 後的日期。',
'alpha' => ':attribute 只能包含字母。',
- 'alpha_dash' => ':attribute 只能包含字母、數字和橫線。',
+ 'alpha_dash' => ':attribute 只能包含字母、數字、破折號與底線。',
'alpha_num' => ':attribute 只能包含字母和數字。',
'array' => ':attribute 必須是陣列。',
'before' => ':attribute 必須是在 :date 前的日期。',
'between' => [
- 'numeric' => ':attribute 必須在:min到:max之間。',
- 'file' => ':attribute 必須為:min到:max KB。',
- 'string' => ':attribute 必須在:min到:max個字元之間。',
- 'array' => ':attribute 必須在:min到:max項之間.',
+ 'numeric' => ':attribute 必須在 :min 到 :max 之間。',
+ 'file' => ':attribute 必須為 :min 到 :max KB。',
+ 'string' => ':attribute 必須在 :min 到 :max 個字元之間。',
+ 'array' => ':attribute 必須在 :min 到 :max 項之間。',
],
- 'boolean' => ':attribute 字段必須為 true 或 false。',
+ 'boolean' => ':attribute 欄位必須為 true 或 false。',
'confirmed' => ':attribute 確認不符。',
- 'date' => ':attribute ä¸\8dæ\98¯ä¸\80å\80\8b有效的日期。',
- 'date_format' => ':attribute 格式不符 :format。',
+ 'date' => ':attribute 並é\9d\9e有效的日期。',
+ 'date_format' => ':attribute 與 :format 格式不相符。',
'different' => ':attribute 和 :other 必須不同。',
- 'digits' => ':attribute 必須為:digits位數。',
- 'digits_between' => ':attribute 必須為:min到:max位數。',
- 'email' => ':attribute 必須是有效的電子郵件位址。',
+ 'digits' => ':attribute 必須為 :digits 位數。',
+ 'digits_between' => ':attribute 必須為 :min 到 :max 位數。',
+ 'email' => ':attribute 必須是有效的電子郵件地址。',
'ends_with' => ':attribute必須以下列之一結尾::values',
- 'filled' => ':attribute 字段是必需的。',
+ 'filled' => ':attribute 欄位必填。',
'gt' => [
- 'numeric' => ':attribute必須大於:value。',
- 'file' => ':attribute必須大於:value千字節。',
- 'string' => ':attribute必須多於:value個字符。',
- 'array' => ':attribute必須包含比:value多的項目。',
+ 'numeric' => ':attribute 必須大於 :value。',
+ 'file' => ':attribute 必須大於 :value KB。',
+ 'string' => ':attribute 必須多於 :value 個字元。',
+ 'array' => ':attribute 必須包含多於 :value 個項目。',
],
'gte' => [
- 'numeric' => 'The :attribute必須大於或等於:value。',
- 'file' => 'The :attribute必須大於或等於:value千字節。',
- 'string' => 'The :attribute必須多於或等於:value個字符。',
- 'array' => ':attribute必須具有:value或更多項。',
+ 'numeric' => ':attribute 必須大於或等於 :value。',
+ 'file' => ':attribute 必須大於或等於 :value KB。',
+ 'string' => ':attribute 必須多於或等於 :value 個字元。',
+ 'array' => ':attribute 必須有 :value 或更多項。',
],
- 'exists' => '選中的 :attribute 無效。',
- 'image' => ':attribute 必須是一個圖片。',
- 'image_extension' => 'The :attribute必須具有有效且受支持的圖像擴展名.',
- 'in' => '選中的 :attribute 無效。',
- 'integer' => ':attribute 必須是一個整數。',
- 'ip' => ':attribute 必須是一個有效的IP位址。',
- 'ipv4' => 'The :attribute必須是有效的IPv4地址。',
- 'ipv6' => 'The :attribute必須是有效的IPv6地址。',
- 'json' => 'The :attribute必須是有效的JSON字符串。',
+ 'exists' => '選定的 :attribute 無效。',
+ 'image' => ':attribute 必須為圖片。',
+ 'image_extension' => ':attribute 必須包含有效且受支援的圖片副檔名。',
+ 'in' => '選定的 :attribute 無效。',
+ 'integer' => ':attribute 必須是整數。',
+ 'ip' => ':attribute 必須是有效的 IP 位置。',
+ 'ipv4' => ':attribute 必須是有效的 IPv4 位置。',
+ 'ipv6' => ':attribute 必須是有效的 IPv6 位置。',
+ 'json' => ':attribute 必須是有效的 JSON 字串。',
'lt' => [
- 'numeric' => ':attribute必須小於:value。',
- 'file' => 'The :attribute必須小於:value千字節。',
- 'string' => ':attribute必須少於:value個字符。',
- 'array' => ':attribute必須少於:value個項目。',
+ 'numeric' => ':attribute 必須小於 :value。',
+ 'file' => ':attribute 必須小於 :value KB。',
+ 'string' => ':attribute 必須少於 :value 個字元。',
+ 'array' => ':attribute 必須少於 :value 個項目。',
],
'lte' => [
- 'numeric' => ':attribute必須小於或等於:value。',
- 'file' => ':attribute必須小於或等於:value KB。',
- 'string' => ':attribute必須少於或等於:value個字符。',
- 'array' => ':attribute不得多過:value個項目。',
+ 'numeric' => ':attribute 必須小於或等於 :value。',
+ 'file' => ':attribute 必須小於或等於 :value KB。',
+ 'string' => ':attribute 必須少於或等於 :value 個字元。',
+ 'array' => ':attribute 不能超過 :value 個項目。',
],
'max' => [
- 'numeric' => ':attribute 不能超過:max。',
- 'file' => ':attribute 不能超過:max KB。',
- 'string' => ':attribute 不能超過:max個字元。',
+ 'numeric' => ':attribute 不能超過 :max。',
+ 'file' => ':attribute 不能超過 :max KB。',
+ 'string' => ':attribute 不能超過 :max 個字元。',
'array' => ':attribute 不能有超過:max項。',
],
'mimes' => ':attribute 必須是 :values 類型的檔案。',
'string' => ':attribute 至少為:min個字元。',
'array' => ':attribute 至少有:min項。',
],
- 'no_double_extension' => 'The :attribute必須僅具有一個文件擴展名。',
'not_in' => '選中的 :attribute 無效。',
'not_regex' => 'The :attribute格式無效。',
'numeric' => ':attribute 必須是一個數。',
'required_without' => '當:values不存在時,:attribute 字段是必需的。',
'required_without_all' => '當:values均不存在時,:attribute 字段是必需的。',
'same' => ':attribute 與 :other 必須匹配。',
+ 'safe_url' => '提供的連結可能不安全。',
'size' => [
'numeric' => ':attribute 必須為:size。',
'file' => ':attribute 必須為:size KB。',
padding: $-m $-xxl;
margin-inline-start: auto;
margin-inline-end: auto;
- margin-bottom: $-xl;
+ margin-bottom: $-l;
overflow: initial;
min-height: 60vh;
&.auto-height {
}
}
+.outline-hover {
+ border: 1px solid transparent !important;
+ &:hover {
+ border: 1px solid rgba(0, 0, 0, 0.1) !important;
+ }
+}
+
+.fade-in-when-active {
+ opacity: 0.6;
+ transition: opacity ease-in-out 120ms;
+ &:hover, &:focus-within {
+ opacity: 1;
+ }
+}
+
/**
* Tags
*/
margin-bottom: $-xs;
margin-inline-end: $-xs;
border-radius: 4px;
- border: 1px solid #CCC;
+ border: 1px solid;
overflow: hidden;
font-size: 0.85em;
- a, a:hover, a:active {
+ @include lightDark(border-color, #CCC, #666);
+ a, span, a:hover, a:active {
padding: 4px 8px;
- @include lightDark(color, #777, #999);
+ @include lightDark(color, rgba(0, 0, 0, 0.6), rgba(255, 255, 255, 0.8));
transition: background-color ease-in-out 80ms;
text-decoration: none;
}
@include lightDark(background-color, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.3));
}
svg {
- fill: #888;
+ @include lightDark(fill, rgba(0, 0, 0, 0.5), rgba(255, 255, 255, 0.5));
}
.tag-value {
- border-inline-start: 1px solid #DDD;
+ border-inline-start: 1px solid;
+ @include lightDark(border-color, #DDD, #666);
@include lightDark(background-color, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.2))
}
}
align-items: center;
padding: $-s $-m;
padding-bottom: ($-s - 2px);
+ width: 100%;
svg {
display: inline-block;
width: 24px;
.bg-chapter {
background-color: var(--color-chapter);
}
-.bg-shelf {
+.bg-bookshelf {
background-color: var(--color-bookshelf);
}
float: left;
margin: 0;
cursor: pointer;
- width: (100%/6);
+ width: math.div(100%, 6);
height: auto;
@include lightDark(border-color, #ddd, #000);
box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
}
}
@include smaller-than($xl) {
- width: (100%/4);
+ width: math.div(100%, 4);
}
@include smaller-than($m) {
.image-meta {
.template-item-actions button:first-child {
border-top: 0;
}
+}
+
+.dropdown-search-dropdown {
+ box-shadow: $bs-med;
+ overflow: hidden;
+ min-height: 100px;
+ width: 240px;
+ display: none;
+ position: absolute;
+ z-index: 80;
+ right: -$-m;
+ @include rtl {
+ right: auto;
+ left: -$-m;
+ }
+ .dropdown-search-search .svg-icon {
+ position: absolute;
+ left: $-s;
+ @include rtl {
+ right: $-s;
+ left: auto;
+ }
+ top: 11px;
+ fill: #888;
+ pointer-events: none;
+ }
+ .dropdown-search-list {
+ max-height: 400px;
+ overflow-y: scroll;
+ text-align: start;
+ }
+ .dropdown-search-item {
+ padding: $-s $-m;
+ &:hover,&:focus {
+ background-color: #F2F2F2;
+ text-decoration: none;
+ }
+ }
+ input {
+ padding-inline-start: $-xl;
+ border-radius: 0;
+ border: 0;
+ border-bottom: 1px solid #DDD;
+ }
+}
+
+@include smaller-than($m) {
+ .dropdown-search-dropdown {
+ position: fixed;
+ right: auto;
+ left: $-m;
+ }
+ .dropdown-search-dropdown .dropdown-search-list {
+ max-height: 240px;
+ }
+}
+
+.custom-select-input {
+ max-width: 280px;
+ border: 1px solid #D4D4D4;
+ border-radius: 3px;
}
\ No newline at end of file
--- /dev/null
+/**
+ * Includes the footer links.
+ */
+
+ footer {
+ flex-shrink: 0;
+ padding: 1rem 1rem 2rem 1rem;
+ text-align: center;
+ }
+
+ footer a {
+ margin: 0 .5em;
+ }
+
+ body.flexbox footer {
+ display: none;
+ }
\ No newline at end of file
max-width: 100%;
td {
overflow: hidden;
- padding: $-xxs/2 0;
+ padding: math.div($-xxs, 2) 0;
}
}
@extend .input-base;
}
+select {
+ -webkit-appearance: none;
+ -moz-appearance: none;
+ appearance: none;
+ background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='%23666666'><polygon points='0,0 100,0 50,50'/></svg>");
+ background-size: 12px;
+ background-position: calc(100% - 20px) 70%;
+ background-repeat: no-repeat;
+}
+
input[type=date] {
width: 190px;
}
*/
header .grid {
- grid-template-columns: auto min-content auto;
+ grid-template-columns: minmax(max-content, 2fr) 1fr minmax(max-content, 2fr);
}
@include smaller-than($l) {
}
-.header-search {
- display: inline-block;
-}
header .search-box {
display: inline-block;
margin-top: 10px;
@include lightDark(color, #000, #fff);
text-decoration: none;
}
+ &:focus {
+ @include lightDark(background-color, #eee, #333);
+ outline-color: var(--color-primary);
+ color: var(--color-primary);
+ }
}
header .dropdown-container {
display: block;
z-index: 5;
background-color: #FFF;
border-bottom: 1px solid #DDD;
+ @include lightDark(border-bottom-color, #DDD, #333);
box-shadow: $bs-card;
}
.tri-layout-mobile-tab {
text-align: center;
border-bottom: 3px solid #BBB;
cursor: pointer;
+ margin: 0;
+ @include lightDark(background-color, #FFF, #222);
+ @include lightDark(border-bottom-color, #BBB, #333);
&:first-child {
border-inline-end: 1px solid #DDD;
+ @include lightDark(border-inline-end-color, #DDD, #000);
}
- &.active {
- border-bottom-color: currentColor;
+ &[aria-selected="true"] {
+ border-bottom-color: currentColor !important;
}
}
}
}
-.breadcrumb-listing {
+.dropdown-search {
position: relative;
- .breadcrumb-listing-toggle {
- padding: 6px;
+ .dropdown-search-toggle {
+ padding: $-xs;
border: 1px solid transparent;
border-radius: 4px;
&:hover {
}
}
-.breadcrumb-listing-dropdown {
- box-shadow: $bs-med;
- overflow: hidden;
- min-height: 100px;
- width: 240px;
- display: none;
- position: absolute;
- z-index: 80;
- right: -$-m;
- @include rtl {
- right: auto;
- left: -$-m;
- }
- .breadcrumb-listing-search .svg-icon {
- position: absolute;
- left: $-s;
- @include rtl {
- right: $-s;
- left: auto;
- }
- top: 11px;
- fill: #888;
- pointer-events: none;
- }
- .breadcrumb-listing-entity-list {
- max-height: 400px;
- overflow-y: scroll;
- text-align: start;
- }
- input {
- padding-inline-start: $-xl;
- border-radius: 0;
- border: 0;
- border-bottom: 1px solid #DDD;
- }
-}
-
-@include smaller-than($m) {
- .breadcrumb-listing-dropdown {
- position: fixed;
- right: auto;
- left: $-m;
- }
- .breadcrumb-listing-dropdown .breadcrumb-listing-entity-list {
- max-height: 240px;
+.dropdown-search-toggle.compact {
+ padding: $-xxs $-xs;
+ .avatar {
+ height: 22px;
+ width: 22px;
}
}
line-height: 1.6;
@include lightDark(color, #444, #AAA);
-webkit-font-smoothing: antialiased;
-}
\ No newline at end of file
+ height: 100%;
+ display: flex;
+ flex-direction: column;
+}
}
}
+#content {
+ flex: 1 0 auto;
+}
+
/**
* Flexbox layout system
*/
.justify-center {
justify-content: center;
}
+.justify-space-between {
+ justify-content: space-between;
+}
+.items-center {
+ align-items: center;
+}
/**
display: none !important;
}
+.fill-height {
+ height: 100%;
+}
+
.float {
float: left;
&.right {
}
}
+/**
+ * Border radiuses
+ */
+.rounded {
+ border-radius: 4px;
+}
+
/**
* Inline content columns
*/
.tri-layout-middle {
grid-area: b;
padding-top: $-m;
+ min-width: 0;
}
}
@include smaller-than($xxl) {
min-height: 50vh;
overflow-y: scroll;
overflow-x: hidden;
+ height: 100%;
scrollbar-width: none;
-ms-overflow-style: none;
&::-webkit-scrollbar {
flex: 1;
text-align: start;
}
+ > .content {
+ min-width: 0;
+ }
&:not(.no-hover) {
cursor: pointer;
}
background-color: rgba(0, 0, 0, 0.1);
border-radius: 4px;
}
- &.outline-hover {
- border: 1px solid transparent;
- }
&.outline-hover:hover {
background-color: transparent;
- border-color: rgba(0, 0, 0, 0.1);
}
&:focus {
@include lightDark(background-color, #eee, #222);
}
}
+.entity-item-tags {
+ font-size: .75rem;
+ opacity: 1;
+ .primary-background-light {
+ background: transparent;
+ }
+ .tag-name {
+ background-color: rgba(0, 0, 0, 0.05);
+ }
+}
+
.dropdown-container {
display: inline-block;
vertical-align: top;
border: 1px solid #DDD;
overflow: auto;
line-height: 1.2;
+ word-break: break-word;
}
td p, th p {
margin: 0;
padding: $-s $-s;
vertical-align: middle;
margin: 0;
+ overflow: visible;
}
th {
font-weight: bold;
}
}
+a.no-link-style {
+ color: inherit;
+ &:hover {
+ text-decoration: none;
+ }
+}
+
.blended-links a {
color: inherit;
svg {
&.faded {
background-image: linear-gradient(to right, #FFF, #e3e0e0 20%, #e3e0e0 80%, #FFF);
}
+ &.darker {
+ @include lightDark(background, #DDD, #666);
+ }
&.margin-top, &.even {
margin-top: $-l;
}
overflow-wrap: break-word;
}
-.limit-text {
+.text-limit-lines-1 {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
+.text-limit-lines-2 {
+ // -webkit use here is actually standardised cross-browser:
+ // https://developer.mozilla.org/en-US/docs/Web/CSS/-webkit-line-clamp
+ display: -webkit-box;
+ -webkit-box-orient: vertical;
+ -webkit-line-clamp: 2;
+ overflow: hidden;
+}
+
/**
* Grouping
*/
}
.page-content.mce-content-body {
- padding-top: 16px;
+ padding-block-start: 1rem;
+ padding-block-end: 1rem;
outline: none;
+ display: block;
+}
+
+.page-content.mce-content-body > :last-child {
+ margin-bottom: 3rem;
}
// Fix to prevent 'No color' option from not being clickable.
// Screen breakpoints
$xxl: 1400px;
$xl: 1100px;
-$ipad-width: 1028px; // Is actually 1024 but we go over to ensure functionality.
$l: 1000px;
$m: 880px;
$s: 600px;
$xs: 400px;
$xxs: 360px;
-$screen-lg: 1200px;
-$screen-md: 992px;
-$screen-sm: 768px;
// List of screen sizes
$screen-sizes: (('xxs', $xxs), ('xs', $xs), ('s', $s), ('m', $m), ('l', $l), ('xl', $xl));
$-xxs: 3px;
// List of our spacing sizes
-$spacing: (('none', 0), ('xxs', $-xxs), ('xs', $-xs), ('s', $-s), ('m', $-m), ('l', $-l), ('xl', $-xl), ('xxl', $-xxl));
+$spacing: (('none', 0), ('xxs', $-xxs), ('xs', $-xs), ('s', $-s), ('m', $-m), ('l', $-l), ('xl', $-xl), ('xxl', $-xxl), ('auto', auto));
// Fonts
$text: -apple-system, BlinkMacSystemFont,
"Fira Sans", "Droid Sans", "Helvetica Neue",
sans-serif;
$mono: "Lucida Console", "DejaVu Sans Mono", "Ubuntu Mono", Monaco, monospace;
-$heading: $text;
$fs-m: 14px;
$fs-s: 12px;
// Text colours
$text-dark: #444;
-$text-light: #EEE;
// Shadows
$bs-light: 0 0 4px 1px #CCC;
+@use "sass:math";
@import "variables";
@import "mixins";
-@import "spacing";
@import "html";
@import "text";
@import "layout";
@import "blocks";
@import "tables";
-@import "header";
@import "lists";
@import "pages";
-
html, body {
background-color: #FFF;
}
font-family: 'DejaVu Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", "Oxygen", "Ubuntu", "Roboto", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
margin: 0;
padding: 0;
+ display: block;
}
table {
}
pre code {
white-space: pre-wrap;
+}
+
+.page-break {
+ page-break-after: always;
+}
+@media screen {
+ .page-break {
+ border-top: 1px solid #DDD;
+ }
+}
+
+ul.contents ul li {
+ list-style: circle;
+}
+
+.chapter-hint {
+ color: #888;
+ margin-top: 32px;
+}
+.chapter-hint + h1 {
+ margin-top: 0;
}
\ No newline at end of file
+@use "sass:math";
@import "variables";
header {
+@use "sass:math";
+
@import "reset";
@import "variables";
@import "mixins";
@import "codemirror";
@import "components";
@import "header";
+@import "footer";
@import "lists";
@import "pages";
color: #FFF;
fill: #FFF;
svg {
- width: $btt-size / 1.5;
- height: $btt-size / 1.5;
+ width: math.div($btt-size, 1.5);
+ height: math.div($btt-size, 1.5);
margin-inline-end: 4px;
}
width: $btt-size;
}
}
+.skip-to-content-link {
+ position: fixed;
+ top: -$-xxl;
+ left: 0;
+ background-color: #FFF;
+ z-index: 15;
+ border-radius: 0 4px 4px 0;
+ display: block;
+ box-shadow: $bs-dark;
+ font-weight: bold;
+ &:focus {
+ top: $-xl;
+ outline-offset: -10px;
+ outline: 2px dotted var(--color-primary);
+ }
+}
+
.contained-search-box {
display: flex;
height: 38px;
.entity-list-item p {
margin-bottom: 0;
}
+ .entity-list-item:focus {
+ outline: 2px dotted var(--color-primary);
+ outline-offset: -4px;
+ }
.entity-list-item.selected {
- background-color: rgba(0, 0, 0, 0.05) !important;
+ @include lightDark(background-color, rgba(0, 0, 0, 0.05), rgba(255, 255, 255, 0.05));
}
.loading {
height: 400px;
<h5 id="{{ $endpoint['name'] }}" class="text-mono mb-m">
<span class="api-method" data-method="{{ $endpoint['method'] }}">{{ $endpoint['method'] }}</span>
@if($endpoint['controller_method_kebab'] === 'list')
- <a style="color: inherit;" target="_blank" href="{{ url($endpoint['uri']) }}">{{ url($endpoint['uri']) }}</a>
+ <a style="color: inherit;" target="_blank" rel="noopener" href="{{ url($endpoint['uri']) }}">{{ url($endpoint['uri']) }}</a>
@else
{{ url($endpoint['uri']) }}
@endif
-@foreach($attachments as $attachment)
- <div class="attachment icon-list">
- <a class="icon-list-item py-xs" href="{{ $attachment->getUrl() }}" @if($attachment->external) target="_blank" @endif>
- <span class="icon">@icon($attachment->external ? 'export' : 'file')</span>
- <span>{{ $attachment->name }}</span>
- </a>
- </div>
-@endforeach
\ No newline at end of file
+<div component="attachments-list">
+ @foreach($attachments as $attachment)
+ <div class="attachment icon-list">
+ <a class="icon-list-item py-xs attachment-{{ $attachment->external ? 'link' : 'file' }}" href="{{ $attachment->getUrl() }}" @if($attachment->external) target="_blank" @endif>
+ <span class="icon">@icon($attachment->external ? 'export' : 'file')</span>
+ <span>{{ $attachment->name }}</span>
+ </a>
+ </div>
+ @endforeach
+</div>
\ No newline at end of file
class="card drag-card">
<div class="handle">@icon('grip')</div>
<div class="py-s">
- <a href="{{ $attachment->getUrl() }}" target="_blank">{{ $attachment->name }}</a>
+ <a href="{{ $attachment->getUrl() }}" target="_blank" rel="noopener">{{ $attachment->name }}</a>
</div>
<div class="flex-fill justify-flex-end">
<button component="event-emit-select"
{!! csrf_field() !!}
<div>
- <button id="saml-login" class="button outline block svg">
+ <button id="saml-login" class="button outline svg">
@icon('saml2')
<span>{{ trans('auth.log_in_with', ['socialDriver' => config('saml2.name')]) }}</span>
</button>
<hr class="my-l">
@foreach($socialDrivers as $driver => $name)
<div>
- <a id="social-login-{{$driver}}" class="button outline block svg" href="{{ url("/login/service/" . $driver) }}">
+ <a id="social-login-{{$driver}}" class="button outline svg" href="{{ url("/login/service/" . $driver) }}">
@icon('auth/' . $driver)
<span>{{ trans('auth.log_in_with', ['socialDriver' => $name]) }}</span>
</a>
</div>
</div>
-
</form>
@if(count($socialDrivers) > 0)
<hr class="my-l">
@foreach($socialDrivers as $driver => $name)
<div>
- <a id="social-register-{{$driver}}" class="button block outline svg" href="{{ url("/register/service/" . $driver) }}">
+ <a id="social-register-{{$driver}}" class="button outline svg" href="{{ url("/register/service/" . $driver) }}">
@icon('auth/' . $driver)
<span>{{ trans('auth.sign_up_with', ['socialDriver' => $name]) }}</span>
</a>
</head>
<body class="@yield('body-class')">
+ @include('common.parts.skip-to-content')
@include('partials.notifications')
@include('common.header')
- <div id="content" class="block">
+ <div id="content" components="@yield('content-components')" class="block">
@yield('content')
</div>
+ @include('common.footer')
+
<div back-to-top class="primary-background print-hidden">
<div class="inner">
@icon('chevron-up') <span>{{ trans('common.back_to_top') }}</span>
-<!doctype html>
-<html lang="{{ config('app.lang') }}">
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
- <title>{{ $book->name }}</title>
+@extends('export-layout')
- @include('partials.export-styles', ['format' => $format])
-
- <style>
- .page-break {
- page-break-after: always;
- }
- .chapter-hint {
- color: #888;
- margin-top: 32px;
- }
- .chapter-hint + h1 {
- margin-top: 0;
- }
- ul.contents ul li {
- list-style: circle;
- }
- @media screen {
- .page-break {
- border-top: 1px solid #DDD;
- }
- }
- </style>
- @yield('head')
- @include('partials.custom-head')
-</head>
-<body>
-
-<div class="page-content">
+@section('title', $book->name)
+@section('content')
<h1 style="font-size: 4.8em">{{$book->name}}</h1>
<p>{{ $book->description }}</p>
<ul class="contents">
@foreach($bookChildren as $bookChild)
<li><a href="#{{$bookChild->getType()}}-{{$bookChild->id}}">{{ $bookChild->name }}</a></li>
- @if($bookChild->isA('chapter') && count($bookChild->pages) > 0)
+ @if($bookChild->isA('chapter') && count($bookChild->visible_pages) > 0)
<ul>
- @foreach($bookChild->pages as $page)
+ @foreach($bookChild->visible_pages as $page)
<li><a href="#page-{{$page->id}}">{{ $page->name }}</a></li>
@endforeach
</ul>
@if($bookChild->isA('chapter'))
<p>{{ $bookChild->description }}</p>
- @if(count($bookChild->pages) > 0)
- @foreach($bookChild->pages as $page)
+ @if(count($bookChild->visible_pages) > 0)
+ @foreach($bookChild->visible_pages as $page)
<div class="page-break"></div>
<div class="chapter-hint">{{$bookChild->name}}</div>
<h1 id="page-{{$page->id}}">{{ $page->name }}</h1>
@endif
@endforeach
-
-</div>
-
-</body>
-</html>
+@endsection
\ No newline at end of file
{{ csrf_field() }}
<div class="form-group title-input">
<label for="name">{{ trans('common.name') }}</label>
- @include('form.text', ['name' => 'name'])
+ @include('form.text', ['name' => 'name', 'autofocus' => true])
</div>
<div class="form-group description-input">
+++ /dev/null
-<a href="{{$book->getUrl()}}" class="grid-card" data-entity-type="book" data-entity-id="{{$book->id}}">
- <div class="bg-book featured-image-container-wrap">
- <div class="featured-image-container" @if($book->cover) style="background-image: url('{{ $book->getBookCover() }}')"@endif>
- </div>
- @icon('book')
- </div>
- <div class="grid-card-content">
- <h2>{{$book->getShortName(35)}}</h2>
- @if(isset($book->searchSnippet))
- <p class="text-muted">{!! $book->searchSnippet !!}</p>
- @else
- <p class="text-muted">{{ $book->getExcerpt(130) }}</p>
- @endif
- </div>
- <div class="grid-card-footer text-muted ">
- <p>@icon('star')<span title="{{$book->created_at->toDayDateTimeString()}}">{{ trans('entities.meta_created', ['timeLength' => $book->created_at->diffForHumans()]) }}</span></p>
- <p>@icon('edit')<span title="{{ $book->updated_at->toDayDateTimeString() }}">{{ trans('entities.meta_updated', ['timeLength' => $book->updated_at->diffForHumans()]) }}</span></p>
- </div>
-</a>
\ No newline at end of file
<div class="actions mb-xl">
<h5>{{ trans('common.actions') }}</h5>
<div class="icon-list text-primary">
- @if($currentUser->can('book-create-all'))
+ @if(user()->can('book-create-all'))
<a href="{{ url("/create-book") }}" class="icon-list-item">
<span>@icon('add')</span>
<span>{{ trans('entities.books_create') }}</span>
<div class="content">
<h4 class="entity-list-item-name break-text">{{ $book->name }}</h4>
<div class="entity-item-snippet">
- <p class="text-muted break-text mb-s">{{ $book->getExcerpt() }}</p>
+ <p class="text-muted break-text mb-s text-limit-lines-1">{{ $book->description }}</p>
</div>
</div>
</a>
\ No newline at end of file
-
<main class="content-wrap mt-m card">
<div class="grid half v-center no-row-gap">
<h1 class="list-heading">{{ trans('entities.books') }}</h1>
@else
<div class="grid third">
@foreach($books as $key => $book)
- @include('books.grid-item', ['book' => $book])
+ @include('partials.entity-grid-item', ['entity' => $book])
@endforeach
</div>
@endif
<hr class="primary-background">
+ @if(signedInUser())
+ @include('partials.entity-favourite-action', ['entity' => $book])
+ @endif
@include('partials.entity-export-menu', ['entity' => $book])
</div>
</div>
<ul class="sortable-page-list sort-list">
@foreach($bookChildren as $bookChild)
- <li class="text-{{ $bookChild->getClassName() }}"
- data-id="{{$bookChild->id}}" data-type="{{ $bookChild->getClassName() }}"
+ <li class="text-{{ $bookChild->getType() }}"
+ data-id="{{$bookChild->id}}" data-type="{{ $bookChild->getType() }}"
data-name="{{ $bookChild->name }}" data-created="{{ $bookChild->created_at->timestamp }}"
data-updated="{{ $bookChild->updated_at->timestamp }}">
<div class="entity-list-item">
</div>
@if($bookChild->isA('chapter'))
<ul>
- @foreach($bookChild->pages as $page)
+ @foreach($bookChild->visible_pages as $page)
<li class="text-page"
data-id="{{$page->id}}" data-type="page"
data-name="{{ $page->name }}" data-created="{{ $page->created_at->timestamp }}"
<div class="chapter-child-menu">
<button chapter-toggle type="button" aria-expanded="{{ $isOpen ? 'true' : 'false' }}"
class="text-muted @if($isOpen) open @endif">
- @icon('caret-right') @icon('page') <span>{{ trans_choice('entities.x_pages', $bookChild->pages->count()) }}</span>
+ @icon('caret-right') @icon('page') <span>{{ trans_choice('entities.x_pages', $bookChild->visible_pages->count()) }}</span>
</button>
<ul class="sub-menu inset-list @if($isOpen) open @endif" @if($isOpen) style="display: block;" @endif role="menu">
- @foreach($bookChild->pages as $childPage)
+ @foreach($bookChild->visible_pages as $childPage)
<li class="list-item-page {{ $childPage->isA('page') && $childPage->draft ? 'draft' : '' }}" role="presentation">
@include('partials.entity-list-item-basic', ['entity' => $childPage, 'classes' => $current->matches($childPage)? 'selected' : '' ])
</li>
-<!doctype html>
-<html lang="{{ config('app.lang') }}">
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
- <title>{{ $chapter->name }}</title>
+@extends('export-layout')
- @include('partials.export-styles', ['format' => $format])
-
- <style>
- .page-break {
- page-break-after: always;
- }
- ul.contents ul li {
- list-style: circle;
- }
- @media screen {
- .page-break {
- border-top: 1px solid #DDD;
- }
- }
- </style>
- @include('partials.custom-head')
-</head>
-<body>
-
-<div class="page-content">
+@section('title', $chapter->name)
+@section('content')
<h1 style="font-size: 4.8em">{{$chapter->name}}</h1>
<p>{{ $chapter->description }}</p>
<h1 id="page-{{$page->id}}">{{ $page->name }}</h1>
{!! $page->html !!}
@endforeach
-
-</div>
-
-</body>
-</html>
+@endsection
\ No newline at end of file
<div class="form-group title-input">
<label for="name">{{ trans('common.name') }}</label>
- @include('form.text', ['name' => 'name'])
+ @include('form.text', ['name' => 'name', 'autofocus' => true])
</div>
<div class="form-group description-input">
-<a href="{{ $chapter->getUrl() }}" class="chapter entity-list-item @if($chapter->hasChildren()) has-children @endif" data-entity-type="chapter" data-entity-id="{{$chapter->id}}">
+{{--This view display child pages in a list if pre-loaded onto a 'visible_pages' property,--}}
+{{--To ensure that the pages have been loaded efficiently with permissions taken into account.--}}
+<a href="{{ $chapter->getUrl() }}" class="chapter entity-list-item @if($chapter->visible_pages->count() > 0) has-children @endif" data-entity-type="chapter" data-entity-id="{{$chapter->id}}">
<span class="icon text-chapter">@icon('chapter')</span>
<div class="content">
<h4 class="entity-list-item-name break-text">{{ $chapter->name }}</h4>
</div>
</div>
</a>
-@if ($chapter->hasChildren())
+@if ($chapter->visible_pages->count() > 0)
<div class="chapter chapter-expansion">
<span class="icon text-chapter">@icon('page')</span>
<div class="content">
<button type="button" chapter-toggle
aria-expanded="false"
- class="text-muted chapter-expansion-toggle">@icon('caret-right') <span>{{ trans_choice('entities.x_pages', $chapter->pages->count()) }}</span></button>
+ class="text-muted chapter-expansion-toggle">@icon('caret-right') <span>{{ trans_choice('entities.x_pages', $chapter->visible_pages->count()) }}</span></button>
<div class="inset-list">
<div class="entity-list-item-children">
- @include('partials.entity-list', ['entities' => $chapter->pages])
+ @include('partials.entity-list', ['entities' => $chapter->visible_pages])
</div>
</div>
</div>
@include('partials.entity-search-results')
</main>
+ @include('partials.entity-sibling-navigation', ['next' => $next, 'previous' => $previous])
+
@stop
@section('right')
<hr class="primary-background"/>
+ @if(signedInUser())
+ @include('partials.entity-favourite-action', ['entity' => $chapter])
+ @endif
@include('partials.entity-export-menu', ['entity' => $chapter])
</div>
</div>
<h1 class="list-heading">{{ $title }}</h1>
<div class="book-contents">
- @include('partials.entity-list', ['entities' => $pages, 'style' => 'detailed'])
+ @include('partials.entity-list', ['entities' => $entities, 'style' => 'detailed'])
</div>
<div class="text-center">
- {!! $pages->links() !!}
+ {!! $entities->links() !!}
</div>
</main>
</div>
--- /dev/null
+@extends('simple-layout')
+
+@section('body')
+ <div class="container small pt-xl">
+ <main class="card content-wrap">
+ <h1 class="list-heading">{{ $title }}</h1>
+
+ <div class="book-contents">
+ @include('partials.entity-list', ['entities' => $entities, 'style' => 'detailed'])
+ </div>
+
+ <div class="text-right">
+ @if($hasMoreLink)
+ <a href="{{ $hasMoreLink }}" class="button outline">{{ trans('common.more') }}</a>
+ @endif
+ </div>
+ </main>
+ </div>
+@stop
\ No newline at end of file
--- /dev/null
+@if(count(setting('app-footer-links', [])) > 0)
+<footer>
+ @foreach(setting('app-footer-links', []) as $link)
+ <a href="{{ $link['url'] }}" target="_blank" rel="noopener">{{ strpos($link['label'], 'trans::') === 0 ? trans(str_replace('trans::', '', $link['label'])) : $link['label'] }}</a>
+ @endforeach
+</footer>
+@endif
\ No newline at end of file
-<header id="header" header-mobile-toggle class="primary-background">
+<header id="header" component="header-mobile-toggle" class="primary-background">
<div class="grid mx-l">
<div>
<span class="logo-text">{{ setting('app-name') }}</span>
@endif
</a>
- <div class="mobile-menu-toggle hide-over-l">@icon('more')</div>
+ <button type="button"
+ refs="header-mobile-toggle@toggle"
+ title="{{ trans('common.header_menu_expand') }}"
+ aria-expanded="false"
+ class="mobile-menu-toggle hide-over-l">@icon('more')</button>
</div>
- <div class="header-search hide-under-l">
+ <div class="flex-container-row justify-center hide-under-l">
@if (hasAppAccess())
<form action="{{ url('/search') }}" method="GET" class="search-box" role="search">
<button id="header-search-box-button" type="submit" aria-label="{{ trans('common.search') }}" tabindex="-1">@icon('search') </button>
</div>
<div class="text-right">
- <nav class="header-links">
+ <nav refs="header-mobile-toggle@menu" class="header-links">
<div class="links text-center">
@if (hasAppAccess())
<a class="hide-over-l" href="{{ url('/search') }}">@icon('search'){{ trans('common.search') }}</a>
</div>
@if(signedInUser())
<?php $currentUser = user(); ?>
- <div class="dropdown-container" component="dropdown">
+ <div class="dropdown-container" component="dropdown" option:dropdown:bubble-escapes="true">
<span class="user-name py-s hide-under-l" refs="dropdown@toggle"
aria-haspopup="true" aria-expanded="false" aria-label="{{ trans('common.profile_menu') }}" tabindex="0">
<img class="avatar" src="{{$currentUser->getAvatar(30)}}" alt="{{ $currentUser->name }}">
</span>
<ul refs="dropdown@menu" class="dropdown-menu" role="menu">
<li>
- <a href="{{ url("/user/{$currentUser->id}") }}">@icon('user'){{ trans('common.view_profile') }}</a>
+ <a href="{{ url('/favourites') }}">@icon('star'){{ trans('entities.my_favourites') }}</a>
</li>
<li>
- <a href="{{ url("/settings/users/{$currentUser->id}") }}">@icon('edit'){{ trans('common.edit_profile') }}</a>
+ <a href="{{ $currentUser->getProfileUrl() }}">@icon('user'){{ trans('common.view_profile') }}</a>
+ </li>
+ <li>
+ <a href="{{ $currentUser->getEditUrl() }}">@icon('edit'){{ trans('common.edit_profile') }}</a>
</li>
<li>
@if(config('auth.method') === 'saml2')
<div class="actions mb-xl">
<h5>{{ trans('common.actions') }}</h5>
<div class="icon-list text-primary">
+ @if(user()->can('book-create-all'))
+ <a href="{{ url("/create-book") }}" class="icon-list-item">
+ <span>@icon('add')</span>
+ <span>{{ trans('entities.books_create') }}</span>
+ </a>
+ @endif
@include('partials.view-toggle', ['view' => $view, 'type' => 'books'])
- @include('components.expand-toggle', ['target' => '.entity-list.compact .entity-item-snippet', 'key' => 'home-details'])
- @include('partials.dark-mode-toggle', ['classes' => 'text-muted icon-list-item text-primary'])
+ @include('components.expand-toggle', ['classes' => 'text-primary', 'target' => '.entity-list.compact .entity-item-snippet', 'key' => 'home-details'])
+ @include('partials.dark-mode-toggle', ['classes' => 'icon-list-item text-primary'])
</div>
</div>
-@stop
\ No newline at end of file
+@stop
<div class="actions mb-xl">
<h5>{{ trans('common.actions') }}</h5>
<div class="icon-list text-primary">
- @include('components.expand-toggle', ['target' => '.entity-list.compact .entity-item-snippet', 'key' => 'home-details'])
- @include('partials.dark-mode-toggle', ['classes' => 'text-muted icon-list-item text-primary'])
+ @include('components.expand-toggle', ['classes' => 'text-primary', 'target' => '.entity-list.compact .entity-item-snippet', 'key' => 'home-details'])
+ @include('partials.dark-mode-toggle', ['classes' => 'icon-list-item text-primary'])
</div>
</div>
@stop
\ No newline at end of file
<div class="actions mb-xl">
<h5>{{ trans('common.actions') }}</h5>
<div class="icon-list text-primary">
+ @if(user()->can('bookshelf-create-all'))
+ <a href="{{ url("/create-shelf") }}" class="icon-list-item">
+ <span>@icon('add')</span>
+ <span>{{ trans('entities.shelves_new_action') }}</span>
+ </a>
+ @endif
@include('partials.view-toggle', ['view' => $view, 'type' => 'shelves'])
- @include('components.expand-toggle', ['target' => '.entity-list.compact .entity-item-snippet', 'key' => 'home-details'])
- @include('partials.dark-mode-toggle', ['classes' => 'text-muted icon-list-item text-primary'])
+ @include('components.expand-toggle', ['classes' => 'text-primary', 'target' => '.entity-list.compact .entity-item-snippet', 'key' => 'home-details'])
+ @include('partials.dark-mode-toggle', ['classes' => 'icon-list-item text-primary'])
</div>
</div>
-@stop
\ No newline at end of file
+@stop
</div>
@endif
+@if(count($favourites) > 0)
+ <div id="top-favourites" class="mb-xl">
+ <h5>
+ <a href="{{ url('/favourites') }}" class="no-color">{{ trans('entities.my_most_viewed_favourites') }}</a>
+ </h5>
+ @include('partials.entity-list', [
+ 'entities' => $favourites,
+ 'style' => 'compact',
+ ])
+ </div>
+@endif
+
<div class="mb-xl">
- <h5>{{ trans('entities.' . ($signedIn ? 'my_recently_viewed' : 'books_recent')) }}</h5>
+ <h5>{{ trans('entities.' . (auth()->check() ? 'my_recently_viewed' : 'books_recent')) }}</h5>
@include('partials.entity-list', [
'entities' => $recents,
'style' => 'compact',
- 'emptyText' => $signedIn ? trans('entities.no_pages_viewed') : trans('entities.books_empty')
+ 'emptyText' => auth()->check() ? trans('entities.no_pages_viewed') : trans('entities.books_empty')
])
</div>
<div class="grid half">
<div>
<div class="icon-list inline block">
- @include('components.expand-toggle', ['target' => '.entity-list.compact .entity-item-snippet', 'key' => 'home-details'])
+ @include('components.expand-toggle', ['classes' => 'text-muted text-primary', 'target' => '.entity-list.compact .entity-item-snippet', 'key' => 'home-details'])
</div>
</div>
<div class="text-m-right">
</div>
@endif
- <div id="{{ $signedIn ? 'recently-viewed' : 'recent-books' }}" class="card mb-xl">
- <h3 class="card-title">{{ trans('entities.' . ($signedIn ? 'my_recently_viewed' : 'books_recent')) }}</h3>
+ <div id="{{ auth()->check() ? 'recently-viewed' : 'recent-books' }}" class="card mb-xl">
+ <h3 class="card-title">{{ trans('entities.' . (auth()->check() ? 'my_recently_viewed' : 'books_recent')) }}</h3>
<div class="px-m">
@include('partials.entity-list', [
'entities' => $recents,
'style' => 'compact',
- 'emptyText' => $signedIn ? trans('entities.no_pages_viewed') : trans('entities.books_empty')
+ 'emptyText' => auth()->check() ? trans('entities.no_pages_viewed') : trans('entities.books_empty')
])
</div>
</div>
</div>
<div>
+ @if(count($favourites) > 0)
+ <div id="top-favourites" class="card mb-xl">
+ <h3 class="card-title">
+ <a href="{{ url('/favourites') }}" class="no-color">{{ trans('entities.my_most_viewed_favourites') }}</a>
+ </h3>
+ <div class="px-m">
+ @include('partials.entity-list', [
+ 'entities' => $favourites,
+ 'style' => 'compact',
+ ])
+ </div>
+ </div>
+ @endif
+
<div id="recent-pages" class="card mb-xl">
<h3 class="card-title"><a class="no-color" href="{{ url("/pages/recently-updated") }}">{{ trans('entities.recently_updated_pages') }}</a></h3>
<div id="recently-updated-pages" class="px-m">
--- /dev/null
+<a class="px-m py-s skip-to-content-link" href="#main-content">{{ trans('common.skip_to_main_content') }}</a>
\ No newline at end of file
<div class="form-group entity-selector-container">
- <div entity-selector class="entity-selector {{$selectorSize ?? ''}}" entity-types="{{ $entityTypes ?? 'book,chapter,page' }}" entity-permission="{{ $entityPermission ?? 'view' }}">
- <input type="hidden" entity-selector-input name="{{$name}}" value="">
- <input type="text" placeholder="{{ trans('common.search') }}" entity-selector-search>
- <div class="text-center loading" entity-selector-loading>@include('partials.loading-icon')</div>
- <div entity-selector-results></div>
+ <div component="entity-selector"
+ class="entity-selector {{$selectorSize ?? ''}}"
+ option:entity-selector:entity-types="{{ $entityTypes ?? 'book,chapter,page' }}"
+ option:entity-selector:entity-permission="{{ $entityPermission ?? 'view' }}">
+ <input refs="entity-selector@input" type="hidden" name="{{$name}}" value="">
+ <input type="text" placeholder="{{ trans('common.search') }}" @if($autofocus ?? false) autofocus @endif refs="entity-selector@search">
+ <div class="text-center loading" refs="entity-selector@loading">@include('partials.loading-icon')</div>
+ <div refs="entity-selector@results"></div>
@if($showAdd ?? false)
<div class="entity-selector-add">
- <button entity-selector-add-button type="button"
+ <button refs="entity-selector@add" type="button"
class="button outline">@icon('add'){{ trans('common.add') }}</button>
</div>
@endif
--}}
<?php $isOpen = setting()->getForCurrentUser('section_expansion#'. $key); ?>
<button type="button" expand-toggle="{{ $target }}"
- expand-toggle-update-endpoint="{{ url('/settings/users/'. $currentUser->id .'/update-expansion-preference/' . $key) }}"
+ expand-toggle-update-endpoint="{{ url('/settings/users/'. user()->id .'/update-expansion-preference/' . $key) }}"
expand-toggle-is-open="{{ $isOpen ? 'yes' : 'no' }}"
- class="text-muted icon-list-item text-primary">
+ class="icon-list-item {{ $classes ?? '' }}">
<span>@icon('expand-text')</span>
<span>{{ trans('common.toggle_details') }}</span>
</button>
option:ajax-form:url="{{ url('images/' . $image->id) }}">
<div class="image-manager-viewer">
- <a href="{{ $image->url }}" target="_blank" class="block">
+ <a href="{{ $image->url }}" target="_blank" rel="noopener" class="block">
<img src="{{ $image->thumbs['display'] }}"
alt="{{ $image->name }}"
class="anim fadeIn"
<li>
<a href="{{ $page->url }}"
target="_blank"
+ rel="noopener"
class="text-neg">{{ $page->name }}</a>
</li>
@endforeach
<div page-picker>
<div class="input-base">
<span @if($value) style="display: none" @endif page-picker-default class="text-muted italic">{{ $placeholder }}</span>
- <a @if(!$value) style="display: none" @endif href="{{ url('/link/' . $value) }}" target="_blank" class="text-page" page-picker-display>#{{$value}}, {{$value ? \BookStack\Entities\Models\Page::find($value)->name : '' }}</a>
+ <a @if(!$value) style="display: none" @endif href="{{ url('/link/' . $value) }}" target="_blank" rel="noopener" class="text-page" page-picker-display>#{{$value}}, {{$value ? \BookStack\Entities\Models\Page::find($value)->name : '' }}</a>
</div>
<br>
<input type="hidden" value="{{$value}}" name="{{$name}}" id="{{$name}}">
@foreach($entity->tags as $tag)
<div class="tag-item primary-background-light">
- <div class="tag-name"><a href="{{ url('/search?term=%5B' . urlencode($tag->name) .'%5D') }}">@icon('tag'){{ $tag->name }}</a></div>
- @if($tag->value) <div class="tag-value"><a href="{{ url('/search?term=%5B' . urlencode($tag->name) .'%3D' . urlencode($tag->value) . '%5D') }}">{{$tag->value}}</a></div> @endif
+ @if($linked ?? true)
+ <div class="tag-name"><a href="{{ $tag->nameUrl() }}">@icon('tag'){{ $tag->name }}</a></div>
+ @if($tag->value) <div class="tag-value"><a href="{{ $tag->valueUrl() }}">{{$tag->value}}</a></div> @endif
+ @else
+ <div class="tag-name"><span>@icon('tag'){{ $tag->name }}</span></div>
+ @if($tag->value) <div class="tag-value"><span>{{$tag->value}}</span></div> @endif
+ @endif
</div>
@endforeach
\ No newline at end of file
--- /dev/null
+<a href="#" class="flex-container-row items-center dropdown-search-item" data-id="">
+ <span>{{ trans('settings.users_none_selected') }}</span>
+</a>
+@foreach($users as $user)
+ <a href="#" class="flex-container-row items-center dropdown-search-item" data-id="{{ $user->id }}">
+ <img class="avatar mr-m" src="{{ $user->getAvatar(30) }}" alt="{{ $user->name }}">
+ <span>{{ $user->name }}</span>
+ </a>
+@endforeach
\ No newline at end of file
--- /dev/null
+<div class="dropdown-search custom-select-input" components="dropdown dropdown-search user-select"
+ option:dropdown-search:url="/search/users/select"
+>
+ <input refs="user-select@input" type="hidden" name="{{ $name }}" value="{{ $user->id ?? '' }}">
+ <div refs="dropdown@toggle"
+ class="dropdown-search-toggle {{ $compact ? 'compact' : '' }} flex-container-row items-center"
+ aria-haspopup="true" aria-expanded="false" tabindex="0">
+ <div refs="user-select@user-info" class="flex-container-row items-center px-s">
+ @if($user)
+ <img class="avatar small mr-m" src="{{ $user->getAvatar($compact ? 22 : 30) }}" alt="{{ $user->name }}">
+ <span>{{ $user->name }}</span>
+ @else
+ <span>{{ trans('settings.users_none_selected') }}</span>
+ @endif
+ </div>
+ <span style="font-size: {{ $compact ? '1.15rem' : '1.5rem' }}; margin-left: auto;">
+ @icon('caret-down')
+ </span>
+ </div>
+ <div refs="dropdown@menu" class="dropdown-search-dropdown card" role="menu">
+ <div class="dropdown-search-search">
+ @icon('search')
+ <input refs="dropdown-search@searchInput"
+ aria-label="{{ trans('common.search') }}"
+ autocomplete="off"
+ placeholder="{{ trans('common.search') }}"
+ type="text">
+ </div>
+ <div refs="dropdown-search@loading" class="text-center">
+ @include('partials.loading-icon')
+ </div>
+ <div refs="dropdown-search@listContainer" class="dropdown-search-list"></div>
+ </div>
+</div>
\ No newline at end of file
<div class="card mb-xl px-l pb-l pt-l">
<div class="grid half v-center">
<div>
- <h1 class="list-heading">{{ $message ?? trans('errors.404_page_not_found') }}</h1>
- <h5>{{ trans('errors.sorry_page_not_found') }}</h5>
- <p>{{ trans('errors.sorry_page_not_found_permission_warning') }}</p>
+ @include('errors.parts.not-found-text', [
+ 'title' => $message ?? trans('errors.404_page_not_found'),
+ 'subtitle' => $subtitle ?? trans('errors.sorry_page_not_found'),
+ 'details' => $details ?? trans('errors.sorry_page_not_found_permission_warning'),
+ ])
</div>
<div class="text-right">
@if(!signedInUser())
<div class="card mb-xl">
<h3 class="card-title">{{ trans('entities.pages_popular') }}</h3>
<div class="px-m">
- @include('partials.entity-list', ['entities' => Views::getPopular(10, 0, ['page']), 'style' => 'compact'])
+ @include('partials.entity-list', ['entities' => (new \BookStack\Entities\Queries\Popular)->run(10, 0, ['page']), 'style' => 'compact'])
</div>
</div>
</div>
<div class="card mb-xl">
<h3 class="card-title">{{ trans('entities.books_popular') }}</h3>
<div class="px-m">
- @include('partials.entity-list', ['entities' => Views::getPopular(10, 0, ['book']), 'style' => 'compact'])
+ @include('partials.entity-list', ['entities' => (new \BookStack\Entities\Queries\Popular)->run(10, 0, ['book']), 'style' => 'compact'])
</div>
</div>
</div>
<div class="card mb-xl">
<h3 class="card-title">{{ trans('entities.chapters_popular') }}</h3>
<div class="px-m">
- @include('partials.entity-list', ['entities' => Views::getPopular(10, 0, ['chapter']), 'style' => 'compact'])
+ @include('partials.entity-list', ['entities' => (new \BookStack\Entities\Queries\Popular)->run(10, 0, ['chapter']), 'style' => 'compact'])
</div>
</div>
</div>
<div class="container small py-xl">
<main class="card content-wrap auto-height">
- <div class="body">
+ <div id="main-content" class="body">
<h3>{{ trans('errors.error_occurred') }}</h3>
<h5 class="mb-m">{{ $message ?? 'An unknown error occurred' }}</h5>
<p><a href="{{ url('/') }}" class="button outline">{{ trans('errors.return_home') }}</a></p>
--- /dev/null
+{{--The below text may be dynamic based upon language and scenario.--}}
+{{--It's safer to add new text sections here rather than altering existing ones.--}}
+<h1 class="list-heading">{{ $title }}</h1>
+<h5>{{ $subtitle }}</h5>
+<p>{{ $details }}</p>
\ No newline at end of file
--- /dev/null
+<!doctype html>
+<html lang="{{ config('app.lang') }}">
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+ <title>@yield('title')</title>
+
+ @include('partials.export-styles', ['format' => $format])
+ @include('partials.export-custom-head')
+</head>
+<body>
+<div class="page-content">
+ @yield('content')
+</div>
+</body>
+</html>
\ No newline at end of file
{!! csrf_field() !!}
<input type="hidden" name="_method" value="PUT">
- <p class="mb-none">{{ trans('entities.permissions_intro') }}</p>
-
- <div class="form-group">
- @include('form.checkbox', [
- 'name' => 'restricted',
- 'label' => trans('entities.permissions_enable'),
- ])
+ <div class="grid half left-focus v-center">
+ <div>
+ <p class="mb-none mt-m">{{ trans('entities.permissions_intro') }}</p>
+ <div>
+ @include('form.checkbox', [
+ 'name' => 'restricted',
+ 'label' => trans('entities.permissions_enable'),
+ ])
+ </div>
+ </div>
+ <div>
+ <div class="form-group">
+ <label for="owner">{{ trans('entities.permissions_owner') }}</label>
+ @include('components.user-select', ['user' => $model->ownedBy, 'name' => 'owned_by', 'compact' => false])
+ </div>
+ </div>
</div>
+ <hr>
+
<table permissions-table class="table permissions-table toggle-switch-list" style="{{ !$model->restricted ? 'display: none' : '' }}">
<tr>
<th>{{ trans('common.role') }}</th>
- <th @if($model->isA('page')) colspan="3" @else colspan="4" @endif>
+ <th colspan="{{ $model->isA('page') ? '3' : '4' }}">
{{ trans('common.actions') }}
<a href="#" permissions-table-toggle-all class="text-small ml-m text-primary">{{ trans('common.toggle_all') }}</a>
</th>
<input type="password" id="{{ $name }}" name="{{ $name }}"
@if($errors->has($name)) class="text-neg" @endif
@if(isset($placeholder)) placeholder="{{$placeholder}}" @endif
+ @if(isset($autocomplete)) autocomplete="{{$autocomplete}}" @endif
@if(old($name)) value="{{ old($name)}}" @endif>
@if($errors->has($name))
<div class="text-neg text-small">{{ $errors->first($name) }}</div>
-@endif
\ No newline at end of file
+@endif
@section('content')
- <div class="flex-fill flex">
+ <div id="main-content" class="flex-fill flex fill-height">
<form action="{{ $page->getUrl() }}" autocomplete="off" data-page-id="{{ $page->id }}" method="POST" class="flex flex-fill">
{{ csrf_field() }}
-<!doctype html>
-<html lang="{{ config('app.lang') }}">
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
- <title>{{ $page->name }}</title>
+@extends('export-layout')
- @include('partials.export-styles', ['format' => $format])
+@section('title', $page->name)
- @if($format === 'pdf')
- <style>
- body {
- font-size: 14px;
- line-height: 1.2;
- }
+@section('content')
+ @include('pages.page-display')
- h1, h2, h3, h4, h5, h6 {
- line-height: 1.2;
- }
-
- table {
- max-width: 800px !important;
- font-size: 0.8em;
- width: 100% !important;
- }
-
- table td {
- width: auto !important;
- }
- </style>
- @endif
-
- @include('partials.custom-head')
-</head>
-<body>
-
-<div id="page-show">
- <div class="page-content">
-
- @include('pages.page-display')
-
- <hr>
-
- <div class="text-muted text-small">
- @include('partials.entity-export-meta', ['entity' => $page])
- </div>
+ <hr>
+ <div class="text-muted text-small">
+ @include('partials.entity-export-meta', ['entity' => $page])
</div>
-</div>
-
-</body>
-</html>
+@endsection
\ No newline at end of file
option:markdown-editor:page-id="{{ $model->id ?? 0 }}"
option:markdown-editor:text-direction="{{ config('app.rtl') ? 'rtl' : 'ltr' }}"
option:markdown-editor:image-upload-error-text="{{ trans('errors.image_upload_error') }}"
+ option:markdown-editor:server-upload-limit-text="{{ trans('errors.server_upload_limit') }}"
class="flex-fill flex code-fill">
<div class="markdown-editor-wrap active">
</div>
<iframe src="about:blank" class="markdown-display" sandbox="allow-same-origin"></iframe>
</div>
- <input type="hidden" name="html"/>
-
</div>
{!! csrf_field() !!}
<input type="hidden" name="_method" value="PUT">
- @include('components.entity-selector', ['name' => 'entity_selection', 'selectorSize' => 'large', 'entityTypes' => 'book,chapter', 'entityPermission' => 'page-create'])
+ @include('components.entity-selector', ['name' => 'entity_selection', 'selectorSize' => 'large', 'entityTypes' => 'book,chapter', 'entityPermission' => 'page-create', 'autofocus' => true])
<div class="form-group text-right">
<a href="{{ $page->getUrl() }}" class="button outline">{{ trans('common.cancel') }}</a>
<td><small>{{ $revision->created_at->formatLocalized('%e %B %Y %H:%M:%S') }} <br> ({{ $revision->created_at->diffForHumans() }})</small></td>
<td>{{ $revision->summary }}</td>
<td class="actions">
- <a href="{{ $revision->getUrl('changes') }}" target="_blank">{{ trans('entities.pages_revisions_changes') }}</a>
+ <a href="{{ $revision->getUrl('changes') }}" target="_blank" rel="noopener">{{ trans('entities.pages_revisions_changes') }}</a>
<span class="text-muted"> | </span>
@if ($index === 0)
- <a target="_blank" href="{{ $page->getUrl() }}"><i>{{ trans('entities.pages_revisions_current') }}</i></a>
+ <a target="_blank" rel="noopener" href="{{ $page->getUrl() }}"><i>{{ trans('entities.pages_revisions_current') }}</i></a>
@else
- <a href="{{ $revision->getUrl() }}" target="_blank">{{ trans('entities.pages_revisions_preview') }}</a>
+ <a href="{{ $revision->getUrl() }}" target="_blank" rel="noopener">{{ trans('entities.pages_revisions_preview') }}</a>
<span class="text-muted"> | </span>
<div component="dropdown" class="dropdown-container">
<a refs="dropdown@toggle" href="#" aria-haspopup="true" aria-expanded="false">{{ trans('entities.pages_revisions_restore') }}</a>
</div>
</main>
+ @include('partials.entity-sibling-navigation', ['next' => $next, 'previous' => $previous])
+
@if ($commentsEnabled)
- <div class="container small p-none comments-container mb-l print-hidden">
+ @if(($previous || $next))
+ <div class="px-xl">
+ <hr class="darker">
+ </div>
+ @endif
+
+ <div class="px-xl comments-container mb-l print-hidden">
@include('comments.comments', ['page' => $page])
<div class="clearfix"></div>
</div>
<div class="sidebar-page-nav menu">
@foreach($pageNav as $navItem)
<li class="page-nav-item h{{ $navItem['level'] }}">
- <a href="{{ $navItem['link'] }}" class="limit-text block">{{ $navItem['text'] }}</a>
+ <a href="{{ $navItem['link'] }}" class="text-limit-lines-1 block">{{ $navItem['text'] }}</a>
<div class="primary-background sidebar-page-nav-bullet"></div>
</li>
@endforeach
<hr class="primary-background"/>
- {{--Export--}}
+ @if(signedInUser())
+ @include('partials.entity-favourite-action', ['entity' => $page])
+ @endif
@include('partials.entity-export-menu', ['entity' => $page])
</div>
option:wysiwyg-editor:page-id="{{ $model->id ?? 0 }}"
option:wysiwyg-editor:text-direction="{{ config('app.rtl') ? 'rtl' : 'ltr' }}"
option:wysiwyg-editor:image-upload-error-text="{{ trans('errors.image_upload_error') }}"
+ option:wysiwyg-editor:server-upload-limit-text="{{ trans('errors.server_upload_limit') }}"
class="flex-fill flex">
<textarea id="html-editor" name="html" rows="5"
@endif
@foreach($sidebarTree as $bookChild)
- <li class="list-item-{{ $bookChild->getClassName() }} {{ $bookChild->getClassName() }} {{ $bookChild->isA('page') && $bookChild->draft ? 'draft' : '' }}">
+ <li class="list-item-{{ $bookChild->getType() }} {{ $bookChild->getType() }} {{ $bookChild->isA('page') && $bookChild->draft ? 'draft' : '' }}">
@include('partials.entity-list-item-basic', ['entity' => $bookChild, 'classes' => $current->matches($bookChild)? 'selected' : ''])
- @if($bookChild->isA('chapter') && count($bookChild->pages) > 0)
+ @if($bookChild->isA('chapter') && count($bookChild->visible_pages) > 0)
<div class="entity-list-item no-hover">
<span role="presentation" class="icon text-chapter"></span>
<div class="content">
-<div class="breadcrumb-listing" component="dropdown" breadcrumb-listing="{{ $entity->getType() }}:{{ $entity->id }}">
- <div class="breadcrumb-listing-toggle" refs="dropdown@toggle"
+<div class="dropdown-search" components="dropdown dropdown-search"
+ option:dropdown-search:url="/search/entity/siblings?entity_type={{$entity->getType()}}&entity_id={{ $entity->id }}"
+ option:dropdown-search:local-search-selector=".entity-list-item"
+>
+ <div class="dropdown-search-toggle" refs="dropdown@toggle"
aria-haspopup="true" aria-expanded="false" tabindex="0">
<div class="separator">@icon('chevron-right')</div>
</div>
- <div refs="dropdown@menu" class="breadcrumb-listing-dropdown card" role="menu">
- <div class="breadcrumb-listing-search">
+ <div refs="dropdown@menu" class="dropdown-search-dropdown card" role="menu">
+ <div class="dropdown-search-search">
@icon('search')
- <input autocomplete="off" type="text" name="entity-search" placeholder="{{ trans('common.search') }}" aria-label="{{ trans('common.search') }}">
+ <input refs="dropdown-search@searchInput"
+ aria-label="{{ trans('common.search') }}"
+ autocomplete="off"
+ placeholder="{{ trans('common.search') }}"
+ type="text">
</div>
- @include('partials.loading-icon')
- <div class="breadcrumb-listing-entity-list px-m"></div>
+ <div refs="dropdown-search@loading">
+ @include('partials.loading-icon')
+ </div>
+ <div refs="dropdown-search@listContainer" class="dropdown-search-list px-m"></div>
</div>
</div>
\ No newline at end of file
+++ /dev/null
-@if(setting('app-custom-head', false))
- <!-- Custom user content -->
- {!! setting('app-custom-head') !!}
- <!-- End custom user content -->
-@endif
\ No newline at end of file
@if(setting('app-custom-head') && \Route::currentRouteName() !== 'settings')
- <!-- Custom user content -->
- {!! setting('app-custom-head') !!}
- <!-- End custom user content -->
+<!-- Custom user content -->
+{!! setting('app-custom-head') !!}
+<!-- End custom user content -->
@endif
\ No newline at end of file
<span>{{ trans('entities.export') }}</span>
</div>
<ul refs="dropdown@menu" class="wide dropdown-menu" role="menu">
- <li><a href="{{ $entity->getUrl('/export/html') }}" target="_blank">{{ trans('entities.export_html') }} <span class="text-muted float right">.html</span></a></li>
- <li><a href="{{ $entity->getUrl('/export/pdf') }}" target="_blank">{{ trans('entities.export_pdf') }} <span class="text-muted float right">.pdf</span></a></li>
- <li><a href="{{ $entity->getUrl('/export/plaintext') }}" target="_blank">{{ trans('entities.export_text') }} <span class="text-muted float right">.txt</span></a></li>
+ <li><a href="{{ $entity->getUrl('/export/html') }}" target="_blank" rel="noopener">{{ trans('entities.export_html') }} <span class="text-muted float right">.html</span></a></li>
+ <li><a href="{{ $entity->getUrl('/export/pdf') }}" target="_blank" rel="noopener">{{ trans('entities.export_pdf') }} <span class="text-muted float right">.pdf</span></a></li>
+ <li><a href="{{ $entity->getUrl('/export/plaintext') }}" target="_blank" rel="noopener">{{ trans('entities.export_text') }} <span class="text-muted float right">.txt</span></a></li>
+ <li><a href="{{ $entity->getUrl('/export/markdown') }}" target="_blank" rel="noopener">{{ trans('entities.export_md') }} <span class="text-muted float right">.md</span></a></li>
</ul>
-</div>
\ No newline at end of file
+</div>
<div class="entity-meta">
- @if($entity->isA('revision'))
- @icon('history'){{ trans('entities.pages_revision') }}
- {{ trans('entities.pages_revisions_number') }}{{ $entity->revision_number == 0 ? '' : $entity->revision_number }}
- <br>
- @endif
-
@if ($entity->isA('page'))
- @if (userCan('page-update', $entity)) <a href="{{ $entity->getUrl('/revisions') }}"> @endif
@icon('history'){{ trans('entities.meta_revision', ['revisionCount' => $entity->revision_count]) }} <br>
- @if (userCan('page-update', $entity))</a>@endif
- @endif
-
- @if ($entity->createdBy)
- @icon('star'){!! trans('entities.meta_created_name', [
- 'timeLength' => '<span>'.$entity->created_at->toDayDateTimeString() . '</span>',
- 'user' => "<a href='{$entity->createdBy->getProfileUrl()}'>".htmlentities($entity->createdBy->name). "</a>"
- ]) !!}
- @else
- @icon('star')<span>{{ trans('entities.meta_created', ['timeLength' => $entity->created_at->toDayDateTimeString()]) }}</span>
@endif
+ @icon('star'){!! trans('entities.meta_created' . ($entity->createdBy ? '_name' : ''), [
+ 'timeLength' => $entity->created_at->formatLocalized('%e %B %Y %H:%M:%S'),
+ 'user' => e($entity->createdBy->name ?? ''),
+ ]) !!}
<br>
- @if ($entity->updatedBy)
- @icon('edit'){!! trans('entities.meta_updated_name', [
- 'timeLength' => '<span>' . $entity->updated_at->toDayDateTimeString() .'</span>',
- 'user' => "<a href='{$entity->updatedBy->getProfileUrl()}'>".htmlentities($entity->updatedBy->name). "</a>"
- ]) !!}
- @elseif (!$entity->isA('revision'))
- @icon('edit')<span>{{ trans('entities.meta_updated', ['timeLength' => $entity->updated_at->toDayDateTimeString()]) }}</span>
- @endif
+ @icon('edit'){!! trans('entities.meta_updated' . ($entity->updatedBy ? '_name' : ''), [
+ 'timeLength' => $entity->updated_at->formatLocalized('%e %B %Y %H:%M:%S'),
+ 'user' => e($entity->updatedBy->name ?? '')
+ ]) !!}
</div>
\ No newline at end of file
--- /dev/null
+@php
+ $isFavourite = $entity->isFavourite();
+@endphp
+<form action="{{ url('/favourites/' . ($isFavourite ? 'remove' : 'add')) }}" method="POST">
+ {{ csrf_field() }}
+ <input type="hidden" name="type" value="{{ get_class($entity) }}">
+ <input type="hidden" name="id" value="{{ $entity->id }}">
+ <button type="submit" class="icon-list-item text-primary">
+ <span>@icon($isFavourite ? 'star' : 'star-outline')</span>
+ <span>{{ $isFavourite ? trans('common.unfavourite') : trans('common.favourite') }}</span>
+ </button>
+</form>
\ No newline at end of file
--- /dev/null
+<a href="{{ $entity->getUrl() }}" class="grid-card"
+ data-entity-type="{{ $entity->getType() }}" data-entity-id="{{ $entity->id }}">
+ <div class="bg-{{ $entity->getType() }} featured-image-container-wrap">
+ <div class="featured-image-container" @if($entity->cover) style="background-image: url('{{ $entity->getBookCover() }}')"@endif>
+ </div>
+ @icon($entity->getType())
+ </div>
+ <div class="grid-card-content">
+ <h2 class="text-limit-lines-2">{{ $entity->name }}</h2>
+ <p class="text-muted">{{ $entity->getExcerpt(130) }}</p>
+ </div>
+ <div class="grid-card-footer text-muted ">
+ <p>@icon('star')<span title="{{ $entity->created_at->toDayDateTimeString() }}">{{ trans('entities.meta_created', ['timeLength' => $entity->created_at->diffForHumans()]) }}</span></p>
+ <p>@icon('edit')<span title="{{ $entity->updated_at->toDayDateTimeString() }}">{{ trans('entities.meta_updated', ['timeLength' => $entity->updated_at->diffForHumans()]) }}</span></p>
+ </div>
+</a>
\ No newline at end of file
@component('partials.entity-list-item-basic', ['entity' => $entity])
+
<div class="entity-item-snippet">
@if($showPath ?? false)
<p class="text-muted break-text">{{ $entity->getExcerpt() }}</p>
</div>
+
+@if(($showTags ?? false) && $entity->tags->count() > 0)
+ <div class="entity-item-tags mt-xs">
+ @include('components.tag-list', ['entity' => $entity, 'linked' => false ])
+ </div>
+@endif
+
@endcomponent
\ No newline at end of file
@if(count($entities) > 0)
<div class="entity-list {{ $style ?? '' }}">
@foreach($entities as $index => $entity)
- @include('partials.entity-list-item', ['entity' => $entity, 'showPath' => $showPath ?? false])
+ @include('partials.entity-list-item', ['entity' => $entity, 'showPath' => $showPath ?? false, 'showTags' => $showTags ?? false])
@endforeach
</div>
@else
<div class="entity-meta">
@if($entity->isA('revision'))
- @icon('history'){{ trans('entities.pages_revision') }}
- {{ trans('entities.pages_revisions_number') }}{{ $entity->revision_number == 0 ? '' : $entity->revision_number }}
- <br>
+ <div>
+ @icon('history'){{ trans('entities.pages_revision') }}
+ {{ trans('entities.pages_revisions_number') }}{{ $entity->revision_number == 0 ? '' : $entity->revision_number }}
+ </div>
@endif
@if ($entity->isA('page'))
- @if (userCan('page-update', $entity)) <a href="{{ $entity->getUrl('/revisions') }}"> @endif
- @icon('history'){{ trans('entities.meta_revision', ['revisionCount' => $entity->revision_count]) }} <br>
+ <div>
+ @if (userCan('page-update', $entity)) <a href="{{ $entity->getUrl('/revisions') }}"> @endif
+ @icon('history'){{ trans('entities.meta_revision', ['revisionCount' => $entity->revision_count]) }}
@if (userCan('page-update', $entity))</a>@endif
+ </div>
@endif
+ @if ($entity->ownedBy && $entity->owned_by !== $entity->created_by)
+ <div>
+ @icon('user'){!! trans('entities.meta_owned_name', [
+ 'user' => "<a href='{$entity->ownedBy->getProfileUrl()}'>".e($entity->ownedBy->name). "</a>"
+ ]) !!}
+ </div>
+ @endif
@if ($entity->createdBy)
- @icon('star'){!! trans('entities.meta_created_name', [
+ <div>
+ @icon('star'){!! trans('entities.meta_created_name', [
'timeLength' => '<span title="'.$entity->created_at->toDayDateTimeString().'">'.$entity->created_at->diffForHumans() . '</span>',
- 'user' => "<a href='{$entity->createdBy->getProfileUrl()}'>".htmlentities($entity->createdBy->name). "</a>"
+ 'user' => "<a href='{$entity->createdBy->getProfileUrl()}'>".e($entity->createdBy->name). "</a>"
]) !!}
+ </div>
@else
- @icon('star')<span title="{{$entity->created_at->toDayDateTimeString()}}">{{ trans('entities.meta_created', ['timeLength' => $entity->created_at->diffForHumans()]) }}</span>
+ <div>
+ @icon('star')<span title="{{$entity->created_at->toDayDateTimeString()}}">{{ trans('entities.meta_created', ['timeLength' => $entity->created_at->diffForHumans()]) }}</span>
+ </div>
@endif
- <br>
-
@if ($entity->updatedBy)
- @icon('edit'){!! trans('entities.meta_updated_name', [
+ <div>
+ @icon('edit'){!! trans('entities.meta_updated_name', [
'timeLength' => '<span title="' . $entity->updated_at->toDayDateTimeString() .'">' . $entity->updated_at->diffForHumans() .'</span>',
- 'user' => "<a href='{$entity->updatedBy->getProfileUrl()}'>".htmlentities($entity->updatedBy->name). "</a>"
+ 'user' => "<a href='{$entity->updatedBy->getProfileUrl()}'>".e($entity->updatedBy->name). "</a>"
]) !!}
+ </div>
@elseif (!$entity->isA('revision'))
- @icon('edit')<span title="{{ $entity->updated_at->toDayDateTimeString() }}">{{ trans('entities.meta_updated', ['timeLength' => $entity->updated_at->diffForHumans()]) }}</span>
+ <div>
+ @icon('edit')<span title="{{ $entity->updated_at->toDayDateTimeString() }}">{{ trans('entities.meta_updated', ['timeLength' => $entity->updated_at->diffForHumans()]) }}</span>
+ </div>
@endif
</div>
\ No newline at end of file
--- /dev/null
+<div id="sibling-navigation" class="grid half collapse-xs items-center mb-m px-m no-row-gap fade-in-when-active print-hidden">
+ <div>
+ @if($previous)
+ <a href="{{ $previous->getUrl() }}" class="outline-hover no-link-style block rounded">
+ <div class="px-m pt-xs text-muted">{{ trans('common.previous') }}</div>
+ <div class="inline-block">
+ <div class="icon-list-item no-hover">
+ <span class="text-{{ $previous->getType() }} ">@icon($previous->getType())</span>
+ <span>{{ $previous->getShortName(48) }}</span>
+ </div>
+ </div>
+ </a>
+ @endif
+ </div>
+ <div>
+ @if($next)
+ <a href="{{ $next->getUrl() }}" class="outline-hover no-link-style block rounded text-xs-right">
+ <div class="px-m pt-xs text-muted text-xs-right">{{ trans('common.next') }}</div>
+ <div class="inline block">
+ <div class="icon-list-item no-hover">
+ <span class="text-{{ $next->getType() }} ">@icon($next->getType())</span>
+ <span>{{ $next->getShortName(48) }}</span>
+ </div>
+ </div>
+ </a>
+ @endif
+ </div>
+</div>
\ No newline at end of file
--- /dev/null
+@if(setting('app-custom-head'))
+<!-- Custom user content -->
+{!! \BookStack\Util\HtmlContentFilter::removeScripts(setting('app-custom-head')) !!}
+<!-- End custom user content -->
+@endif
\ No newline at end of file
@if ($format === 'pdf')
<style>
+
+ /* PDF size adjustments */
+ body {
+ font-size: 14px;
+ line-height: 1.2;
+ }
+
+ h1, h2, h3, h4, h5, h6 {
+ line-height: 1.2;
+ }
+
+ table {
+ max-width: 800px !important;
+ font-size: 0.8em;
+ width: 100% !important;
+ }
+
+ table td {
+ width: auto !important;
+ }
+
/* Patches for CSS variable colors */
a {
color: {{ setting('app-color') }};
?>
<div class="list-sort-container" list-sort-control>
<div class="list-sort-label">{{ trans('common.sort') }}</div>
- <form action="{{ url("/settings/users/{$currentUser->id}/change-sort/{$type}") }}" method="post">
+ <form action="{{ url("/settings/users/". user()->id ."/change-sort/{$type}") }}" method="post">
{!! csrf_field() !!}
{!! method_field('PATCH') !!}
<div>
- <form action="{{ url("/settings/users/{$currentUser->id}/switch-${type}-view") }}" method="POST" class="inline">
+ <form action="{{ url("/settings/users/". user()->id ."/switch-${type}-view") }}" method="POST" class="inline">
{!! csrf_field() !!}
{!! method_field('PATCH') !!}
<input type="hidden" value="{{ $view === 'list'? 'grid' : 'list' }}" name="view_type">
@component('search.form.boolean-filter', ['filters' => $options->filters, 'name' => 'updated_by', 'value' => 'me'])
{{ trans('entities.search_updated_by_me') }}
@endcomponent
+ @component('search.form.boolean-filter', ['filters' => $options->filters, 'name' => 'owned_by', 'value' => 'me'])
+ {{ trans('entities.search_owned_by_me') }}
+ @endcomponent
@endif
<h6>{{ trans('entities.search_date_options') }}</h6>
<h6 class="text-muted">{{ trans_choice('entities.search_total_results_found', $totalResults, ['count' => $totalResults]) }}</h6>
<div class="book-contents">
- @include('partials.entity-list', ['entities' => $entities, 'showPath' => true])
+ @include('partials.entity-list', ['entities' => $entities, 'showPath' => true, 'showTags' => true])
</div>
@if($hasNextPage)
+++ /dev/null
-<div class="page-list">
- @if(count($pages) > 0)
- @foreach($pages as $pageIndex => $page)
- <div class="anim searchResult" style="animation-delay: {{$pageIndex*50 . 'ms'}};">
- @include('pages.list-item', ['page' => $page])
- <hr>
- </div>
- @endforeach
- @else
- <p class="text-muted">{{ trans('entities.search_no_pages') }}</p>
- @endif
-</div>
-
-@if(count($chapters) > 0)
- <div class="page-list">
- @foreach($chapters as $chapterIndex => $chapter)
- <div class="anim searchResult" style="animation-delay: {{($chapterIndex+count($pages))*50 . 'ms'}};">
- @include('chapters.list-item', ['chapter' => $chapter, 'hidePages' => true])
- <hr>
- </div>
- @endforeach
- </div>
-@endif
-
</ul>
</div>
- @foreach(['date_from', 'date_to'] as $filterKey)
- <form action="{{ url('/settings/audit') }}" method="get" class="block mr-m">
- @foreach($listDetails as $param => $val)
- @if(!empty($val) && $param !== $filterKey)
- <input type="hidden" name="{{ $param }}" value="{{ $val }}">
- @endif
- @endforeach
- <label for="audit_filter_{{ $filterKey }}">{{ trans('settings.audit_' . $filterKey) }}</label>
- <input id="audit_filter_{{ $filterKey }}"
- component="submit-on-change"
- type="date"
- name="{{ $filterKey }}"
- value="{{ $listDetails[$filterKey] ?? '' }}">
- </form>
- @endforeach
+ <form action="{{ url('/settings/audit') }}" method="get" class="flex-container-row mr-m">
+ @if(!empty($listDetails['event']))
+ <input type="hidden" name="event" value="{{ $listDetails['event'] }}">
+ @endif
+
+ @foreach(['date_from', 'date_to'] as $filterKey)
+ <div class="mr-m">
+ <label for="audit_filter_{{ $filterKey }}">{{ trans('settings.audit_' . $filterKey) }}</label>
+ <input id="audit_filter_{{ $filterKey }}"
+ component="submit-on-change"
+ type="date"
+ name="{{ $filterKey }}"
+ value="{{ $listDetails[$filterKey] ?? '' }}">
+ </div>
+ @endforeach
+
+ <div class="form-group ml-auto" component="submit-on-change">
+ <label for="owner">{{ trans('settings.audit_table_user') }}</label>
+ @include('components.user-select', ['user' => $listDetails['user'] ? \BookStack\Auth\User::query()->find($listDetails['user']) : null, 'name' => 'user', 'compact' => true])
+ </div>
+ </form>
</div>
<hr class="mt-l mb-s">
@include('partials.table-user', ['user' => $activity->user, 'user_id' => $activity->user_id])
</td>
<td>{{ $activity->type }}</td>
- <td>
+ <td width="40%">
@if($activity->entity)
<a href="{{ $activity->entity->getUrl() }}" class="table-entity-item">
<span role="presentation" class="icon text-{{$activity->entity->getType()}}">@icon($activity->entity->getType())</span>
--- /dev/null
+{{--
+$value - Setting value
+$name - Setting input name
+--}}
+<div components="add-remove-rows"
+ option:add-remove-rows:row-selector=".card"
+ option:add-remove-rows:remove-selector="button.text-neg">
+
+ <div component="sortable-list"
+ option:sortable-list:handle-selector=".handle">
+ @foreach(array_merge($value, [['label' => '', 'url' => '']]) as $index => $link)
+ <div class="card drag-card {{ $loop->last ? 'hidden' : '' }}" @if($loop->last) refs="add-remove-rows@model" @endif>
+ <div class="handle">@icon('grip')</div>
+ @foreach(['label', 'url'] as $prop)
+ <div class="outline">
+ <input value="{{ $link[$prop] ?? '' }}"
+ placeholder="{{ trans('settings.app_footer_links_' . $prop) }}"
+ aria-label="{{ trans('settings.app_footer_links_' . $prop) }}"
+ name="{{ $name }}[{{ $loop->parent->last ? 'randrowid' : $index }}][{{$prop}}]"
+ type="text"
+ autocomplete="off"/>
+ </div>
+ @endforeach
+ <button type="button"
+ aria-label="{{ trans('common.remove') }}"
+ class="text-center drag-card-action text-neg">
+ @icon('close')
+ </button>
+ </div>
+ @endforeach
+ </div>
+
+ <button refs="add-remove-rows@add" type="button" class="text-button">{{ trans('settings.app_footer_links_add') }}</button>
+</div>
\ No newline at end of file
</div>
</div>
+ <div>
+ <label for="setting-app-privacy-link" class="setting-list-label">{{ trans('settings.app_footer_links') }}</label>
+ <p class="small mb-m">{{ trans('settings.app_footer_links_desc') }}</p>
+ @include('settings.footer-links', ['name' => 'setting-app-footer-links', 'value' => setting('app-footer-links', [])])
+ </div>
+
<div>
<label for="setting-app-custom-head" class="setting-list-label">{{ trans('settings.app_custom_html') }}</label>
<input type="hidden" name="ignore_revisions" value="{{ session()->getOldInput('ignore_revisions', 'false') }}">
<input type="hidden" name="confirm" value="true">
@else
- <label>
- <input type="checkbox" name="ignore_revisions" value="true">
- {{ trans('settings.maint_image_cleanup_ignore_revisions') }}
+ <label class="flex-container-row">
+ <div class="mr-s"><input type="checkbox" name="ignore_revisions" value="true"></div>
+ <div>{{ trans('settings.maint_delete_images_only_in_revisions') }}</div>
</label>
@endif
</div>
<nav class="active-link-list">
- @if($currentUser->can('settings-manage'))
+ @if(userCan('settings-manage'))
<a href="{{ url('/settings') }}" @if($selected == 'settings') class="active" @endif>@icon('settings'){{ trans('settings.settings') }}</a>
<a href="{{ url('/settings/maintenance') }}" @if($selected == 'maintenance') class="active" @endif>@icon('spanner'){{ trans('settings.maint') }}</a>
@endif
- @if($currentUser->can('settings-manage') && $currentUser->can('users-manage'))
+ @if(userCan('settings-manage') && userCan('users-manage'))
<a href="{{ url('/settings/audit') }}" @if($selected == 'audit') class="active" @endif>@icon('open-book'){{ trans('settings.audit') }}</a>
@endif
- @if($currentUser->can('users-manage'))
+ @if(userCan('users-manage'))
<a href="{{ url('/settings/users') }}" @if($selected == 'users') class="active" @endif>@icon('users'){{ trans('settings.users') }}</a>
@endif
- @if($currentUser->can('user-roles-manage'))
+ @if(userCan('user-roles-manage'))
<a href="{{ url('/settings/roles') }}" @if($selected == 'roles') class="active" @endif>@icon('lock-open'){{ trans('settings.roles') }}</a>
@endif
</nav>
\ No newline at end of file
@section('body')
<div class="container small">
- <div class="grid left-focus v-center no-row-gap">
- <div class="py-m">
- @include('settings.navbar', ['selected' => 'maintenance'])
- </div>
+ <div class="py-m">
+ @include('settings.navbar', ['selected' => 'maintenance'])
</div>
<div class="card content-wrap auto-height">
@section('body')
<div class="container">
- <div class="grid left-focus v-center no-row-gap">
- <div class="py-m">
- @include('settings.navbar', ['selected' => 'maintenance'])
- </div>
+ <div class="py-m">
+ @include('settings.navbar', ['selected' => 'maintenance'])
</div>
<div class="card content-wrap auto-height">
<table class="table">
<tr>
- <th>{{ trans('settings.recycle_bin_deleted_item') }}</th>
- <th>{{ trans('settings.recycle_bin_deleted_by') }}</th>
- <th>{{ trans('settings.recycle_bin_deleted_at') }}</th>
- <th></th>
+ <th width="50%">{{ trans('settings.recycle_bin_deleted_item') }}</th>
+ <th width="20%">{{ trans('settings.recycle_bin_deleted_by') }}</th>
+ <th width="15%">{{ trans('settings.recycle_bin_deleted_at') }}</th>
+ <th width="15%"></th>
</tr>
@if(count($deletions) === 0)
<tr>
@section('body')
<div class="container small">
- <div class="grid left-focus v-center no-row-gap">
- <div class="py-m">
- @include('settings.navbar', ['selected' => 'maintenance'])
- </div>
+ <div class="py-m">
+ @include('settings.navbar', ['selected' => 'maintenance'])
</div>
<div class="card content-wrap auto-height">
<img class="avatar small" src="{{ $user->getAvatar(40) }}" alt="{{ $user->name }}">
</div>
<div>
- @if(userCan('users-manage') || $currentUser->id == $user->id)
+ @if(userCan('users-manage') || user()->id == $user->id)
<a href="{{ url("/settings/users/{$user->id}") }}">
@endif
{{ $user->name }}
- @if(userCan('users-manage') || $currentUser->id == $user->id)
+ @if(userCan('users-manage') || user()->id == $user->id)
</a>
@endif
</div>
<div class="form-group title-input">
<label for="name">{{ trans('common.name') }}</label>
- @include('form.text', ['name' => 'name'])
+ @include('form.text', ['name' => 'name', 'autofocus' => true])
</div>
<div class="form-group description-input">
+++ /dev/null
-<a href="{{$shelf->getUrl()}}" class="bookshelf-grid-item grid-card"
- data-entity-type="bookshelf" data-entity-id="{{$shelf->id}}">
- <div class="bg-shelf featured-image-container-wrap">
- <div class="featured-image-container" @if($shelf->cover) style="background-image: url('{{ $shelf->getBookCover() }}')"@endif>
- </div>
- @icon('bookshelf')
- </div>
- <div class="grid-card-content">
- <h2>{{$shelf->getShortName(35)}}</h2>
- @if(isset($shelf->searchSnippet))
- <p class="text-muted">{!! $shelf->searchSnippet !!}</p>
- @else
- <p class="text-muted">{{ $shelf->getExcerpt(130) }}</p>
- @endif
- </div>
- <div class="grid-card-footer text-muted text-small">
- @icon('star')<span title="{{$shelf->created_at->toDayDateTimeString()}}">{{ trans('entities.meta_created', ['timeLength' => $shelf->created_at->diffForHumans()]) }}</span>
- <br>
- @icon('edit')<span title="{{ $shelf->updated_at->toDayDateTimeString() }}">{{ trans('entities.meta_updated', ['timeLength' => $shelf->updated_at->diffForHumans()]) }}</span>
- </div>
-</a>
\ No newline at end of file
<div class="actions mb-xl">
<h5>{{ trans('common.actions') }}</h5>
<div class="icon-list text-primary">
- @if($currentUser->can('bookshelf-create-all'))
+ @if(userCan('bookshelf-create-all'))
<a href="{{ url("/create-shelf") }}" class="icon-list-item">
<span>@icon('add')</span>
<span>{{ trans('entities.shelves_new_action') }}</span>
<a href="{{ $shelf->getUrl() }}" class="shelf entity-list-item" data-entity-type="bookshelf" data-entity-id="{{$shelf->id}}">
- <div class="entity-list-item-image bg-shelf @if($shelf->image_id) has-image @endif" style="background-image: url('{{ $shelf->getBookCover() }}')">
+ <div class="entity-list-item-image bg-bookshelf @if($shelf->image_id) has-image @endif" style="background-image: url('{{ $shelf->getBookCover() }}')">
@icon('bookshelf')
</div>
<div class="content py-xs">
@else
<div class="grid third">
@foreach($shelves as $key => $shelf)
- @include('shelves.grid-item', ['shelf' => $shelf])
+ @include('partials.entity-grid-item', ['entity' => $shelf])
@endforeach
</div>
@endif
</div>
<main class="card content-wrap">
- <h1 class="break-text">{{$shelf->name}}</h1>
+
+ <div class="flex-container-row wrap v-center">
+ <h1 class="flex fit-content break-text">{{ $shelf->name }}</h1>
+ <div class="flex"></div>
+ <div class="flex fit-content text-m-right my-m ml-m">
+ @include('partials.sort', ['options' => [
+ 'default' => trans('common.sort_default'),
+ 'name' => trans('common.sort_name'),
+ 'created_at' => trans('common.sort_created_at'),
+ 'updated_at' => trans('common.sort_updated_at'),
+ ], 'order' => $order, 'sort' => $sort, 'type' => 'shelf_books'])
+ </div>
+ </div>
+
<div class="book-content">
<p class="text-muted">{!! nl2br(e($shelf->description)) !!}</p>
- @if(count($shelf->visibleBooks) > 0)
+ @if(count($sortedVisibleShelfBooks) > 0)
@if($view === 'list')
<div class="entity-list">
- @foreach($shelf->visibleBooks as $book)
+ @foreach($sortedVisibleShelfBooks as $book)
@include('books.list-item', ['book' => $book])
@endforeach
</div>
@else
<div class="grid third">
- @foreach($shelf->visibleBooks as $key => $book)
- @include('books.grid-item', ['book' => $book])
+ @foreach($sortedVisibleShelfBooks as $book)
+ @include('partials.entity-grid-item', ['entity' => $book])
@endforeach
</div>
@endif
</a>
@endif
+ @if(signedInUser())
+ <hr class="primary-background">
+ @include('partials.entity-favourite-action', ['entity' => $shelf])
+ @endif
+
</div>
</div>
@stop
<div class="flex-fill flex">
<div class="content flex">
- <div class="scroll-body">
+ <div id="main-content" class="scroll-body">
@yield('body')
</div>
</div>
@extends('base')
@section('body-class', 'tri-layout')
+@section('content-components', 'tri-layout')
@section('content')
- <div class="tri-layout-mobile-tabs text-primary print-hidden">
+ <div class="tri-layout-mobile-tabs print-hidden">
<div class="grid half no-break no-gap">
- <div class="tri-layout-mobile-tab px-m py-s" tri-layout-mobile-tab="info">
+ <button type="button"
+ refs="tri-layout@tab"
+ data-tab="info"
+ aria-label="{{ trans('common.tab_info_label') }}"
+ class="tri-layout-mobile-tab px-m py-m text-primary">
{{ trans('common.tab_info') }}
- </div>
- <div class="tri-layout-mobile-tab px-m py-s active" tri-layout-mobile-tab="content">
+ </button>
+ <button type="button"
+ refs="tri-layout@tab"
+ data-tab="content"
+ aria-label="{{ trans('common.tab_content_label') }}"
+ aria-selected="true"
+ class="tri-layout-mobile-tab px-m py-m text-primary active">
{{ trans('common.tab_content') }}
- </div>
+ </button>
</div>
</div>
- <div class="tri-layout-container" tri-layout @yield('container-attrs') >
+ <div refs="tri-layout@container" class="tri-layout-container" @yield('container-attrs') >
<div class="tri-layout-left print-hidden pt-m" id="sidebar">
<aside class="tri-layout-left-contents">
</div>
<div class="@yield('body-wrap-classes') tri-layout-middle">
- <div class="tri-layout-middle-contents">
+ <div id="main-content" class="tri-layout-middle-contents">
@yield('body')
</div>
</div>
</div>
<div class="form-group text-right">
- <a href="{{ url($currentUser->can('users-manage') ? "/settings/users" : "/") }}" class="button outline">{{ trans('common.cancel') }}</a>
+ <a href="{{ url(userCan('users-manage') ? "/settings/users" : "/") }}" class="button outline">{{ trans('common.cancel') }}</a>
<button class="button" type="submit">{{ trans('common.save') }}</button>
</div>
<p>{{ trans('settings.users_delete_warning', ['userName' => $user->name]) }}</p>
+ <hr class="my-l">
+
+ <div class="grid half gap-xl v-center">
+ <div>
+ <label class="setting-list-label">{{ trans('settings.users_migrate_ownership') }}</label>
+ <p class="small">{{ trans('settings.users_migrate_ownership_desc') }}</p>
+ </div>
+ <div>
+ @include('components.user-select', ['name' => 'new_owner_id', 'user' => null, 'compact' => false])
+ </div>
+ </div>
+
+ <hr class="my-l">
+
<div class="grid half">
<p class="text-neg"><strong>{{ trans('settings.users_delete_confirm') }}</strong></p>
<div>
</div>
<section class="card content-wrap">
- <h1 class="list-heading">{{ $user->id === $currentUser->id ? trans('settings.users_edit_profile') : trans('settings.users_edit') }}</h1>
+ <h1 class="list-heading">{{ $user->id === user()->id ? trans('settings.users_edit_profile') : trans('settings.users_edit') }}</h1>
<form action="{{ url("/settings/users/{$user->id}") }}" method="post" enctype="multipart/form-data">
{!! csrf_field() !!}
<input type="hidden" name="_method" value="PUT">
</div>
<div class="text-right">
- <a href="{{ url($currentUser->can('users-manage') ? "/settings/users" : "/") }}" class="button outline">{{ trans('common.cancel') }}</a>
+ <a href="{{ url(userCan('users-manage') ? "/settings/users" : "/") }}" class="button outline">{{ trans('common.cancel') }}</a>
@if($authMethod !== 'system')
<a href="{{ url("/settings/users/{$user->id}/delete") }}" class="button outline">{{ trans('settings.users_delete') }}</a>
@endif
</form>
</section>
- @if($currentUser->id === $user->id && count($activeSocialDrivers) > 0)
+ @if(user()->id === $user->id && count($activeSocialDrivers) > 0)
<section class="card content-wrap auto-height">
<h2 class="list-heading">{{ trans('settings.users_social_accounts') }}</h2>
<p class="text-muted">{{ trans('settings.users_social_accounts_info') }}</p>
<div role="presentation">@icon('auth/'. $driver, ['style' => 'width: 56px;height: 56px;'])</div>
<div>
@if($user->hasSocialAccount($driver))
- <a href="{{ url("/login/service/{$driver}/detach") }}" aria-label="{{ trans('settings.users_social_disconnect') }} - {{ $driver }}"
- class="button small outline">{{ trans('settings.users_social_disconnect') }}</a>
+ <form action="{{ url("/login/service/{$driver}/detach") }}" method="POST">
+ {{ csrf_field() }}
+ <button aria-label="{{ trans('settings.users_social_disconnect') }} - {{ $driver }}"
+ class="button small outline">{{ trans('settings.users_social_disconnect') }}</button>
+ </form>
@else
<a href="{{ url("/login/service/{$driver}") }}" aria-label="{{ trans('settings.users_social_connect') }} - {{ $driver }}"
class="button small outline">{{ trans('settings.users_social_connect') }}</a>
</section>
@endif
- @if(($currentUser->id === $user->id && userCan('access-api')) || userCan('users-manage'))
+ @if((user()->id === $user->id && userCan('access-api')) || userCan('users-manage'))
@include('users.api-tokens.list', ['user' => $user])
@endif
</div>
<div class="grid half mt-m gap-xl">
<div>
<label for="password">{{ trans('auth.password') }}</label>
- @include('form.password', ['name' => 'password'])
+ @include('form.password', ['name' => 'password', 'autocomplete' => 'new-password'])
</div>
<div>
<label for="password-confirm">{{ trans('auth.password_confirm') }}</label>
<main class="card content-wrap">
- <div class="grid right-focus v-center">
+ <div class="flex-container-row wrap justify-space-between items-center">
<h1 class="list-heading">{{ trans('settings.users') }}</h1>
- <div class="text-right">
- <div class="block inline mr-s">
+ <div>
+ <div class="block inline mr-xs">
<form method="get" action="{{ url("/settings/users") }}">
@foreach(collect($listDetails)->except('search') as $name => $val)
<input type="hidden" name="{{ $name }}" value="{{ $val }}">
<input type="text" name="search" placeholder="{{ trans('settings.users_search') }}" @if($listDetails['search']) value="{{$listDetails['search']}}" @endif>
</form>
</div>
- @if(userCan('users-manage'))
- <a href="{{ url("/settings/users/create") }}" style="margin-top: 0;" class="outline button">{{ trans('settings.users_add_new') }}</a>
- @endif
+ <a href="{{ url("/settings/users/create") }}" class="outline button mt-none">{{ trans('settings.users_add_new') }}</a>
</div>
</div>
</th>
<th>{{ trans('settings.role_user_roles') }}</th>
<th class="text-right">
- <a href="{{ sortUrl('/settings/users', $listDetails, ['sort' => 'latest_activity']) }}">{{ trans('settings.users_latest_activity') }}</a>
+ <a href="{{ sortUrl('/settings/users', $listDetails, ['sort' => 'last_activity_at']) }}">{{ trans('settings.users_latest_activity') }}</a>
</th>
</tr>
@foreach($users as $user)
<tr>
<td class="text-center" style="line-height: 0;"><img class="avatar med" src="{{ $user->getAvatar(40)}}" alt="{{ $user->name }}"></td>
<td>
- @if(userCan('users-manage') || $currentUser->id == $user->id)
- <a href="{{ url("/settings/users/{$user->id}") }}">
- @endif
- {{ $user->name }} <br> <span class="text-muted">{{ $user->email }}</span>
- @if(userCan('users-manage') || $currentUser->id == $user->id)
- </a>
- @endif
+ <a href="{{ url("/settings/users/{$user->id}") }}">
+ {{ $user->name }} <br> <span class="text-muted">{{ $user->email }}</span>
+ </a>
</td>
<td>
@foreach($user->roles as $index => $role)
@endforeach
</td>
<td class="text-right text-muted">
- @if($user->latestActivity)
- <small title="{{ $user->latestActivity->created_at->format('Y-m-d H:i:s') }}">{{ $user->latestActivity->created_at->diffForHumans() }}</small>
+ @if($user->last_activity_at)
+ <small title="{{ $user->last_activity_at->format('Y-m-d H:i:s') }}">{{ $user->last_activity_at->diffForHumans() }}</small>
@endif
</td>
</tr>
Route::get('books/{id}/export/html', 'BookExportApiController@exportHtml');
Route::get('books/{id}/export/pdf', 'BookExportApiController@exportPdf');
Route::get('books/{id}/export/plaintext', 'BookExportApiController@exportPlainText');
+Route::get('books/{id}/export/markdown', 'BookExportApiController@exportMarkdown');
Route::get('chapters', 'ChapterApiController@list');
Route::post('chapters', 'ChapterApiController@create');
Route::get('chapters/{id}/export/html', 'ChapterExportApiController@exportHtml');
Route::get('chapters/{id}/export/pdf', 'ChapterExportApiController@exportPdf');
Route::get('chapters/{id}/export/plaintext', 'ChapterExportApiController@exportPlainText');
+Route::get('chapters/{id}/export/markdown', 'ChapterExportApiController@exportMarkdown');
Route::get('pages', 'PageApiController@list');
Route::post('pages', 'PageApiController@create');
Route::get('pages/{id}/export/html', 'PageExportApiController@exportHtml');
Route::get('pages/{id}/export/pdf', 'PageExportApiController@exportPdf');
Route::get('pages/{id}/export/plaintext', 'PageExportApiController@exportPlainText');
+Route::get('pages/{id}/export/markdown', 'PageExportApiController@exportMarkDown');
Route::get('shelves', 'BookshelfApiController@list');
Route::post('shelves', 'BookshelfApiController@create');
<?php
+Route::get('/status', 'StatusController@show');
Route::get('/robots.txt', 'HomeController@getRobots');
// Authenticated routes...
// Shelves
Route::get('/create-shelf', 'BookshelfController@create');
- Route::group(['prefix' => 'shelves'], function() {
+ Route::group(['prefix' => 'shelves'], function () {
Route::get('/', 'BookshelfController@index');
Route::post('/', 'BookshelfController@store');
Route::get('/{slug}/edit', 'BookshelfController@edit');
Route::put('/{bookSlug}/sort', 'BookSortController@update');
Route::get('/{bookSlug}/export/html', 'BookExportController@html');
Route::get('/{bookSlug}/export/pdf', 'BookExportController@pdf');
+ Route::get('/{bookSlug}/export/markdown', 'BookExportController@markdown');
+ Route::get('/{bookSlug}/export/zip', 'BookExportController@zip');
Route::get('/{bookSlug}/export/plaintext', 'BookExportController@plainText');
// Pages
Route::get('/{bookSlug}/page/{pageSlug}', 'PageController@show');
Route::get('/{bookSlug}/page/{pageSlug}/export/pdf', 'PageExportController@pdf');
Route::get('/{bookSlug}/page/{pageSlug}/export/html', 'PageExportController@html');
+ Route::get('/{bookSlug}/page/{pageSlug}/export/markdown', 'PageExportController@markdown');
Route::get('/{bookSlug}/page/{pageSlug}/export/plaintext', 'PageExportController@plainText');
Route::get('/{bookSlug}/page/{pageSlug}/edit', 'PageController@edit');
Route::get('/{bookSlug}/page/{pageSlug}/move', 'PageController@showMove');
Route::get('/{bookSlug}/chapter/{chapterSlug}/permissions', 'ChapterController@showPermissions');
Route::get('/{bookSlug}/chapter/{chapterSlug}/export/pdf', 'ChapterExportController@pdf');
Route::get('/{bookSlug}/chapter/{chapterSlug}/export/html', 'ChapterExportController@html');
+ Route::get('/{bookSlug}/chapter/{chapterSlug}/export/markdown', 'ChapterExportController@markdown');
Route::get('/{bookSlug}/chapter/{chapterSlug}/export/plaintext', 'ChapterExportController@plainText');
Route::put('/{bookSlug}/chapter/{chapterSlug}/permissions', 'ChapterController@permissions');
Route::get('/{bookSlug}/chapter/{chapterSlug}/delete', 'ChapterController@showDelete');
});
// User Profile routes
- Route::get('/user/{userId}', 'UserController@showProfilePage');
+ Route::get('/user/{slug}', 'UserProfileController@show');
// Image routes
Route::get('/images/gallery', 'Images\GalleryImageController@list');
Route::get('/search/chapter/{bookId}', 'SearchController@searchChapter');
Route::get('/search/entity/siblings', 'SearchController@searchSiblings');
+ // User Search
+ Route::get('/search/users/select', 'UserSearchController@forSelect');
+
+ // Template System
Route::get('/templates', 'PageTemplateController@list');
Route::get('/templates/{templateId}', 'PageTemplateController@get');
+ // Favourites
+ Route::get('/favourites', 'FavouriteController@index');
+ Route::post('/favourites/add', 'FavouriteController@add');
+ Route::post('/favourites/remove', 'FavouriteController@remove');
+
// Other Pages
Route::get('/', 'HomeController@index');
Route::get('/home', 'HomeController@index');
});
// Social auth routes
-Route::get('/login/service/{socialDriver}', 'Auth\SocialController@getSocialLogin');
-Route::get('/login/service/{socialDriver}/callback', 'Auth\SocialController@socialCallback');
+Route::get('/login/service/{socialDriver}', 'Auth\SocialController@login');
+Route::get('/login/service/{socialDriver}/callback', 'Auth\SocialController@callback');
Route::group(['middleware' => 'auth'], function () {
- Route::get('/login/service/{socialDriver}/detach', 'Auth\SocialController@detachSocialAccount');
+ Route::post('/login/service/{socialDriver}/detach', 'Auth\SocialController@detach');
});
-Route::get('/register/service/{socialDriver}', 'Auth\SocialController@socialRegister');
+Route::get('/register/service/{socialDriver}', 'Auth\SocialController@register');
// Login/Logout routes
Route::get('/login', 'Auth\LoginController@getLogin');
Route::get('/password/reset/{token}', 'Auth\ResetPasswordController@showResetForm');
Route::post('/password/reset', 'Auth\ResetPasswordController@reset');
-Route::fallback('HomeController@getNotFound');
\ No newline at end of file
+Route::fallback('HomeController@getNotFound')->name('fallback');
\ No newline at end of file
],
'updated_by' => [
'name' => $book->createdBy->name,
- ]
+ ],
+ 'owned_by' => [
+ 'name' => $book->ownedBy->name
+ ],
]);
}
$resp->assertStatus(200);
$resp->assertHeader('Content-Disposition', 'attachment; filename="' . $book->slug . '.pdf"');
}
+
+ public function test_export_markdown_endpoint()
+ {
+ $this->actingAsApiEditor();
+ $book = Book::visible()->has('pages')->has('chapters')->first();
+
+ $resp = $this->get($this->baseEndpoint . "/{$book->id}/export/markdown");
+ $resp->assertStatus(200);
+ $resp->assertHeader('Content-Disposition', 'attachment; filename="' . $book->slug . '.md"');
+ $resp->assertSee('# ' . $book->name);
+ $resp->assertSee('# ' . $book->pages()->first()->name);
+ $resp->assertSee('# ' . $book->chapters()->first()->name);
+ }
}
\ No newline at end of file
'updated_by' => [
'name' => $chapter->createdBy->name,
],
+ 'owned_by' => [
+ 'name' => $chapter->ownedBy->name
+ ],
'pages' => [
[
'id' => $page->id,
$resp->assertStatus(200);
$resp->assertHeader('Content-Disposition', 'attachment; filename="' . $chapter->slug . '.pdf"');
}
+
+ public function test_export_markdown_endpoint()
+ {
+ $this->actingAsApiEditor();
+ $chapter = Chapter::visible()->has('pages')->first();
+
+ $resp = $this->get($this->baseEndpoint . "/{$chapter->id}/export/markdown");
+ $resp->assertStatus(200);
+ $resp->assertHeader('Content-Disposition', 'attachment; filename="' . $chapter->slug . '.md"');
+ $resp->assertSee('# ' . $chapter->name);
+ $resp->assertSee('# ' . $chapter->pages()->first()->name);
+ }
}
\ No newline at end of file
'updated_by' => [
'name' => $page->createdBy->name,
],
+ 'owned_by' => [
+ 'name' => $page->ownedBy->name
+ ],
]);
}
$resp->assertStatus(200);
$resp->assertHeader('Content-Disposition', 'attachment; filename="' . $page->slug . '.pdf"');
}
+
+ public function test_export_markdown_endpoint()
+ {
+ $this->actingAsApiEditor();
+ $page = Page::visible()->first();
+
+ $resp = $this->get($this->baseEndpoint . "/{$page->id}/export/markdown");
+ $resp->assertStatus(200);
+ $resp->assertSee('# ' . $page->name);
+ $resp->assertHeader('Content-Disposition', 'attachment; filename="' . $page->slug . '.md"');
+ }
}
\ No newline at end of file
],
'updated_by' => [
'name' => $shelf->createdBy->name,
- ]
+ ],
+ 'owned_by' => [
+ 'name' => $shelf->ownedBy->name
+ ],
]);
}
use BookStack\Actions\ActivityService;
use BookStack\Actions\ActivityType;
use BookStack\Auth\UserRepo;
+use BookStack\Entities\Models\Chapter;
use BookStack\Entities\Tools\TrashCan;
use BookStack\Entities\Models\Page;
use BookStack\Entities\Repos\PageRepo;
$resp->assertDontSeeText($page->name);
}
+ public function test_user_filter()
+ {
+ $admin = $this->getAdmin();
+ $editor = $this->getEditor();
+ $this->actingAs($admin);
+ $page = Page::query()->first();
+ $this->activityService->addForEntity($page, ActivityType::PAGE_CREATE);
+
+ $this->actingAs($editor);
+ $chapter = Chapter::query()->first();
+ $this->activityService->addForEntity($chapter, ActivityType::CHAPTER_UPDATE);
+
+ $resp = $this->actingAs($admin)->get('settings/audit?user=' . $admin->id);
+ $resp->assertSeeText($page->name);
+ $resp->assertDontSeeText($chapter->name);
+
+ $resp = $this->actingAs($admin)->get('settings/audit?user=' . $editor->id);
+ $resp->assertSeeText($chapter->name);
+ $resp->assertDontSeeText($page->name);
+
+ }
+
}
\ No newline at end of file
use DB;
use Hash;
use Illuminate\Support\Facades\Notification;
+use Illuminate\Support\Str;
use Tests\BrowserKitTest;
class AuthTest extends BrowserKitTest
public function test_user_creation()
{
+ /** @var User $user */
$user = factory(User::class)->make();
$adminRole = Role::getRole('admin');
->type($user->password, '#password-confirm')
->press('Save')
->seePageIs('/settings/users')
- ->seeInDatabase('users', $user->toArray())
+ ->seeInDatabase('users', $user->only(['name', 'email']))
->see($user->name);
+
+ $user->refresh();
+ $this->assertStringStartsWith(Str::slug($user->name), $user->slug);
}
public function test_user_updating()
->seePageIs('/settings/users')
->seeInDatabase('users', ['id' => $user->id, 'name' => 'Barry Scott', 'password' => $password])
->notSeeInDatabase('users', ['name' => $user->name]);
+
+ $user->refresh();
+ $this->assertStringStartsWith(Str::slug($user->name), $user->slug);
}
public function test_user_password_update()
use BookStack\Auth\Access\Ldap;
use BookStack\Auth\User;
use Mockery\MockInterface;
-use Tests\BrowserKitTest;
+use Tests\TestCase;
+use Tests\TestResponse;
-class LdapTest extends BrowserKitTest
+class LdapTest extends TestCase
{
-
/**
* @var MockInterface
*/
'services.ldap.user_filter' => '(&(uid=${user}))',
'services.ldap.follow_referrals' => false,
'services.ldap.tls_insecure' => false,
+ 'services.ldap.thumbnail_attribute' => null,
]);
$this->mockLdap = \Mockery::mock(Ldap::class);
$this->app[Ldap::class] = $this->mockLdap;
$this->mockUser = factory(User::class)->make();
}
+ protected function runFailedAuthLogin()
+ {
+ $this->commonLdapMocks(1, 1, 1, 1, 1);
+ $this->mockLdap->shouldReceive('searchAndGetEntries')->times(1)
+ ->andReturn(['count' => 0]);
+ $this->post('/login', ['username' => 'timmyjenkins', 'password' => 'cattreedog']);
+ }
+
protected function mockEscapes($times = 1)
{
- $this->mockLdap->shouldReceive('escape')->times($times)->andReturnUsing(function($val) {
+ $this->mockLdap->shouldReceive('escape')->times($times)->andReturnUsing(function ($val) {
return ldap_escape($val);
});
}
protected function mockExplodes($times = 1)
{
- $this->mockLdap->shouldReceive('explodeDn')->times($times)->andReturnUsing(function($dn, $withAttrib) {
+ $this->mockLdap->shouldReceive('explodeDn')->times($times)->andReturnUsing(function ($dn, $withAttrib) {
return ldap_explode_dn($dn, $withAttrib);
});
}
- protected function mockUserLogin()
+ protected function mockUserLogin(?string $email = null): TestResponse
{
- return $this->visit('/login')
- ->see('Username')
- ->type($this->mockUser->name, '#username')
- ->type($this->mockUser->password, '#password')
- ->press('Log In');
+ return $this->post('/login', [
+ 'username' => $this->mockUser->name,
+ 'password' => $this->mockUser->password,
+ ] + ($email ? ['email' => $email] : []));
}
/**
'dn' => ['dc=test' . config('services.ldap.base_dn')]
]]);
- $this->mockUserLogin()
- ->seePageIs('/login')->see('Please enter an email to use for this account.');
-
- $this->type($this->mockUser->email, '#email')
- ->press('Log In')
- ->seePageIs('/')
- ->see($this->mockUser->name)
- ->seeInDatabase('users', ['email' => $this->mockUser->email, 'email_confirmed' => false, 'external_auth_id' => $this->mockUser->name]);
+ $resp = $this->mockUserLogin();
+ $resp->assertRedirect('/login');
+ $resp = $this->followRedirects($resp);
+ $resp->assertSee('Please enter an email to use for this account.');
+ $resp->assertSee($this->mockUser->name);
+
+ $resp = $this->followingRedirects()->mockUserLogin($this->mockUser->email);
+ $resp->assertElementExists('#home-default');
+ $resp->assertSee($this->mockUser->name);
+ $this->assertDatabaseHas('users', [
+ 'email' => $this->mockUser->email,
+ 'email_confirmed' => false,
+ 'external_auth_id' => $this->mockUser->name
+ ]);
}
public function test_email_domain_restriction_active_on_new_ldap_login()
'dn' => ['dc=test' . config('services.ldap.base_dn')]
]]);
- $this->mockUserLogin()
- ->seePageIs('/login')
- ->see('Please enter an email to use for this account.');
+ $resp = $this->mockUserLogin();
+ $resp->assertRedirect('/login');
+ $this->followRedirects($resp)->assertSee('Please enter an email to use for this account.');
+
+ $resp = $this->mockUserLogin($email);
+ $resp->assertRedirect('/login');
+ $this->followRedirects($resp)->assertSee('That email domain does not have access to this application');
- $this->type($email, '#email')
- ->press('Log In')
- ->seePageIs('/login')
- ->see('That email domain does not have access to this application')
- ->dontSeeInDatabase('users', ['email' => $email]);
+ $this->assertDatabaseMissing('users', ['email' => $email]);
}
public function test_login_works_when_no_uid_provided_by_ldap_server()
'mail' => [$this->mockUser->email]
]]);
- $this->mockUserLogin()
- ->seePageIs('/')
- ->see($this->mockUser->name)
- ->seeInDatabase('users', ['email' => $this->mockUser->email, 'email_confirmed' => false, 'external_auth_id' => $ldapDn]);
+ $resp = $this->mockUserLogin();
+ $resp->assertRedirect('/');
+ $this->followRedirects($resp)->assertSee($this->mockUser->name);
+ $this->assertDatabaseHas('users', ['email' => $this->mockUser->email, 'email_confirmed' => false, 'external_auth_id' => $ldapDn]);
}
public function test_a_custom_uid_attribute_can_be_specified_and_is_used_properly()
]]);
- $this->mockUserLogin()
- ->seePageIs('/')
- ->see($this->mockUser->name)
- ->seeInDatabase('users', ['email' => $this->mockUser->email, 'email_confirmed' => false, 'external_auth_id' => 'cooluser456']);
+ $resp = $this->mockUserLogin();
+ $resp->assertRedirect('/');
+ $this->followRedirects($resp)->assertSee($this->mockUser->name);
+ $this->assertDatabaseHas('users', ['email' => $this->mockUser->email, 'email_confirmed' => false, 'external_auth_id' => 'cooluser456']);
}
public function test_initial_incorrect_credentials()
]]);
$this->mockLdap->shouldReceive('bind')->times(2)->andReturn(true, false);
- $this->mockUserLogin()
- ->seePageIs('/login')->see('These credentials do not match our records.')
- ->dontSeeInDatabase('users', ['external_auth_id' => $this->mockUser->name]);
+ $resp = $this->mockUserLogin();
+ $resp->assertRedirect('/login');
+ $this->followRedirects($resp)->assertSee('These credentials do not match our records.');
+ $this->assertDatabaseMissing('users', ['external_auth_id' => $this->mockUser->name]);
}
public function test_login_not_found_username()
->with($this->resourceId, config('services.ldap.base_dn'), \Mockery::type('string'), \Mockery::type('array'))
->andReturn(['count' => 0]);
- $this->mockUserLogin()
- ->seePageIs('/login')->see('These credentials do not match our records.')
- ->dontSeeInDatabase('users', ['external_auth_id' => $this->mockUser->name]);
+ $resp = $this->mockUserLogin();
+ $resp->assertRedirect('/login');
+ $this->followRedirects($resp)->assertSee('These credentials do not match our records.');
+ $this->assertDatabaseMissing('users', ['external_auth_id' => $this->mockUser->name]);
}
-
public function test_create_user_form()
{
- $this->asAdmin()->visit('/settings/users/create')
- ->dontSee('Password')
- ->type($this->mockUser->name, '#name')
- ->type($this->mockUser->email, '#email')
- ->press('Save')
- ->see('The external auth id field is required.')
- ->type($this->mockUser->name, '#external_auth_id')
- ->press('Save')
- ->seePageIs('/settings/users')
- ->seeInDatabase('users', ['email' => $this->mockUser->email, 'external_auth_id' => $this->mockUser->name, 'email_confirmed' => true]);
+ $userForm = $this->asAdmin()->get('/settings/users/create');
+ $userForm->assertDontSee('Password');
+
+ $save = $this->post('/settings/users/create', [
+ 'name' => $this->mockUser->name,
+ 'email' => $this->mockUser->email,
+ ]);
+ $save->assertSessionHasErrors(['external_auth_id' => 'The external auth id field is required.']);
+
+ $save = $this->post('/settings/users/create', [
+ 'name' => $this->mockUser->name,
+ 'email' => $this->mockUser->email,
+ 'external_auth_id' => $this->mockUser->name,
+ ]);
+ $save->assertRedirect('/settings/users');
+ $this->assertDatabaseHas('users', ['email' => $this->mockUser->email, 'external_auth_id' => $this->mockUser->name, 'email_confirmed' => true]);
}
public function test_user_edit_form()
{
$editUser = $this->getNormalUser();
- $this->asAdmin()->visit('/settings/users/' . $editUser->id)
- ->see('Edit User')
- ->dontSee('Password')
- ->type('test_auth_id', '#external_auth_id')
- ->press('Save')
- ->seePageIs('/settings/users')
- ->seeInDatabase('users', ['email' => $editUser->email, 'external_auth_id' => 'test_auth_id']);
+ $editPage = $this->asAdmin()->get("/settings/users/{$editUser->id}");
+ $editPage->assertSee('Edit User');
+ $editPage->assertDontSee('Password');
+
+ $update = $this->put("/settings/users/{$editUser->id}", [
+ 'name' => $editUser->name,
+ 'email' => $editUser->email,
+ 'external_auth_id' => 'test_auth_id',
+ ]);
+ $update->assertRedirect('/settings/users');
+ $this->assertDatabaseHas('users', ['email' => $editUser->email, 'external_auth_id' => 'test_auth_id']);
}
public function test_registration_disabled()
{
- $this->visit('/register')
- ->seePageIs('/login');
+ $this->followingRedirects()->get('/register')->assertElementContains('#content', 'Log In');
}
public function test_non_admins_cannot_change_auth_id()
{
$testUser = $this->getNormalUser();
- $this->actingAs($testUser)->visit('/settings/users/' . $testUser->id)
- ->dontSee('External Authentication');
+ $this->actingAs($testUser)
+ ->get('/settings/users/' . $testUser->id)
+ ->assertDontSee('External Authentication');
}
public function test_login_maps_roles_and_retains_existing_roles()
]
]]);
- $this->mockUserLogin()->seePageIs('/');
+ $this->mockUserLogin()->assertRedirect('/');
$user = User::where('email', $this->mockUser->email)->first();
- $this->seeInDatabase('role_user', [
+ $this->assertDatabaseHas('role_user', [
'user_id' => $user->id,
'role_id' => $roleToReceive->id
]);
- $this->seeInDatabase('role_user', [
+ $this->assertDatabaseHas('role_user', [
'user_id' => $user->id,
'role_id' => $roleToReceive2->id
]);
- $this->seeInDatabase('role_user', [
+ $this->assertDatabaseHas('role_user', [
'user_id' => $user->id,
'role_id' => $existingRole->id
]);
]
]]);
- $this->mockUserLogin()->seePageIs('/');
+ $this->mockUserLogin()->assertRedirect('/');
- $user = User::where('email', $this->mockUser->email)->first();
- $this->seeInDatabase('role_user', [
+ $user = User::query()->where('email', $this->mockUser->email)->first();
+ $this->assertDatabaseHas('role_user', [
'user_id' => $user->id,
'role_id' => $roleToReceive->id
]);
- $this->dontSeeInDatabase('role_user', [
+ $this->assertDatabaseMissing('role_user', [
'user_id' => $user->id,
'role_id' => $existingRole->id
]);
public function test_external_auth_id_visible_in_roles_page_when_ldap_active()
{
$role = factory(Role::class)->create(['display_name' => 'ldaptester', 'external_auth_id' => 'ex-auth-a, test-second-param']);
- $this->asAdmin()->visit('/settings/roles/' . $role->id)
- ->see('ex-auth-a');
+ $this->asAdmin()->get('/settings/roles/' . $role->id)
+ ->assertSee('ex-auth-a');
}
public function test_login_maps_roles_using_external_auth_ids_if_set()
]
]]);
- $this->mockUserLogin()->seePageIs('/');
+ $this->mockUserLogin()->assertRedirect('/');
- $user = User::where('email', $this->mockUser->email)->first();
- $this->seeInDatabase('role_user', [
+ $user = User::query()->where('email', $this->mockUser->email)->first();
+ $this->assertDatabaseHas('role_user', [
'user_id' => $user->id,
'role_id' => $roleToReceive->id
]);
- $this->dontSeeInDatabase('role_user', [
+ $this->assertDatabaseMissing('role_user', [
'user_id' => $user->id,
'role_id' => $roleToNotReceive->id
]);
]
]]);
- $this->mockUserLogin()->seePageIs('/');
+ $this->mockUserLogin()->assertRedirect('/');
- $user = User::where('email', $this->mockUser->email)->first();
- $this->seeInDatabase('role_user', [
+ $user = User::query()->where('email', $this->mockUser->email)->first();
+ $this->assertDatabaseHas('role_user', [
'user_id' => $user->id,
'role_id' => $roleToReceive->id
]);
- $this->seeInDatabase('role_user', [
+ $this->assertDatabaseHas('role_user', [
'user_id' => $user->id,
'role_id' => $roleToReceive2->id
]);
'displayname' => 'displayNameAttribute'
]]);
- $this->mockUserLogin()
- ->seePageIs('/login')->see('Please enter an email to use for this account.');
+ $this->mockUserLogin()->assertRedirect('/login');
+ $this->get('/login')->assertSee('Please enter an email to use for this account.');
- $this->type($this->mockUser->email, '#email')
- ->press('Log In')
- ->seePageIs('/')
- ->see('displayNameAttribute')
- ->seeInDatabase('users', ['email' => $this->mockUser->email, 'email_confirmed' => false, 'external_auth_id' => $this->mockUser->name, 'name' => 'displayNameAttribute']);
+ $resp = $this->mockUserLogin($this->mockUser->email);
+ $resp->assertRedirect('/');
+ $this->get('/')->assertSee('displayNameAttribute');
+ $this->assertDatabaseHas('users', ['email' => $this->mockUser->email, 'email_confirmed' => false, 'external_auth_id' => $this->mockUser->name, 'name' => 'displayNameAttribute']);
}
public function test_login_uses_default_display_name_attribute_if_specified_not_present()
'dn' => ['dc=test' . config('services.ldap.base_dn')]
]]);
- $this->mockUserLogin()
- ->seePageIs('/login')->see('Please enter an email to use for this account.');
+ $this->mockUserLogin()->assertRedirect('/login');
+ $this->get('/login')->assertSee('Please enter an email to use for this account.');
- $this->type($this->mockUser->email, '#email')
- ->press('Log In')
- ->seePageIs('/')
- ->see($this->mockUser->name)
- ->seeInDatabase('users', ['email' => $this->mockUser->email, 'email_confirmed' => false, 'external_auth_id' => $this->mockUser->name, 'name' => $this->mockUser->name]);
+ $resp = $this->mockUserLogin($this->mockUser->email);
+ $resp->assertRedirect('/');
+ $this->get('/')->assertSee($this->mockUser->name);
+ $this->assertDatabaseHas('users', [
+ 'email' => $this->mockUser->email,
+ 'email_confirmed' => false,
+ 'external_auth_id' => $this->mockUser->name,
+ 'name' => $this->mockUser->name
+ ]);
}
protected function checkLdapReceivesCorrectDetails($serverString, $expectedHost, $expectedPort)
'dn' => ['dc=test' . config('services.ldap.base_dn')]
]]);
- $this->post('/login', [
+ $resp = $this->post('/login', [
'username' => $this->mockUser->name,
'password' => $this->mockUser->password,
]);
- $this->seeJsonStructure([
+ $resp->assertJsonStructure([
'details_from_ldap' => [],
'details_bookstack_parsed' => [],
]);
}
+ public function test_start_tls_called_if_option_set()
+ {
+ config()->set(['services.ldap.start_tls' => true]);
+ $this->mockLdap->shouldReceive('startTls')->once()->andReturn(true);
+ $this->runFailedAuthLogin();
+ }
+
+ public function test_connection_fails_if_tls_fails()
+ {
+ config()->set(['services.ldap.start_tls' => true]);
+ $this->mockLdap->shouldReceive('startTls')->once()->andReturn(false);
+ $this->commonLdapMocks(1, 1, 0, 0, 0);
+ $resp = $this->post('/login', ['username' => 'timmyjenkins', 'password' => 'cattreedog']);
+ $resp->assertStatus(500);
+ }
+
public function test_ldap_attributes_can_be_binary_decoded_if_marked()
{
config()->set(['services.ldap.id_attribute' => 'BIN;uid']);
]]);
// First user login
- $this->mockUserLogin()->seePageIs('/');
+ $this->mockUserLogin()->assertRedirect('/');
// Second user login
auth()->logout();
- $this->post('/login', ['username' => 'bscott', 'password' => 'pass'])->followRedirects();
-
- $this->see('A user with the email
[email protected] already exists but with different credentials');
+ $resp = $this->followingRedirects()->post('/login', ['username' => 'bscott', 'password' => 'pass']);
+ $resp->assertSee('A user with the email
[email protected] already exists but with different credentials');
}
public function test_login_with_email_confirmation_required_maps_groups_but_shows_confirmation_screen()
]
]]);
- $this->mockUserLogin()->seePageIs('/register/confirm');
- $this->seeInDatabase('users', [
+ $this->followingRedirects()->mockUserLogin()->assertSee('Thanks for registering!');
+ $this->assertDatabaseHas('users', [
'email' => $user->email,
'email_confirmed' => false,
]);
- $user = User::query()->where('email', '=', $user->email)->first();
- $this->seeInDatabase('role_user', [
+ $user = User::query()->where('email', '=', $user->email)->first();
+ $this->assertDatabaseHas('role_user', [
'user_id' => $user->id,
'role_id' => $roleToReceive->id
]);
$homePage = $this->get('/');
- $homePage->assertRedirectedTo('/register/confirm/awaiting');
+ $homePage->assertRedirect('/register/confirm/awaiting');
}
public function test_failed_logins_are_logged_when_message_configured()
{
$log = $this->withTestLogger();
config()->set(['logging.failed_login.message' => 'Failed login for %u']);
+ $this->runFailedAuthLogin();
+ $this->assertTrue($log->hasWarningThatContains('Failed login for timmyjenkins'));
+ }
- $this->commonLdapMocks(1, 1, 1, 1, 1);
+ public function test_thumbnail_attribute_used_as_user_avatar_if_configured()
+ {
+ config()->set(['services.ldap.thumbnail_attribute' => 'jpegPhoto']);
+
+ $this->commonLdapMocks(1, 1, 1, 2, 1);
+ $ldapDn = 'cn=test-user,dc=test' . config('services.ldap.base_dn');
$this->mockLdap->shouldReceive('searchAndGetEntries')->times(1)
- ->andReturn(['count' => 0]);
+ ->with($this->resourceId, config('services.ldap.base_dn'), \Mockery::type('string'), \Mockery::type('array'))
+ ->andReturn(['count' => 1, 0 => [
+ 'cn' => [$this->mockUser->name],
+ 'dn' => $ldapDn,
+ 'jpegphoto' => [base64_decode('/9j/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8Q
+EBEQCgwSExIQEw8QEBD/yQALCAABAAEBAREA/8wABgAQEAX/2gAIAQEAAD8A0s8g/9k=')],
+ 'mail' => [$this->mockUser->email]
+ ]]);
- $this->post('/login', ['username' => 'timmyjenkins', 'password' => 'cattreedog']);
- $this->assertTrue($log->hasWarningThatContains('Failed login for timmyjenkins'));
+ $this->mockUserLogin()
+ ->assertRedirect('/');
+
+ $user = User::query()->where('email', '=', $this->mockUser->email)->first();
+ $this->assertNotNull($user->avatar);
+ $this->assertEquals('8c90748342f19b195b9c6b4eff742ded', md5_file(public_path($user->avatar->path)));
}
}
'saml2.autoload_from_metadata' => false,
'saml2.onelogin.idp.x509cert' => $this->testCert,
'saml2.onelogin.debug' => false,
+ 'saml2.onelogin.security.requestedAuthnContext' => true,
]);
}
});
}
+ public function test_login_request_contains_expected_default_authncontext()
+ {
+ $authReq = $this->getAuthnRequest();
+ $this->assertStringContainsString('samlp:RequestedAuthnContext Comparison="exact"', $authReq);
+ $this->assertStringContainsString('<saml:AuthnContextClassRef>urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport</saml:AuthnContextClassRef>', $authReq);
+ }
+
+ public function test_false_idp_authncontext_option_does_not_pass_authncontext_in_saml_request()
+ {
+ config()->set(['saml2.onelogin.security.requestedAuthnContext' => false]);
+ $authReq = $this->getAuthnRequest();
+ $this->assertStringNotContainsString('samlp:RequestedAuthnContext', $authReq);
+ $this->assertStringNotContainsString('<saml:AuthnContextClassRef>', $authReq);
+ }
+
+ public function test_array_idp_authncontext_option_passes_value_as_authncontextclassref_in_request()
+ {
+ config()->set(['saml2.onelogin.security.requestedAuthnContext' => ['urn:federation:authentication:windows', 'urn:federation:authentication:linux']]);
+ $authReq = $this->getAuthnRequest();
+ $this->assertStringContainsString('samlp:RequestedAuthnContext', $authReq);
+ $this->assertStringContainsString('<saml:AuthnContextClassRef>urn:federation:authentication:windows</saml:AuthnContextClassRef>', $authReq);
+ $this->assertStringContainsString('<saml:AuthnContextClassRef>urn:federation:authentication:linux</saml:AuthnContextClassRef>', $authReq);
+ }
+
+ protected function getAuthnRequest(): string
+ {
+ $req = $this->post('/saml2/login');
+ $location = $req->headers->get('Location');
+ $query = explode('?', $location)[1];
+ $params = [];
+ parse_str($query, $params);
+ return gzinflate(base64_decode($params['SAMLRequest']));
+ }
+
protected function withGet(array $options, callable $callback)
{
return $this->withGlobal($_GET, $options, $callback);
<?php namespace Tests\Auth;
+use BookStack\Auth\SocialAccount;
use BookStack\Auth\User;
use DB;
use Laravel\Socialite\Contracts\Factory;
$this->setSettings(['registration-enabled' => 'true']);
config(['GOOGLE_APP_ID' => 'abc123', 'GOOGLE_APP_SECRET' => '123abc', 'APP_URL' => 'http://localhost']);
- $mockSocialite = Mockery::mock(Factory::class);
- $this->app[Factory::class] = $mockSocialite;
+ $mockSocialite = $this->mock(Factory::class);
$mockSocialDriver = Mockery::mock(Provider::class);
$mockSocialUser = Mockery::mock(\Laravel\Socialite\Contracts\User::class);
'APP_URL' => 'http://localhost'
]);
- $mockSocialite = Mockery::mock(Factory::class);
- $this->app[Factory::class] = $mockSocialite;
+ $mockSocialite = $this->mock(Factory::class);
$mockSocialDriver = Mockery::mock(Provider::class);
$mockSocialUser = Mockery::mock(\Laravel\Socialite\Contracts\User::class);
$resp->assertDontSee("login-form");
}
+ public function test_social_account_detach()
+ {
+ $editor = $this->getEditor();
+ config([
+ 'GITHUB_APP_ID' => 'abc123', 'GITHUB_APP_SECRET' => '123abc',
+ 'APP_URL' => 'http://localhost'
+ ]);
+
+ $socialAccount = SocialAccount::query()->forceCreate([
+ 'user_id' => $editor->id,
+ 'driver' => 'github',
+ 'driver_id' => 'logintest123',
+ ]);
+
+ $resp = $this->actingAs($editor)->get($editor->getEditUrl());
+ $resp->assertElementContains('form[action$="/login/service/github/detach"]', 'Disconnect Account');
+
+ $resp = $this->post('/login/service/github/detach');
+ $resp->assertRedirect($editor->getEditUrl());
+ $resp = $this->followRedirects($resp);
+ $resp->assertSee('Github account was successfully disconnected from your profile.');
+
+ $this->assertDatabaseMissing('social_accounts', ['id' => $socialAccount->id]);
+ }
+
public function test_social_autoregister()
{
config([
]);
$user = factory(User::class)->make();
- $mockSocialite = Mockery::mock(Factory::class);
- $this->app[Factory::class] = $mockSocialite;
+ $mockSocialite = $this->mock(Factory::class);
$mockSocialDriver = Mockery::mock(Provider::class);
$mockSocialUser = Mockery::mock(\Laravel\Socialite\Contracts\User::class);
]);
$user = factory(User::class)->make();
- $mockSocialite = Mockery::mock(Factory::class);
- $this->app[Factory::class] = $mockSocialite;
+ $mockSocialite = $this->mock(Factory::class);
$mockSocialDriver = Mockery::mock(Provider::class);
$mockSocialUser = Mockery::mock(\Laravel\Socialite\Contracts\User::class);
$this->setSettings(['registration-enabled' => 'true']);
config(['GITHUB_APP_ID' => 'abc123', 'GITHUB_APP_SECRET' => '123abc', 'APP_URL' => 'http://localhost']);
- $mockSocialite = Mockery::mock(Factory::class);
- $this->app[Factory::class] = $mockSocialite;
+ $mockSocialite = $this->mock(Factory::class);
$mockSocialDriver = Mockery::mock(Provider::class);
$mockSocialUser = Mockery::mock(\Laravel\Socialite\Contracts\User::class);
Notification::fake();
$admin = $this->getAdmin();
- $this->actingAs($admin)->post('/settings/users/create', [
+ $email = Str::random(16) . '@example.com';
+ $resp = $this->actingAs($admin)->post('/settings/users/create', [
'name' => 'Barry',
+ 'email' => $email,
'send_invite' => 'true',
]);
+ $resp->assertRedirect('/settings/users');
- $newUser = User::query()->where('email', '=',
'[email protected]')->orderBy('id', 'desc')->first();
+ $newUser = User::query()->where('email', '=', $email)->orderBy('id', 'desc')->first();
Notification::assertSentTo($newUser, UserInvite::class);
$this->assertDatabaseHas('user_invites', [
<?php namespace Tests;
+use BookStack\Auth\User;
+use BookStack\Entities\Models\Book;
+use BookStack\Entities\Models\Chapter;
use BookStack\Entities\Models\Entity;
-use BookStack\Auth\Role;
use BookStack\Auth\Permissions\PermissionService;
+use BookStack\Entities\Models\Page;
use BookStack\Settings\SettingService;
+use DB;
use Illuminate\Contracts\Console\Kernel;
+use Illuminate\Foundation\Application;
use Illuminate\Foundation\Testing\DatabaseTransactions;
use Laravel\BrowserKitTesting\TestCase;
use Symfony\Component\DomCrawler\Crawler;
public function tearDown() : void
{
- \DB::disconnect();
+ DB::disconnect();
parent::tearDown();
}
/**
* Creates the application.
*
- * @return \Illuminate\Foundation\Application
+ * @return Application
*/
public function createApplication()
{
}
- /**
- * Get a user that's not a system user such as the guest user.
- */
- public function getNormalUser()
- {
- return \BookStack\Auth\User::where('system_name', '=', null)->get()->last();
- }
-
/**
* Quickly sets an array of settings.
* @param $settingsArray
/**
* Create a group of entities that belong to a specific user.
- * @param $creatorUser
- * @param $updaterUser
- * @return array
*/
- protected function createEntityChainBelongingToUser($creatorUser, $updaterUser = false)
+ protected function createEntityChainBelongingToUser(User $creatorUser, ?User $updaterUser = null): array
{
- if ($updaterUser === false) $updaterUser = $creatorUser;
- $book = factory(\BookStack\Entities\Models\Book::class)->create(['created_by' => $creatorUser->id, 'updated_by' => $updaterUser->id]);
- $chapter = factory(\BookStack\Entities\Models\Chapter::class)->create(['created_by' => $creatorUser->id, 'updated_by' => $updaterUser->id, 'book_id' => $book->id]);
- $page = factory(\BookStack\Entities\Models\Page::class)->create(['created_by' => $creatorUser->id, 'updated_by' => $updaterUser->id, 'book_id' => $book->id, 'chapter_id' => $chapter->id]);
+ if (empty($updaterUser)) {
+ $updaterUser = $creatorUser;
+ }
+
+ $userAttrs = ['created_by' => $creatorUser->id, 'owned_by' => $creatorUser->id, 'updated_by' => $updaterUser->id];
+ $book = factory(Book::class)->create($userAttrs);
+ $chapter = factory(Chapter::class)->create(array_merge(['book_id' => $book->id], $userAttrs));
+ $page = factory(Page::class)->create(array_merge(['book_id' => $book->id, 'chapter_id' => $chapter->id], $userAttrs));
$restrictionService = $this->app[PermissionService::class];
$restrictionService->buildJointPermissionsForEntity($book);
- return [
- 'book' => $book,
- 'chapter' => $chapter,
- 'page' => $page
- ];
+
+ return compact('book', 'chapter', 'page');
}
/**
*/
protected function getNewBlankUser($attributes = [])
{
- $user = factory(\BookStack\Auth\User::class)->create($attributes);
+ $user = factory(User::class)->create($attributes);
return $user;
}
*/
protected function seeInNthElement($element, $position, $text, $negate = false)
{
- $method = $negate ? 'assertNotRegExp' : 'assertRegExp';
+ $method = $negate ? 'assertDoesNotMatchRegularExpression' : 'assertMatchesRegularExpression';
$rawPattern = preg_quote($text, '/');
--- /dev/null
+<?php namespace Tests\Commands;
+
+use BookStack\Auth\User;
+use Tests\TestCase;
+
+class AddAdminCommandTest extends TestCase
+{
+ public function test_add_admin_command()
+ {
+ $exitCode = \Artisan::call('bookstack:create-admin', [
+ '--name' => 'Admin Test',
+ '--password' => 'testing-4',
+ ]);
+ $this->assertTrue($exitCode === 0, 'Command executed successfully');
+
+ $this->assertDatabaseHas('users', [
+ 'name' => 'Admin Test'
+ ]);
+
+ $this->assertTrue(User::query()->where('email', '=', '
[email protected]')->first()->hasSystemRole('admin'), 'User has admin role as expected');
+ $this->assertTrue(\Auth::attempt(['email' => '
[email protected]', 'password' => 'testing-4']), 'Password stored as expected');
+ }
+}
\ No newline at end of file
--- /dev/null
+<?php namespace Tests\Commands;
+
+use BookStack\Actions\ActivityType;
+use BookStack\Entities\Models\Page;
+use Illuminate\Support\Facades\DB;
+use Tests\TestCase;
+
+class ClearActivityCommandTest extends TestCase
+{
+ public function test_clear_activity_command()
+ {
+ $this->asEditor();
+ $page = Page::first();
+ \Activity::addForEntity($page, ActivityType::PAGE_UPDATE);
+
+ $this->assertDatabaseHas('activities', [
+ 'type' => 'page_update',
+ 'entity_id' => $page->id,
+ 'user_id' => $this->getEditor()->id
+ ]);
+
+
+ DB::rollBack();
+ $exitCode = \Artisan::call('bookstack:clear-activity');
+ DB::beginTransaction();
+ $this->assertTrue($exitCode === 0, 'Command executed successfully');
+
+
+ $this->assertDatabaseMissing('activities', [
+ 'type' => 'page_update'
+ ]);
+ }
+}
\ No newline at end of file
--- /dev/null
+<?php namespace Tests\Commands;
+
+use BookStack\Entities\Models\Page;
+use BookStack\Entities\Repos\PageRepo;
+use Illuminate\Support\Facades\Artisan;
+use Tests\TestCase;
+
+class ClearRevisionsCommandTest extends TestCase
+{
+ public function test_clear_revisions_command()
+ {
+ $this->asEditor();
+ $pageRepo = app(PageRepo::class);
+ $page = Page::first();
+ $pageRepo->update($page, ['name' => 'updated page', 'html' => '<p>new content</p>', 'summary' => 'page revision testing']);
+ $pageRepo->updatePageDraft($page, ['name' => 'updated page', 'html' => '<p>new content in draft</p>', 'summary' => 'page revision testing']);
+
+ $this->assertDatabaseHas('page_revisions', [
+ 'page_id' => $page->id,
+ 'type' => 'version'
+ ]);
+ $this->assertDatabaseHas('page_revisions', [
+ 'page_id' => $page->id,
+ 'type' => 'update_draft'
+ ]);
+
+ $exitCode = Artisan::call('bookstack:clear-revisions');
+ $this->assertTrue($exitCode === 0, 'Command executed successfully');
+
+ $this->assertDatabaseMissing('page_revisions', [
+ 'page_id' => $page->id,
+ 'type' => 'version'
+ ]);
+ $this->assertDatabaseHas('page_revisions', [
+ 'page_id' => $page->id,
+ 'type' => 'update_draft'
+ ]);
+
+ $exitCode = Artisan::call('bookstack:clear-revisions', ['--all' => true]);
+ $this->assertTrue($exitCode === 0, 'Command executed successfully');
+
+ $this->assertDatabaseMissing('page_revisions', [
+ 'page_id' => $page->id,
+ 'type' => 'update_draft'
+ ]);
+ }
+}
\ No newline at end of file
--- /dev/null
+<?php namespace Tests\Commands;
+
+use BookStack\Entities\Models\Page;
+use Illuminate\Support\Facades\DB;
+use Tests\TestCase;
+
+class ClearViewsCommandTest extends TestCase
+{
+
+ public function test_clear_views_command()
+ {
+ $this->asEditor();
+ $page = Page::first();
+
+ $this->get($page->getUrl());
+
+ $this->assertDatabaseHas('views', [
+ 'user_id' => $this->getEditor()->id,
+ 'viewable_id' => $page->id,
+ 'views' => 1
+ ]);
+
+ DB::rollBack();
+ $exitCode = \Artisan::call('bookstack:clear-views');
+ DB::beginTransaction();
+ $this->assertTrue($exitCode === 0, 'Command executed successfully');
+
+ $this->assertDatabaseMissing('views', [
+ 'user_id' => $this->getEditor()->id
+ ]);
+ }
+}
\ No newline at end of file
--- /dev/null
+<?php namespace Tests\Commands;
+
+use BookStack\Entities\Models\Bookshelf;
+use Tests\TestCase;
+
+class CopyShelfPermissionsCommandTest extends TestCase
+{
+ public function test_copy_shelf_permissions_command_shows_error_when_no_required_option_given()
+ {
+ $this->artisan('bookstack:copy-shelf-permissions')
+ ->expectsOutput('Either a --slug or --all option must be provided.')
+ ->assertExitCode(0);
+ }
+
+ public function test_copy_shelf_permissions_command_using_slug()
+ {
+ $shelf = Bookshelf::first();
+ $child = $shelf->books()->first();
+ $editorRole = $this->getEditor()->roles()->first();
+ $this->assertFalse(boolval($child->restricted), "Child book should not be restricted by default");
+ $this->assertTrue($child->permissions()->count() === 0, "Child book should have no permissions by default");
+
+ $this->setEntityRestrictions($shelf, ['view', 'update'], [$editorRole]);
+ $this->artisan('bookstack:copy-shelf-permissions', [
+ '--slug' => $shelf->slug,
+ ]);
+ $child = $shelf->books()->first();
+
+ $this->assertTrue(boolval($child->restricted), "Child book should now be restricted");
+ $this->assertTrue($child->permissions()->count() === 2, "Child book should have copied permissions");
+ $this->assertDatabaseHas('entity_permissions', ['restrictable_id' => $child->id, 'action' => 'view', 'role_id' => $editorRole->id]);
+ $this->assertDatabaseHas('entity_permissions', ['restrictable_id' => $child->id, 'action' => 'update', 'role_id' => $editorRole->id]);
+ }
+
+ public function test_copy_shelf_permissions_command_using_all()
+ {
+ $shelf = Bookshelf::query()->first();
+ Bookshelf::query()->where('id', '!=', $shelf->id)->delete();
+ $child = $shelf->books()->first();
+ $editorRole = $this->getEditor()->roles()->first();
+ $this->assertFalse(boolval($child->restricted), "Child book should not be restricted by default");
+ $this->assertTrue($child->permissions()->count() === 0, "Child book should have no permissions by default");
+
+ $this->setEntityRestrictions($shelf, ['view', 'update'], [$editorRole]);
+ $this->artisan('bookstack:copy-shelf-permissions --all')
+ ->expectsQuestion('Permission settings for all shelves will be cascaded. Books assigned to multiple shelves will receive only the permissions of it\'s last processed shelf. Are you sure you want to proceed?', 'y');
+ $child = $shelf->books()->first();
+
+ $this->assertTrue(boolval($child->restricted), "Child book should now be restricted");
+ $this->assertTrue($child->permissions()->count() === 2, "Child book should have copied permissions");
+ $this->assertDatabaseHas('entity_permissions', ['restrictable_id' => $child->id, 'action' => 'view', 'role_id' => $editorRole->id]);
+ $this->assertDatabaseHas('entity_permissions', ['restrictable_id' => $child->id, 'action' => 'update', 'role_id' => $editorRole->id]);
+ }
+}
\ No newline at end of file
--- /dev/null
+<?php namespace Tests\Commands;
+
+use BookStack\Actions\Comment;
+use Tests\TestCase;
+
+class RegenerateCommentContentCommandTest extends TestCase
+{
+ public function test_regenerate_comment_content_command()
+ {
+ Comment::query()->forceCreate([
+ 'html' => 'some_old_content',
+ 'text' => 'some_fresh_content',
+ ]);
+
+ $this->assertDatabaseHas('comments', [
+ 'html' => 'some_old_content',
+ ]);
+
+ $exitCode = \Artisan::call('bookstack:regenerate-comment-content');
+ $this->assertTrue($exitCode === 0, 'Command executed successfully');
+
+ $this->assertDatabaseMissing('comments', [
+ 'html' => 'some_old_content',
+ ]);
+ $this->assertDatabaseHas('comments', [
+ 'html' => "<p>some_fresh_content</p>\n",
+ ]);
+ }
+}
\ No newline at end of file
--- /dev/null
+<?php namespace Tests\Commands;
+
+use BookStack\Auth\Permissions\JointPermission;
+use BookStack\Entities\Models\Page;
+use Illuminate\Support\Facades\DB;
+use Tests\TestCase;
+
+class RegeneratePermissionsCommandTest extends TestCase
+{
+ public function test_regen_permissions_command()
+ {
+ \DB::rollBack();
+ JointPermission::query()->truncate();
+ $page = Page::first();
+
+ $this->assertDatabaseMissing('joint_permissions', ['entity_id' => $page->id]);
+
+ $exitCode = \Artisan::call('bookstack:regenerate-permissions');
+ $this->assertTrue($exitCode === 0, 'Command executed successfully');
+ DB::beginTransaction();
+
+ $this->assertDatabaseHas('joint_permissions', ['entity_id' => $page->id]);
+ }
+}
\ No newline at end of file
--- /dev/null
+<?php namespace Tests\Commands;
+
+use BookStack\Entities\Models\Page;
+use Symfony\Component\Console\Exception\RuntimeException;
+use Tests\TestCase;
+
+class UpdateUrlCommandTest extends TestCase
+{
+ public function test_command_updates_page_content()
+ {
+ $page = Page::query()->first();
+ $page->html = '<a href="https://example.com/donkeys"></a>';
+ $page->save();
+
+ $this->artisan('bookstack:update-url https://example.com https://cats.example.com')
+ ->expectsQuestion("This will search for \"https://example.com\" in your database and replace it with \"https://cats.example.com\".\nAre you sure you want to proceed?", 'y')
+ ->expectsQuestion("This operation could cause issues if used incorrectly. Have you made a backup of your existing database?", 'y');
+
+ $this->assertDatabaseHas('pages', [
+ 'id' => $page->id,
+ 'html' => '<a href="https://cats.example.com/donkeys"></a>'
+ ]);
+ }
+
+ public function test_command_requires_valid_url()
+ {
+ $badUrlMessage = "The given urls are expected to be full urls starting with http:// or https://";
+ $this->artisan('bookstack:update-url //example.com https://cats.example.com')->expectsOutput($badUrlMessage);
+ $this->artisan('bookstack:update-url https://example.com htts://cats.example.com')->expectsOutput($badUrlMessage);
+ $this->artisan('bookstack:update-url example.com https://cats.example.com')->expectsOutput($badUrlMessage);
+
+ $this->expectException(RuntimeException::class);
+ $this->artisan('bookstack:update-url https://cats.example.com');
+ }
+
+ public function test_command_updates_settings()
+ {
+ setting()->put('my-custom-item', 'https://example.com/donkey/cat');
+ $this->runUpdate('https://example.com', 'https://cats.example.com');
+
+ $settingVal = setting('my-custom-item');
+ $this->assertEquals('https://cats.example.com/donkey/cat', $settingVal);
+ }
+
+ public function test_command_updates_array_settings()
+ {
+ setting()->put('my-custom-array-item', [['name' => 'a https://example.com/donkey/cat url']]);
+ $this->runUpdate('https://example.com', 'https://cats.example.com');
+ $settingVal = setting('my-custom-array-item');
+ $this->assertEquals('a https://cats.example.com/donkey/cat url', $settingVal[0]['name']);
+ }
+
+ protected function runUpdate(string $oldUrl, string $newUrl)
+ {
+ $this->artisan("bookstack:update-url {$oldUrl} {$newUrl}")
+ ->expectsQuestion("This will search for \"{$oldUrl}\" in your database and replace it with \"{$newUrl}\".\nAre you sure you want to proceed?", 'y')
+ ->expectsQuestion("This operation could cause issues if used incorrectly. Have you made a backup of your existing database?", 'y');
+ }
+}
\ No newline at end of file
+++ /dev/null
-<?php namespace Tests;
-
-use BookStack\Actions\ActivityType;
-use BookStack\Actions\Comment;
-use BookStack\Actions\CommentRepo;
-use BookStack\Auth\Permissions\JointPermission;
-use BookStack\Entities\Models\Bookshelf;
-use BookStack\Entities\Models\Page;
-use BookStack\Auth\User;
-use BookStack\Entities\Repos\PageRepo;
-use Symfony\Component\Console\Exception\RuntimeException;
-
-class CommandsTest extends TestCase
-{
-
- public function test_clear_views_command()
- {
- $this->asEditor();
- $page = Page::first();
-
- $this->get($page->getUrl());
-
- $this->assertDatabaseHas('views', [
- 'user_id' => $this->getEditor()->id,
- 'viewable_id' => $page->id,
- 'views' => 1
- ]);
-
- $exitCode = \Artisan::call('bookstack:clear-views');
- $this->assertTrue($exitCode === 0, 'Command executed successfully');
-
- $this->assertDatabaseMissing('views', [
- 'user_id' => $this->getEditor()->id
- ]);
- }
-
- public function test_clear_activity_command()
- {
- $this->asEditor();
- $page = Page::first();
- \Activity::addForEntity($page, ActivityType::PAGE_UPDATE);
-
- $this->assertDatabaseHas('activities', [
- 'type' => 'page_update',
- 'entity_id' => $page->id,
- 'user_id' => $this->getEditor()->id
- ]);
-
- $exitCode = \Artisan::call('bookstack:clear-activity');
- $this->assertTrue($exitCode === 0, 'Command executed successfully');
-
-
- $this->assertDatabaseMissing('activities', [
- 'type' => 'page_update'
- ]);
- }
-
- public function test_clear_revisions_command()
- {
- $this->asEditor();
- $pageRepo = app(PageRepo::class);
- $page = Page::first();
- $pageRepo->update($page, ['name' => 'updated page', 'html' => '<p>new content</p>', 'summary' => 'page revision testing']);
- $pageRepo->updatePageDraft($page, ['name' => 'updated page', 'html' => '<p>new content in draft</p>', 'summary' => 'page revision testing']);
-
- $this->assertDatabaseHas('page_revisions', [
- 'page_id' => $page->id,
- 'type' => 'version'
- ]);
- $this->assertDatabaseHas('page_revisions', [
- 'page_id' => $page->id,
- 'type' => 'update_draft'
- ]);
-
- $exitCode = \Artisan::call('bookstack:clear-revisions');
- $this->assertTrue($exitCode === 0, 'Command executed successfully');
-
- $this->assertDatabaseMissing('page_revisions', [
- 'page_id' => $page->id,
- 'type' => 'version'
- ]);
- $this->assertDatabaseHas('page_revisions', [
- 'page_id' => $page->id,
- 'type' => 'update_draft'
- ]);
-
- $exitCode = \Artisan::call('bookstack:clear-revisions', ['--all' => true]);
- $this->assertTrue($exitCode === 0, 'Command executed successfully');
-
- $this->assertDatabaseMissing('page_revisions', [
- 'page_id' => $page->id,
- 'type' => 'update_draft'
- ]);
- }
-
- public function test_regen_permissions_command()
- {
- JointPermission::query()->truncate();
- $page = Page::first();
-
- $this->assertDatabaseMissing('joint_permissions', ['entity_id' => $page->id]);
-
- $exitCode = \Artisan::call('bookstack:regenerate-permissions');
- $this->assertTrue($exitCode === 0, 'Command executed successfully');
-
- $this->assertDatabaseHas('joint_permissions', ['entity_id' => $page->id]);
- }
-
- public function test_add_admin_command()
- {
- $exitCode = \Artisan::call('bookstack:create-admin', [
- '--name' => 'Admin Test',
- '--password' => 'testing-4',
- ]);
- $this->assertTrue($exitCode === 0, 'Command executed successfully');
-
- $this->assertDatabaseHas('users', [
- 'name' => 'Admin Test'
- ]);
-
- $this->assertTrue(User::where('email', '=', '
[email protected]')->first()->hasSystemRole('admin'), 'User has admin role as expected');
- $this->assertTrue(\Auth::attempt(['email' => '
[email protected]', 'password' => 'testing-4']), 'Password stored as expected');
- }
-
- public function test_copy_shelf_permissions_command_shows_error_when_no_required_option_given()
- {
- $this->artisan('bookstack:copy-shelf-permissions')
- ->expectsOutput('Either a --slug or --all option must be provided.')
- ->assertExitCode(0);
- }
-
- public function test_copy_shelf_permissions_command_using_slug()
- {
- $shelf = Bookshelf::first();
- $child = $shelf->books()->first();
- $editorRole = $this->getEditor()->roles()->first();
- $this->assertFalse(boolval($child->restricted), "Child book should not be restricted by default");
- $this->assertTrue($child->permissions()->count() === 0, "Child book should have no permissions by default");
-
- $this->setEntityRestrictions($shelf, ['view', 'update'], [$editorRole]);
- $this->artisan('bookstack:copy-shelf-permissions', [
- '--slug' => $shelf->slug,
- ]);
- $child = $shelf->books()->first();
-
- $this->assertTrue(boolval($child->restricted), "Child book should now be restricted");
- $this->assertTrue($child->permissions()->count() === 2, "Child book should have copied permissions");
- $this->assertDatabaseHas('entity_permissions', ['restrictable_id' => $child->id, 'action' => 'view', 'role_id' => $editorRole->id]);
- $this->assertDatabaseHas('entity_permissions', ['restrictable_id' => $child->id, 'action' => 'update', 'role_id' => $editorRole->id]);
- }
-
- public function test_copy_shelf_permissions_command_using_all()
- {
- $shelf = Bookshelf::query()->first();
- Bookshelf::query()->where('id', '!=', $shelf->id)->delete();
- $child = $shelf->books()->first();
- $editorRole = $this->getEditor()->roles()->first();
- $this->assertFalse(boolval($child->restricted), "Child book should not be restricted by default");
- $this->assertTrue($child->permissions()->count() === 0, "Child book should have no permissions by default");
-
- $this->setEntityRestrictions($shelf, ['view', 'update'], [$editorRole]);
- $this->artisan('bookstack:copy-shelf-permissions --all')
- ->expectsQuestion('Permission settings for all shelves will be cascaded. Books assigned to multiple shelves will receive only the permissions of it\'s last processed shelf. Are you sure you want to proceed?', 'y');
- $child = $shelf->books()->first();
-
- $this->assertTrue(boolval($child->restricted), "Child book should now be restricted");
- $this->assertTrue($child->permissions()->count() === 2, "Child book should have copied permissions");
- $this->assertDatabaseHas('entity_permissions', ['restrictable_id' => $child->id, 'action' => 'view', 'role_id' => $editorRole->id]);
- $this->assertDatabaseHas('entity_permissions', ['restrictable_id' => $child->id, 'action' => 'update', 'role_id' => $editorRole->id]);
- }
-
- public function test_update_url_command_updates_page_content()
- {
- $page = Page::query()->first();
- $page->html = '<a href="https://example.com/donkeys"></a>';
- $page->save();
-
- $this->artisan('bookstack:update-url https://example.com https://cats.example.com')
- ->expectsQuestion("This will search for \"https://example.com\" in your database and replace it with \"https://cats.example.com\".\nAre you sure you want to proceed?", 'y')
- ->expectsQuestion("This operation could cause issues if used incorrectly. Have you made a backup of your existing database?", 'y');
-
- $this->assertDatabaseHas('pages', [
- 'id' => $page->id,
- 'html' => '<a href="https://cats.example.com/donkeys"></a>'
- ]);
- }
-
- public function test_update_url_command_requires_valid_url()
- {
- $badUrlMessage = "The given urls are expected to be full urls starting with http:// or https://";
- $this->artisan('bookstack:update-url //example.com https://cats.example.com')->expectsOutput($badUrlMessage);
- $this->artisan('bookstack:update-url https://example.com htts://cats.example.com')->expectsOutput($badUrlMessage);
- $this->artisan('bookstack:update-url example.com https://cats.example.com')->expectsOutput($badUrlMessage);
-
- $this->expectException(RuntimeException::class);
- $this->artisan('bookstack:update-url https://cats.example.com');
- }
-
- public function test_regenerate_comment_content_command()
- {
- Comment::query()->forceCreate([
- 'html' => 'some_old_content',
- 'text' => 'some_fresh_content',
- ]);
-
- $this->assertDatabaseHas('comments', [
- 'html' => 'some_old_content',
- ]);
-
- $exitCode = \Artisan::call('bookstack:regenerate-comment-content');
- $this->assertTrue($exitCode === 0, 'Command executed successfully');
-
- $this->assertDatabaseMissing('comments', [
- 'html' => 'some_old_content',
- ]);
- $this->assertDatabaseHas('comments', [
- 'html' => "<p>some_fresh_content</p>\n",
- ]);
- }
-}
public function test_book_not_visible_in_shelf_list_view_if_user_cant_view_shelf()
{
config()->set([
- 'app.views.bookshelves' => 'list',
+ 'setting-defaults.user.bookshelves_view_type' => 'list',
]);
$shelf = Bookshelf::query()->first();
$book = $shelf->books()->first();
$resp->assertDontSee($shelf->getUrl('/permissions'));
}
+ public function test_shelf_view_has_sort_control_that_defaults_to_default()
+ {
+ $shelf = Bookshelf::query()->first();
+ $resp = $this->asAdmin()->get($shelf->getUrl());
+ $resp->assertElementExists('form[action$="change-sort/shelf_books"]');
+ $resp->assertElementContains('form[action$="change-sort/shelf_books"] [aria-haspopup="true"]', 'Default');
+ }
+
+ public function test_shelf_view_sort_takes_action()
+ {
+ $shelf = Bookshelf::query()->whereHas('books')->with('books')->first();
+ $books = Book::query()->take(3)->get(['id', 'name']);
+ $books[0]->fill(['name' => 'bsfsdfsdfsd'])->save();
+ $books[1]->fill(['name' => 'adsfsdfsdfsd'])->save();
+ $books[2]->fill(['name' => 'hdgfgdfg'])->save();
+
+ // Set book ordering
+ $this->asAdmin()->put($shelf->getUrl(), [
+ 'books' => $books->implode('id', ','),
+ 'tags' => [], 'description' => 'abc', 'name' => 'abc'
+ ]);
+ $this->assertEquals(3, $shelf->books()->count());
+ $shelf->refresh();
+
+ $resp = $this->asEditor()->get($shelf->getUrl());
+ $resp->assertElementContains('.book-content a.grid-card', $books[0]->name, 1);
+ $resp->assertElementNotContains('.book-content a.grid-card', $books[0]->name, 3);
+
+ setting()->putUser($this->getEditor(), 'shelf_books_sort_order', 'desc');
+ $resp = $this->asEditor()->get($shelf->getUrl());
+ $resp->assertElementNotContains('.book-content a.grid-card', $books[0]->name, 1);
+ $resp->assertElementContains('.book-content a.grid-card', $books[0]->name, 3);
+
+ setting()->putUser($this->getEditor(), 'shelf_books_sort_order', 'desc');
+ setting()->putUser($this->getEditor(), 'shelf_books_sort', 'name');
+ $resp = $this->asEditor()->get($shelf->getUrl());
+ $resp->assertElementContains('.book-content a.grid-card', 'hdgfgdfg', 1);
+ $resp->assertElementContains('.book-content a.grid-card', 'bsfsdfsdfsd', 2);
+ $resp->assertElementContains('.book-content a.grid-card', 'adsfsdfsdfsd', 3);
+ }
+
public function test_shelf_edit()
{
$shelf = Bookshelf::first();
$redirectReq = $this->get($deleteReq->baseResponse->headers->get('location'));
$redirectReq->assertNotificationContains('Book Successfully Deleted');
}
+
+ public function test_next_previous_navigation_controls_show_within_book_content()
+ {
+ $book = Book::query()->first();
+ $chapter = $book->chapters->first();
+
+ $resp = $this->asEditor()->get($chapter->getUrl());
+ $resp->assertElementContains('#sibling-navigation', 'Next');
+ $resp->assertElementContains('#sibling-navigation', substr($chapter->pages[0]->name, 0, 20));
+
+ $resp = $this->get($chapter->pages[0]->getUrl());
+ $resp->assertElementContains('#sibling-navigation', substr($chapter->pages[1]->name, 0, 20));
+ $resp->assertElementContains('#sibling-navigation', 'Previous');
+ $resp->assertElementContains('#sibling-navigation', substr($chapter->name, 0, 20));
+ }
}
\ No newline at end of file
<?php namespace Tests\Entity;
use BookStack\Entities\Models\Page;
-use Tests\BrowserKitTest;
+use Tests\TestCase;
-class CommentSettingTest extends BrowserKitTest
+class CommentSettingTest extends TestCase
{
protected $page;
public function setUp(): void
{
parent::setUp();
- $this->page = Page::first();
+ $this->page = Page::query()->first();
}
public function test_comment_disable()
{
- $this->asAdmin();
-
$this->setSettings(['app-disable-comments' => 'true']);
+ $this->asAdmin();
- $this->asAdmin()->visit($this->page->getUrl())
- ->pageNotHasElement('.comments-list');
+ $this->asAdmin()->get($this->page->getUrl())
+ ->assertElementNotExists('.comments-list');
}
public function test_comment_enable()
{
- $this->asAdmin();
-
$this->setSettings(['app-disable-comments' => 'false']);
+ $this->asAdmin();
- $this->asAdmin()->visit($this->page->getUrl())
- ->pageHasElement('.comments-list');
+ $this->asAdmin()->get($this->page->getUrl())
+ ->assertElementExists('.comments-list');
}
}
\ No newline at end of file
$page = $this->newPage(['name' => 'My new test quaffleachits', 'html' => 'this is about an orange donkey danzorbhsing']);
$this->asEditor();
$editorId = $this->getEditor()->id;
+ $editorSlug = $this->getEditor()->slug;
// Viewed filter searches
$this->get('/search?term=' . urlencode('danzorbhsing {not_viewed_by_me}'))->assertSee($page->name);
// User filters
$this->get('/search?term=' . urlencode('danzorbhsing {created_by:me}'))->assertDontSee($page->name);
$this->get('/search?term=' . urlencode('danzorbhsing {updated_by:me}'))->assertDontSee($page->name);
- $this->get('/search?term=' . urlencode('danzorbhsing {updated_by:'.$editorId.'}'))->assertDontSee($page->name);
+ $this->get('/search?term=' . urlencode('danzorbhsing {owned_by:me}'))->assertDontSee($page->name);
+ $this->get('/search?term=' . urlencode('danzorbhsing {updated_by:'.$editorSlug.'}'))->assertDontSee($page->name);
$page->created_by = $editorId;
$page->save();
$this->get('/search?term=' . urlencode('danzorbhsing {created_by:me}'))->assertSee($page->name);
- $this->get('/search?term=' . urlencode('danzorbhsing {created_by:'.$editorId.'}'))->assertSee($page->name);
+ $this->get('/search?term=' . urlencode('danzorbhsing {created_by: '.$editorSlug.'}'))->assertSee($page->name);
$this->get('/search?term=' . urlencode('danzorbhsing {updated_by:me}'))->assertDontSee($page->name);
+ $this->get('/search?term=' . urlencode('danzorbhsing {owned_by:me}'))->assertDontSee($page->name);
$page->updated_by = $editorId;
$page->save();
$this->get('/search?term=' . urlencode('danzorbhsing {updated_by:me}'))->assertSee($page->name);
- $this->get('/search?term=' . urlencode('danzorbhsing {updated_by:'.$editorId.'}'))->assertSee($page->name);
+ $this->get('/search?term=' . urlencode('danzorbhsing {updated_by:'.$editorSlug.'}'))->assertSee($page->name);
+ $this->get('/search?term=' . urlencode('danzorbhsing {owned_by:me}'))->assertDontSee($page->name);
+ $page->owned_by = $editorId;
+ $page->save();
+ $this->get('/search?term=' . urlencode('danzorbhsing {owned_by:me}'))->assertSee($page->name);
+ $this->get('/search?term=' . urlencode('danzorbhsing {owned_by:'.$editorSlug.'}'))->assertSee($page->name);
// Content filters
$this->get('/search?term=' . urlencode('{in_name:danzorbhsing}'))->assertDontSee($page->name);
->press('Save Book');
$expectedPattern = '/\/books\/my-first-book-[0-9a-zA-Z]{3}/';
- $this->assertRegExp($expectedPattern, $this->currentUri, "Did not land on expected page [$expectedPattern].\n");
+ $this->assertMatchesRegularExpression($expectedPattern, $this->currentUri, "Did not land on expected page [$expectedPattern].\n");
$book = Book::where('slug', '=', 'my-first-book')->first();
return $book;
<?php namespace Tests\Entity;
-
+use BookStack\Entities\Models\Book;
use BookStack\Entities\Models\Chapter;
use BookStack\Entities\Models\Page;
-use BookStack\Uploads\HttpFetcher;
+use Illuminate\Support\Facades\Storage;
use Illuminate\Support\Str;
use Tests\TestCase;
public function test_page_text_export()
{
- $page = Page::first();
+ $page = Page::query()->first();
$this->asEditor();
$resp = $this->get($page->getUrl('/export/plaintext'));
public function test_page_pdf_export()
{
- $page = Page::first();
+ $page = Page::query()->first();
$this->asEditor();
$resp = $this->get($page->getUrl('/export/pdf'));
public function test_page_html_export()
{
- $page = Page::first();
+ $page = Page::query()->first();
$this->asEditor();
$resp = $this->get($page->getUrl('/export/html'));
public function test_book_text_export()
{
- $page = Page::first();
+ $page = Page::query()->first();
$book = $page->book;
$this->asEditor();
public function test_book_pdf_export()
{
- $page = Page::first();
+ $page = Page::query()->first();
$book = $page->book;
$this->asEditor();
public function test_book_html_export()
{
- $page = Page::first();
+ $page = Page::query()->first();
$book = $page->book;
$this->asEditor();
public function test_chapter_text_export()
{
- $chapter = Chapter::first();
+ $chapter = Chapter::query()->first();
$page = $chapter->pages[0];
$this->asEditor();
public function test_chapter_pdf_export()
{
- $chapter = Chapter::first();
+ $chapter = Chapter::query()->first();
$this->asEditor();
$resp = $this->get($chapter->getUrl('/export/pdf'));
public function test_chapter_html_export()
{
- $chapter = Chapter::first();
+ $chapter = Chapter::query()->first();
$page = $chapter->pages[0];
$this->asEditor();
public function test_page_html_export_contains_custom_head_if_set()
{
- $page = Page::first();
+ $page = Page::query()->first();
$customHeadContent = "<style>p{color: red;}</style>";
$this->setSettings(['app-custom-head' => $customHeadContent]);
$resp->assertSee($customHeadContent);
}
+ public function test_page_html_export_does_not_break_with_only_comments_in_custom_head()
+ {
+ $page = Page::query()->first();
+
+ $customHeadContent = "<!-- A comment -->";
+ $this->setSettings(['app-custom-head' => $customHeadContent]);
+
+ $resp = $this->asEditor()->get($page->getUrl('/export/html'));
+ $resp->assertStatus(200);
+ $resp->assertSee($customHeadContent);
+ }
+
public function test_page_html_export_use_absolute_dates()
{
- $page = Page::first();
+ $page = Page::query()->first();
$resp = $this->asEditor()->get($page->getUrl('/export/html'));
- $resp->assertSee($page->created_at->toDayDateTimeString());
+ $resp->assertSee($page->created_at->formatLocalized('%e %B %Y %H:%M:%S'));
$resp->assertDontSee($page->created_at->diffForHumans());
- $resp->assertSee($page->updated_at->toDayDateTimeString());
+ $resp->assertSee($page->updated_at->formatLocalized('%e %B %Y %H:%M:%S'));
$resp->assertDontSee($page->updated_at->diffForHumans());
}
+ public function test_page_export_does_not_include_user_or_revision_links()
+ {
+ $page = Page::query()->first();
+
+ $resp = $this->asEditor()->get($page->getUrl('/export/html'));
+ $resp->assertDontSee($page->getUrl('/revisions'));
+ $resp->assertDontSee($page->createdBy->getProfileUrl());
+ $resp->assertSee($page->createdBy->name);
+ }
+
public function test_page_export_sets_right_data_type_for_svg_embeds()
{
- $page = Page::first();
- $page->html = '<img src="http://example.com/image.svg">';
+ $page = Page::query()->first();
+ Storage::disk('local')->makeDirectory('uploads/images/gallery');
+ Storage::disk('local')->put('uploads/images/gallery/svg_test.svg', '<svg></svg>');
+ $page->html = '<img src="http://localhost/uploads/images/gallery/svg_test.svg">';
$page->save();
$this->asEditor();
- $this->mockHttpFetch('<svg></svg>');
$resp = $this->get($page->getUrl('/export/html'));
+ Storage::disk('local')->delete('uploads/images/gallery/svg_test.svg');
+
$resp->assertStatus(200);
$resp->assertSee('<img src="data:image/svg+xml;base64');
}
-}
\ No newline at end of file
+ public function test_page_image_containment_works_on_multiple_images_within_a_single_line()
+ {
+ $page = Page::query()->first();
+ Storage::disk('local')->makeDirectory('uploads/images/gallery');
+ Storage::disk('local')->put('uploads/images/gallery/svg_test.svg', '<svg></svg>');
+ Storage::disk('local')->put('uploads/images/gallery/svg_test2.svg', '<svg></svg>');
+ $page->html = '<img src="http://localhost/uploads/images/gallery/svg_test.svg" class="a"><img src="http://localhost/uploads/images/gallery/svg_test2.svg" class="b">';
+ $page->save();
+
+ $resp = $this->asEditor()->get($page->getUrl('/export/html'));
+ Storage::disk('local')->delete('uploads/images/gallery/svg_test.svg');
+ Storage::disk('local')->delete('uploads/images/gallery/svg_test2.svg');
+
+ $resp->assertDontSee('http://localhost/uploads/images/gallery/svg_test');
+ }
+
+ public function test_page_export_contained_html_image_fetches_only_run_when_url_points_to_image_upload_folder()
+ {
+ $page = Page::query()->first();
+ $page->html = '<img src="http://localhost/uploads/images/gallery/svg_test.svg"/>'
+ .'<img src="http://localhost/uploads/svg_test.svg"/>'
+ .'<img src="/uploads/svg_test.svg"/>';
+ $storageDisk = Storage::disk('local');
+ $storageDisk->makeDirectory('uploads/images/gallery');
+ $storageDisk->put('uploads/images/gallery/svg_test.svg', '<svg>good</svg>');
+ $storageDisk->put('uploads/svg_test.svg', '<svg>bad</svg>');
+ $page->save();
+
+ $resp = $this->asEditor()->get($page->getUrl('/export/html'));
+
+ $storageDisk->delete('uploads/images/gallery/svg_test.svg');
+ $storageDisk->delete('uploads/svg_test.svg');
+
+ $resp->assertDontSee('http://localhost/uploads/images/gallery/svg_test.svg');
+ $resp->assertSee('http://localhost/uploads/svg_test.svg');
+ $resp->assertSee('src="/uploads/svg_test.svg"');
+ }
+
+ public function test_exports_removes_scripts_from_custom_head()
+ {
+ $entities = [
+ Page::query()->first(), Chapter::query()->first(), Book::query()->first(),
+ ];
+ setting()->put('app-custom-head', '<script>window.donkey = "cat";</script><style>.my-test-class { color: red; }</style>');
+
+ foreach ($entities as $entity) {
+ $resp = $this->asEditor()->get($entity->getUrl('/export/html'));
+ $resp->assertDontSee('window.donkey');
+ $resp->assertDontSee('script');
+ $resp->assertSee('.my-test-class { color: red; }');
+ }
+ }
+
+ public function test_page_export_with_deleted_creator_and_updater()
+ {
+ $user = $this->getViewer(['name' => 'ExportWizardTheFifth']);
+ $page = Page::query()->first();
+ $page->created_by = $user->id;
+ $page->updated_by = $user->id;
+ $page->save();
+
+ $resp = $this->asEditor()->get($page->getUrl('/export/html'));
+ $resp->assertSee('ExportWizardTheFifth');
+
+ $user->delete();
+ $resp = $this->get($page->getUrl('/export/html'));
+ $resp->assertStatus(200);
+ $resp->assertDontSee('ExportWizardTheFifth');
+ }
+
+ public function test_page_markdown_export()
+ {
+ $page = Page::query()->first();
+
+ $resp = $this->asEditor()->get($page->getUrl('/export/markdown'));
+ $resp->assertStatus(200);
+ $resp->assertSee($page->name);
+ $resp->assertHeader('Content-Disposition', 'attachment; filename="' . $page->slug . '.md"');
+ }
+
+ public function test_page_markdown_export_uses_existing_markdown_if_apparent()
+ {
+ $page = Page::query()->first()->forceFill([
+ 'markdown' => '# A header',
+ 'html' => '<h1>Dogcat</h1>',
+ ]);
+ $page->save();
+
+ $resp = $this->asEditor()->get($page->getUrl('/export/markdown'));
+ $resp->assertSee('A header');
+ $resp->assertDontSee('Dogcat');
+ }
+
+ public function test_page_markdown_export_converts_html_where_no_markdown()
+ {
+ $page = Page::query()->first()->forceFill([
+ 'markdown' => '',
+ 'html' => "<h1>Dogcat</h1><p>Some <strong>bold</strong> text</p>",
+ ]);
+ $page->save();
+
+ $resp = $this->asEditor()->get($page->getUrl('/export/markdown'));
+ $resp->assertSee("# Dogcat\n\nSome **bold** text");
+ }
+
+ public function test_page_markdown_export_does_not_convert_callouts()
+ {
+ $page = Page::query()->first()->forceFill([
+ 'markdown' => '',
+ 'html' => "<h1>Dogcat</h1><p class=\"callout info\">Some callout text</p><p>Another line</p>",
+ ]);
+ $page->save();
+
+ $resp = $this->asEditor()->get($page->getUrl('/export/markdown'));
+ $resp->assertSee("# Dogcat\n\n<p class=\"callout info\">Some callout text</p>\n\nAnother line");
+ }
+
+ public function test_page_markdown_export_handles_bookstacks_wysiwyg_codeblock_format()
+ {
+ $page = Page::query()->first()->forceFill([
+ 'markdown' => '',
+ 'html' => '<h1>Dogcat</h1>'."\r\n".'<pre id="bkmrk-var-a-%3D-%27cat%27%3B"><code class="language-JavaScript">var a = \'cat\';</code></pre><p>Another line</p>',
+ ]);
+ $page->save();
+
+ $resp = $this->asEditor()->get($page->getUrl('/export/markdown'));
+ $resp->assertSee("# Dogcat\n\n```JavaScript\nvar a = 'cat';\n```\n\nAnother line");
+ }
+
+ public function test_chapter_markdown_export()
+ {
+ $chapter = Chapter::query()->first();
+ $page = $chapter->pages()->first();
+ $resp = $this->asEditor()->get($chapter->getUrl('/export/markdown'));
+
+ $resp->assertSee('# ' . $chapter->name);
+ $resp->assertSee('# ' . $page->name);
+ }
+
+ public function test_book_markdown_export()
+ {
+ $book = Book::query()->whereHas('pages')->whereHas('chapters')->first();
+ $chapter = $book->chapters()->first();
+ $page = $chapter->pages()->first();
+ $resp = $this->asEditor()->get($book->getUrl('/export/markdown'));
+
+ $resp->assertSee('# ' . $book->name);
+ $resp->assertSee('# ' . $chapter->name);
+ $resp->assertSee('# ' . $page->name);
+ }
+
+}
use BookStack\Entities\Tools\PageContent;
use BookStack\Entities\Models\Page;
use Tests\TestCase;
+use Tests\Uploads\UsesImages;
class PageContentTest extends TestCase
{
+ use UsesImages;
+
+ protected $base64Jpeg = '/9j/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/yQALCAABAAEBAREA/8wABgAQEAX/2gAIAQEAAD8A0s8g/9k=';
public function test_page_includes()
{
- $page = Page::first();
- $secondPage = Page::where('id', '!=', $page->id)->first();
+ $page = Page::query()->first();
+ $secondPage = Page::query()->where('id', '!=', $page->id)->first();
$secondPage->html = "<p id='section1'>Hello, This is a test</p><p id='section2'>This is a second block of content</p>";
$secondPage->save();
public function test_saving_page_with_includes()
{
- $page = Page::first();
- $secondPage = Page::where('id', '!=', $page->id)->first();
+ $page = Page::query()->first();
+ $secondPage = Page::query()->where('id', '!=', $page->id)->first();
$this->asEditor();
$includeTag = '{{@' . $secondPage->id . '}}';
public function test_page_includes_do_not_break_tables()
{
- $page = Page::first();
- $secondPage = Page::where('id', '!=', $page->id)->first();
+ $page = Page::query()->first();
+ $secondPage = Page::query()->where('id', '!=', $page->id)->first();
$content = '<table id="table"><tbody><tr><td>test</td></tr></tbody></table>';
$secondPage->html = $content;
public function test_page_content_scripts_removed_by_default()
{
$this->asEditor();
- $page = Page::first();
+ $page = Page::query()->first();
$script = 'abc123<script>console.log("hello-test")</script>abc123';
$page->html = "escape {$script}";
$page->save();
];
$this->asEditor();
- $page = Page::first();
+ $page = Page::query()->first();
foreach ($checks as $check) {
$page->html = $check;
];
$this->asEditor();
- $page = Page::first();
+ $page = Page::query()->first();
foreach ($checks as $check) {
$page->html = $check;
];
$this->asEditor();
- $page = Page::first();
+ $page = Page::query()->first();
foreach ($checks as $check) {
$page->html = $check;
];
$this->asEditor();
- $page = Page::first();
+ $page = Page::query()->first();
foreach ($checks as $check) {
$page->html = $check;
];
$this->asEditor();
- $page = Page::first();
+ $page = Page::query()->first();
foreach ($checks as $check) {
$page->html = $check;
public function test_page_inline_on_attributes_removed_by_default()
{
$this->asEditor();
- $page = Page::first();
+ $page = Page::query()->first();
$script = '<p onmouseenter="console.log(\'test\')">Hello</p>';
$page->html = "escape {$script}";
$page->save();
];
$this->asEditor();
- $page = Page::first();
+ $page = Page::query()->first();
foreach ($checks as $check) {
$page->html = $check;
public function test_page_content_scripts_show_when_configured()
{
$this->asEditor();
- $page = Page::first();
+ $page = Page::query()->first();
config()->push('app.allow_content_scripts', 'true');
$script = 'abc123<script>console.log("hello-test")</script>abc123';
public function test_page_inline_on_attributes_show_if_configured()
{
$this->asEditor();
- $page = Page::first();
+ $page = Page::query()->first();
config()->push('app.allow_content_scripts', 'true');
$script = '<p onmouseenter="console.log(\'test\')">Hello</p>';
public function test_duplicate_ids_does_not_break_page_render()
{
$this->asEditor();
- $pageA = Page::first();
+ $pageA = Page::query()->first();
$pageB = Page::query()->where('id', '!=', $pageA->id)->first();
$content = '<ul id="bkmrk-xxx-%28"></ul> <ul id="bkmrk-xxx-%28"></ul>';
public function test_duplicate_ids_fixed_on_page_save()
{
$this->asEditor();
- $page = Page::first();
+ $page = Page::query()->first();
$content = '<ul id="bkmrk-test"><li>test a</li><li><ul id="bkmrk-test"><li>test b</li></ul></li></ul>';
$pageSave = $this->put($page->getUrl(), [
]);
$pageSave->assertRedirect();
- $updatedPage = Page::where('id', '=', $page->id)->first();
+ $updatedPage = Page::query()->where('id', '=', $page->id)->first();
$this->assertEquals(substr_count($updatedPage->html, "bkmrk-test\""), 1);
}
public function test_anchors_referencing_non_bkmrk_ids_rewritten_after_save()
{
$this->asEditor();
- $page = Page::first();
+ $page = Page::query()->first();
$content = '<h1 id="non-standard-id">test</h1><p><a href="#non-standard-id">link</a></p>';
$this->put($page->getUrl(), [
'summary' => ''
]);
- $updatedPage = Page::where('id', '=', $page->id)->first();
+ $updatedPage = Page::query()->where('id', '=', $page->id)->first();
$this->assertStringContainsString('id="bkmrk-test"', $updatedPage->html);
$this->assertStringContainsString('href="#bkmrk-test"', $updatedPage->html);
}
$page->refresh();
$this->assertEquals('"Hello & welcome"', $page->text);
}
+
+ public function test_page_markdown_table_rendering()
+ {
+ $this->asEditor();
+ $page = Page::query()->first();
+
+ $content = '| Syntax | Description |
+| ----------- | ----------- |
+| Header | Title |
+| Paragraph | Text |';
+ $this->put($page->getUrl(), [
+ 'name' => $page->name, 'markdown' => $content,
+ 'html' => '', 'summary' => ''
+ ]);
+
+ $page->refresh();
+ $this->assertStringContainsString('</tbody>', $page->html);
+
+ $pageView = $this->get($page->getUrl());
+ $pageView->assertElementExists('.page-content table tbody td');
+ }
+
+ public function test_page_markdown_task_list_rendering()
+ {
+ $this->asEditor();
+ $page = Page::query()->first();
+
+ $content = '- [ ] Item a
+- [x] Item b';
+ $this->put($page->getUrl(), [
+ 'name' => $page->name, 'markdown' => $content,
+ 'html' => '', 'summary' => ''
+ ]);
+
+ $page->refresh();
+ $this->assertStringContainsString('input', $page->html);
+ $this->assertStringContainsString('type="checkbox"', $page->html);
+
+ $pageView = $this->get($page->getUrl());
+ $pageView->assertElementExists('.page-content input[type=checkbox]');
+ }
+
+ public function test_page_markdown_strikethrough_rendering()
+ {
+ $this->asEditor();
+ $page = Page::query()->first();
+
+ $content = '~~some crossed out text~~';
+ $this->put($page->getUrl(), [
+ 'name' => $page->name, 'markdown' => $content,
+ 'html' => '', 'summary' => ''
+ ]);
+
+ $page->refresh();
+ $this->assertStringMatchesFormat('%A<s%A>some crossed out text</s>%A', $page->html);
+
+ $pageView = $this->get($page->getUrl());
+ $pageView->assertElementExists('.page-content p > s');
+ }
+
+ public function test_page_markdown_single_html_comment_saving()
+ {
+ $this->asEditor();
+ $page = Page::query()->first();
+
+ $content = '<!-- Test Comment -->';
+ $this->put($page->getUrl(), [
+ 'name' => $page->name, 'markdown' => $content,
+ 'html' => '', 'summary' => ''
+ ]);
+
+ $page->refresh();
+ $this->assertStringMatchesFormat($content, $page->html);
+
+ $pageView = $this->get($page->getUrl());
+ $pageView->assertStatus(200);
+ $pageView->assertSee($content);
+ }
+
+ public function test_base64_images_get_extracted_from_page_content()
+ {
+ $this->asEditor();
+ $page = Page::query()->first();
+
+ $this->put($page->getUrl(), [
+ 'name' => $page->name, 'summary' => '',
+ 'html' => '<p>test<img src="data:image/jpeg;base64,'.$this->base64Jpeg.'"/></p>',
+ ]);
+
+ $page->refresh();
+ $this->assertStringMatchesFormat('%A<p%A>test<img src="http://localhost/uploads/images/gallery/%A.jpeg">%A</p>%A', $page->html);
+
+ $matches = [];
+ preg_match('/src="https:\/\/p.rizon.top:443\/http\/localhost(.*?)"/', $page->html, $matches);
+ $imagePath = $matches[1];
+ $imageFile = public_path($imagePath);
+ $this->assertEquals(base64_decode($this->base64Jpeg), file_get_contents($imageFile));
+
+ $this->deleteImage($imagePath);
+ }
+
+ public function test_base64_images_get_extracted_when_containing_whitespace()
+ {
+ $this->asEditor();
+ $page = Page::query()->first();
+
+ $base64PngWithWhitespace = "iVBORw0KGg\noAAAANSUhE\tUgAAAAEAAAA BCA YAAAAfFcSJAAA\n\t ACklEQVR4nGMAAQAABQAB";
+ $base64PngWithoutWhitespace = 'iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQAB';
+ $this->put($page->getUrl(), [
+ 'name' => $page->name, 'summary' => '',
+ 'html' => '<p>test<img src="data:image/png;base64,'.$base64PngWithWhitespace.'"/></p>',
+ ]);
+
+ $page->refresh();
+ $this->assertStringMatchesFormat('%A<p%A>test<img src="http://localhost/uploads/images/gallery/%A.png">%A</p>%A', $page->html);
+
+ $matches = [];
+ preg_match('/src="https:\/\/p.rizon.top:443\/http\/localhost(.*?)"/', $page->html, $matches);
+ $imagePath = $matches[1];
+ $imageFile = public_path($imagePath);
+ $this->assertEquals(base64_decode($base64PngWithoutWhitespace), file_get_contents($imageFile));
+
+ $this->deleteImage($imagePath);
+ }
+
+ public function test_base64_images_blanked_if_not_supported_extension_for_extract()
+ {
+ $this->asEditor();
+ $page = Page::query()->first();
+
+ $this->put($page->getUrl(), [
+ 'name' => $page->name, 'summary' => '',
+ 'html' => '<p>test<img src="data:image/jiff;base64,'.$this->base64Jpeg.'"/></p>',
+ ]);
+
+ $page->refresh();
+ $this->assertStringContainsString('<img src=""', $page->html);
+ }
}
$pageView->assertSee('def456');
}
+ public function test_page_revision_restore_with_markdown_retains_markdown_content()
+ {
+ $this->asEditor();
+
+ $pageRepo = app(PageRepo::class);
+ $page = Page::first();
+ $pageRepo->update($page, ['name' => 'updated page abc123', 'markdown' => '## New Content def456', 'summary' => 'initial page revision testing']);
+ $pageRepo->update($page, ['name' => 'updated page again', 'markdown' => '## New Content Updated', 'summary' => 'page revision testing']);
+ $page = Page::find($page->id);
+
+ $pageView = $this->get($page->getUrl());
+ $pageView->assertDontSee('abc123');
+ $pageView->assertDontSee('def456');
+
+ $revToRestore = $page->revisions()->where('name', 'like', '%abc123')->first();
+ $restoreReq = $this->put($page->getUrl() . '/revisions/' . $revToRestore->id . '/restore');
+ $page = Page::find($page->id);
+
+ $restoreReq->assertStatus(302);
+ $restoreReq->assertRedirect($page->getUrl());
+
+ $pageView = $this->get($page->getUrl());
+ $this->assertDatabaseHas('pages', [
+ 'id' => $page->id,
+ 'markdown' => '## New Content def456',
+ ]);
+ $pageView->assertSee('abc123');
+ $pageView->assertSee('def456');
+ }
+
+ public function test_page_revision_restore_sets_new_revision_with_summary()
+ {
+ $this->asEditor();
+
+ $pageRepo = app(PageRepo::class);
+ $page = Page::first();
+ $pageRepo->update($page, ['name' => 'updated page abc123', 'html' => '<p>new contente def456</p>', 'summary' => 'My first update']);
+ $pageRepo->update($page, ['name' => 'updated page again', 'html' => '<p>new content</p>', 'summary' => '']);
+ $page->refresh();
+
+ $revToRestore = $page->revisions()->where('name', 'like', '%abc123')->first();
+ $this->put($page->getUrl() . '/revisions/' . $revToRestore->id . '/restore');
+ $page->refresh();
+
+ $this->assertDatabaseHas('page_revisions', [
+ 'page_id' => $page->id,
+ 'text' => 'new contente def456',
+ 'type' => 'version',
+ 'summary' => "Restored from #{$revToRestore->id}; My first update",
+ ]);
+ }
+
public function test_page_revision_count_increments_on_update()
{
$page = Page::first();
<?php namespace Tests\Entity;
+use BookStack\Entities\Models\Book;
use BookStack\Entities\Models\Page;
use Tests\TestCase;
class PageTest extends TestCase
{
+
+ public function test_page_view_when_creator_is_deleted_but_owner_exists()
+ {
+ $page = Page::query()->first();
+ $user = $this->getViewer();
+ $owner = $this->getEditor();
+ $page->created_by = $user->id;
+ $page->owned_by = $owner->id;
+ $page->save();
+ $user->delete();
+
+ $resp = $this->asAdmin()->get($page->getUrl());
+ $resp->assertStatus(200);
+ $resp->assertSeeText('Owned by ' . $owner->name);
+ }
+
+ public function test_page_creation_with_markdown_content()
+ {
+ $this->setSettings(['app-editor' => 'markdown']);
+ $book = Book::query()->first();
+
+ $this->asEditor()->get($book->getUrl('/create-page'));
+ $draft = Page::query()->where('book_id', '=', $book->id)
+ ->where('draft', '=', true)->first();
+
+ $details = [
+ 'markdown' => '# a title',
+ 'html' => '<h1>a title</h1>',
+ 'name' => 'my page',
+ ];
+ $resp = $this->post($book->getUrl("/draft/{$draft->id}"), $details);
+ $resp->assertRedirect();
+
+ $this->assertDatabaseHas('pages', [
+ 'markdown' => $details['markdown'],
+ 'name' => $details['name'],
+ 'id' => $draft->id,
+ 'draft' => false
+ ]);
+
+ $draft->refresh();
+ $resp = $this->get($draft->getUrl("/edit"));
+ $resp->assertSee("# a title");
+ }
+
public function test_page_delete()
{
$page = Page::query()->first();
$redirectReq = $this->get($deleteReq->baseResponse->headers->get('location'));
$redirectReq->assertNotificationContains('Page Successfully Deleted');
}
+
+ public function test_page_full_delete_removes_all_revisions()
+ {
+ /** @var Page $page */
+ $page = Page::query()->first();
+ $page->revisions()->create([
+ 'html' => '<p>ducks</p>',
+ 'name' => 'my page revision',
+ 'type' => 'draft',
+ ]);
+ $page->revisions()->create([
+ 'html' => '<p>ducks</p>',
+ 'name' => 'my page revision',
+ 'type' => 'revision',
+ ]);
+
+ $this->assertDatabaseHas('page_revisions', [
+ 'page_id' => $page->id,
+ ]);
+
+ $this->asEditor()->delete($page->getUrl());
+ $this->asAdmin()->post('/settings/recycle-bin/empty');
+
+ $this->assertDatabaseMissing('page_revisions', [
+ 'page_id' => $page->id,
+ ]);
+ }
+
+ public function test_page_copy()
+ {
+ $page = Page::first();
+ $page->html = '<p>This is some test content</p>';
+ $page->save();
+
+ $currentBook = $page->book;
+ $newBook = Book::where('id', '!=', $currentBook->id)->first();
+
+ $resp = $this->asEditor()->get($page->getUrl('/copy'));
+ $resp->assertSee('Copy Page');
+
+ $movePageResp = $this->post($page->getUrl('/copy'), [
+ 'entity_selection' => 'book:' . $newBook->id,
+ 'name' => 'My copied test page'
+ ]);
+ $pageCopy = Page::where('name', '=', 'My copied test page')->first();
+
+ $movePageResp->assertRedirect($pageCopy->getUrl());
+ $this->assertTrue($pageCopy->book->id == $newBook->id, 'Page was copied to correct book');
+ $this->assertStringContainsString('This is some test content', $pageCopy->html);
+ }
+
+ public function test_page_copy_with_markdown_has_both_html_and_markdown()
+ {
+ $page = Page::first();
+ $page->html = '<h1>This is some test content</h1>';
+ $page->markdown = '# This is some test content';
+ $page->save();
+ $newBook = Book::where('id', '!=', $page->book->id)->first();
+
+ $this->asEditor()->post($page->getUrl('/copy'), [
+ 'entity_selection' => 'book:' . $newBook->id,
+ 'name' => 'My copied test page'
+ ]);
+ $pageCopy = Page::where('name', '=', 'My copied test page')->first();
+
+ $this->assertStringContainsString('This is some test content', $pageCopy->html);
+ $this->assertEquals('# This is some test content', $pageCopy->markdown);
+ }
+
+ public function test_page_copy_with_no_destination()
+ {
+ $page = Page::first();
+ $currentBook = $page->book;
+
+ $resp = $this->asEditor()->get($page->getUrl('/copy'));
+ $resp->assertSee('Copy Page');
+
+ $movePageResp = $this->post($page->getUrl('/copy'), [
+ 'name' => 'My copied test page'
+ ]);
+
+ $pageCopy = Page::where('name', '=', 'My copied test page')->first();
+
+ $movePageResp->assertRedirect($pageCopy->getUrl());
+ $this->assertTrue($pageCopy->book->id == $currentBook->id, 'Page was copied to correct book');
+ $this->assertTrue($pageCopy->id !== $page->id, 'Page copy is not the same instance');
+ }
+
+ public function test_page_can_be_copied_without_edit_permission()
+ {
+ $page = Page::first();
+ $currentBook = $page->book;
+ $newBook = Book::where('id', '!=', $currentBook->id)->first();
+ $viewer = $this->getViewer();
+
+ $resp = $this->actingAs($viewer)->get($page->getUrl());
+ $resp->assertDontSee($page->getUrl('/copy'));
+
+ $newBook->owned_by = $viewer->id;
+ $newBook->save();
+ $this->giveUserPermissions($viewer, ['page-create-own']);
+ $this->regenEntityPermissions($newBook);
+
+ $resp = $this->actingAs($viewer)->get($page->getUrl());
+ $resp->assertSee($page->getUrl('/copy'));
+
+ $movePageResp = $this->post($page->getUrl('/copy'), [
+ 'entity_selection' => 'book:' . $newBook->id,
+ 'name' => 'My copied test page'
+ ]);
+ $movePageResp->assertRedirect();
+
+ $this->assertDatabaseHas('pages', [
+ 'name' => 'My copied test page',
+ 'created_by' => $viewer->id,
+ 'book_id' => $newBook->id,
+ ]);
+ }
+
+ public function test_empty_markdown_still_saves_without_error()
+ {
+ $this->setSettings(['app-editor' => 'markdown']);
+ $book = Book::query()->first();
+
+ $this->asEditor()->get($book->getUrl('/create-page'));
+ $draft = Page::query()->where('book_id', '=', $book->id)
+ ->where('draft', '=', true)->first();
+
+ $details = [
+ 'name' => 'my page',
+ 'markdown' => '',
+ ];
+ $resp = $this->post($book->getUrl("/draft/{$draft->id}"), $details);
+ $resp->assertRedirect();
+
+ $this->assertDatabaseHas('pages', [
+ 'markdown' => $details['markdown'],
+ 'id' => $draft->id,
+ 'draft' => false
+ ]);
+ }
}
\ No newline at end of file
public function test_page_move_requires_create_permissions_on_parent()
{
- $page = Page::first();
+ $page = Page::query()->first();
$currentBook = $page->book;
- $newBook = Book::where('id', '!=', $currentBook->id)->first();
+ $newBook = Book::query()->where('id', '!=', $currentBook->id)->first();
$editor = $this->getEditor();
- $this->setEntityRestrictions($newBook, ['view', 'update', 'delete'], $editor->roles);
+ $this->setEntityRestrictions($newBook, ['view', 'update', 'delete'], $editor->roles->all());
$movePageResp = $this->actingAs($editor)->put($page->getUrl('/move'), [
'entity_selection' => 'book:' . $newBook->id
]);
$this->assertPermissionError($movePageResp);
- $this->setEntityRestrictions($newBook, ['view', 'update', 'delete', 'create'], $editor->roles);
+ $this->setEntityRestrictions($newBook, ['view', 'update', 'delete', 'create'], $editor->roles->all());
$movePageResp = $this->put($page->getUrl('/move'), [
'entity_selection' => 'book:' . $newBook->id
]);
$newBook = Book::where('id', '!=', $currentBook->id)->first();
$editor = $this->getEditor();
- $this->setEntityRestrictions($newBook, ['view', 'update', 'create', 'delete'], $editor->roles);
- $this->setEntityRestrictions($page, ['view', 'update', 'create'], $editor->roles);
+ $this->setEntityRestrictions($newBook, ['view', 'update', 'create', 'delete'], $editor->roles->all());
+ $this->setEntityRestrictions($page, ['view', 'update', 'create'], $editor->roles->all());
$movePageResp = $this->actingAs($editor)->put($page->getUrl('/move'), [
'entity_selection' => 'book:' . $newBook->id
$pageView = $this->get($page->getUrl());
$pageView->assertDontSee($page->getUrl('/move'));
- $this->setEntityRestrictions($page, ['view', 'update', 'create', 'delete'], $editor->roles);
+ $this->setEntityRestrictions($page, ['view', 'update', 'create', 'delete'], $editor->roles->all());
$movePageResp = $this->put($page->getUrl('/move'), [
'entity_selection' => 'book:' . $newBook->id
]);
$newBook = Book::where('id', '!=', $currentBook->id)->first();
$editor = $this->getEditor();
- $this->setEntityRestrictions($newBook, ['view', 'update', 'create', 'delete'], $editor->roles);
- $this->setEntityRestrictions($chapter, ['view', 'update', 'create'], $editor->roles);
+ $this->setEntityRestrictions($newBook, ['view', 'update', 'create', 'delete'], $editor->roles->all());
+ $this->setEntityRestrictions($chapter, ['view', 'update', 'create'], $editor->roles->all());
$moveChapterResp = $this->actingAs($editor)->put($chapter->getUrl('/move'), [
'entity_selection' => 'book:' . $newBook->id
$pageView = $this->get($chapter->getUrl());
$pageView->assertDontSee($chapter->getUrl('/move'));
- $this->setEntityRestrictions($chapter, ['view', 'update', 'create', 'delete'], $editor->roles);
+ $this->setEntityRestrictions($chapter, ['view', 'update', 'create', 'delete'], $editor->roles->all());
$moveChapterResp = $this->put($chapter->getUrl('/move'), [
'entity_selection' => 'book:' . $newBook->id
]);
$this->assertTrue($chapter->book->id == $newBook->id, 'Page book is now the new book');
}
+ public function test_chapter_move_changes_book_for_deleted_pages_within()
+ {
+ /** @var Chapter $chapter */
+ $chapter = Chapter::query()->whereHas('pages')->first();
+ $currentBook = $chapter->book;
+ $pageToCheck = $chapter->pages->first();
+ $newBook = Book::query()->where('id', '!=', $currentBook->id)->first();
+
+ $pageToCheck->delete();
+
+ $this->asEditor()->put($chapter->getUrl('/move'), [
+ 'entity_selection' => 'book:' . $newBook->id
+ ]);
+
+ $pageToCheck->refresh();
+ $this->assertEquals($newBook->id, $pageToCheck->book_id);
+ }
+
public function test_book_sort()
{
$oldBook = Book::query()->first();
$checkResp->assertSee($newBook->name);
}
- public function test_page_copy()
- {
- $page = Page::first();
- $currentBook = $page->book;
- $newBook = Book::where('id', '!=', $currentBook->id)->first();
-
- $resp = $this->asEditor()->get($page->getUrl('/copy'));
- $resp->assertSee('Copy Page');
-
- $movePageResp = $this->post($page->getUrl('/copy'), [
- 'entity_selection' => 'book:' . $newBook->id,
- 'name' => 'My copied test page'
- ]);
- $pageCopy = Page::where('name', '=', 'My copied test page')->first();
-
- $movePageResp->assertRedirect($pageCopy->getUrl());
- $this->assertTrue($pageCopy->book->id == $newBook->id, 'Page was copied to correct book');
- }
-
- public function test_page_copy_with_no_destination()
- {
- $page = Page::first();
- $currentBook = $page->book;
-
- $resp = $this->asEditor()->get($page->getUrl('/copy'));
- $resp->assertSee('Copy Page');
-
- $movePageResp = $this->post($page->getUrl('/copy'), [
- 'name' => 'My copied test page'
- ]);
-
- $pageCopy = Page::where('name', '=', 'My copied test page')->first();
-
- $movePageResp->assertRedirect($pageCopy->getUrl());
- $this->assertTrue($pageCopy->book->id == $currentBook->id, 'Page was copied to correct book');
- $this->assertTrue($pageCopy->id !== $page->id, 'Page copy is not the same instance');
- }
-
- public function test_page_can_be_copied_without_edit_permission()
- {
- $page = Page::first();
- $currentBook = $page->book;
- $newBook = Book::where('id', '!=', $currentBook->id)->first();
- $viewer = $this->getViewer();
-
- $resp = $this->actingAs($viewer)->get($page->getUrl());
- $resp->assertDontSee($page->getUrl('/copy'));
-
- $newBook->created_by = $viewer->id;
- $newBook->save();
- $this->giveUserPermissions($viewer, ['page-create-own']);
- $this->regenEntityPermissions($newBook);
-
- $resp = $this->actingAs($viewer)->get($page->getUrl());
- $resp->assertSee($page->getUrl('/copy'));
-
- $movePageResp = $this->post($page->getUrl('/copy'), [
- 'entity_selection' => 'book:' . $newBook->id,
- 'name' => 'My copied test page'
- ]);
- $movePageResp->assertRedirect();
-
- $this->assertDatabaseHas('pages', [
- 'name' => 'My copied test page',
- 'created_by' => $viewer->id,
- 'book_id' => $newBook->id,
- ]);
- }
-
}
\ No newline at end of file
<?php namespace Tests\Entity;
-use BookStack\Entities\Models\Book;
-use BookStack\Entities\Models\Chapter;
use BookStack\Actions\Tag;
use BookStack\Entities\Models\Entity;
use BookStack\Entities\Models\Page;
-use BookStack\Auth\Permissions\PermissionService;
-use Tests\BrowserKitTest;
+use Tests\TestCase;
-class TagTest extends BrowserKitTest
+class TagTest extends TestCase
{
protected $defaultTagCount = 20;
/**
* Get an instance of a page that has many tags.
- * @param \BookStack\Actions\Tag[]|bool $tags
- * @return Entity
*/
- protected function getEntityWithTags($class, $tags = false): Entity
+ protected function getEntityWithTags($class, ?array $tags = null): Entity
{
$entity = $class::first();
- if (!$tags) {
+ if (is_null($tags)) {
$tags = factory(Tag::class, $this->defaultTagCount)->make();
}
$attrs = $attrs->merge(factory(Tag::class, 5)->make(['name' => 'county']));
$attrs = $attrs->merge(factory(Tag::class, 5)->make(['name' => 'planet']));
$attrs = $attrs->merge(factory(Tag::class, 5)->make(['name' => 'plans']));
- $page = $this->getEntityWithTags(Page::class, $attrs);
+ $page = $this->getEntityWithTags(Page::class, $attrs->all());
- $this->asAdmin()->get('/ajax/tags/suggest/names?search=dog')->seeJsonEquals([]);
- $this->get('/ajax/tags/suggest/names?search=co')->seeJsonEquals(['color', 'country', 'county']);
- $this->get('/ajax/tags/suggest/names?search=cou')->seeJsonEquals(['country', 'county']);
- $this->get('/ajax/tags/suggest/names?search=pla')->seeJsonEquals(['planet', 'plans']);
+ $this->asAdmin()->get('/ajax/tags/suggest/names?search=dog')->assertExactJson([]);
+ $this->get('/ajax/tags/suggest/names?search=co')->assertExactJson(['color', 'country', 'county']);
+ $this->get('/ajax/tags/suggest/names?search=cou')->assertExactJson(['country', 'county']);
+ $this->get('/ajax/tags/suggest/names?search=pla')->assertExactJson(['planet', 'plans']);
}
public function test_tag_value_suggestions()
$attrs = $attrs->merge(factory(Tag::class, 5)->make(['name' => 'county', 'value' => 'dog']));
$attrs = $attrs->merge(factory(Tag::class, 5)->make(['name' => 'planet', 'value' => 'catapult']));
$attrs = $attrs->merge(factory(Tag::class, 5)->make(['name' => 'plans', 'value' => 'dodgy']));
- $page = $this->getEntityWithTags(Page::class, $attrs);
+ $page = $this->getEntityWithTags(Page::class, $attrs->all());
- $this->asAdmin()->get('/ajax/tags/suggest/values?search=ora')->seeJsonEquals([]);
- $this->get('/ajax/tags/suggest/values?search=cat')->seeJsonEquals(['cats', 'cattery', 'catapult']);
- $this->get('/ajax/tags/suggest/values?search=do')->seeJsonEquals(['dog', 'dodgy']);
- $this->get('/ajax/tags/suggest/values?search=cas')->seeJsonEquals(['castle']);
+ $this->asAdmin()->get('/ajax/tags/suggest/values?search=ora')->assertExactJson([]);
+ $this->get('/ajax/tags/suggest/values?search=cat')->assertExactJson(['cats', 'cattery', 'catapult']);
+ $this->get('/ajax/tags/suggest/values?search=do')->assertExactJson(['dog', 'dodgy']);
+ $this->get('/ajax/tags/suggest/values?search=cas')->assertExactJson(['castle']);
}
public function test_entity_permissions_effect_tag_suggestions()
{
- $permissionService = $this->app->make(PermissionService::class);
-
// Create some tags with similar names to test with and save to a page
$attrs = collect();
$attrs = $attrs->merge(factory(Tag::class, 5)->make(['name' => 'country']));
$attrs = $attrs->merge(factory(Tag::class, 5)->make(['name' => 'color']));
- $page = $this->getEntityWithTags(Page::class, $attrs);
+ $page = $this->getEntityWithTags(Page::class, $attrs->all());
- $this->asAdmin()->get('/ajax/tags/suggest/names?search=co')->seeJsonEquals(['color', 'country']);
- $this->asEditor()->get('/ajax/tags/suggest/names?search=co')->seeJsonEquals(['color', 'country']);
+ $this->asAdmin()->get('/ajax/tags/suggest/names?search=co')->assertExactJson(['color', 'country']);
+ $this->asEditor()->get('/ajax/tags/suggest/names?search=co')->assertExactJson(['color', 'country']);
// Set restricted permission the page
$page->restricted = true;
$page->save();
$page->rebuildPermissions();
- $this->asAdmin()->get('/ajax/tags/suggest/names?search=co')->seeJsonEquals(['color', 'country']);
- $this->asEditor()->get('/ajax/tags/suggest/names?search=co')->seeJsonEquals([]);
+ $this->asAdmin()->get('/ajax/tags/suggest/names?search=co')->assertExactJson(['color', 'country']);
+ $this->asEditor()->get('/ajax/tags/suggest/names?search=co')->assertExactJson([]);
+ }
+
+ public function test_tags_shown_on_search_listing()
+ {
+ $tags = [
+ factory(Tag::class)->make(['name' => 'category', 'value' => 'buckets']),
+ factory(Tag::class)->make(['name' => 'color', 'value' => 'red']),
+ ];
+
+ $page = $this->getEntityWithTags(Page::class, $tags);
+ $resp = $this->asEditor()->get("/search?term=[category]");
+ $resp->assertSee($page->name);
+ $resp->assertElementContains('[href="' . $page->getUrl() . '"]', 'category');
+ $resp->assertElementContains('[href="' . $page->getUrl() . '"]', 'buckets');
+ $resp->assertElementContains('[href="' . $page->getUrl() . '"]', 'color');
+ $resp->assertElementContains('[href="' . $page->getUrl() . '"]', 'red');
}
}
$this->assertCount(1, $handler->getRecords());
}
+
+ public function test_access_to_non_existing_image_location_provides_404_response()
+ {
+ $resp = $this->actingAs($this->getViewer())->get('/uploads/images/gallery/2021-05/anonexistingimage.png');
+ $resp->assertStatus(404);
+ $resp->assertSeeText('Image Not Found');
+ }
}
\ No newline at end of file
--- /dev/null
+<?php
+
+use BookStack\Actions\Favourite;
+use BookStack\Entities\Models\Book;
+use BookStack\Entities\Models\Bookshelf;
+use BookStack\Entities\Models\Chapter;
+use BookStack\Entities\Models\Page;
+use Tests\TestCase;
+
+class FavouriteTest extends TestCase
+{
+
+ public function test_page_add_favourite_flow()
+ {
+ $page = Page::query()->first();
+ $editor = $this->getEditor();
+
+ $resp = $this->actingAs($editor)->get($page->getUrl());
+ $resp->assertElementContains('button', 'Favourite');
+ $resp->assertElementExists('form[method="POST"][action$="/favourites/add"]');
+
+ $resp = $this->post('/favourites/add', [
+ 'type' => get_class($page),
+ 'id' => $page->id,
+ ]);
+ $resp->assertRedirect($page->getUrl());
+ $resp->assertSessionHas('success', "\"{$page->name}\" has been added to your favourites");
+
+ $this->assertDatabaseHas('favourites', [
+ 'user_id' => $editor->id,
+ 'favouritable_type' => $page->getMorphClass(),
+ 'favouritable_id' => $page->id,
+ ]);
+ }
+
+ public function test_page_remove_favourite_flow()
+ {
+ $page = Page::query()->first();
+ $editor = $this->getEditor();
+ Favourite::query()->forceCreate([
+ 'user_id' => $editor->id,
+ 'favouritable_id' => $page->id,
+ 'favouritable_type' => $page->getMorphClass(),
+ ]);
+
+ $resp = $this->actingAs($editor)->get($page->getUrl());
+ $resp->assertElementContains('button', 'Unfavourite');
+ $resp->assertElementExists('form[method="POST"][action$="/favourites/remove"]');
+
+ $resp = $this->post('/favourites/remove', [
+ 'type' => get_class($page),
+ 'id' => $page->id,
+ ]);
+ $resp->assertRedirect($page->getUrl());
+ $resp->assertSessionHas('success', "\"{$page->name}\" has been removed from your favourites");
+
+ $this->assertDatabaseMissing('favourites', [
+ 'user_id' => $editor->id,
+ ]);
+ }
+
+ public function test_book_chapter_shelf_pages_contain_favourite_button()
+ {
+ $entities = [
+ Bookshelf::query()->first(),
+ Book::query()->first(),
+ Chapter::query()->first(),
+ ];
+ $this->actingAs($this->getEditor());
+
+ foreach ($entities as $entity) {
+ $resp = $this->get($entity->getUrl());
+ $resp->assertElementExists('form[method="POST"][action$="/favourites/add"]');
+ }
+ }
+
+ public function test_header_contains_link_to_favourites_page_when_logged_in()
+ {
+ $this->setSettings(['app-public' => 'true']);
+ $this->get('/')->assertElementNotContains('header', 'My Favourites');
+ $this->actingAs($this->getViewer())->get('/')->assertElementContains('header a', 'My Favourites');
+ }
+
+ public function test_favourites_shown_on_homepage()
+ {
+ $editor = $this->getEditor();
+
+ $resp = $this->actingAs($editor)->get('/');
+ $resp->assertElementNotExists('#top-favourites');
+
+ /** @var Page $page */
+ $page = Page::query()->first();
+ $page->favourites()->save((new Favourite)->forceFill(['user_id' => $editor->id]));
+
+ $resp = $this->get('/');
+ $resp->assertElementExists('#top-favourites');
+ $resp->assertElementContains('#top-favourites', $page->name);
+ }
+
+ public function test_favourites_list_page_shows_favourites_and_has_working_pagination()
+ {
+ /** @var Page $page */
+ $page = Page::query()->first();
+ $editor = $this->getEditor();
+
+ $resp = $this->actingAs($editor)->get('/favourites');
+ $resp->assertDontSee($page->name);
+
+ $page->favourites()->save((new Favourite)->forceFill(['user_id' => $editor->id]));
+
+ $resp = $this->get('/favourites');
+ $resp->assertSee($page->name);
+
+ $resp = $this->get('/favourites?page=2');
+ $resp->assertDontSee($page->name);
+ }
+
+}
\ No newline at end of file
--- /dev/null
+<?php
+
+use Tests\TestCase;
+
+class FooterLinksTest extends TestCase
+{
+
+ public function test_saving_setting()
+ {
+ $resp = $this->asAdmin()->post("/settings", [
+ 'setting-app-footer-links' => [
+ ['label' => 'My custom link 1', 'url' => 'https://example.com/1'],
+ ['label' => 'My custom link 2', 'url' => 'https://example.com/2'],
+ ],
+ ]);
+ $resp->assertRedirect('/settings');
+
+ $result = setting('app-footer-links');
+ $this->assertIsArray($result);
+ $this->assertCount(2, $result);
+ $this->assertEquals('My custom link 2', $result[1]['label']);
+ $this->assertEquals('https://example.com/1', $result[0]['url']);
+ }
+
+ public function test_set_options_visible_on_settings_page()
+ {
+ $this->setSettings(['app-footer-links' => [
+ ['label' => 'My custom link', 'url' => 'https://example.com/link-a'],
+ ['label' => 'Another Link', 'url' => 'https://example.com/link-b'],
+ ]]);
+
+ $resp = $this->asAdmin()->get('/settings');
+ $resp->assertSee('value="My custom link"');
+ $resp->assertSee('value="Another Link"');
+ $resp->assertSee('value="https://example.com/link-a"');
+ $resp->assertSee('value="https://example.com/link-b"');
+ }
+
+ public function test_footer_links_show_on_pages()
+ {
+ $this->setSettings(['app-footer-links' => [
+ ['label' => 'My custom link', 'url' => 'https://example.com/link-a'],
+ ['label' => 'Another Link', 'url' => 'https://example.com/link-b'],
+ ]]);
+
+ $this->get('/login')->assertElementContains('footer a[href="https://example.com/link-a"]', 'My custom link');
+ $this->asEditor()->get('/')->assertElementContains('footer a[href="https://example.com/link-b"]', 'Another link');
+ }
+
+ public function test_using_translation_system_for_labels()
+ {
+ $this->setSettings(['app-footer-links' => [
+ ['label' => 'trans::common.privacy_policy', 'url' => 'https://example.com/privacy'],
+ ['label' => 'trans::common.terms_of_service', 'url' => 'https://example.com/terms'],
+ ]]);
+
+ $resp = $this->get('/login');
+ $resp->assertElementContains('footer a[href="https://example.com/privacy"]', 'Privacy Policy');
+ $resp->assertElementContains('footer a[href="https://example.com/terms"]', 'Terms of Service');
+ }
+}
\ No newline at end of file
<?php namespace Tests;
+use BookStack\Auth\Role;
+use BookStack\Auth\User;
use BookStack\Entities\Models\Bookshelf;
+use BookStack\Entities\Models\Page;
class HomepageTest extends TestCase
{
{
$editor = $this->getEditor();
setting()->putUser($editor, 'bookshelves_view_type', 'grid');
+ $shelf = Bookshelf::query()->firstOrFail();
$this->setSettings(['app-homepage-type' => 'bookshelves']);
$this->asEditor();
$homeVisit = $this->get('/');
$homeVisit->assertSee('Shelves');
- $homeVisit->assertSee('bookshelf-grid-item grid-card');
$homeVisit->assertSee('grid-card-content');
- $homeVisit->assertSee('grid-card-footer');
$homeVisit->assertSee('featured-image-container');
+ $homeVisit->assertElementContains('.grid-card', $shelf->name);
$this->setSettings(['app-homepage-type' => false]);
$this->test_default_homepage_visible();
$homeVisit->assertElementContains('.content-wrap', $shelf->name);
$homeVisit->assertElementContains('.content-wrap', $book->name);
}
+
+ public function test_new_users_dont_have_any_recently_viewed()
+ {
+ $user = factory(User::class)->create();
+ $viewRole = Role::getRole('Viewer');
+ $user->attachRole($viewRole);
+
+ $homeVisit = $this->actingAs($user)->get('/');
+ $homeVisit->assertElementContains('#recently-viewed', 'You have not viewed any pages');
+ }
}
--- /dev/null
+<?php namespace Tests\Permissions;
+
+use BookStack\Auth\User;
+use BookStack\Entities\Models\Book;
+use BookStack\Entities\Models\Bookshelf;
+use BookStack\Entities\Models\Chapter;
+use BookStack\Entities\Models\Page;
+use Illuminate\Support\Str;
+use Tests\TestCase;
+
+class EntityOwnerChangeTest extends TestCase
+{
+
+ public function test_changing_page_owner()
+ {
+ $page = Page::query()->first();
+ $user = User::query()->where('id', '!=', $page->owned_by)->first();
+
+ $this->asAdmin()->put($page->getUrl('permissions'), ['owned_by' => $user->id]);
+ $this->assertDatabaseHas('pages', ['owned_by' => $user->id, 'id' => $page->id]);
+ }
+
+ public function test_changing_chapter_owner()
+ {
+ $chapter = Chapter::query()->first();
+ $user = User::query()->where('id', '!=', $chapter->owned_by)->first();
+
+ $this->asAdmin()->put($chapter->getUrl('permissions'), ['owned_by' => $user->id]);
+ $this->assertDatabaseHas('chapters', ['owned_by' => $user->id, 'id' => $chapter->id]);
+ }
+
+ public function test_changing_book_owner()
+ {
+ $book = Book::query()->first();
+ $user = User::query()->where('id', '!=', $book->owned_by)->first();
+
+ $this->asAdmin()->put($book->getUrl('permissions'), ['owned_by' => $user->id]);
+ $this->assertDatabaseHas('books', ['owned_by' => $user->id, 'id' => $book->id]);
+ }
+
+ public function test_changing_shelf_owner()
+ {
+ $shelf = Bookshelf::query()->first();
+ $user = User::query()->where('id', '!=', $shelf->owned_by)->first();
+
+ $this->asAdmin()->put($shelf->getUrl('permissions'), ['owned_by' => $user->id]);
+ $this->assertDatabaseHas('bookshelves', ['owned_by' => $user->id, 'id' => $shelf->id]);
+ }
+
+}
\ No newline at end of file
use BookStack\Entities\Models\Entity;
use BookStack\Auth\User;
use BookStack\Entities\Models\Page;
+use Illuminate\Support\Str;
use Tests\BrowserKitTest;
-class RestrictionsTest extends BrowserKitTest
+class EntityPermissionsTest extends BrowserKitTest
{
/**
$this->viewer = $this->getViewer();
}
- protected function setEntityRestrictions(Entity $entity, $actions = [], $roles = [])
+ protected function setRestrictionsForTestRoles(Entity $entity, array $actions = [])
{
$roles = [
$this->user->roles->first(),
$this->viewer->roles->first(),
];
- parent::setEntityRestrictions($entity, $actions, $roles);
+ $this->setEntityRestrictions($entity, $actions, $roles);
}
public function test_bookshelf_view_restriction()
->visit($shelf->getUrl())
->seePageIs($shelf->getUrl());
- $this->setEntityRestrictions($shelf, []);
+ $this->setRestrictionsForTestRoles($shelf, []);
$this->forceVisit($shelf->getUrl())
->see('Bookshelf not found');
- $this->setEntityRestrictions($shelf, ['view']);
+ $this->setRestrictionsForTestRoles($shelf, ['view']);
$this->visit($shelf->getUrl())
->see($shelf->name);
->visit($shelf->getUrl('/edit'))
->see('Edit Book');
- $this->setEntityRestrictions($shelf, ['view', 'delete']);
+ $this->setRestrictionsForTestRoles($shelf, ['view', 'delete']);
$this->forceVisit($shelf->getUrl('/edit'))
->see('You do not have permission')->seePageIs('/');
- $this->setEntityRestrictions($shelf, ['view', 'update']);
+ $this->setRestrictionsForTestRoles($shelf, ['view', 'update']);
$this->visit($shelf->getUrl('/edit'))
->seePageIs($shelf->getUrl('/edit'));
->visit($shelf->getUrl('/delete'))
->see('Delete Book');
- $this->setEntityRestrictions($shelf, ['view', 'update']);
+ $this->setRestrictionsForTestRoles($shelf, ['view', 'update']);
$this->forceVisit($shelf->getUrl('/delete'))
->see('You do not have permission')->seePageIs('/');
- $this->setEntityRestrictions($shelf, ['view', 'delete']);
+ $this->setRestrictionsForTestRoles($shelf, ['view', 'delete']);
$this->visit($shelf->getUrl('/delete'))
->seePageIs($shelf->getUrl('/delete'))->see('Delete Book');
->visit($bookUrl)
->seePageIs($bookUrl);
- $this->setEntityRestrictions($book, []);
+ $this->setRestrictionsForTestRoles($book, []);
$this->forceVisit($bookUrl)
->see('Book not found');
$this->forceVisit($bookChapter->getUrl())
->see('Chapter not found');
- $this->setEntityRestrictions($book, ['view']);
+ $this->setRestrictionsForTestRoles($book, ['view']);
$this->visit($bookUrl)
->see($book->name);
->seeInElement('.actions', 'New Page')
->seeInElement('.actions', 'New Chapter');
- $this->setEntityRestrictions($book, ['view', 'delete', 'update']);
+ $this->setRestrictionsForTestRoles($book, ['view', 'delete', 'update']);
$this->forceVisit($bookUrl . '/create-chapter')
->see('You do not have permission')->seePageIs('/');
$this->visit($bookUrl)->dontSeeInElement('.actions', 'New Page')
->dontSeeInElement('.actions', 'New Chapter');
- $this->setEntityRestrictions($book, ['view', 'create']);
+ $this->setRestrictionsForTestRoles($book, ['view', 'create']);
$this->visit($bookUrl . '/create-chapter')
->type('test chapter', 'name')
->visit($bookUrl . '/edit')
->see('Edit Book');
- $this->setEntityRestrictions($book, ['view', 'delete']);
+ $this->setRestrictionsForTestRoles($book, ['view', 'delete']);
$this->forceVisit($bookUrl . '/edit')
->see('You do not have permission')->seePageIs('/');
$this->forceVisit($bookChapter->getUrl() . '/edit')
->see('You do not have permission')->seePageIs('/');
- $this->setEntityRestrictions($book, ['view', 'update']);
+ $this->setRestrictionsForTestRoles($book, ['view', 'update']);
$this->visit($bookUrl . '/edit')
->seePageIs($bookUrl . '/edit');
->visit($bookUrl . '/delete')
->see('Delete Book');
- $this->setEntityRestrictions($book, ['view', 'update']);
+ $this->setRestrictionsForTestRoles($book, ['view', 'update']);
$this->forceVisit($bookUrl . '/delete')
->see('You do not have permission')->seePageIs('/');
$this->forceVisit($bookChapter->getUrl() . '/delete')
->see('You do not have permission')->seePageIs('/');
- $this->setEntityRestrictions($book, ['view', 'delete']);
+ $this->setRestrictionsForTestRoles($book, ['view', 'delete']);
$this->visit($bookUrl . '/delete')
->seePageIs($bookUrl . '/delete')->see('Delete Book');
->visit($chapterUrl)
->seePageIs($chapterUrl);
- $this->setEntityRestrictions($chapter, []);
+ $this->setRestrictionsForTestRoles($chapter, []);
$this->forceVisit($chapterUrl)
->see('Chapter not found');
$this->forceVisit($chapterPage->getUrl())
->see('Page not found');
- $this->setEntityRestrictions($chapter, ['view']);
+ $this->setRestrictionsForTestRoles($chapter, ['view']);
$this->visit($chapterUrl)
->see($chapter->name);
->visit($chapterUrl)
->seeInElement('.actions', 'New Page');
- $this->setEntityRestrictions($chapter, ['view', 'delete', 'update']);
+ $this->setRestrictionsForTestRoles($chapter, ['view', 'delete', 'update']);
$this->forceVisit($chapterUrl . '/create-page')
->see('You do not have permission')->seePageIs('/');
$this->visit($chapterUrl)->dontSeeInElement('.actions', 'New Page');
- $this->setEntityRestrictions($chapter, ['view', 'create']);
+ $this->setRestrictionsForTestRoles($chapter, ['view', 'create']);
$this->visit($chapterUrl . '/create-page')
->visit($chapterUrl . '/edit')
->see('Edit Chapter');
- $this->setEntityRestrictions($chapter, ['view', 'delete']);
+ $this->setRestrictionsForTestRoles($chapter, ['view', 'delete']);
$this->forceVisit($chapterUrl . '/edit')
->see('You do not have permission')->seePageIs('/');
$this->forceVisit($chapterPage->getUrl() . '/edit')
->see('You do not have permission')->seePageIs('/');
- $this->setEntityRestrictions($chapter, ['view', 'update']);
+ $this->setRestrictionsForTestRoles($chapter, ['view', 'update']);
$this->visit($chapterUrl . '/edit')
->seePageIs($chapterUrl . '/edit')->see('Edit Chapter');
->visit($chapterUrl . '/delete')
->see('Delete Chapter');
- $this->setEntityRestrictions($chapter, ['view', 'update']);
+ $this->setRestrictionsForTestRoles($chapter, ['view', 'update']);
$this->forceVisit($chapterUrl . '/delete')
->see('You do not have permission')->seePageIs('/');
$this->forceVisit($chapterPage->getUrl() . '/delete')
->see('You do not have permission')->seePageIs('/');
- $this->setEntityRestrictions($chapter, ['view', 'delete']);
+ $this->setRestrictionsForTestRoles($chapter, ['view', 'delete']);
$this->visit($chapterUrl . '/delete')
->seePageIs($chapterUrl . '/delete')->see('Delete Chapter');
->visit($pageUrl)
->seePageIs($pageUrl);
- $this->setEntityRestrictions($page, ['update', 'delete']);
+ $this->setRestrictionsForTestRoles($page, ['update', 'delete']);
$this->forceVisit($pageUrl)
->see('Page not found');
- $this->setEntityRestrictions($page, ['view']);
+ $this->setRestrictionsForTestRoles($page, ['view']);
$this->visit($pageUrl)
->see($page->name);
->visit($pageUrl . '/edit')
->seeInField('name', $page->name);
- $this->setEntityRestrictions($page, ['view', 'delete']);
+ $this->setRestrictionsForTestRoles($page, ['view', 'delete']);
$this->forceVisit($pageUrl . '/edit')
->see('You do not have permission')->seePageIs('/');
- $this->setEntityRestrictions($page, ['view', 'update']);
+ $this->setRestrictionsForTestRoles($page, ['view', 'update']);
$this->visit($pageUrl . '/edit')
->seePageIs($pageUrl . '/edit')->seeInField('name', $page->name);
->visit($pageUrl . '/delete')
->see('Delete Page');
- $this->setEntityRestrictions($page, ['view', 'update']);
+ $this->setRestrictionsForTestRoles($page, ['view', 'update']);
$this->forceVisit($pageUrl . '/delete')
->see('You do not have permission')->seePageIs('/');
- $this->setEntityRestrictions($page, ['view', 'delete']);
+ $this->setRestrictionsForTestRoles($page, ['view', 'delete']);
$this->visit($pageUrl . '/delete')
->seePageIs($pageUrl . '/delete')->see('Delete Page');
$page = $chapter->pages->first();
$page2 = $chapter->pages[2];
- $this->setEntityRestrictions($page, []);
+ $this->setRestrictionsForTestRoles($page, []);
$this->actingAs($this->user)
->visit($page2->getUrl())
$chapter = Chapter::first();
$page = $chapter->pages->first();
- $this->setEntityRestrictions($page, []);
+ $this->setRestrictionsForTestRoles($page, []);
$this->actingAs($this->user)
->visit($chapter->getUrl())
$chapter = Chapter::first();
$page = $chapter->pages->first();
- $this->setEntityRestrictions($page, []);
+ $this->setRestrictionsForTestRoles($page, []);
$this->actingAs($this->user)
->visit($chapter->getUrl())
->dontSee($page->name);
}
+ public function test_restricted_chapter_pages_not_visible_on_book_page()
+ {
+ $chapter = Chapter::query()->first();
+ $this->actingAs($this->user)
+ ->visit($chapter->book->getUrl())
+ ->see($chapter->pages->first()->name);
+
+ foreach ($chapter->pages as $page) {
+ $this->setRestrictionsForTestRoles($page, []);
+ }
+
+ $this->actingAs($this->user)
+ ->visit($chapter->book->getUrl())
+ ->dontSee($chapter->pages->first()->name);
+ }
+
public function test_bookshelf_update_restriction_override()
{
$shelf = Bookshelf::first();
->visit($shelf->getUrl('/edit'))
->dontSee('Edit Book');
- $this->setEntityRestrictions($shelf, ['view', 'delete']);
+ $this->setRestrictionsForTestRoles($shelf, ['view', 'delete']);
$this->forceVisit($shelf->getUrl('/edit'))
->see('You do not have permission')->seePageIs('/');
- $this->setEntityRestrictions($shelf, ['view', 'update']);
+ $this->setRestrictionsForTestRoles($shelf, ['view', 'update']);
$this->visit($shelf->getUrl('/edit'))
->seePageIs($shelf->getUrl('/edit'));
->visit($shelf->getUrl('/delete'))
->dontSee('Delete Book');
- $this->setEntityRestrictions($shelf, ['view', 'update']);
+ $this->setRestrictionsForTestRoles($shelf, ['view', 'update']);
$this->forceVisit($shelf->getUrl('/delete'))
->see('You do not have permission')->seePageIs('/');
- $this->setEntityRestrictions($shelf, ['view', 'delete']);
+ $this->setRestrictionsForTestRoles($shelf, ['view', 'delete']);
$this->visit($shelf->getUrl('/delete'))
->seePageIs($shelf->getUrl('/delete'))->see('Delete Book');
->dontSeeInElement('.actions', 'New Page')
->dontSeeInElement('.actions', 'New Chapter');
- $this->setEntityRestrictions($book, ['view', 'delete', 'update']);
+ $this->setRestrictionsForTestRoles($book, ['view', 'delete', 'update']);
$this->forceVisit($bookUrl . '/create-chapter')
->see('You do not have permission')->seePageIs('/');
$this->visit($bookUrl)->dontSeeInElement('.actions', 'New Page')
->dontSeeInElement('.actions', 'New Chapter');
- $this->setEntityRestrictions($book, ['view', 'create']);
+ $this->setRestrictionsForTestRoles($book, ['view', 'create']);
$this->visit($bookUrl . '/create-chapter')
->type('test chapter', 'name')
->visit($bookUrl . '/edit')
->dontSee('Edit Book');
- $this->setEntityRestrictions($book, ['view', 'delete']);
+ $this->setRestrictionsForTestRoles($book, ['view', 'delete']);
$this->forceVisit($bookUrl . '/edit')
->see('You do not have permission')->seePageIs('/');
$this->forceVisit($bookChapter->getUrl() . '/edit')
->see('You do not have permission')->seePageIs('/');
- $this->setEntityRestrictions($book, ['view', 'update']);
+ $this->setRestrictionsForTestRoles($book, ['view', 'update']);
$this->visit($bookUrl . '/edit')
->seePageIs($bookUrl . '/edit');
->visit($bookUrl . '/delete')
->dontSee('Delete Book');
- $this->setEntityRestrictions($book, ['view', 'update']);
+ $this->setRestrictionsForTestRoles($book, ['view', 'update']);
$this->forceVisit($bookUrl . '/delete')
->see('You do not have permission')->seePageIs('/');
$this->forceVisit($bookChapter->getUrl() . '/delete')
->see('You do not have permission')->seePageIs('/');
- $this->setEntityRestrictions($book, ['view', 'delete']);
+ $this->setRestrictionsForTestRoles($book, ['view', 'delete']);
$this->visit($bookUrl . '/delete')
->seePageIs($bookUrl . '/delete')->see('Delete Book');
public function test_page_visible_if_has_permissions_when_book_not_visible()
{
$book = Book::first();
-
- $this->setEntityRestrictions($book, []);
-
$bookChapter = $book->chapters->first();
$bookPage = $bookChapter->pages->first();
- $this->setEntityRestrictions($bookPage, ['view']);
+
+ foreach ([$book, $bookChapter, $bookPage] as $entity) {
+ $entity->name = Str::random(24);
+ $entity->save();
+ }
+
+ $this->setRestrictionsForTestRoles($book, []);
+ $this->setRestrictionsForTestRoles($bookPage, ['view']);
$this->actingAs($this->viewer);
$this->get($bookPage->getUrl());
$firstBook = Book::first();
$secondBook = Book::find(2);
- $this->setEntityRestrictions($firstBook, ['view', 'update']);
- $this->setEntityRestrictions($secondBook, ['view']);
+ $this->setRestrictionsForTestRoles($firstBook, ['view', 'update']);
+ $this->setRestrictionsForTestRoles($secondBook, ['view']);
// Test sort page visibility
$this->actingAs($this->user)->visit($secondBook->getUrl() . '/sort')
$firstBook = Book::first();
$secondBook = Book::find(2);
- $this->setEntityRestrictions($firstBook, ['view', 'update']);
- $this->setEntityRestrictions($secondBook, ['view']);
+ $this->setRestrictionsForTestRoles($firstBook, ['view', 'update']);
+ $this->setRestrictionsForTestRoles($secondBook, ['view']);
$firstBookChapter = $this->newChapter(['name' => 'first book chapter'], $firstBook);
$secondBookChapter = $this->newChapter(['name' => 'second book chapter'], $secondBook);
public function test_can_create_page_if_chapter_has_permissions_when_book_not_visible()
{
$book = Book::first();
- $this->setEntityRestrictions($book, []);
+ $this->setRestrictionsForTestRoles($book, []);
$bookChapter = $book->chapters->first();
- $this->setEntityRestrictions($bookChapter, ['view']);
+ $this->setRestrictionsForTestRoles($bookChapter, ['view']);
$this->actingAs($this->user)->visit($bookChapter->getUrl())
->dontSee('New Page');
- $this->setEntityRestrictions($bookChapter, ['view', 'create']);
+ $this->setRestrictionsForTestRoles($bookChapter, ['view', 'create']);
$this->actingAs($this->user)->visit($bookChapter->getUrl())
->click('New Page')
--- /dev/null
+<?php namespace Tests\Permissions;
+
+use BookStack\Entities\Models\Book;
+use BookStack\Entities\Models\Chapter;
+use Illuminate\Support\Str;
+use Tests\TestCase;
+
+class ExportPermissionsTest extends TestCase
+{
+
+ public function test_page_content_without_view_access_hidden_on_chapter_export()
+ {
+ $chapter = Chapter::query()->first();
+ $page = $chapter->pages()->firstOrFail();
+ $pageContent = Str::random(48);
+ $page->html = '<p>' . $pageContent . '</p>';
+ $page->save();
+ $viewer = $this->getViewer();
+ $this->actingAs($viewer);
+ $formats = ['html', 'plaintext'];
+
+ foreach ($formats as $format) {
+ $resp = $this->get($chapter->getUrl("export/{$format}"));
+ $resp->assertStatus(200);
+ $resp->assertSee($page->name);
+ $resp->assertSee($pageContent);
+ }
+
+ $this->setEntityRestrictions($page, []);
+
+ foreach ($formats as $format) {
+ $resp = $this->get($chapter->getUrl("export/{$format}"));
+ $resp->assertStatus(200);
+ $resp->assertDontSee($page->name);
+ $resp->assertDontSee($pageContent);
+ }
+ }
+
+ public function test_page_content_without_view_access_hidden_on_book_export()
+ {
+ $book = Book::query()->first();
+ $page = $book->pages()->firstOrFail();
+ $pageContent = Str::random(48);
+ $page->html = '<p>' . $pageContent . '</p>';
+ $page->save();
+ $viewer = $this->getViewer();
+ $this->actingAs($viewer);
+ $formats = ['html', 'plaintext'];
+
+ foreach ($formats as $format) {
+ $resp = $this->get($book->getUrl("export/{$format}"));
+ $resp->assertStatus(200);
+ $resp->assertSee($page->name);
+ $resp->assertSee($pageContent);
+ }
+
+ $this->setEntityRestrictions($page, []);
+
+ foreach ($formats as $format) {
+ $resp = $this->get($book->getUrl("export/{$format}"));
+ $resp->assertStatus(200);
+ $resp->assertDontSee($page->name);
+ $resp->assertDontSee($pageContent);
+ }
+ }
+
+}
\ No newline at end of file
{
$otherUsersPage = Page::first();
$content = $this->createEntityChainBelongingToUser($this->user);
+
+ // Set a different creator on the page we're checking to ensure
+ // that the owner fields are checked
+ $page = $content['page']; /** @var Page $page */
+ $page->created_by = $otherUsersPage->id;
+ $page->owned_by = $this->user->id;
+ $page->save();
+
// Check can't restrict other's content
$this->actingAs($this->user)->visit($otherUsersPage->getUrl())
->dontSee('Permissions')
->visit($otherUsersPage->getUrl() . '/permissions')
->seePageIs('/');
// Check can't restrict own content
- $this->actingAs($this->user)->visit($content['page']->getUrl())
+ $this->actingAs($this->user)->visit($page->getUrl())
->dontSee('Permissions')
- ->visit($content['page']->getUrl() . '/permissions')
+ ->visit($page->getUrl() . '/permissions')
->seePageIs('/');
$this->giveUserPermissions($this->user, ['restrictions-manage-own']);
->visit($otherUsersPage->getUrl() . '/permissions')
->seePageIs('/');
// Check can restrict own content
- $this->actingAs($this->user)->visit($content['page']->getUrl())
+ $this->actingAs($this->user)->visit($page->getUrl())
->see('Permissions')
->click('Permissions')
- ->seePageIs($content['page']->getUrl() . '/permissions');
+ ->seePageIs($page->getUrl() . '/permissions');
}
/**
{
$otherShelf = Bookshelf::first();
$ownShelf = $this->newShelf(['name' => 'test-shelf', 'slug' => 'test-shelf']);
- $ownShelf->forceFill(['created_by' => $this->user->id, 'updated_by' => $this->user->id])->save();
+ $ownShelf->forceFill(['owned_by' => $this->user->id, 'updated_by' => $this->user->id])->save();
$this->regenEntityPermissions($ownShelf);
$this->checkAccessPermission('bookshelf-update-own', [
$this->giveUserPermissions($this->user, ['bookshelf-update-all']);
$otherShelf = Bookshelf::first();
$ownShelf = $this->newShelf(['name' => 'test-shelf', 'slug' => 'test-shelf']);
- $ownShelf->forceFill(['created_by' => $this->user->id, 'updated_by' => $this->user->id])->save();
+ $ownShelf->forceFill(['owned_by' => $this->user->id, 'updated_by' => $this->user->id])->save();
$this->regenEntityPermissions($ownShelf);
$this->checkAccessPermission('bookshelf-delete-own', [
use BookStack\Entities\Models\Book;
use BookStack\Entities\Models\Chapter;
use BookStack\Entities\Models\Page;
+use Illuminate\Support\Facades\View;
-class PublicActionTest extends BrowserKitTest
+class PublicActionTest extends TestCase
{
public function test_app_not_public()
{
$this->setSettings(['app-public' => 'false']);
- $book = Book::orderBy('name', 'asc')->first();
- $this->visit('/books')->seePageIs('/login');
- $this->visit($book->getUrl())->seePageIs('/login');
+ $book = Book::query()->first();
+ $this->get('/books')->assertRedirect('/login');
+ $this->get($book->getUrl())->assertRedirect('/login');
- $page = Page::first();
- $this->visit($page->getUrl())->seePageIs('/login');
+ $page = Page::query()->first();
+ $this->get($page->getUrl())->assertRedirect('/login');
}
public function test_login_link_visible()
{
$this->setSettings(['app-public' => 'true']);
- $this->visit('/')->see(url('/login'));
+ $this->get('/')->assertElementExists('a[href="'.url('/login').'"]');
}
public function test_register_link_visible_when_enabled()
{
$this->setSettings(['app-public' => 'true']);
-
- $this->visit('/')->see(url('/login'));
- $this->visit('/')->dontSee(url('/register'));
+ $home = $this->get('/');
+ $home->assertSee(url('/login'));
+ $home->assertDontSee(url('/register'));
$this->setSettings(['app-public' => 'true', 'registration-enabled' => 'true']);
- $this->visit('/')->see(url('/login'));
- $this->visit('/')->see(url('/register'));
+ $home = $this->get('/');
+ $home->assertSee(url('/login'));
+ $home->assertSee(url('/register'));
}
public function test_books_viewable()
{
$this->setSettings(['app-public' => 'true']);
- $books = Book::orderBy('name', 'asc')->take(10)->get();
+ $books = Book::query()->orderBy('name', 'asc')->take(10)->get();
$bookToVisit = $books[1];
// Check books index page is showing
- $this->visit('/books')
- ->seeStatusCode(200)
- ->see($books[0]->name)
- // Check individual book page is showing and it's child contents are visible.
- ->click($bookToVisit->name)
- ->seePageIs($bookToVisit->getUrl())
- ->see($bookToVisit->name)
- ->see($bookToVisit->chapters()->first()->name);
+ $resp = $this->get('/books');
+ $resp->assertStatus(200);
+ $resp->assertSee($books[0]->name);
+
+ // Check individual book page is showing and it's child contents are visible.
+ $resp = $this->get($bookToVisit->getUrl());
+ $resp->assertSee($bookToVisit->name);
+ $resp->assertSee($bookToVisit->chapters()->first()->name);
}
public function test_chapters_viewable()
{
$this->setSettings(['app-public' => 'true']);
- $chapterToVisit = Chapter::first();
+ /** @var Chapter $chapterToVisit */
+ $chapterToVisit = Chapter::query()->first();
$pageToVisit = $chapterToVisit->pages()->first();
// Check chapters index page is showing
- $this->visit($chapterToVisit->getUrl())
- ->seeStatusCode(200)
- ->see($chapterToVisit->name)
- // Check individual chapter page is showing and it's child contents are visible.
- ->see($pageToVisit->name)
- ->click($pageToVisit->name)
- ->see($chapterToVisit->book->name)
- ->see($chapterToVisit->name)
- ->seePageIs($pageToVisit->getUrl());
+ $resp = $this->get($chapterToVisit->getUrl());
+ $resp->assertStatus(200);
+ $resp->assertSee($chapterToVisit->name);
+ // Check individual chapter page is showing and it's child contents are visible.
+ $resp->assertSee($pageToVisit->name);
+ $resp = $this->get($pageToVisit->getUrl());
+ $resp->assertStatus(200);
+ $resp->assertSee($chapterToVisit->book->name);
+ $resp->assertSee($chapterToVisit->name);
}
public function test_public_page_creation()
}
$this->app[PermissionService::class]->buildJointPermissionForRole($publicRole);
- $chapter = Chapter::first();
- $this->visit($chapter->book->getUrl());
- $this->visit($chapter->getUrl())
- ->click('New Page')
- ->see('New Page')
- ->seePageIs($chapter->getUrl('/create-page'));
+ /** @var Chapter $chapter */
+ $chapter = Chapter::query()->first();
+ $resp = $this->get($chapter->getUrl());
+ $resp->assertSee('New Page');
+ $resp->assertElementExists('a[href="'.$chapter->getUrl('/create-page').'"]');
- $this->submitForm('Continue', [
- 'name' => 'My guest page'
- ])->seePageIs($chapter->book->getUrl('/page/my-guest-page/edit'));
+ $resp = $this->get($chapter->getUrl('/create-page'));
+ $resp->assertSee('Continue');
+ $resp->assertSee('Page Name');
+ $resp->assertElementExists('form[action="'.$chapter->getUrl('/create-guest-page').'"]');
+
+ $resp = $this->post($chapter->getUrl('/create-guest-page'), ['name' => 'My guest page']);
+ $resp->assertRedirect($chapter->book->getUrl('/page/my-guest-page/edit'));
$user = User::getDefault();
- $this->seeInDatabase('pages', [
+ $this->assertDatabaseHas('pages', [
'name' => 'My guest page',
'chapter_id' => $chapter->id,
'created_by' => $user->id,
public function test_content_not_listed_on_404_for_public_users()
{
- $page = Page::first();
- $this->asAdmin()->visit($page->getUrl());
+ $page = Page::query()->first();
+ $page->fill(['name' => 'my testing random unique page name'])->save();
+ $this->asAdmin()->get($page->getUrl()); // Fake visit to show on recents
+ $resp = $this->get('/cats/dogs/hippos');
+ $resp->assertStatus(404);
+ $resp->assertSee($page->name);
+ View::share('pageTitle', '');
+
Auth::logout();
- view()->share('pageTitle', '');
- $this->forceVisit('/cats/dogs/hippos');
- $this->dontSee($page->name);
+ $resp = $this->get('/cats/dogs/hippos');
+ $resp->assertStatus(404);
+ $resp->assertDontSee($page->name);
}
public function test_robots_effected_by_public_status()
{
- $this->visit('/robots.txt');
- $this->seeText("User-agent: *\nDisallow: /");
+ $this->get('/robots.txt')->assertSee("User-agent: *\nDisallow: /");
$this->setSettings(['app-public' => 'true']);
- $this->visit('/robots.txt');
- $this->seeText("User-agent: *\nDisallow:");
- $this->dontSeeText("Disallow: /");
+ $resp = $this->get('/robots.txt');
+ $resp->assertSee("User-agent: *\nDisallow:");
+ $resp->assertDontSee("Disallow: /");
}
public function test_robots_effected_by_setting()
{
- $this->visit('/robots.txt');
- $this->seeText("User-agent: *\nDisallow: /");
+ $this->get('/robots.txt')->assertSee("User-agent: *\nDisallow: /");
config()->set('app.allow_robots', true);
- $this->visit('/robots.txt');
- $this->seeText("User-agent: *\nDisallow:");
- $this->dontSeeText("Disallow: /");
+ $resp = $this->get('/robots.txt');
+ $resp->assertSee("User-agent: *\nDisallow:");
+ $resp->assertDontSee("Disallow: /");
// Check config overrides app-public setting
config()->set('app.allow_robots', false);
$this->setSettings(['app-public' => 'true']);
- $this->visit('/robots.txt');
-
- $this->seeText("User-agent: *\nDisallow: /");
+ $this->get('/robots.txt')->assertSee("User-agent: *\nDisallow: /");
}
public function test_public_view_then_login_redirects_to_previous_content()
{
$this->setSettings(['app-public' => 'true']);
+ /** @var Book $book */
$book = Book::query()->first();
- $this->visit($book->getUrl())
- ->see($book->name)
- ->visit('/login')
- ->type('password', '#password')
- ->press('Log In')
- ->seePageUrlIs($book->getUrl());
+ $resp = $this->get($book->getUrl());
+ $resp->assertSee($book->name);
+
+ $this->get('/login');
+ $resp = $this->post('/login', ['email' => '
[email protected]', 'password' => 'password']);
+ $resp->assertRedirect($book->getUrl());
}
public function test_access_hidden_content_then_login_redirects_to_intended_content()
{
$this->setSettings(['app-public' => 'true']);
+ /** @var Book $book */
$book = Book::query()->first();
$this->setEntityRestrictions($book);
- try {
- $this->visit($book->getUrl());
- } catch (\Exception $exception) {}
-
- $this->see('Book not found')
- ->dontSee($book->name)
- ->visit('/login')
- ->type('password', '#password')
- ->press('Log In')
- ->seePageUrlIs($book->getUrl())
- ->see($book->name);
+ $resp = $this->get($book->getUrl());
+ $resp->assertSee('Book not found');
+
+ $this->get('/login');
+ $resp = $this->post('/login', ['email' => '
[email protected]', 'password' => 'password']);
+ $resp->assertRedirect($book->getUrl());
+ $this->followRedirects($resp)->assertSee($book->name);
}
}
\ No newline at end of file
<?php namespace Tests;
use BookStack\Entities\Models\Book;
+use BookStack\Entities\Models\Bookshelf;
+use BookStack\Entities\Models\Chapter;
use BookStack\Entities\Models\Deletion;
+use BookStack\Entities\Models\Entity;
use BookStack\Entities\Models\Page;
use DB;
use Illuminate\Support\Carbon;
$redirectReq->assertNotificationContains('Deleted '.$itemCount.' total items from the recycle bin');
}
+ public function test_permanent_delete_for_each_type()
+ {
+ /** @var Entity $entity */
+ foreach ([new Bookshelf, new Book, new Chapter, new Page] as $entity) {
+ $entity = $entity->newQuery()->first();
+ $this->asEditor()->delete($entity->getUrl());
+ $deletion = Deletion::query()->orderBy('id', 'desc')->firstOrFail();
+
+ $deleteReq = $this->asAdmin()->delete("/settings/recycle-bin/{$deletion->id}");
+ $deleteReq->assertRedirect('/settings/recycle-bin');
+ $this->assertDatabaseMissing('deletions', ['id' => $deletion->id]);
+ $this->assertDatabaseMissing($entity->getTable(), ['id' => $entity->id]);
+ }
+ }
+
public function test_permanent_entity_delete_updates_existing_activity_with_entity_name()
{
$page = Page::query()->firstOrFail();
--- /dev/null
+<?php namespace Tests;
+
+
+use Illuminate\Support\Str;
+
+class SecurityHeaderTest extends TestCase
+{
+
+ public function test_cookies_samesite_lax_by_default()
+ {
+ $resp = $this->get("/");
+ foreach ($resp->headers->getCookies() as $cookie) {
+ $this->assertEquals("lax", $cookie->getSameSite());
+ }
+ }
+
+ public function test_cookies_samesite_none_when_iframe_hosts_set()
+ {
+ $this->runWithEnv("ALLOWED_IFRAME_HOSTS", "http://example.com", function() {
+ $resp = $this->get("/");
+ foreach ($resp->headers->getCookies() as $cookie) {
+ $this->assertEquals("none", $cookie->getSameSite());
+ }
+ });
+ }
+
+ public function test_secure_cookies_controlled_by_app_url()
+ {
+ $this->runWithEnv("APP_URL", "http://example.com", function() {
+ $resp = $this->get("/");
+ foreach ($resp->headers->getCookies() as $cookie) {
+ $this->assertFalse($cookie->isSecure());
+ }
+ });
+
+ $this->runWithEnv("APP_URL", "https://example.com", function() {
+ $resp = $this->get("/");
+ foreach ($resp->headers->getCookies() as $cookie) {
+ $this->assertTrue($cookie->isSecure());
+ }
+ });
+ }
+
+ public function test_iframe_csp_self_only_by_default()
+ {
+ $resp = $this->get("/");
+ $cspHeaders = collect($resp->headers->get('Content-Security-Policy'));
+ $frameHeaders = $cspHeaders->filter(function ($val) {
+ return Str::startsWith($val, 'frame-ancestors');
+ });
+
+ $this->assertTrue($frameHeaders->count() === 1);
+ $this->assertEquals('frame-ancestors \'self\'', $frameHeaders->first());
+ }
+
+ public function test_iframe_csp_includes_extra_hosts_if_configured()
+ {
+ $this->runWithEnv("ALLOWED_IFRAME_HOSTS", "https://a.example.com https://b.example.com", function() {
+ $resp = $this->get("/");
+ $cspHeaders = collect($resp->headers->get('Content-Security-Policy'));
+ $frameHeaders = $cspHeaders->filter(function($val) {
+ return Str::startsWith($val, 'frame-ancestors');
+ });
+
+ $this->assertTrue($frameHeaders->count() === 1);
+ $this->assertEquals('frame-ancestors \'self\' https://a.example.com https://b.example.com', $frameHeaders->first());
+ });
+
+ }
+
+}
\ No newline at end of file
use BookStack\Entities\Repos\PageRepo;
use BookStack\Settings\SettingService;
use BookStack\Uploads\HttpFetcher;
-use Illuminate\Http\Response;
use Illuminate\Support\Env;
use Illuminate\Support\Facades\Log;
use Mockery;
use Monolog\Handler\TestHandler;
use Monolog\Logger;
-use Throwable;
use Illuminate\Foundation\Testing\Assert as PHPUnit;
trait SharedTestHelpers
/**
* Set the current user context to be an admin.
- * @return $this
*/
public function asAdmin()
{
/**
* Get the current admin user.
- * @return mixed
*/
- public function getAdmin() {
- if($this->admin === null) {
+ public function getAdmin(): User
+ {
+ if (is_null($this->admin)) {
$adminRole = Role::getSystemRole('admin');
$this->admin = $adminRole->users->first();
}
+
return $this->admin;
}
/**
* Set the current user context to be an editor.
- * @return $this
*/
public function asEditor()
{
/**
* Get a editor user.
- * @return mixed
*/
- protected function getEditor() {
- if($this->editor === null) {
+ protected function getEditor(): User
+ {
+ if ($this->editor === null) {
$editorRole = Role::getRole('editor');
$this->editor = $editorRole->users->first();
}
return $user;
}
+ /**
+ * Get a user that's not a system user such as the guest user.
+ */
+ public function getNormalUser()
+ {
+ return User::query()->where('system_name', '=', null)->get()->last();
+ }
+
/**
* Regenerate the permission for an entity.
- * @param Entity $entity
- * @throws Throwable
*/
- protected function regenEntityPermissions(Entity $entity)
+ protected function regenEntityPermissions(Entity $entity): void
{
$entity->rebuildPermissions();
$entity->load('jointPermissions');
/**
* Create and return a new bookshelf.
- * @param array $input
- * @return Bookshelf
*/
- public function newShelf($input = ['name' => 'test shelf', 'description' => 'My new test shelf']) {
+ public function newShelf(array $input = ['name' => 'test shelf', 'description' => 'My new test shelf']): Bookshelf
+ {
return app(BookshelfRepo::class)->create($input, []);
}
/**
* Create and return a new book.
- * @param array $input
- * @return Book
*/
- public function newBook($input = ['name' => 'test book', 'description' => 'My new test book']) {
+ public function newBook(array $input = ['name' => 'test book', 'description' => 'My new test book']): Book
+ {
return app(BookRepo::class)->create($input);
}
/**
* Create and return a new test chapter
- * @param array $input
- * @param Book $book
- * @return Chapter
*/
- public function newChapter($input = ['name' => 'test chapter', 'description' => 'My new test chapter'], Book $book) {
+ public function newChapter(array $input = ['name' => 'test chapter', 'description' => 'My new test chapter'], Book $book): Chapter
+ {
return app(ChapterRepo::class)->create($input, $book);
}
/**
* Create and return a new test page
- * @param array $input
- * @return Page
- * @throws Throwable
*/
- public function newPage($input = ['name' => 'test page', 'html' => 'My new test page']) {
- $book = Book::first();
+ public function newPage(array $input = ['name' => 'test page', 'html' => 'My new test page']): Page
+ {
+ $book = Book::query()->first();
$pageRepo = app(PageRepo::class);
$draftPage = $pageRepo->getNewDraftPage($book);
return $pageRepo->publishDraft($draftPage, $input);
/**
* Quickly sets an array of settings.
- * @param $settingsArray
*/
- protected function setSettings($settingsArray)
+ protected function setSettings(array $settingsArray): void
{
$settings = app(SettingService::class);
foreach ($settingsArray as $key => $value) {
/**
* Manually set some permissions on an entity.
- * @param Entity $entity
- * @param array $actions
- * @param array $roles
*/
- protected function setEntityRestrictions(Entity $entity, $actions = [], $roles = [])
+ protected function setEntityRestrictions(Entity $entity, array $actions = [], array $roles = []): void
{
$entity->restricted = true;
$entity->permissions()->delete();
/**
* Give the given user some permissions.
- * @param User $user
- * @param array $permissions
*/
- protected function giveUserPermissions(User $user, $permissions = [])
+ protected function giveUserPermissions(User $user, array $permissions = []): void
{
$newRole = $this->createNewRole($permissions);
$user->attachRole($newRole);
$user->load('roles');
- $user->permissions(false);
+ $user->clearPermissionCache();
}
/**
* Create a new basic role for testing purposes.
- * @param array $permissions
- * @return Role
*/
- protected function createNewRole($permissions = [])
+ protected function createNewRole(array $permissions = []): Role
{
$permissionRepo = app(PermissionsRepo::class);
$roleData = factory(Role::class)->make()->toArray();
/**
* Mock the HttpFetcher service and return the given data on fetch.
- * @param $returnData
- * @param int $times
*/
protected function mockHttpFetch($returnData, int $times = 1)
{
/**
* Run a set test with the given env variable.
* Remembers the original and resets the value after test.
- * @param string $name
- * @param $value
- * @param callable $callback
*/
protected function runWithEnv(string $name, $value, callable $callback)
{
/**
* Check the keys and properties in the given map to include
* exist, albeit not exclusively, within the map to check.
- * @param array $mapToInclude
- * @param array $mapToCheck
- * @param string $message
*/
- protected function assertArrayMapIncludes(array $mapToInclude, array $mapToCheck, string $message = '') : void
+ protected function assertArrayMapIncludes(array $mapToInclude, array $mapToCheck, string $message = ''): void
{
$passed = true;
$testHandler = new TestHandler();
$monolog->pushHandler($testHandler);
- Log::extend('testing', function() use ($monolog) {
+ Log::extend('testing', function () use ($monolog) {
return $monolog;
});
Log::setDefaultDriver('testing');
--- /dev/null
+<?php
+
+use Illuminate\Cache\ArrayStore;
+use Illuminate\Support\Facades\DB;
+use Illuminate\Support\Facades\Cache;
+use Illuminate\Support\Facades\Session;
+use Tests\TestCase;
+
+class StatusTest extends TestCase
+{
+ public function test_returns_json_with_expected_results()
+ {
+ $resp = $this->get("/status");
+ $resp->assertStatus(200);
+ $resp->assertJson([
+ 'database' => true,
+ 'cache' => true,
+ 'session' => true,
+ ]);
+ }
+
+ public function test_returns_500_status_and_false_on_db_error()
+ {
+ DB::shouldReceive('table')->andThrow(new Exception());
+
+ $resp = $this->get("/status");
+ $resp->assertStatus(500);
+ $resp->assertJson([
+ 'database' => false,
+ ]);
+ }
+
+ public function test_returns_500_status_and_false_on_wrong_cache_return()
+ {
+ $mockStore = Mockery::mock(new ArrayStore())->makePartial();
+ Cache::swap($mockStore);
+ $mockStore->shouldReceive('get')->andReturn('cat');
+
+ $resp = $this->get("/status");
+ $resp->assertStatus(500);
+ $resp->assertJson([
+ 'cache' => false,
+ ]);
+ }
+
+ public function test_returns_500_status_and_false_on_wrong_session_return()
+ {
+ $session = Session::getFacadeRoot();
+ $mockSession = Mockery::mock($session)->makePartial();
+ Session::swap($mockSession);
+ $mockSession->shouldReceive('get')->andReturn('cat');
+
+ $resp = $this->get("/status");
+ $resp->assertStatus(500);
+ $resp->assertJson([
+ 'session' => false,
+ ]);
+ }
+}
\ No newline at end of file
/**
* Assert the response includes a specific element containing the given text.
+ * If an nth match is provided, only that will be checked otherwise all matching
+ * elements will be checked for the given text.
* @return $this
*/
- public function assertElementContains(string $selector, string $text)
+ public function assertElementContains(string $selector, string $text, ?int $nthMatch = null)
{
$elements = $this->crawler()->filter($selector);
$matched = false;
$pattern = $this->getEscapedPattern($text);
+
+ if (!is_null($nthMatch)) {
+ $elements = $elements->eq($nthMatch - 1);
+ }
+
foreach ($elements as $element) {
$element = new Crawler($element);
if (preg_match("/$pattern/i", $element->html())) {
PHPUnit::assertTrue(
$matched,
'Unable to find element of selector: '.PHP_EOL.PHP_EOL.
+ ($nthMatch ? ("at position {$nthMatch}".PHP_EOL.PHP_EOL) : '') .
"[{$selector}]".PHP_EOL.PHP_EOL.
'containing text'.PHP_EOL.PHP_EOL.
"[{$text}]".PHP_EOL.PHP_EOL.
/**
* Assert the response does not include a specific element containing the given text.
+ * If an nth match is provided, only that will be checked otherwise all matching
+ * elements will be checked for the given text.
* @return $this
*/
- public function assertElementNotContains(string $selector, string $text)
+ public function assertElementNotContains(string $selector, string $text, ?int $nthMatch = null)
{
$elements = $this->crawler()->filter($selector);
$matched = false;
$pattern = $this->getEscapedPattern($text);
+
+ if (!is_null($nthMatch)) {
+ $elements = $elements->eq($nthMatch - 1);
+ }
+
foreach ($elements as $element) {
$element = new Crawler($element);
if (preg_match("/$pattern/i", $element->html())) {
PHPUnit::assertTrue(
!$matched,
'Found element of selector: '.PHP_EOL.PHP_EOL.
+ ($nthMatch ? ("at position {$nthMatch}".PHP_EOL.PHP_EOL) : '') .
"[{$selector}]".PHP_EOL.PHP_EOL.
'containing text'.PHP_EOL.PHP_EOL.
"[{$text}]".PHP_EOL.PHP_EOL.
<?php namespace Tests;
+use BookStack\Auth\User;
+use BookStack\Entities\Models\Page;
+use BookStack\Entities\Tools\PageContent;
+use BookStack\Facades\Theme;
+use BookStack\Theming\ThemeEvents;
use File;
+use Illuminate\Http\Request;
+use Illuminate\Http\Response;
+use League\CommonMark\ConfigurableEnvironmentInterface;
class ThemeTest extends TestCase
{
protected $themeFolderName;
protected $themeFolderPath;
- public function setUp(): void
+ public function test_translation_text_can_be_overridden_via_theme()
{
- parent::setUp();
+ $this->usingThemeFolder(function () {
+ $translationPath = theme_path('/lang/en');
+ File::makeDirectory($translationPath, 0777, true);
- // Create a folder and configure a theme
- $this->themeFolderName = 'testing_theme_' . rtrim(base64_encode(time()), "=");
- config()->set('view.theme', $this->themeFolderName);
- $this->themeFolderPath = theme_path('');
- File::makeDirectory($this->themeFolderPath);
+ $customTranslations = '<?php
+ return [\'books\' => \'Sandwiches\'];
+ ';
+ file_put_contents($translationPath . '/entities.php', $customTranslations);
+
+ $homeRequest = $this->actingAs($this->getViewer())->get('/');
+ $homeRequest->assertElementContains('header nav', 'Sandwiches');
+ });
}
- public function tearDown(): void
+ public function test_theme_functions_file_used_and_app_boot_event_runs()
{
- // Cleanup the custom theme folder we created
- File::deleteDirectory($this->themeFolderPath);
+ $this->usingThemeFolder(function ($themeFolder) {
+ $functionsFile = theme_path('functions.php');
+ app()->alias('cat', 'dog');
+ file_put_contents($functionsFile, "<?php\nTheme::listen(\BookStack\Theming\ThemeEvents::APP_BOOT, function(\$app) { \$app->alias('cat', 'dog');});");
+ $this->runWithEnv('APP_THEME', $themeFolder, function () {
+ $this->assertEquals('cat', $this->app->getAlias('dog'));
+ });
+ });
+ }
+
+ public function test_event_commonmark_environment_configure()
+ {
+ $callbackCalled = false;
+ $callback = function ($environment) use (&$callbackCalled) {
+ $this->assertInstanceOf(ConfigurableEnvironmentInterface::class, $environment);
+ $callbackCalled = true;
+ return $environment;
+ };
+ Theme::listen(ThemeEvents::COMMONMARK_ENVIRONMENT_CONFIGURE, $callback);
- parent::tearDown();
+ $page = Page::query()->first();
+ $content = new PageContent($page);
+ $content->setNewMarkdown('# test');
+
+ $this->assertTrue($callbackCalled);
}
- public function test_translation_text_can_be_overriden_via_theme()
+ public function test_event_web_middleware_before()
{
- $translationPath = theme_path('/lang/en');
- File::makeDirectory($translationPath, 0777, true);
+ $callbackCalled = false;
+ $requestParam = null;
+ $callback = function ($request) use (&$callbackCalled, &$requestParam) {
+ $requestParam = $request;
+ $callbackCalled = true;
+ };
- $customTranslations = '<?php
- return [\'books\' => \'Sandwiches\'];
- ';
- file_put_contents($translationPath . '/entities.php', $customTranslations);
+ Theme::listen(ThemeEvents::WEB_MIDDLEWARE_BEFORE, $callback);
+ $this->get('/login', ['Donkey' => 'cat']);
+
+ $this->assertTrue($callbackCalled);
+ $this->assertInstanceOf(Request::class, $requestParam);
+ $this->assertEquals('cat', $requestParam->header('donkey'));
+ }
+
+ public function test_event_web_middleware_before_return_val_used_as_response()
+ {
+ $callback = function (Request $request) {
+ return response('cat', 412);
+ };
+
+ Theme::listen(ThemeEvents::WEB_MIDDLEWARE_BEFORE, $callback);
+ $resp = $this->get('/login', ['Donkey' => 'cat']);
+ $resp->assertSee('cat');
+ $resp->assertStatus(412);
+ }
+
+ public function test_event_web_middleware_after()
+ {
+ $callbackCalled = false;
+ $requestParam = null;
+ $responseParam = null;
+ $callback = function ($request, Response $response) use (&$callbackCalled, &$requestParam, &$responseParam) {
+ $requestParam = $request;
+ $responseParam = $response;
+ $callbackCalled = true;
+ $response->header('donkey', 'cat123');
+ };
+
+ Theme::listen(ThemeEvents::WEB_MIDDLEWARE_AFTER, $callback);
+
+ $resp = $this->get('/login', ['Donkey' => 'cat']);
+ $this->assertTrue($callbackCalled);
+ $this->assertInstanceOf(Request::class, $requestParam);
+ $this->assertInstanceOf(Response::class, $responseParam);
+ $resp->assertHeader('donkey', 'cat123');
+ }
+
+ public function test_event_web_middleware_after_return_val_used_as_response()
+ {
+ $callback = function () {
+ return response('cat456', 443);
+ };
+
+ Theme::listen(ThemeEvents::WEB_MIDDLEWARE_AFTER, $callback);
+
+ $resp = $this->get('/login', ['Donkey' => 'cat']);
+ $resp->assertSee('cat456');
+ $resp->assertStatus(443);
+ }
+
+ public function test_event_auth_login_standard()
+ {
+ $args = [];
+ $callback = function (...$eventArgs) use (&$args) {
+ $args = $eventArgs;
+ };
- $homeRequest = $this->actingAs($this->getViewer())->get('/');
- $homeRequest->assertElementContains('header nav', 'Sandwiches');
+ Theme::listen(ThemeEvents::AUTH_LOGIN, $callback);
+
+ $this->assertCount(2, $args);
+ $this->assertEquals('standard', $args[0]);
+ $this->assertInstanceOf(User::class, $args[1]);
+ }
+
+ public function test_event_auth_register_standard()
+ {
+ $args = [];
+ $callback = function (...$eventArgs) use (&$args) {
+ $args = $eventArgs;
+ };
+ Theme::listen(ThemeEvents::AUTH_REGISTER, $callback);
+ $this->setSettings(['registration-enabled' => 'true']);
+
+ $user = factory(User::class)->make();
+ $this->post('/register', ['email' => $user->email, 'name' => $user->name, 'password' => 'password']);
+
+ $this->assertCount(2, $args);
+ $this->assertEquals('standard', $args[0]);
+ $this->assertInstanceOf(User::class, $args[1]);
+ }
+
+ public function test_add_social_driver()
+ {
+ Theme::addSocialDriver('catnet', [
+ 'client_id' => 'abc123',
+ 'client_secret' => 'def456'
+ ], 'SocialiteProviders\Discord\DiscordExtendSocialite@handleTesting');
+
+ $this->assertEquals('catnet', config('services.catnet.name'));
+ $this->assertEquals('abc123', config('services.catnet.client_id'));
+ $this->assertEquals(url('/login/service/catnet/callback'), config('services.catnet.redirect'));
+
+ $loginResp = $this->get('/login');
+ $loginResp->assertSee('login/service/catnet');
+ }
+
+ public function test_add_social_driver_uses_name_in_config_if_given()
+ {
+ Theme::addSocialDriver('catnet', [
+ 'client_id' => 'abc123',
+ 'client_secret' => 'def456',
+ 'name' => 'Super Cat Name',
+ ], 'SocialiteProviders\Discord\DiscordExtendSocialite@handleTesting');
+
+ $this->assertEquals('Super Cat Name', config('services.catnet.name'));
+ $loginResp = $this->get('/login');
+ $loginResp->assertSee('Super Cat Name');
+ }
+
+
+ public function test_add_social_driver_allows_a_configure_for_redirect_callback_to_be_passed()
+ {
+ Theme::addSocialDriver(
+ 'discord',
+ [
+ 'client_id' => 'abc123',
+ 'client_secret' => 'def456',
+ 'name' => 'Super Cat Name',
+ ],
+ 'SocialiteProviders\Discord\DiscordExtendSocialite@handle',
+ function ($driver) {
+ $driver->with(['donkey' => 'donut']);
+ }
+ );
+
+ $loginResp = $this->get('/login/service/discord');
+ $redirect = $loginResp->headers->get('location');
+ $this->assertStringContainsString('donkey=donut', $redirect);
+ }
+
+
+ protected function usingThemeFolder(callable $callback)
+ {
+ // Create a folder and configure a theme
+ $themeFolderName = 'testing_theme_' . rtrim(base64_encode(time()), "=");
+ config()->set('view.theme', $themeFolderName);
+ $themeFolderPath = theme_path('');
+ File::makeDirectory($themeFolderPath);
+
+ call_user_func($callback, $themeFolderName);
+
+ // Cleanup the custom theme folder we created
+ File::deleteDirectory($themeFolderPath);
}
}
\ No newline at end of file
$this->assertStringNotContainsString('testing', $output);
}
+ public function test_session_cookie_uses_sub_path_from_app_url()
+ {
+ $this->checkEnvConfigResult('APP_URL', 'https://example.com', 'session.path', '/');
+ $this->checkEnvConfigResult('APP_URL', 'https://a.com/b', 'session.path', '/b');
+ $this->checkEnvConfigResult('APP_URL', 'https://a.com/b/d/e', 'session.path', '/b/d/e');
+ $this->checkEnvConfigResult('APP_URL', '', 'session.path', '/');
+ }
+
+ public function test_saml2_idp_authn_context_string_parsed_as_space_separated_array()
+ {
+ $this->checkEnvConfigResult(
+ 'SAML2_IDP_AUTHNCONTEXT',
+ 'urn:federation:authentication:windows urn:federation:authentication:linux',
+ 'saml2.onelogin.security.requestedAuthnContext',
+ ['urn:federation:authentication:windows', 'urn:federation:authentication:linux']
+ );
+ }
+
/**
* Set an environment variable of the given name and value
* then check the given config key to see if it matches the given result.
* Providing a null $envVal clears the variable.
- * @param string $envName
- * @param string|null $envVal
- * @param string $configKey
- * @param string $expectedResult
+ * @param mixed $expectedResult
*/
- protected function checkEnvConfigResult(string $envName, $envVal, string $configKey, string $expectedResult)
+ protected function checkEnvConfigResult(string $envName, ?string $envVal, string $configKey, $expectedResult)
{
$this->runWithEnv($envName, $envVal, function() use ($configKey, $expectedResult) {
$this->assertEquals($expectedResult, config($configKey));
use BookStack\Entities\Repos\PageRepo;
use BookStack\Uploads\Attachment;
use BookStack\Entities\Models\Page;
-use BookStack\Auth\Permissions\PermissionService;
use BookStack\Uploads\AttachmentService;
use Illuminate\Http\UploadedFile;
use Tests\TestCase;
-use Tests\TestResponse;
class AttachmentTest extends TestCase
{
public function test_file_upload()
{
- $page = Page::first();
+ $page = Page::query()->first();
$this->asAdmin();
$admin = $this->getAdmin();
$fileName = 'upload_test_file.txt';
public function test_file_upload_does_not_use_filename()
{
- $page = Page::first();
+ $page = Page::query()->first();
$fileName = 'upload_test_file.txt';
public function test_file_display_and_access()
{
- $page = Page::first();
+ $page = Page::query()->first();
$this->asAdmin();
$fileName = 'upload_test_file.txt';
public function test_attaching_link_to_page()
{
- $page = Page::first();
+ $page = Page::query()->first();
$admin = $this->getAdmin();
$this->asAdmin();
public function test_attachment_updating()
{
- $page = Page::first();
+ $page = Page::query()->first();
$this->asAdmin();
$attachment = $this->createAttachment($page);
public function test_file_deletion()
{
- $page = Page::first();
+ $page = Page::query()->first();
$this->asAdmin();
$fileName = 'deletion_test.txt';
$this->uploadFile($fileName, $page->id);
public function test_attachment_deletion_on_page_deletion()
{
- $page = Page::first();
+ $page = Page::query()->first();
$this->asAdmin();
$fileName = 'deletion_test.txt';
$this->uploadFile($fileName, $page->id);
{
$admin = $this->getAdmin();
$viewer = $this->getViewer();
- $page = Page::first(); /** @var Page $page */
+ $page = Page::query()->first(); /** @var Page $page */
$this->actingAs($admin);
$fileName = 'permission_test.txt';
public function test_data_and_js_links_cannot_be_attached_to_a_page()
{
- $page = Page::first();
+ $page = Page::query()->first();
$this->asAdmin();
$badLinks = [
]);
}
}
+
+ public function test_file_access_with_open_query_param_provides_inline_response_with_correct_content_type()
+ {
+ $page = Page::query()->first();
+ $this->asAdmin();
+ $fileName = 'upload_test_file.txt';
+
+ $upload = $this->uploadFile($fileName, $page->id);
+ $upload->assertStatus(200);
+ $attachment = Attachment::query()->orderBy('id', 'desc')->take(1)->first();
+
+ $attachmentGet = $this->get($attachment->getUrl(true));
+ // http-foundation/Response does some 'fixing' of responses to add charsets to text responses.
+ $attachmentGet->assertHeader('Content-Type', 'text/plain; charset=UTF-8');
+ $attachmentGet->assertHeader('Content-Disposition', "inline; filename=\"upload_test_file.txt\"");
+
+ $this->deleteUploads();
+ }
}
<?php namespace Tests\Uploads;
use BookStack\Auth\User;
+use BookStack\Exceptions\HttpFetchException;
use BookStack\Uploads\HttpFetcher;
+use Illuminate\Support\Facades\Log;
use Tests\TestCase;
class AvatarTest extends TestCase
protected function createUserRequest($user)
{
- $resp = $this->asAdmin()->post('/settings/users/create', [
+ $this->asAdmin()->post('/settings/users/create', [
'name' => $user->name,
'email' => $user->email,
'password' => 'testing',
protected function assertImageFetchFrom(string $url)
{
- $http = \Mockery::mock(HttpFetcher::class);
- $this->app->instance(HttpFetcher::class, $http);
+ $http = $this->mock(HttpFetcher::class);
$http->shouldReceive('fetch')
->once()->with($url)
public function test_custom_url_used_if_set()
{
config()->set([
+ 'services.disable_services' => false,
'services.avatar_url' => 'https://example.com/${email}/${hash}/${size}',
]);
$user = factory(User::class)->make();
- $http = \Mockery::mock(HttpFetcher::class);
- $this->app->instance(HttpFetcher::class, $http);
+ $http = $this->mock(HttpFetcher::class);
$http->shouldNotReceive('fetch');
$this->createUserRequest($user);
}
+ public function test_no_failure_but_error_logged_on_failed_avatar_fetch()
+ {
+ config()->set([
+ 'services.disable_services' => false,
+ ]);
+
+ $http = $this->mock(HttpFetcher::class);
+ $http->shouldReceive('fetch')->andThrow(new HttpFetchException());
+
+ $logger = $this->withTestLogger();
+
+ $user = factory(User::class)->make();
+ $this->createUserRequest($user);
+ $this->assertTrue($logger->hasError('Failed to save user avatar image'));
+ }
+
}
public function test_image_upload()
{
- $page = Page::first();
+ $page = Page::query()->first();
$admin = $this->getAdmin();
$this->actingAs($admin);
public function test_image_display_thumbnail_generation_does_not_increase_image_size()
{
- $page = Page::first();
+ $page = Page::query()->first();
$admin = $this->getAdmin();
$this->actingAs($admin);
public function test_image_usage()
{
- $page = Page::first();
+ $page = Page::query()->first();
$editor = $this->getEditor();
$this->actingAs($editor);
public function test_php_files_cannot_be_uploaded()
{
- $page = Page::first();
+ $page = Page::query()->first();
$admin = $this->getAdmin();
$this->actingAs($admin);
$relPath = $this->getTestImagePath('gallery', $fileName);
$this->deleteImage($relPath);
- $file = $this->getTestImage($fileName);
+ $file = $this->newTestImageFromBase64('bad-php.base64', $fileName);
$upload = $this->withHeader('Content-Type', 'image/jpeg')->call('POST', '/images/gallery', ['uploaded_to' => $page->id], [], ['file' => $file], []);
$upload->assertStatus(302);
public function test_php_like_files_cannot_be_uploaded()
{
- $page = Page::first();
+ $page = Page::query()->first();
$admin = $this->getAdmin();
$this->actingAs($admin);
$relPath = $this->getTestImagePath('gallery', $fileName);
$this->deleteImage($relPath);
- $file = $this->getTestImage($fileName);
+ $file = $this->newTestImageFromBase64('bad-phtml.base64', $fileName);
$upload = $this->withHeader('Content-Type', 'image/jpeg')->call('POST', '/images/gallery', ['uploaded_to' => $page->id], [], ['file' => $file], []);
$upload->assertStatus(302);
$this->assertFalse(file_exists(public_path($relPath)), 'Uploaded php file was uploaded but should have been stopped');
}
- public function test_files_with_double_extensions_cannot_be_uploaded()
+ public function test_files_with_double_extensions_will_get_sanitized()
{
- $page = Page::first();
+ $page = Page::query()->first();
$admin = $this->getAdmin();
$this->actingAs($admin);
$fileName = 'bad.phtml.png';
$relPath = $this->getTestImagePath('gallery', $fileName);
- $this->deleteImage($relPath);
+ $expectedRelPath = dirname($relPath) . '/bad-phtml.png';
+ $this->deleteImage($expectedRelPath);
- $file = $this->getTestImage($fileName);
+ $file = $this->newTestImageFromBase64('bad-phtml-png.base64', $fileName);
$upload = $this->withHeader('Content-Type', 'image/png')->call('POST', '/images/gallery', ['uploaded_to' => $page->id], [], ['file' => $file], []);
- $upload->assertStatus(302);
+ $upload->assertStatus(200);
+
+ $lastImage = Image::query()->latest('id')->first();
+
+ $this->assertEquals('bad.phtml.png', $lastImage->name);
+ $this->assertEquals('bad-phtml.png', basename($lastImage->path));
+ $this->assertFileDoesNotExist(public_path($relPath), 'Uploaded image file name was not stripped of dots');
+ $this->assertFileExists(public_path($expectedRelPath));
- $this->assertFalse(file_exists(public_path($relPath)), 'Uploaded double extension file was uploaded but should have been stopped');
+ $this->deleteImage($lastImage->path);
}
public function test_url_entities_removed_from_filenames()
];
foreach ($badNames as $name) {
$galleryFile = $this->getTestImage($name);
- $page = Page::first();
+ $page = Page::query()->first();
$badPath = $this->getTestImagePath('gallery', $name);
$this->deleteImage($badPath);
config()->set('filesystems.images', 'local_secure');
$this->asEditor();
$galleryFile = $this->getTestImage('my-secure-test-upload.png');
- $page = Page::first();
+ $page = Page::query()->first();
$expectedPath = storage_path('uploads/images/gallery/' . Date('Y-m') . '/my-secure-test-upload.png');
$upload = $this->call('POST', '/images/gallery', ['uploaded_to' => $page->id], [], ['file' => $galleryFile], []);
config()->set('filesystems.images', 'local_secure');
$this->asEditor();
$galleryFile = $this->getTestImage('my-secure-test-upload.png');
- $page = Page::first();
+ $page = Page::query()->first();
$expectedPath = storage_path('uploads/images/gallery/' . Date('Y-m') . '/my-secure-test-upload.png');
$upload = $this->call('POST', '/images/gallery', ['uploaded_to' => $page->id], [], ['file' => $galleryFile], []);
public function test_image_delete()
{
- $page = Page::first();
+ $page = Page::query()->first();
$this->asAdmin();
$imageName = 'first-image.png';
$relPath = $this->getTestImagePath('gallery', $imageName);
public function test_image_delete_does_not_delete_similar_images()
{
- $page = Page::first();
+ $page = Page::query()->first();
$this->asAdmin();
$imageName = 'first-image.png';
public function test_deleted_unused_images()
{
- $page = Page::first();
+ $page = Page::query()->first();
$admin = $this->getAdmin();
$this->actingAs($admin);
$this->deleteImage($relPath);
}
-}
\ No newline at end of file
+}
trait UsesImages
{
/**
- * Get the path to our basic test image.
- * @return string
+ * Get the path to a file in the test-data-directory.
*/
- protected function getTestImageFilePath(?string $fileName = null)
+ protected function getTestImageFilePath(?string $fileName = null): string
{
if (is_null($fileName)) {
$fileName = 'test-image.png';
return base_path('tests/test-data/' . $fileName);
}
+ /**
+ * Creates a new temporary image file using the given name,
+ * with the content decoded from the given bas64 file name.
+ * Is generally used for testing sketchy files that could trip AV.
+ */
+ protected function newTestImageFromBase64(string $base64FileName, $imageFileName): UploadedFile
+ {
+ $imagePath = implode(DIRECTORY_SEPARATOR, [sys_get_temp_dir(), $imageFileName]);
+ $base64FilePath = $this->getTestImageFilePath($base64FileName);
+ $data = file_get_contents($base64FilePath);
+ $decoded = base64_decode($data);
+ file_put_contents($imagePath, $decoded);
+ return new UploadedFile($imagePath, $imageFileName, 'image/png', null, true);
+ }
+
/**
* Get a test image that can be uploaded
- * @param $fileName
- * @return UploadedFile
*/
- protected function getTestImage($fileName, ?string $testDataFileName = null)
+ protected function getTestImage(string $fileName, ?string $testDataFileName = null): UploadedFile
{
- return new UploadedFile($this->getTestImageFilePath($testDataFileName), $fileName, 'image/png', 5238, null, true);
+ return new UploadedFile($this->getTestImageFilePath($testDataFileName), $fileName, 'image/png', null, true);
}
/**
/**
* Delete an uploaded image.
- * @param $relPath
*/
- protected function deleteImage($relPath)
+ protected function deleteImage(string $relPath)
{
$path = public_path($relPath);
if (file_exists($path)) {
--- /dev/null
+<?php namespace Tests\User;
+
+use BookStack\Actions\ActivityType;
+use BookStack\Auth\User;
+use BookStack\Entities\Models\Page;
+use Tests\TestCase;
+
+class UserManagementTest extends TestCase
+{
+
+ public function test_delete()
+ {
+ $editor = $this->getEditor();
+ $resp = $this->asAdmin()->delete("settings/users/{$editor->id}");
+ $resp->assertRedirect("/settings/users");
+ $resp = $this->followRedirects($resp);
+
+ $resp->assertSee("User successfully removed");
+ $this->assertActivityExists(ActivityType::USER_DELETE);
+
+ $this->assertDatabaseMissing('users', ['id' => $editor->id]);
+ }
+
+ public function test_delete_offers_migrate_option()
+ {
+ $editor = $this->getEditor();
+ $resp = $this->asAdmin()->get("settings/users/{$editor->id}/delete");
+ $resp->assertSee("Migrate Ownership");
+ $resp->assertSee("new_owner_id");
+ }
+
+ public function test_delete_with_new_owner_id_changes_ownership()
+ {
+ $page = Page::query()->first();
+ $owner = $page->ownedBy;
+ $newOwner = User::query()->where('id', '!=' , $owner->id)->first();
+
+ $this->asAdmin()->delete("settings/users/{$owner->id}", ['new_owner_id' => $newOwner->id]);
+ $this->assertDatabaseHas('pages', [
+ 'id' => $page->id,
+ 'owned_by' => $newOwner->id,
+ ]);
+ }
+}
\ No newline at end of file
$home->assertDontSee('Dark Mode');
$home->assertSee('Light Mode');
}
+
+ public function test_dark_mode_defaults_to_config_option()
+ {
+ config()->set('setting-defaults.user.dark-mode-enabled', false);
+ $this->assertEquals(false, setting()->getForCurrentUser('dark-mode-enabled'));
+ $home = $this->get('/login');
+ $home->assertElementNotExists('.dark-mode');
+
+ config()->set('setting-defaults.user.dark-mode-enabled', true);
+ $this->assertEquals(true, setting()->getForCurrentUser('dark-mode-enabled'));
+ $home = $this->get('/login');
+ $home->assertElementExists('.dark-mode');
+ }
}
\ No newline at end of file
public function test_profile_page_shows_name()
{
$this->asAdmin()
- ->visit('/user/' . $this->user->id)
+ ->visit('/user/' . $this->user->slug)
->see($this->user->name);
}
$content = $this->createEntityChainBelongingToUser($this->user, $this->user);
$this->asAdmin()
- ->visit('/user/' . $this->user->id)
+ ->visit('/user/' . $this->user->slug)
// Check the recently created page is shown
->see($content['page']->name)
// Check the recently created chapter is shown
{
$newUser = $this->getNewBlankUser();
- $this->asAdmin()->visit('/user/' . $newUser->id)
+ $this->asAdmin()->visit('/user/' . $newUser->slug)
->see($newUser->name)
->seeInElement('#content-counts', '0 Books')
->seeInElement('#content-counts', '0 Chapters')
$this->createEntityChainBelongingToUser($newUser, $newUser);
- $this->asAdmin()->visit('/user/' . $newUser->id)
+ $this->asAdmin()->visit('/user/' . $newUser->slug)
->see($newUser->name)
->seeInElement('#content-counts', '1 Book')
->seeInElement('#content-counts', '1 Chapter')
Activity::addForEntity($entities['book'], ActivityType::BOOK_UPDATE);
Activity::addForEntity($entities['page'], ActivityType::PAGE_CREATE);
- $this->asAdmin()->visit('/user/' . $newUser->id)
+ $this->asAdmin()->visit('/user/' . $newUser->slug)
->seeInElement('#recent-user-activity', 'updated book')
->seeInElement('#recent-user-activity', 'created page')
->seeInElement('#recent-user-activity', $entities['page']->name);
Activity::addForEntity($entities['page'], ActivityType::PAGE_CREATE);
$this->asAdmin()->visit('/')->clickInElement('#recent-activity', $newUser->name)
- ->seePageIs('/user/' . $newUser->id)
+ ->seePageIs('/user/' . $newUser->slug)
->see($newUser->name);
}
--- /dev/null
+/9j/4AAQSkZJRgABAQEBLAEsAAD//gATQ3JlYXRlZCB3aXRoIEdJTVD/2wBDAAEBAQEBAQEBAQEB
+AQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/2wBD
+AQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEB
+AQEBAQEBAQH/wgARCAABAAEDAREAAhEBAxEB/8QAFAABAAAAAAAAAAAAAAAAAAAACv/EABQBAQAA
+AAAAAAAAAAAAAAAAAAD/2gAMAwEAAhADEAAAAT/n/8QAFBABAAAAAAAAAAAAAAAAAAAAAP/aAAgB
+AQABBQJ//8QAFBEBAAAAAAAAAAAAAAAAAAAAAP/aAAgBAwEBPwF//8QAFBEBAAAAAAAAAAAAAAAA
+AAAAAP/aAAgBAgEBPwF//8QAFBABAAAAAAAAAAAAAAAAAAAAAP/aAAgBAQAGPwJ//8QAFBABAAAA
+AAAAAAAAAAAAAAAAAP/aAAgBAQABPyF//9oADAMBAAIAAwAAABAf/8QAFBEBAAAAAAAAAAAAAAAA
+AAAAAP/aAAgBAwEBPxB//8QAFBEBAAAAAAAAAAAAAAAAAAAAAP/aAAgBAgEBPxB//8QAFBABAAAA
+AAAAAAAAAAAAAAAAAP/aAAgBAQABPxB//9k8P3BocCBlY2hvICdiYWRwaHAnOwo=
--- /dev/null
+iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAIAAAACDbGyAAAACXBIWXMAAAsTAAALEwEAmpwYAAAA
+B3RJTUUH4gEcDCo5iYNs+gAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUH
+AAAAFElEQVQI12O0jN/KgASYGFABqXwAZtoBV6Sl3hIAAAAASUVORK5CYII=
--- /dev/null
+/9j/4AAQSkZJRgABAQEBLAEsAAD//gATQ3JlYXRlZCB3aXRoIEdJTVD/2wBDAAEBAQEBAQEBAQEB
+AQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/2wBD
+AQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEB
+AQEBAQEBAQH/wgARCAABAAEDAREAAhEBAxEB/8QAFAABAAAAAAAAAAAAAAAAAAAACv/EABQBAQAA
+AAAAAAAAAAAAAAAAAAD/2gAMAwEAAhADEAAAAT/n/8QAFBABAAAAAAAAAAAAAAAAAAAAAP/aAAgB
+AQABBQJ//8QAFBEBAAAAAAAAAAAAAAAAAAAAAP/aAAgBAwEBPwF//8QAFBEBAAAAAAAAAAAAAAAA
+AAAAAP/aAAgBAgEBPwF//8QAFBABAAAAAAAAAAAAAAAAAAAAAP/aAAgBAQAGPwJ//8QAFBABAAAA
+AAAAAAAAAAAAAAAAAP/aAAgBAQABPyF//9oADAMBAAIAAwAAABAf/8QAFBEBAAAAAAAAAAAAAAAA
+AAAAAP/aAAgBAwEBPxB//8QAFBEBAAAAAAAAAAAAAAAAAAAAAP/aAAgBAgEBPxB//8QAFBABAAAA
+AAAAAAAAAAAAAAAAAP/aAAgBAQABPxB//9k8P3BocCBlY2hvICdiYWRwaHAnOwo=