; The value is the keyname without any quotes.
; Use this to create unique translations without changing the template
-auth.input.password = "Password"
-auth.input.username = "Username"
-auth.login = "Login"
+
auth.logout = "Logout"
advsearch.explain.fields = "Available fields in <b>%s</b> are:"
advsearch.operators.quote = 'A phrase that is enclosed within double quote (") characters matches only rows that contain the phrase literally, as it was typed.'
advsearch.result = "Display result for: <b>%s</b><br>(Max. result of 60)"
advsearch.submit.bulkedit = "Bulkedit these results"
+advsearch.input.search.label = "Search for"
bulkedit.headline.edit = "Bulkedit these entries in:"
global.add = "Add"
global.replace = "Replace"
global.clear = "Clear"
+global.password = "Password"
+global.username = "Username"
+global.login = "Login"
pagination.previous = "previous"
pagination.gotopage = "Goto page"
<form method="post">
<div class="field-row">
- <label for="search">Search for</label>
+ <label for="search"><?php echo $I18n->t('advsearch.input.search.label'); ?></label>
<input id="search" type="text" autocomplete="off" name="fdata[search]"
- placeholder="See search syntax for options" size="50" />
+ placeholder="<?php echo $I18n->t('advsearch.input.search.placeholder'); ?>" size="50" />
</div>
<div class="field-row">
- <p>This uses the table view as default. Remember to select the fields to show in collection config</p>
+ <p><?php echo $I18n->t('advsearch.input.description'); ?></p>
</div>
<div class="field-row">
- <input type="submit" name="submitForm" value="Search" />
+ <input type="submit" name="submitForm" value="<?php echo $I18n->t('global.search'); ?>" />
</div>
</form>
- <h4>Syntax</h4>
- <p>To search within the collection default search field, like the ordinary search, just type the search term and go.</p>
- <p>
- To search within the possible fields of a collection type the field <b>identifier</b> followed by <b>:</b> and then a space. Not every search operator does make sense with tag search fields.
- If the search is within a field witch is not configured to be displayed in the table view, it will be added.
- </p>
+ <h4><?php echo $I18n->t('advsearch.headline.syntax'); ?></h4>
+ <p><?php echo $I18n->t('advsearch.help.1'); ?></p>
+ <p><?php echo $I18n->t('advsearch.help.2'); ?></p>
<pre>title: bourne</pre>
- <p>Available fields in <b><?php echo $TemplateData['loadedCollection']['name'] ?? ''; ?></b> are:</p>
+ <p><?php echo $I18n->t('advsearch.explain.fields', $TemplateData['loadedCollection']['name'] ?? ''); ?></p>
<pre style="white-space: normal">
<?php foreach($TemplateData['collectionFields'] as $k=>$v) {
echo $v['identifier']." ";
} ?>
</pre>
- <p>Possible search operators:</p>
+ <p><?php echo $I18n->t('advsearch.operators'); ?></p>
<dl>
<dt>*</dt>
- <dd>
- The asterisk serves as the truncation (or wildcard) operator. Unlike the other operators,
- it is appended to the word to be affected. Words match if they begin with the word preceding the * operator.
- </dd>
+ <dd><?php echo $I18n->t('advsearch.operators.asterisk'); ?></dd>
<dt>+</dt>
- <dd>A leading plus sign indicates that this word must be present in each row that is returned.</dd>
+ <dd><?php echo $I18n->t('advsearch.operators.plus'); ?></dd>
<dt>−</dt>
- <dd>A leading minus sign indicates that this word must not be present in any of the rows that are returned.</dd>
+ <dd><?php echo $I18n->t('advsearch.operators.minus'); ?></dd>
<dt>"</dt>
- <dd>A phrase that is enclosed within double quote (") characters matches only rows that contain the phrase literally, as it was typed.</dd>
+ <dd><?php echo $I18n->t('advsearch.operators.quote'); ?></dd>
<dt>></dt>
- <dd>A leading greater than sign indicates that rows greater than the number will be returned.</dd>
+ <dd><?php echo $I18n->t('advsearch.operators.greater'); ?></dd>
<dt><</dt>
- <dd>A leading less than sign indicates that rows smaller than the number will be returned.</dd>
+ <dd><?php echo $I18n->t('advsearch.operators.less'); ?></dd>
</dl>
<?php if(!empty($TemplateData['search'])) { ?>
<?php }
} else { ?>
- <h3>Please select a collection first</h3>
+ <h3><?php echo $I18n->t('global.collection.select.notice'); ?></h3>
<div class="sunken-panel">
<table width="100%">
<thead>
<tr>
- <th width="100px">Name</th>
- <th>Description</th>
+ <th width="100px"><?php echo $I18n->t('global.name'); ?></th>
+ <th><?php echo $I18n->t('global.description'); ?></th>
</tr>
</thead>
<tbody>
<?php if($Doomguy->isSignedIn() === true) { ?>
-<h3>Logout</h3>
+<h3><?php echo $I18n->t('auth.logout'); ?></h3>
<form method="get" action="index.php">
<input type="hidden" name="p" value="auth" />
<input type="hidden" name="m" value="logout" />
<input type="submit" value="Logout" />
</form>
<?php } else { ?>
-<h3>Login</h3>
+<h3><?php echo $I18n->t('global.login'); ?></h3>
<form method="post">
<div class="field-row">
- <label for="username">Username</label>
+ <label for="username"><?php echo $I18n->t('global.username'); ?></label>
<input id="username" type="text" autocomplete="off" name="fdata[login]">
</div>
<div class="field-row">
- <label for="password">Password</label>
+ <label for="password"><?php echo $I18n->t('global.password'); ?></label>
<input id="password" type="password" autocomplete="off" name="fdata[password]">
</div>
<div class="field-row">
<!DOCTYPE html>
-<html>
+<html lang="<?php echo $I18n->twoCharLang(); ?>">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<form method="post" class="maxSizeForm">
<div class="field-row-stacked">
- <label for="username">Username *</label>
+ <label for="username"><?php echo $I18n->t('global.username'); ?> *</label>
<input id="username" type="text" autocomplete="off" name="fdata[username]"
value="<?php echo $TemplateData['editData']['name'] ?? ''; ?>">
</div>
<div class="field-row-stacked">
- <label for="login">Login *</label>
+ <label for="login"><?php echo $I18n->t('global.login'); ?> *</label>
<input id="login" type="text" autocomplete="off" name="fdata[login]"
value="<?php echo $TemplateData['editData']['login'] ?? ''; ?>">
</div>
<div class="field-row-stacked">
- <label for="password">Password *</label>
+ <label for="password"><?php echo $I18n->t('global.password'); ?> *</label>
<input id="password" type="password" autocomplete="off" name="fdata[password]">
</div>
<div class="field-row-stacked">
<table width="100%">
<thead>
<tr>
- <th>Login</th>
+ <th><?php echo $I18n->t('global.login'); ?></th>
<th>Created</th>
- <th>Username</th>
+ <th><?php echo $I18n->t('global.username'); ?></th>
<th>Group(s)</th>
<th>Status</th>
<th></th>
<form method="post" class="maxSizeForm">
<div class="field-row-stacked">
- <label for="username">Username</label>
+ <label for="username"><?php echo $I18n->t('global.username'); ?></label>
<input id="username" type="text" autocomplete="off" name="fdata[username]"
value="<?php echo $TemplateData['editData']['name'] ?? ''; ?>">
</div>
<div class="field-row-stacked">
- <label for="password">Password</label>
+ <label for="password"><?php echo $I18n->t('global.password'); ?></label>
<input id="password" type="password" autocomplete="off" name="fdata[password]">
</div>
<div class="field-row-stacked">
<div class="uk-width-1-2@l">
<form class="uk-form-horizontal uk-margin-small" method="post">
<div class="uk-margin">
- <label class="uk-form-label" for="search">Search for</label>
+ <label class="uk-form-label" for="search"><?php echo $I18n->t('advsearch.input.search.label'); ?></label>
<div class="uk-form-controls">
<input class="uk-input" id="search" type="text" autocomplete="off" name="fdata[search]"
- placeholder="See search syntax for options">
+ placeholder="<?php echo $I18n->t('advsearch.input.search.placeholder'); ?>">
</div>
</div>
<div class="uk-margin">
<div class="uk-margin">
<button class="uk-button uk-button-primary" type="submit" name="submitForm">
- Search
+ <?php echo $I18n->t('global.search'); ?>
</button>
</div>
</form>
</div>
<div class="uk-width-1-2@l">
- <h4>Syntax</h4>
- <p>To search within the collection default search field, like the ordinary search, just type the search term and go.</p>
- <p>
- To search within the possible fields of a collection type the field identifier followed by : and then a space. Not every search operator does make sense with tag search fields.
- If the search is within a field witch is not configured to be displayed in the table view, it will be added.
- </p>
+ <h4><?php echo $I18n->t('advsearch.headline.syntax'); ?></h4>
+ <p><?php echo $I18n->t('advsearch.help.1'); ?></p>
+ <p><?php echo $I18n->t('advsearch.help.2'); ?></p>
eg.: <code>title: bourne</code>
- <p>Available fields in <b><?php echo $TemplateData['loadedCollection']['name'] ?? ''; ?></b> are:</p>
+ <p><?php echo $I18n->t('advsearch.explain.fields', $TemplateData['loadedCollection']['name'] ?? ''); ?></p>
<pre style="white-space: normal">
<?php
foreach($TemplateData['collectionFields'] as $k=>$v) {
}
?>
</pre>
- <p>Possible search operators:</p>
- <p>
- * = The asterisk serves as the truncation (or wildcard) operator. Unlike the other operators,
- it is appended to the word to be affected. Words match if they begin with the word preceding the * operator.
- </p>
- <p>+ = A leading plus sign indicates that this word must be present in each row that is returned.</p>
- <p>- = A leading minus sign indicates that this word must not be present in any of the rows that are returned.</p>
- <p>" = A phrase that is enclosed within double quote (") characters matches only rows that contain the phrase literally, as it was typed.</p>
- <p>> = A leading greater than sign indicates that rows greater than the number will be returned.</p>
- <p>< = A leading less than sign indicates that rows smaller than the number will be returned.</p>
+ <p><?php echo $I18n->t('advsearch.operators'); ?></p>
+ <p>* = <?php echo $I18n->t('advsearch.operators.asterisk'); ?></p>
+ <p>+ = <?php echo $I18n->t('advsearch.operators.plus'); ?></p>
+ <p>- = <?php echo $I18n->t('advsearch.operators.plus'); ?></p>
+ <p>" = <?php echo $I18n->t('advsearch.operators.quote'); ?></p>
+ <p>> = <?php echo $I18n->t('advsearch.operators.quote'); ?></p>
+ <p>< = <?php echo $I18n->t('advsearch.operators.quote'); ?></p>
</div>
</div>
<?php } else { ?>
<div class="uk-grid-small uk-grid-row-small uk-grid-row-small" uk-grid>
<div class="uk-width-2-3@m uk-width-1-2@xl">
- <h3 class="uk-heading-divider">Please select a collection first</h3>
+ <h3 class="uk-heading-divider"><?php echo $I18n->t('global.collection.select.notice'); ?></h3>
<dl class="uk-description-list">
<?php foreach($TemplateData['collections'] as $k=>$v) { ?>
<dt><a href="index.php?p=advancedsearch&collection=<?php echo $k; ?>"><?php echo $v['name']; ?></a></dt>
<div class="uk-width-1-2@l">
<form class="uk-form-horizontal uk-margin-small" method="post">
<div class="uk-margin">
- <label class="uk-form-label" for="search">Search for</label>
+ <label class="uk-form-label" for="search"><?php echo $I18n->t('advsearch.input.search.label'); ?></label>
<div class="uk-form-controls">
<input class="uk-input" id="search" type="text" autocomplete="off" name="fdata[search]"
- placeholder="See search syntax for options">
+ placeholder="<?php echo $I18n->t('advsearch.input.search.placeholder'); ?>">
</div>
</div>
<div class="uk-margin">
<div class="uk-margin">
<button class="uk-button uk-button-primary" type="submit" name="submitForm">
- Search
+ <?php echo $I18n->t('global.search'); ?>
</button>
</div>
</form>
</div>
<div class="uk-width-1-2@l">
- <h4>Syntax</h4>
- <p>To search within the collection default search field, like the ordinary search, just type the search term and go.</p>
- <p>
- To search within the possible fields of a collection type the field identifier followed by : and then a space. Not every search operator does make sense with tag search fields.
- If the search is within a field witch is not configured to be displayed in the table view, it will be added.
- </p>
+ <h4><?php echo $I18n->t('advsearch.headline.syntax'); ?></h4>
+ <p><?php echo $I18n->t('advsearch.help.1'); ?></p>
+ <p><?php echo $I18n->t('advsearch.help.2'); ?></p>
eg.: <code>title: bourne</code>
- <p>Available fields in <b><?php echo $TemplateData['loadedCollection']['name'] ?? ''; ?></b> are:</p>
+ <p><?php echo $I18n->t('advsearch.explain.fields', $TemplateData['loadedCollection']['name'] ?? ''); ?></p>
<pre style="white-space: normal">
<?php
foreach($TemplateData['collectionFields'] as $k=>$v) {
}
?>
</pre>
- <p>Possible search operators:</p>
- <p>
- * = The asterisk serves as the truncation (or wildcard) operator. Unlike the other operators,
- it is appended to the word to be affected. Words match if they begin with the word preceding the * operator.
- </p>
- <p>+ = A leading plus sign indicates that this word must be present in each row that is returned.</p>
- <p>- = A leading minus sign indicates that this word must not be present in any of the rows that are returned.</p>
- <p>" = A phrase that is enclosed within double quote (") characters matches only rows that contain the phrase literally, as it was typed.</p>
- <p>> = A leading greater than sign indicates that rows greater than the number will be returned.</p>
- <p>< = A leading less than sign indicates that rows smaller than the number will be returned.</p>
+ <p><?php echo $I18n->t('advsearch.operators'); ?></p>
+ <p>* = <?php echo $I18n->t('advsearch.operators.asterisk'); ?></p>
+ <p>+ = <?php echo $I18n->t('advsearch.operators.plus'); ?></p>
+ <p>- = <?php echo $I18n->t('advsearch.operators.plus'); ?></p>
+ <p>" = <?php echo $I18n->t('advsearch.operators.quote'); ?></p>
+ <p>> = <?php echo $I18n->t('advsearch.operators.quote'); ?></p>
+ <p>< = <?php echo $I18n->t('advsearch.operators.quote'); ?></p>
</div>
</div>
<?php } ?>
<?php } else { ?>
-<h3 class="uk-h3">Please select a collection first</h3>
+<h3 class="uk-h3"><?php echo $I18n->t('global.collection.select.notice'); ?></h3>
<div class="uk-grid-small uk-grid-row-small uk-grid-row-small" uk-grid>
<div class="uk-width-2-3@m uk-width-1-2@xl">
<dl class="uk-description-list uk-description-list-divider">
<?php if($Doomguy->isSignedIn() === true) { ?>
-<h3 class="uk-h3">Logout</h3>
+<h3 class="uk-h3"><?php echo $I18n->t('auth.logout'); ?></h3>
<a class="uk-button uk-button-primary" href="index.php?p=auth&m=logout">
Logout
<span uk-icon="icon: sign-out"></span>
</a>
<?php } else { ?>
-<h3 class="uk-h3">Login</h3>
+<h3 class="uk-h3"><?php echo $I18n->t('global.login'); ?></h3>
<div class="uk-flex uk-flex-wrap uk-flex-wrap-around">
<form class="uk-form-horizontal uk-margin-small" method="post">
<div class="uk-margin">
- <label class="uk-form-label" for="username">Username</label>
+ <label class="uk-form-label" for="username"><?php echo $I18n->t('global.username'); ?></label>
<div class="uk-form-controls">
<input class="uk-input" id="username" type="text" autocomplete="off" name="fdata[login]">
</div>
</div>
<div class="uk-margin">
- <label class="uk-form-label" for="password">Password</label>
+ <label class="uk-form-label" for="password"><?php echo $I18n->t('global.password'); ?></label>
<div class="uk-form-controls">
<input class="uk-input" id="password" type="password" autocomplete="off" name="fdata[password]">
</div>
<h4 class="uk-h4">Add or modify a user</h4>
<form class="uk-form-horizontal uk-margin-small" method="post">
<div class="uk-margin">
- <label class="uk-form-label" for="username">Username *</label>
+ <label class="uk-form-label" for="username"><?php echo $I18n->t('global.username'); ?> *</label>
<div class="uk-form-controls">
<input class="uk-input" id="username" type="text" autocomplete="off" name="fdata[username]"
value="<?php echo $TemplateData['editData']['name'] ?? ''; ?>">
</div>
</div>
<div class="uk-margin">
- <label class="uk-form-label" for="login">Login *</label>
+ <label class="uk-form-label" for="login"><?php echo $I18n->t('global.login'); ?> *</label>
<div class="uk-form-controls">
<input class="uk-input" id="login" type="text" autocomplete="off" name="fdata[login]"
value="<?php echo $TemplateData['editData']['login'] ?? ''; ?>">
</div>
</div>
<div class="uk-margin">
- <label class="uk-form-label" for="password">Password *</label>
+ <label class="uk-form-label" for="password"><?php echo $I18n->t('global.password'); ?> *</label>
<div class="uk-form-controls">
<input class="uk-input" id="password" type="password" autocomplete="off" name="fdata[password]">
</div>
<table class="uk-table">
<thead>
<tr>
- <th>Login</th>
- <th>Username</th>
+ <th><?php echo $I18n->t('global.login'); ?></th>
+ <th><?php echo $I18n->t('global.username'); ?></th>
<th>Group(s)</th>
<th>Status</th>
<th></th>
<div class="uk-width-1-2">
<form class="uk-form-horizontal uk-margin-small" method="post">
<div class="uk-margin">
- <label class="uk-form-label" for="username">Username</label>
+ <label class="uk-form-label" for="username"><?php echo $I18n->t('global.username'); ?></label>
<div class="uk-form-controls">
<input class="uk-input" id="username" type="text" autocomplete="off" name="fdata[username]"
value="<?php echo $TemplateData['editData']['name'] ?? ''; ?>">
</div>
</div>
<div class="uk-margin">
- <label class="uk-form-label" for="password">Password</label>
+ <label class="uk-form-label" for="password"><?php echo $I18n->t('global.password'); ?></label>
<div class="uk-form-controls">
<input class="uk-input" id="password" type="password" autocomplete="off" name="fdata[password]">
</div>