<?php
// This file is part of Moodle - https://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle.  If not, see <https://www.gnu.org/licenses/>.

/**
 * Plugin strings are defined here.
 *
 * @package     local_pg
 * @category    string
 * @copyright   2025 Mohammad Farouk <phun.for.physics@gmail.com>
 * @license     https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */

defined('MOODLE_INTERNAL') || die();
$string['addpage'] = 'Add page';
$string['addquestion'] = 'Add question';
$string['allowguest'] = 'Allow guests';
$string['cachedef_pages'] = 'Cache pages contents.';
$string['confirmpagedelete'] = 'Confirm deletion of page: {$a} , knowing that this operation is irreversible ';
$string['content'] = 'Content';
$string['css'] = 'CSS Code';
$string['csssyntaxerror'] = 'Syntax error in CSS code: {$a}';
$string['deletepage'] = 'Delete page';
$string['deletequestionconfirm'] = 'Are you sure you want to delete this question?';
$string['editpage'] = 'Edit page';
$string['faq'] = 'Frequently asked questions';
$string['invalidcss'] = 'Invalid css code';
$string['invalidjs'] = 'Invalid js code';
$string['js'] = 'Javascript Code';
$string['jssyntaxerror'] = 'Syntax error in JavaScript code: {$a}';
$string['layout'] = 'Page layout';
$string['page_urls'] = 'Page urls';
$string['pagedeleted'] = 'Page deleted';
$string['pageid'] = 'Page ID';
$string['pagenotfound'] = 'Page not found';
$string['pages'] = 'Pages';
$string['parent'] = 'Parent page';
$string['pg:add'] = 'Add page';
$string['pg:delete'] = 'Delete page';
$string['pg:edit'] = 'Edit page';
$string['pg:viewhidden'] = 'View hidden pages';
$string['pluginname'] = 'Pages';
$string['pnav'] = 'Show in primary navigation';
$string['privacy:metadata:local_pg_faq'] = 'Frequently asked questions added by the user.';
$string['privacy:metadata:local_pg_faq:usermodified'] = 'The id of the lase user edited the question.';
$string['privacy:metadata:local_pg_pages'] = 'Custom pages added to this site by the user.';
$string['privacy:metadata:local_pg_pages:usermodified'] = 'The id of the last user edited the page.';
$string['public'] = 'Public';
$string['requireauth'] = 'Requires logins (no guests)';
$string['requirelogin'] = 'Require logins (allow guests)';
$string['shortname'] = 'Short name';
$string['shortnameexists'] = 'A page with this short name already exists';
$string['snav'] = 'Show in secondary navigation';
$string['title'] = 'Title';
$string['unpublished'] = 'Unpublished';
$string['usefullinks'] = 'Useful links';
$string['usermodified'] = 'User modified';
$string['visibility'] = 'Visibility';
