German translations for demohub
This commit is contained in:
parent
06d2d31777
commit
394352d882
@ -1,11 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace Zotlabs\Module;
|
namespace Zotlabs\Module;
|
||||||
|
|
||||||
require_once('include/channel.php');
|
require_once('include/channel.php');
|
||||||
require_once('include/conversation.php');
|
require_once('include/conversation.php');
|
||||||
require_once('include/acl_selectors.php');
|
require_once('include/acl_selectors.php');
|
||||||
|
|
||||||
|
|
||||||
class Webpages extends \Zotlabs\Web\Controller {
|
class Webpages extends \Zotlabs\Web\Controller {
|
||||||
|
|
||||||
function init() {
|
function init() {
|
||||||
@ -23,8 +23,10 @@ class Webpages extends \Zotlabs\Web\Controller {
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
profile_load($which);
|
profile_load($which);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function get() {
|
function get() {
|
||||||
|
|
||||||
if(! \App::$profile) {
|
if(! \App::$profile) {
|
||||||
@ -98,7 +100,8 @@ class Webpages extends \Zotlabs\Web\Controller {
|
|||||||
|
|
||||||
if(! $owner) {
|
if(! $owner) {
|
||||||
// Figure out who the page owner is.
|
// Figure out who the page owner is.
|
||||||
$r = q("select channel_id from channel where channel_address = '%s'", dbesc($which)
|
$r = q("select channel_id from channel where channel_address = '%s'",
|
||||||
|
dbesc($which)
|
||||||
);
|
);
|
||||||
if($r) {
|
if($r) {
|
||||||
$owner = intval($r[0]['channel_id']);
|
$owner = intval($r[0]['channel_id']);
|
||||||
@ -132,7 +135,8 @@ class Webpages extends \Zotlabs\Web\Controller {
|
|||||||
'deny_cid' => $channel['channel_deny_cid'],
|
'deny_cid' => $channel['channel_deny_cid'],
|
||||||
'deny_gid' => $channel['channel_deny_gid']
|
'deny_gid' => $channel['channel_deny_gid']
|
||||||
);
|
);
|
||||||
} else {
|
}
|
||||||
|
else {
|
||||||
$channel_acl = [ 'allow_cid' => '', 'allow_gid' => '', 'deny_cid' => '', 'deny_gid' => '' ];
|
$channel_acl = [ 'allow_cid' => '', 'allow_gid' => '', 'deny_cid' => '', 'deny_gid' => '' ];
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -176,12 +180,15 @@ class Webpages extends \Zotlabs\Web\Controller {
|
|||||||
|
|
||||||
|
|
||||||
/** @TODO - this should be replaced with pagelist_widget */
|
/** @TODO - this should be replaced with pagelist_widget */
|
||||||
|
|
||||||
$sql_extra = item_permissions_sql($owner);
|
$sql_extra = item_permissions_sql($owner);
|
||||||
|
|
||||||
|
|
||||||
$r = q("select * from iconfig left join item on iconfig.iid = item.id
|
$r = q("select * from iconfig left join item on iconfig.iid = item.id
|
||||||
where item.uid = %d and iconfig.cat = 'system' and iconfig.k = 'WEBPAGE' and item_type = %d
|
where item.uid = %d and iconfig.cat = 'system' and iconfig.k = 'WEBPAGE' and item_type = %d
|
||||||
$sql_extra order by item.created desc", intval($owner), intval(ITEM_TYPE_WEBPAGE)
|
$sql_extra order by item.created desc",
|
||||||
|
intval($owner),
|
||||||
|
intval(ITEM_TYPE_WEBPAGE)
|
||||||
);
|
);
|
||||||
|
|
||||||
// $r = q("select * from item_id left join item on item_id.iid = item.id
|
// $r = q("select * from item_id left join item on item_id.iid = item.id
|
||||||
@ -302,6 +309,7 @@ class Webpages extends \Zotlabs\Web\Controller {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
$cloud = true;
|
$cloud = true;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// If the website files were uploaded or specified in the cloud files, then $cloud
|
// If the website files were uploaded or specified in the cloud files, then $cloud
|
||||||
@ -327,6 +335,7 @@ class Webpages extends \Zotlabs\Web\Controller {
|
|||||||
notice( t('No webpage elements detected.') . EOL);
|
notice( t('No webpage elements detected.') . EOL);
|
||||||
$_SESSION['action'] = null;
|
$_SESSION['action'] = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// If the website elements were imported from a zip file, delete the temporary decompressed files
|
// If the website elements were imported from a zip file, delete the temporary decompressed files
|
||||||
@ -343,6 +352,7 @@ class Webpages extends \Zotlabs\Web\Controller {
|
|||||||
|
|
||||||
// Import layout first so that pages that reference new layouts will find
|
// Import layout first so that pages that reference new layouts will find
|
||||||
// the mid of layout items in the database
|
// the mid of layout items in the database
|
||||||
|
|
||||||
// Obtain the user-selected layouts to import and import them
|
// Obtain the user-selected layouts to import and import them
|
||||||
$checkedlayouts = $_POST['layout'];
|
$checkedlayouts = $_POST['layout'];
|
||||||
$layouts = [];
|
$layouts = [];
|
||||||
@ -416,6 +426,7 @@ class Webpages extends \Zotlabs\Web\Controller {
|
|||||||
$filename = 'website.zip';
|
$filename = 'website.zip';
|
||||||
}
|
}
|
||||||
$_SESSION['zipfilename'] = $filename;
|
$_SESSION['zipfilename'] = $filename;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
@ -451,7 +462,9 @@ class Webpages extends \Zotlabs\Web\Controller {
|
|||||||
foreach ($checkedblocks as $mid) {
|
foreach ($checkedblocks as $mid) {
|
||||||
$b = q("select iconfig.v, iconfig.k, mimetype, title, body from iconfig
|
$b = q("select iconfig.v, iconfig.k, mimetype, title, body from iconfig
|
||||||
left join item on item.id = iconfig.iid
|
left join item on item.id = iconfig.iid
|
||||||
where mid = '%s' and item.uid = %d and iconfig.cat = 'system' and iconfig.k = 'BUILDBLOCK' order by iconfig.v asc limit 1", dbesc($mid), intval($channel['channel_id'])
|
where mid = '%s' and item.uid = %d and iconfig.cat = 'system' and iconfig.k = 'BUILDBLOCK' order by iconfig.v asc limit 1",
|
||||||
|
dbesc($mid),
|
||||||
|
intval($channel['channel_id'])
|
||||||
);
|
);
|
||||||
if($b) {
|
if($b) {
|
||||||
$b = $b[0];
|
$b = $b[0];
|
||||||
@ -507,7 +520,9 @@ class Webpages extends \Zotlabs\Web\Controller {
|
|||||||
foreach ($checkedlayouts as $mid) {
|
foreach ($checkedlayouts as $mid) {
|
||||||
$l = q("select iconfig.v, iconfig.k, mimetype, title, body from iconfig
|
$l = q("select iconfig.v, iconfig.k, mimetype, title, body from iconfig
|
||||||
left join item on item.id = iconfig.iid
|
left join item on item.id = iconfig.iid
|
||||||
where mid = '%s' and item.uid = %d and iconfig.cat = 'system' and iconfig.k = 'PDL' order by iconfig.v asc limit 1", dbesc($mid), intval($channel['channel_id'])
|
where mid = '%s' and item.uid = %d and iconfig.cat = 'system' and iconfig.k = 'PDL' order by iconfig.v asc limit 1",
|
||||||
|
dbesc($mid),
|
||||||
|
intval($channel['channel_id'])
|
||||||
);
|
);
|
||||||
if($l) {
|
if($l) {
|
||||||
$l = $l[0];
|
$l = $l[0];
|
||||||
@ -549,7 +564,10 @@ class Webpages extends \Zotlabs\Web\Controller {
|
|||||||
foreach ($checkedpages as $mid) {
|
foreach ($checkedpages as $mid) {
|
||||||
|
|
||||||
$p = q("select * from iconfig left join item on iconfig.iid = item.id
|
$p = q("select * from iconfig left join item on iconfig.iid = item.id
|
||||||
where item.uid = %d and item.mid = '%s' and iconfig.cat = 'system' and iconfig.k = 'WEBPAGE' and item_type = %d", intval($channel['channel_id']), dbesc($mid), intval(ITEM_TYPE_WEBPAGE)
|
where item.uid = %d and item.mid = '%s' and iconfig.cat = 'system' and iconfig.k = 'WEBPAGE' and item_type = %d",
|
||||||
|
intval($channel['channel_id']),
|
||||||
|
dbesc($mid),
|
||||||
|
intval(ITEM_TYPE_WEBPAGE)
|
||||||
);
|
);
|
||||||
|
|
||||||
if($p) {
|
if($p) {
|
||||||
@ -559,7 +577,9 @@ class Webpages extends \Zotlabs\Web\Controller {
|
|||||||
if($pp['layout_mid']) {
|
if($pp['layout_mid']) {
|
||||||
$l = q("select iconfig.v, iconfig.k, mimetype, title, body from iconfig
|
$l = q("select iconfig.v, iconfig.k, mimetype, title, body from iconfig
|
||||||
left join item on item.id = iconfig.iid
|
left join item on item.id = iconfig.iid
|
||||||
where mid = '%s' and item.uid = %d and iconfig.cat = 'system' and iconfig.k = 'PDL' order by iconfig.v asc limit 1", dbesc($pp['layout_mid']), intval($channel['channel_id'])
|
where mid = '%s' and item.uid = %d and iconfig.cat = 'system' and iconfig.k = 'PDL' order by iconfig.v asc limit 1",
|
||||||
|
dbesc($pp['layout_mid']),
|
||||||
|
intval($channel['channel_id'])
|
||||||
);
|
);
|
||||||
if($l) {
|
if($l) {
|
||||||
$l = $l[0];
|
$l = $l[0];
|
||||||
@ -673,14 +693,15 @@ class Webpages extends \Zotlabs\Web\Controller {
|
|||||||
logger('Error exporting webpage elements', LOGGER_NORMAL);
|
logger('Error exporting webpage elements', LOGGER_NORMAL);
|
||||||
}
|
}
|
||||||
|
|
||||||
rrmdir($zip_folderpath);
|
rrmdir($zip_folderpath); rrmdir($tmp_folderpath); // delete temporary files
|
||||||
rrmdir($tmp_folderpath); // delete temporary files
|
|
||||||
|
|
||||||
break;
|
break;
|
||||||
default :
|
default :
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -13751,3 +13751,19 @@ msgstr "Cron-Aufgaben laufen nicht."
|
|||||||
#, php-format
|
#, php-format
|
||||||
msgid "[hubzilla] Cron tasks not running on %s"
|
msgid "[hubzilla] Cron tasks not running on %s"
|
||||||
msgstr "[hubzilla] Cron-Aufgaben für %s laufen nicht"
|
msgstr "[hubzilla] Cron-Aufgaben für %s laufen nicht"
|
||||||
|
|
||||||
|
#: ../../addon/demohub/demohub.php:41
|
||||||
|
msgid "Welcome to the Hubzilla demo hub!"
|
||||||
|
msgstr "Willkommen auf dem Hubzilla demo Hub!"
|
||||||
|
|
||||||
|
#: ../../addon/demohub/demohub.php:42
|
||||||
|
msgid "This demo hub is designed to give you a chance to explore some of the features offered by the Hubzilla platform. The activities of the fictional characters illustrate only a few of the ways communities can use Hubzilla to collaborate and connect."
|
||||||
|
msgstr "Dieser demo Hub (Hubzilla-Knoten) ist konzipiert, um Ihnen eine Chance zu geben, einige Features der Hubzilla-Platform kennenzulernen. Die fiktive Aktivitäten illustrieren nur einige von vielen Möglichkeiten, die den Communities für die Kommunikation und Zusammenarbeit im Hubzilla-Netzwerk zur Verfügung stehen."
|
||||||
|
|
||||||
|
#: ../../addon/demohub/demohub.php:45
|
||||||
|
msgid "To really grasp what Hubzilla is offering in terms of nomadic identity and decentralized access control, you have to try it for yourself. Run your own hub or register on an open hub. You can always clone your channels and migrate to another hub later. With Hubzilla, <i>you</i> not only own your <b>data</b>, but your <b>identity</b> as well!</p><p>The demo resets every ten minutes, which may interrupt your session. Simply reload the page as necessary. You can return to this dialog using the blue info button in the navbar."
|
||||||
|
msgstr "Sie können selbst in der Praxis testen, welche Möglichkeiten Ihnen im Hubzilla-Netzwerk mit Nomadic Identity und mit dem dezentralen Zugang. Richten Sie einen eigenen Hubzilla-Knoten ein oder registrieren Sie sich auf einem offenen Hub. Sie können dann Ihren Kanal klonen oder mit diesem Kanal auf einen anderen Hub umziehen. Mit Hubzilla kontrollieren Sie Ihre Daten, aber auch Ihre Identität!</p><p>Die Demoinstanz wird im 10-Minuten-Takt zurückgesetzt, wobei Ihre Hubzilla-Sitzung evtl. unterbrochen wird. Laden Sie die Website #^https://demo.hubzilla.org/ einfach neu, um fortzufahren. Sie können dieses Dialog-Fenster mit einem Klick auf das blaue [i]-Symbol rechts oben in der Navigationsleiste."
|
||||||
|
|
||||||
|
#: ../../addon/demohub/demohub.php:52
|
||||||
|
msgid "Explore"
|
||||||
|
msgstr "Erforschen"
|
Reference in New Issue
Block a user