]> 91.132.146.200 Git - bibliotheca-php.git/commitdiff
i18n managetags
authorBanana <mail@bananas-playground.net>
Tue, 16 Apr 2024 09:13:08 +0000 (11:13 +0200)
committerBanana <mail@bananas-playground.net>
Tue, 16 Apr 2024 09:13:08 +0000 (11:13 +0200)
Signed-off-by: Banana <mail@bananas-playground.net>
webclient/i18n/eng.ini
webclient/view/98/managetags/managetags.html
webclient/view/compact/managetags/managetags.html
webclient/view/default/managetags/managetags.html

index aab9346e26fe9f2616a8563878f9a5a03eb93d24..1a5d55f003f6cb1afaa62d8e8e91d1e257a77cf3 100644 (file)
@@ -97,6 +97,14 @@ managegroups.input.save = global.save
 managegroups.input.delete.howto = "Warning: Content owned by this group will not be deleted and thus only manageable by admin!<br />Right now don't do this. Only if you are sure there is no usage of this group."
 managegroups.availablegroups = "Available groups"
 
+managetags.managetagsin = "Manage Tags in:"
+managetags.howto = "The actions are top down. If you choose to move and rename, only move will be executed.<br />Deletion will remove without recover!<br />If you rename and input an existing one a move will be done instead.<br />Tag values are stored how they come and treated that way here (case sensitive). In search they are case insensitive."
+managetags.tagfield = "Tagfield"
+managetags.user = "Use"
+managetags.moveorrename = "Move to (rename to existig)"
+managetags.rename = "Rename"
+managetags.delete = global.delete
+
 global.add = "Add"
 global.ascending = "Ascending"
 global.clear = "Clear"
index 6b2170f27bb0c1bc6e08815cf63327425385ae67..203808e9d755a83bead9b39511f53ef957b8cef3 100644 (file)
@@ -1,13 +1,7 @@
 <?php if(!empty($TemplateData['loadedCollection'])) { ?>
 
-       <h3 >Manage Tags in: <a href="index.php?p=collections&collection=<?php echo $TemplateData['loadedCollection']['id']; ?>"><?php echo $TemplateData['loadedCollection']['name']; ?></a></h3>
-       <p>
-               The actions are top down. If you choose to move and rename, only move will be executed.<br />
-               Deletion will remove without recover!<br />
-               If you rename and input an existing one a move will be done instead.<br />
-               Tag values are stored how they come and treated that way here (case sensitive).
-               In search they are case insensitive.
-       </p>
+       <h3><?php echo $I18n->t('managetags.managetagsin'); ?> <a href="index.php?p=collections&collection=<?php echo $TemplateData['loadedCollection']['id']; ?>"><?php echo $TemplateData['loadedCollection']['name']; ?></a></h3>
+<p><?php echo $I18n->t('managetags.howto'); ?></p>
 
        <?php if(!empty($TemplateData['tags'])) { ?>
                <form method="post">
                                <table width="100%">
                                        <thead>
                                                <tr>
-                                                       <th width="100px">Tagfield</th>
-                                                       <th>Use</th>
-                                                       <th>Move to (rename to existig)</th>
-                                                       <th>Rename</th>
-                                                       <th width="100px">Delete</th>
+                                                       <th width="100px"><p><?php echo $I18n->t('managetags.tagfield'); ?></p></th>
+                                                       <th><?php echo $I18n->t('managetags.use'); ?></th>
+                                                       <th><?php echo $I18n->t('managetags.moveorrename'); ?></th>
+                                                       <th><?php echo $I18n->t('managetags.rename'); ?></th>
+                                                       <th width="100px"><?php echo $I18n->t('managetags.delete'); ?></th>
                                                </tr>
                                        </thead>
                                        <tbody>
                                        </tbody>
                                </table>
                        </div>
-                       <input type="submit" name="submitForm" value="Do it" />
+                       <input type="submit" name="submitForm" value="<?php echo $I18n->t('managetags.save'); ?>" />
                </form>
        <?php } ?>
 
 <?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>
index 6d6c651f7c9dc9275fdfbb6b8718dc802b0e05c9..cdafcb3a6d571520d806223c88b73aa2884ce3ce 100644 (file)
@@ -1,14 +1,8 @@
 <?php if(!empty($TemplateData['loadedCollection'])) { ?>
 <div class="uk-grid-small uk-grid-row-small" uk-grid>
        <div class="uk-width-1-2">
-               <h3 class="uk-h3">Manage Tags in: <a href="index.php?p=collections&collection=<?php echo $TemplateData['loadedCollection']['id']; ?>"><?php echo $TemplateData['loadedCollection']['name']; ?></a></h3>
-               <p>
-                       The actions are top down. If you choose to move and rename, only move will be executed.<br />
-                       Deletion will remove without recover!<br />
-                       If you rename and input an existing one a move will be done instead.<br />
-                       Tag values are stored how they come and treated that way here (case sensitive).
-                       In search they are case insensitive.
-               </p>
+               <h3 class="uk-h3"><?php echo $I18n->t('managetags.managetagsin'); ?> <a href="index.php?p=collections&collection=<?php echo $TemplateData['loadedCollection']['id']; ?>"><?php echo $TemplateData['loadedCollection']['name']; ?></a></h3>
+               <p><?php echo $I18n->t('managetags.howto'); ?></p>
                <?php if(!empty($TemplateData['tags'])) { ?>
 
                <form class="uk-form-horizontal uk-margin-small" method="post">
@@ -17,7 +11,7 @@
                        <h4 class="uk-heading-line"><?php echo $v['displayname']; ?></h4>
 
                        <div class="uk-margin">
-                               <label class="uk-form-label">Use</label>
+                               <label class="uk-form-label"><?php echo $I18n->t('managetags.user'); ?></label>
                                <div class="uk-form-controls">
                                        <select class="uk-select" name="fdata[<?php echo $v['id']; ?>][use]">
                                                <option value="">Please select</option>
                        </div>
 
                        <div class="uk-margin">
-                               <label class="uk-form-label">Move to (rename to existing)</label>
+                               <label class="uk-form-label"><?php echo $I18n->t('managetags.moveorrename'); ?></label>
                                <div class="uk-form-controls">
                                        <select class="uk-select" name="fdata[<?php echo $v['id']; ?>][move]">
-                                               <option value="">Please select</option>
+                                               <option value=""><?php echo $I18n->t('global.pleaseselect'); ?></option>
                                                <?php foreach($v['entries'] as $ek=>$ev) { ?>
                                                <option value="<?php echo $ev; ?>"><?php echo $ev; ?></option>
                                                <?php } ?>
@@ -41,7 +35,7 @@
                        </div>
 
                        <div class="uk-margin">
-                               <label class="uk-form-label" >Rename</label>
+                               <label class="uk-form-label" ><?php echo $I18n->t('managetags.rename'); ?></label>
                                <div class="uk-form-controls">
                                        <input class="uk-input" type="text" autocomplete="off"
                                               name="fdata[<?php echo $v['id']; ?>][rename]"
@@ -51,7 +45,7 @@
 
 
                        <div class="uk-margin">
-                               <div class="uk-form-label">Delete <span uk-icon="warning"></span></div>
+                               <div class="uk-form-label"><?php echo $I18n->t('managetags.delete'); ?> <span uk-icon="warning"></span></div>
                                <div class="uk-form-controls uk-form-controls-text">
                                        <label>
                                                <input class="uk-checkbox" type="checkbox" name="fdata[<?php echo $v['id']; ?>][doDelete]" value="1">
@@ -64,7 +58,7 @@
 
                        <div class="uk-margin">
                                <button class="uk-button uk-button-primary" type="submit" name="submitForm">
-                                       Save
+                                       <?php echo $I18n->t('global.save'); ?>
                                </button>
                        </div>
                </form>
@@ -76,7 +70,7 @@
 <?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=managetags&collection=<?php echo $k; ?>"><?php echo $v['name']; ?></a></dt>
index c573fd49c5f7ccec2c03a23f3bfb9aec61cf3e06..c01f9ed1c855b819df9a660a01ccf85141af4e98 100644 (file)
@@ -1,14 +1,8 @@
 <?php if(!empty($TemplateData['loadedCollection'])) { ?>
 <div class="uk-grid-small uk-grid-row-small" uk-grid>
        <div class="uk-width-1-2">
-               <h3 class="uk-h3">Manage Tags in: <a href="index.php?p=collections&collection=<?php echo $TemplateData['loadedCollection']['id']; ?>"><?php echo $TemplateData['loadedCollection']['name']; ?></a></h3>
-               <p>
-                       The actions are top down. If you choose to move and rename, only move will be executed.<br />
-                       Deletion will remove without recover!<br />
-                       If you rename and input an existing one a move will be done instead.<br />
-                       Tag values are stored how they come and treated that way here (case sensitive).
-                       In search they are case insensitive.
-               </p>
+               <h3 class="uk-h3"><?php echo $I18n->t('managetags.managetagsin'); ?> <a href="index.php?p=collections&collection=<?php echo $TemplateData['loadedCollection']['id']; ?>"><?php echo $TemplateData['loadedCollection']['name']; ?></a></h3>
+               <p><?php echo $I18n->t('managetags.howto'); ?></p>
                <?php if(!empty($TemplateData['tags'])) { ?>
 
                <form class="uk-form-horizontal uk-margin-small" method="post">
@@ -17,7 +11,7 @@
                        <h4 class="uk-heading-line"><?php echo $v['displayname']; ?></h4>
 
                        <div class="uk-margin">
-                               <label class="uk-form-label">Use</label>
+                               <label class="uk-form-label"><?php echo $I18n->t('managetags.use'); ?></label>
                                <div class="uk-form-controls">
                                        <select class="uk-select" name="fdata[<?php echo $v['id']; ?>][use]">
                                                <option value="">Please select</option>
                        </div>
 
                        <div class="uk-margin">
-                               <label class="uk-form-label">Move to (rename to existing)</label>
+                               <label class="uk-form-label"><?php echo $I18n->t('managetags.moveorrename'); ?></label>
                                <div class="uk-form-controls">
                                        <select class="uk-select" name="fdata[<?php echo $v['id']; ?>][move]">
-                                               <option value="">Please select</option>
+                                               <option value=""><?php echo $I18n->t('global.pleaseselect'); ?></option>
                                                <?php foreach($v['entries'] as $ek=>$ev) { ?>
                                                <option value="<?php echo $ev; ?>"><?php echo $ev; ?></option>
                                                <?php } ?>
@@ -41,7 +35,7 @@
                        </div>
 
                        <div class="uk-margin">
-                               <label class="uk-form-label" >Rename</label>
+                               <label class="uk-form-label" ><?php echo $I18n->t('managetags.rename'); ?></label>
                                <div class="uk-form-controls">
                                        <input class="uk-input" type="text" autocomplete="off"
                                               name="fdata[<?php echo $v['id']; ?>][rename]"
@@ -51,7 +45,7 @@
 
 
                        <div class="uk-margin">
-                               <div class="uk-form-label">Delete <span uk-icon="warning"></span></div>
+                               <div class="uk-form-label"><?php echo $I18n->t('managetags.delete'); ?> <span uk-icon="warning"></span></div>
                                <div class="uk-form-controls uk-form-controls-text">
                                        <label>
                                                <input class="uk-checkbox" type="checkbox" name="fdata[<?php echo $v['id']; ?>][doDelete]" value="1">
@@ -64,7 +58,7 @@
 
                        <div class="uk-margin">
                                <button class="uk-button uk-button-primary" type="submit" name="submitForm">
-                                       Save
+                                       <?php echo $I18n->t('global.save'); ?>
                                </button>
                        </div>
                </form>
@@ -74,7 +68,7 @@
 </div>
 
 <?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">