-1.x - The Ceremonial Chambers
+1.7 - The Ceremonial Chambers yyyy-mm-dd
* Added i18n. Please read the upgrade file for more information. English and german are available
* Added group infos to profile view.
* Added compact theme. Based on default, but with less space.
-1.x - The Ceremonial Chambers
+1.7 - The Ceremonial Chambers
global.user = "Benutzer"
global.username = "Benutzername"
global.view = "Anzeigen"
+global.writeenter = "Eingeben und mit Enter hinzufügen"
advsearch.explain.fields = "Verfügbare Felder in <b>%s</b> sind:"
advsearch.headline.syntax = "Syntax"
menu.manage.add = reuse.global.add
menu.manage.collections = reuse.global.collections
menu.manage.groups = "Gruppen"
-menu.manage.profile = "Profile"
+menu.manage.profile = "Profil"
menu.manage.tags = reuse.global.tags
menu.manage.users = "Benutzer"
menu.search = reuse.global.search
global.user = "User"
global.username = "Username"
global.view = "View"
+global.writeenter = "Input and press enter to add"
advsearch.explain.fields = "Available fields in <b>%s</b> are:"
advsearch.headline.syntax = "Syntax"
if(!empty($TemplateData['simpleSearchFields'])) {
foreach($TemplateData['simpleSearchFields'] as $k=>$v) {
?>
- <option value="<?php echo $k; ?>" <?php if(isset($v['selected'])) echo 'selected' ?> ><?php echo $v['displayname']; ?></option>
+ <option value="<?php echo $k; ?>" <?php if(isset($v['selected'])) echo 'selected' ?> ><?php echo $I18n->t($v['displayname']); ?></option>
<?php
}
}
<div id="collectionFields">
<?php foreach($TemplateData['existingFields'] as $k=>$v) { ?>
<div class="sortitem" data-field-id="<?php echo $k; ?>">
- <?php echo $v['displayname']; ?> (<?php echo $v['type'],'; ',$v['identifier']; ?>)
+ <?php echo $I18n->t($v['displayname']); ?> (<?php echo $v['type'],'; ',$v['identifier']; ?>)
</div>
<?php } ?>
</div>
<div id="availableFields">
<?php foreach($TemplateData['availableFields'] as $k=>$v) { ?>
<div class="sortitem" data-field-id="<?php echo $k; ?>">
- <?php echo $v['displayname']; ?> (<?php echo $v['type'],'; ',$v['identifier']; ?>)
+ <?php echo $I18n->t($v['displayname']); ?> (<?php echo $v['type'],'; ',$v['identifier']; ?>)
</div>
<?php } ?>
</div>
<?php foreach($TemplateData['simpleSearchFields'] as $k=>$v) { ?>
<option value="<?php echo $v['identifier']; ?>"
<?php echo ($TemplateData['editData']['defaultSearchField'] ?? '') == $v['identifier'] ? 'selected' : ''; ?>
- ><?php echo $v['displayname']; ?> (<?php echo $v['type']; ?>)</option>
+ ><?php echo $I18n->t($v['displayname']); ?> (<?php echo $v['type']; ?>)</option>
<?php } ?>
</select>
</div>
<?php foreach($TemplateData['simpleSearchFields'] as $k=>$v) { ?>
<option value="<?php echo $v['identifier']; ?>"
<?php echo ($TemplateData['editData']['defaultSortField'] ?? '') == $v['identifier'] ? 'selected' : ''; ?>
- ><?php echo $v['displayname']; ?> (<?php echo $v['type']; ?>)</option>
+ ><?php echo $I18n->t($v['displayname']); ?> (<?php echo $v['type']; ?>)</option>
<?php } ?>
</select>
</div>
<?php foreach($TemplateData['existingFields'] as $k=>$v) { ?>
<option value="<?php echo $v['id']; ?>"
<?php if(isset($TemplateData['editData']['advancedSearchTableFields'][$v['id']])) echo 'selected'; ?>
- ><?php echo $v['displayname']; ?> (<?php echo $v['type']; ?>)</option>
+ ><?php echo $I18n->t($v['displayname']); ?> (<?php echo $v['type']; ?>)</option>
<?php } ?>
</select>
</div>
<tbody>
<?php foreach($TemplateData['tags'] as $k=>$v) { ?>
<tr>
- <td><?php echo $v['displayname']; ?></td>
+ <td><?php echo $I18n->t($v['displayname']); ?></td>
<td>
<select name="fdata[<?php echo $v['id']; ?>][use]">
<option value="">Please select</option>
<td><?php echo $TemplateData['overallTableSize']; ?></td>
</tr>
<tr>
- <td>Storage usage</td>
+ <td><?php echo $I18n->t('sysinfo.th.diskusage'); ?></td>
<td><?php echo $TemplateData['overallStorageSize']; ?></td>
</tr>
</tbody>
/**
* Bibliotheca
*
- * Copyright 2018-2023 Johannes Keßler
+ * Copyright 2018-2024 Johannes Keßler
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
/**
* Bibliotheca
*
- * Copyright 2018-2023 Johannes Keßler
+ * Copyright 2018-2024 Johannes Keßler
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
<h3><?php echo $I18n->t('tags.headline.tagsfor'); ?> <a href="index.php?p=collections&collection=<?php echo $TemplateData['loadedCollection']['id'] ?? ''; ?>"><?php echo $TemplateData['loadedCollection']['name'] ?? ''; ?></a></h3>
<?php foreach($TemplateData['tags'] as $k=>$v) { ?>
- <h4><?php echo $v['displayname']; ?></h4>
+ <h4><?php echo $I18n->t($v['displayname']); ?></h4>
<p>
<?php foreach($v['entries'] as $ek=>$ev) { ?>
<a href="index.php?p=collections&collection=<?php echo $TemplateData['loadedCollection']['id']; ?>&fid=<?php echo $v['identifier']; ?>&fv=<?php echo urlencode($ev); ?>"><?php echo $ev; ?></a>,
if(!empty($TemplateData['simpleSearchFields'])) {
foreach($TemplateData['simpleSearchFields'] as $k=>$v) {
?>
- <li class="<?php if(isset($v['selected'])) echo 'uk-active' ?>"><a href="index.php?<?php echo Summoner::createFromParameterLinkQuery($TemplateData['pagination']['currentGetParameters'],array('s'=>$k,'sd'=>'ASC')); ?>"><?php echo $v['displayname']; ?></a></li>
+ <li class="<?php if(isset($v['selected'])) echo 'uk-active' ?>"><a href="index.php?<?php echo Summoner::createFromParameterLinkQuery($TemplateData['pagination']['currentGetParameters'],array('s'=>$k,'sd'=>'ASC')); ?>"><?php echo $I18n->t($v['displayname']); ?></a></li>
<?php
}
}
<form class="uk-form-horizontal uk-margin-small" method="post">
<?php foreach($TemplateData['tags'] as $k=>$v) { ?>
- <h4 class="uk-heading-line"><?php echo $v['displayname']; ?></h4>
+ <h4 class="uk-heading-line"><?php echo $I18n->t($v['displayname']); ?></h4>
<div class="uk-margin">
<label class="uk-form-label"><?php echo $I18n->t('managetags.user'); ?></label>
<?php } ?>
<?php foreach($TemplateData['tags'] as $k=>$v) { ?>
- <h4 class="uk-heading-line"><span><a uk-toggle="target: #toggle-<?php echo $k; ?>"><?php echo $v['displayname']; ?></a></span></h4>
+ <h4 class="uk-heading-line"><span><a uk-toggle="target: #toggle-<?php echo $k; ?>"><?php echo $I18n->t($v['displayname']); ?></a></span></h4>
<div id="toggle-<?php echo $k; ?>">
<?php foreach($v['entries'] as $ek=>$ev) { ?>
<a href="index.php?p=collections&collection=<?php echo $TemplateData['loadedCollection']['id']; ?>&fid=<?php echo $v['identifier']; ?>&fv=<?php echo urlencode($ev); ?>"><?php echo $ev; ?></a>,
if(!empty($TemplateData['simpleSearchFields'])) {
foreach($TemplateData['simpleSearchFields'] as $k=>$v) {
?>
- <li class="<?php if(isset($v['selected'])) echo 'uk-active' ?>"><a href="index.php?<?php echo Summoner::createFromParameterLinkQuery($TemplateData['pagination']['currentGetParameters'],array('s'=>$k,'sd'=>'ASC')); ?>"><?php echo $v['displayname']; ?></a></li>
+ <li class="<?php if(isset($v['selected'])) echo 'uk-active' ?>"><a href="index.php?<?php echo Summoner::createFromParameterLinkQuery($TemplateData['pagination']['currentGetParameters'],array('s'=>$k,'sd'=>'ASC')); ?>"><?php echo $I18n->t($v['displayname']); ?></a></li>
<?php
}
}
<?php foreach($TemplateData['existingFields'] as $k=>$v) { ?>
<div data-field-id="<?php echo $k; ?>">
<span class="uk-sortable-handle uk-margin-small-right" uk-icon="icon: table"></span>
- <?php echo $v['displayname']; ?> (<?php echo $v['type'],'; ',$v['identifier']; ?>)
+ <?php echo $I18n->t($v['displayname']); ?> (<?php echo $v['type'],'; ',$v['identifier']; ?>)
</div>
<?php } ?>
</div>
<?php foreach($TemplateData['availableFields'] as $k=>$v) { ?>
<div data-field-id="<?php echo $k; ?>">
<span class="uk-sortable-handle uk-margin-small-right" uk-icon="icon: table"></span>
- <?php echo $v['displayname']; ?> (<?php echo $v['type'],'; ',$v['identifier']; ?>)
+ <?php echo $I18n->t($v['displayname']); ?> (<?php echo $v['type'],'; ',$v['identifier']; ?>)
</div>
<?php } ?>
</div>
<option value="<?php echo $v['identifier']; ?>"
<?php echo ($TemplateData['editData']['defaultSearchField'] ?? '') == $v['identifier'] ? 'selected' : ''; ?>
>
- <?php echo $v['displayname']; ?> (<?php echo $v['type']; ?>)</option>
+ <?php echo $I18n->t($v['displayname']); ?> (<?php echo $v['type']; ?>)</option>
<?php } ?>
</select>
<small><?php echo $I18n->t('managecol.globalsearchhowto'); ?></small><br />
<?php foreach($TemplateData['simpleSearchFields'] as $k=>$v) { ?>
<option value="<?php echo $v['identifier']; ?>"
<?php echo ($TemplateData['editData']['defaultSortField'] ?? '') == $v['identifier'] ? 'selected' : ''; ?>
- ><?php echo $v['displayname']; ?> (<?php echo $v['type']; ?>)</option>
+ ><?php echo $I18n->t($v['displayname']); ?> (<?php echo $v['type']; ?>)</option>
<?php } ?>
</select>
</div>
<?php foreach($TemplateData['existingFields'] as $k=>$v) { ?>
<option value="<?php echo $v['id']; ?>"
<?php if(isset($TemplateData['editData']['advancedSearchTableFields'][$v['id']])) echo 'selected'; ?>
- ><?php echo $v['displayname']; ?> (<?php echo $v['type']; ?>)</option>
+ ><?php echo $I18n->t($v['displayname']); ?> (<?php echo $v['type']; ?>)</option>
<?php } ?>
</select>
<small><?php echo $I18n->t('managecol.input.advancedtablesearchfields.howto'); ?></small>
<form class="uk-form-horizontal uk-margin-small" method="post">
<?php foreach($TemplateData['tags'] as $k=>$v) { ?>
- <h4 class="uk-heading-line"><?php echo $v['displayname']; ?></h4>
+ <h4 class="uk-heading-line"><?php echo $I18n->t($v['displayname']); ?></h4>
<div class="uk-margin">
<label class="uk-form-label"><?php echo $I18n->t('managetags.use'); ?></label>
<li>PHP: <code><?php echo $TemplateData['phpVersion']; ?></code></li>
<li>MySQL server: <code><?php echo $TemplateData['mysqlVersion']; ?></code></li>
<li>MySQL data usage: <code><?php echo $TemplateData['overallTableSize']; ?></code></li>
- <li>Storage usage: <code><?php echo $TemplateData['overallStorageSize']; ?></code></li>
+ <li><?php echo $I18n->t('sysinfo.th.diskusage'); ?>: <code><?php echo $TemplateData['overallStorageSize']; ?></code></li>
</ul>
</div>
</div>
<?php } ?>
<?php foreach($TemplateData['tags'] as $k=>$v) { ?>
- <h4 class="uk-heading-line"><span><a uk-toggle="target: #toggle-<?php echo $k; ?>"><?php echo $v['displayname']; ?></a></span></h4>
+ <h4 class="uk-heading-line"><span><a uk-toggle="target: #toggle-<?php echo $k; ?>"><?php echo $I18n->t($v['displayname']); ?></a></span></h4>
<div id="toggle-<?php echo $k; ?>">
<?php foreach($v['entries'] as $ek=>$ev) { ?>
<a href="index.php?p=collections&collection=<?php echo $TemplateData['loadedCollection']['id']; ?>&fid=<?php echo $v['identifier']; ?>&fv=<?php echo urlencode($ev); ?>"><?php echo $ev; ?></a>,