Skip to content

Commit

Permalink
release 4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rohit1290 committed Nov 15, 2021
1 parent 7afde89 commit 3a3b354
Show file tree
Hide file tree
Showing 13 changed files with 132 additions and 383 deletions.
17 changes: 17 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "auto_sitemap",
"description": "Create a dynamic sitemap.xml file based on elgg public entities",
"type": "elgg-plugin",
"keywords": ["elgg", "plugin", "tools"],
"license": "GPL-2.0",
"support": {
"source": "https://github.com/rohit1290/auto_sitemap",
"issues": "https://github.com/rohit1290/auto_sitemap/issues"
},
"require": {
"composer/installers": "^1.0.8"
},
"conflict": {
"elgg/elgg": "<3.3"
}
}
7 changes: 6 additions & 1 deletion elgg-plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,14 @@
require_once(__DIR__ . '/lib/functions.php');

return [
'plugin' => [
'name' => 'Auto Sitemap',
'version' => '4.0',
'dependencies' => [],
],
'routes' => [
'collection:object:auto_sitemap' => [
'path' => 'auto_sitemap/{type}',
'path' => 'auto_sitemap/{type}/{page}',
'resource' => 'auto_sitemap/default',
],
'auto_sitemap:object:xmlview' => [
Expand Down
19 changes: 8 additions & 11 deletions languages/en.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
return array(
'auto_sitemap:sitemap' => 'Sitemap',
return [
'auto_sitemap:sitemap' => 'Sitemap',
'auto_sitemap:sitemap-learn-more' => 'If you want to learn more about sitemaps visit: ',

'auto_sitemap:entity-urls:title' =>'Entity URLs',
Expand All @@ -17,7 +17,7 @@
'auto_sitemap:schema:description' => 'For the time being there is only implemented version 0.9 of sitemaps.org.',
'auto_sitemap:main_url:title' => 'Main URL of the site',

/* Opciones dropdown*/
/* Options dropdown*/
'auto_sitemap:updatefreq:disabled' => 'disabled (Skip this value)',
'auto_sitemap:updatefreq:always' => 'continuously (always)',
'auto_sitemap:updatefreq:hourly' => 'every hour (hourly)',
Expand All @@ -31,17 +31,14 @@
'auto_sitemap:changefreq_url:description' => 'Each URL in one line',
'auto_sitemap:other_entities:description' => 'Choose other entities to include in the sitemap',
'auto_sitemap:module:active:entity' => 'Add %s to sitemap? ',
'auto_sitemap:entity:user:title' => 'user profiles',
'auto_sitemap:entity:group:title' => 'groups profiles',
'auto_sitemap:entity:blog:title' => 'blog posts',
'auto_sitemap:entity:file:title' => 'uploaded files',
'auto_sitemap:entity:event:title' => 'events from event_calendar',
'auto_sitemap:entity:otros:title' => 'other entities',


'collection:object:user' => "Users",
'collection:object:group' => "Groups",

'option:yes' => 'Yes',
'option:no' => 'No',

'auto_sitemap:priority:none' => 'None',
'auto_sitemap:changefreq:description' => 'Choose a value for the changefreq atribute',
'auto_sitemap:priority:description' => 'Choose a priority for this URLs',
);
];
48 changes: 0 additions & 48 deletions languages/es.php

This file was deleted.

57 changes: 0 additions & 57 deletions languages/fr.php

This file was deleted.

Loading

0 comments on commit 3a3b354

Please sign in to comment.