manageuser.created = global.created
manageuser.input.apitoken.current = "Current Token:"
+menu.lv1.show = "Show"
+menu.lv1.manage = "Manage"
+menu.search.advanced = "Advanced"
+menu.search = global.search
+menu.search.enter = "Press enter to search"
+menu.search.within = "Search within the default search field"
+
+pagination.gotopage = "Goto page"
+pagination.next = "next"
+pagination.previous = "previous"
+pagination.select.sort.default = "Default"
+pagination.select.sort.latest = "Latest"
+
profile.yourprofile = "Manage your profile"
profile.input.maingroup = "Main group"
profile.input.addgroups = "Additional groups"
sysinfo.th.entries = "Entries"
sysinfo.th.tags = "Tags"
sysinfo.th.dbusage = "DB Usage"
+sysinfo.th.diskusage = "Disk Usage"
-
-pagination.gotopage = "Goto page"
-pagination.next = "next"
-pagination.previous = "previous"
-pagination.select.sort.default = "Default"
-pagination.select.sort.latest = "Latest"
</a>
</li>
<li role="tab">
- <a id="showNavSearch" href="#" onclick="showNavSearch();">Search</a>
+ <a id="showNavSearch" href="#" onclick="showNavSearch();"><?php echo $I18n->t('menu.search'); ?></a>
</li>
<li role="tab" <?php if($_requestMode == 'advancedsearch') echo 'aria-selected="true"'; ?>>
- <a href="index.php?p=advancedsearch">Advanced search</a>
+ <a href="index.php?p=advancedsearch"><?php echo $I18n->t('menu.search.advanced'); ?></a>
</li>
<?php if(!empty($_menuManage)) { ?>
- <li role="tab"><a href="">Manage:</a></li>
+ <li role="tab"><a href=""><?php echo $I18n->t('menu.lv1.manage'); ?>:</a></li>
<?php foreach($_menuManage as $entry) { ?>
<li role="tab" <?php if(!empty($_requestMode) && str_starts_with($entry['action'], $_requestMode)) echo 'aria-selected="true"'; ?>>
<a href="index.php?p=<?php echo $entry['action']; ?>"><?php echo $entry['text']; ?></a>
<dialog id="navSearchDialog" class="window">
<div class="title-bar">
- <div class="title-bar-text">Search</div>
+ <div class="title-bar-text"><?php echo $I18n->t('menu.search'); ?></div>
<div class="title-bar-controls">
<button aria-label="Close" id="closeNavSearchDialog"></button>
</div>
}
}
?>
- <input type="search" placeholder="Search..." name="navSearch" autofocus>
- <input type="submit" value="Search" />
- <p><a href="index.php?p=advancedsearch">Advanced</a></p>
+ <input type="search" placeholder="<?php echo $I18n->t('menu.search'); ?>" name="navSearch" autofocus>
+ <input type="submit" value="<?php echo $I18n->t('menu.search'); ?>" />
+ <p><a href="index.php?p=advancedsearch"><?php echo $I18n->t('menu.search.advanced'); ?></a></p>
</form>
</div>
<div class="status-bar">
- <p class="status-bar-field">Press enter to search</p>
- <p class="status-bar-field">Search within the default search field</p>
+ <p class="status-bar-field"><?php echo $I18n->t('menu.search.enter'); ?></p>
+ <p class="status-bar-field"><?php echo $I18n->t('menu.search.within'); ?></p>
</div>
</dialog>
<div class="uk-navbar-left">
<ul class="uk-navbar-nav">
<li class="uk-parent">
- <a href="">Show</a>
+ <a href="<?php echo $I18n->t('menu.lv1.show'); ?>"></a>
<div class="uk-navbar-dropdown">
<ul class="uk-nav uk-navbar-dropdown-nav">
<?php foreach($_menuShow as $entry) { ?>
</li>
<?php if(!empty($_menuManage)) { ?>
<li class="uk-parent">
- <a href="">Manage</a>
+ <a href=""><?php echo $I18n->t('menu.lv1.manage'); ?></a>
<div class="uk-navbar-dropdown">
<ul class="uk-nav uk-navbar-dropdown-nav">
<?php foreach($_menuManage as $entry) { ?>
<?php } ?>
<li>
<a href="index.php?p=auth">
- <?php if($Doomguy->isSignedIn() === true) { echo "Logout"; } else { echo "Login"; } ?>
+ <?php if($Doomguy->isSignedIn() === true) {
+ echo $I18n->t('auth.logout');
+ }
+ else { echo $I18n->t('global.login'); } ?>
</a>
</li>
</ul>
}
}
?>
- <input class="uk-search-input" type="search" placeholder="Search..." name="navSearch" autofocus>
- <small><a href="index.php?p=advancedsearch">Advanced</a></small>
+ <input class="uk-search-input" type="search" placeholder="<?php echo $I18n->t('menu.search'); ?>" name="navSearch" autofocus>
+ <small><a href="index.php?p=advancedsearch"><?php echo $I18n->t('menu.search.advanced'); ?></a></small>
</form>
</div>
</div>