]> 91.132.146.200 Git - bibliotheca-php.git/commitdiff
i18n sysfields
authorBanana <mail@bananas-playground.net>
Sat, 20 Apr 2024 08:08:29 +0000 (10:08 +0200)
committerBanana <mail@bananas-playground.net>
Sat, 20 Apr 2024 08:08:29 +0000 (10:08 +0200)
Signed-off-by: Banana <mail@bananas-playground.net>
45 files changed:
upgrade/from-version-1.6.txt
webclient/i18n/eng.ini
webclient/view/98/entry/field-date.html
webclient/view/98/entry/field-lookupmultiple.html
webclient/view/98/entry/field-number.html
webclient/view/98/entry/field-selection.html
webclient/view/98/entry/field-text.html
webclient/view/98/entry/field-text3.html
webclient/view/98/entry/field-textarea.html
webclient/view/98/entry/field-unknown.html
webclient/view/98/entry/field-upload.html
webclient/view/98/entry/field-upload_multiple-attachment.html
webclient/view/98/entry/field-upload_multiple.html
webclient/view/98/entry/field-year.html
webclient/view/98/manageentry/field-lookupmultiple.html
webclient/view/98/manageentry/field-number.html
webclient/view/98/manageentry/field-selection.html
webclient/view/98/manageentry/field-text.html
webclient/view/98/manageentry/field-text3.html
webclient/view/98/manageentry/field-textarea.html
webclient/view/98/manageentry/field-unknown.html
webclient/view/98/manageentry/field-upload.html
webclient/view/98/manageentry/field-upload_multiple.html
webclient/view/98/manageentry/field-year.html
webclient/view/default/entry/field-date.html
webclient/view/default/entry/field-lookupmultiple.html
webclient/view/default/entry/field-number.html
webclient/view/default/entry/field-selection.html
webclient/view/default/entry/field-text.html
webclient/view/default/entry/field-text3.html
webclient/view/default/entry/field-textarea.html
webclient/view/default/entry/field-unknown.html
webclient/view/default/entry/field-upload.html
webclient/view/default/entry/field-upload_multiple.html
webclient/view/default/entry/field-year.html
webclient/view/default/manageentry/field-lookupmultiple.html
webclient/view/default/manageentry/field-number.html
webclient/view/default/manageentry/field-selection.html
webclient/view/default/manageentry/field-text.html
webclient/view/default/manageentry/field-text3.html
webclient/view/default/manageentry/field-textarea.html
webclient/view/default/manageentry/field-unknown.html
webclient/view/default/manageentry/field-upload.html
webclient/view/default/manageentry/field-upload_multiple.html
webclient/view/default/manageentry/field-year.html

index 5576e90369ef902ed093a7b57755ffec017dde27..d81ca5b91dece1ffec49a9af40787dfc452ed63c 100644 (file)
@@ -23,4 +23,35 @@ UPDATE `#REPLACEME#_menu` SET `text` = 'menu.manage.collections' WHERE `#REPLACE
 UPDATE `#REPLACEME#_menu` SET `text` = 'menu.manage.users' WHERE `#REPLACEME#_menu`.`id` = 8;
 UPDATE `#REPLACEME#_menu` SET `text` = 'menu.manage.profile' WHERE `#REPLACEME#_menu`.`id` = 16;
 UPDATE `#REPLACEME#_menu` SET `text` = 'menu.manage.groups' WHERE `#REPLACEME#_menu`.`id` = 17;
+UPDATE `#REPLACEME#_sys_fields` SET `displayname` = 'sysfield.title' WHERE `#REPLACEME#_sys_fields`.`identifier` = 'title';
+UPDATE `#REPLACEME#_sys_fields` SET `displayname` = 'sysfield.description' WHERE `#REPLACEME#_sys_fields`.`identifier` = 'description';
+UPDATE `#REPLACEME#_sys_fields` SET `displayname` = 'sysfield.content' WHERE `#REPLACEME#_sys_fields`.`identifier` = 'content';
+UPDATE `#REPLACEME#_sys_fields` SET `displayname` = 'sysfield.tag' WHERE `#REPLACEME#_sys_fields`.`identifier` = 'tag';
+UPDATE `#REPLACEME#_sys_fields` SET `displayname` = 'sysfield.category' WHERE `#REPLACEME#_sys_fields`.`identifier` = 'category';
+UPDATE `#REPLACEME#_sys_fields` SET `displayname` = 'sysfield.category' WHERE `#REPLACEME#_sys_fields`.`identifier` = 'publisher';
+UPDATE `#REPLACEME#_sys_fields` SET `displayname` = 'sysfield.developer' WHERE `#REPLACEME#_sys_fields`.`identifier` = 'developer';
+UPDATE `#REPLACEME#_sys_fields` SET `displayname` = 'sysfield.platform' WHERE `#REPLACEME#_sys_fields`.`identifier` = 'platform';
+UPDATE `#REPLACEME#_sys_fields` SET `displayname` = 'sysfield.storage' WHERE `#REPLACEME#_sys_fields`.`identifier` = 'storage';
+UPDATE `#REPLACEME#_sys_fields` SET `displayname` = 'sysfield.rating' WHERE `#REPLACEME#_sys_fields`.`identifier` = 'rating';
+UPDATE `#REPLACEME#_sys_fields` SET `displayname` = 'sysfield.year' WHERE `#REPLACEME#_sys_fields`.`identifier` = 'year';
+UPDATE `#REPLACEME#_sys_fields` SET `displayname` = 'sysfield.coverimage' WHERE `#REPLACEME#_sys_fields`.`identifier` = 'coverimage';
+UPDATE `#REPLACEME#_sys_fields` SET `displayname` = 'sysfield.attachment' WHERE `#REPLACEME#_sys_fields`.`identifier` = 'attachment';
+UPDATE `#REPLACEME#_sys_fields` SET `displayname` = 'sysfield.os' WHERE `#REPLACEME#_sys_fields`.`identifier` = 'os';
+UPDATE `#REPLACEME#_sys_fields` SET `displayname` = 'sysfield.actors' WHERE `#REPLACEME#_sys_fields`.`identifier` = 'actors';
+UPDATE `#REPLACEME#_sys_fields` SET `displayname` = 'sysfield.countries' WHERE `#REPLACEME#_sys_fields`.`identifier` = 'countries';
+UPDATE `#REPLACEME#_sys_fields` SET `displayname` = 'sysfield.directors' WHERE `#REPLACEME#_sys_fields`.`identifier` = 'directors';
+UPDATE `#REPLACEME#_sys_fields` SET `displayname` = 'sysfield.genres' WHERE `#REPLACEME#_sys_fields`.`identifier` = 'genres';
+UPDATE `#REPLACEME#_sys_fields` SET `displayname` = 'sysfield.languages' WHERE `#REPLACEME#_sys_fields`.`identifier` = 'languages';
+UPDATE `#REPLACEME#_sys_fields` SET `displayname` = 'sysfield.runtime' WHERE `#REPLACEME#_sys_fields`.`identifier` = 'runtime';
+UPDATE `#REPLACEME#_sys_fields` SET `displayname` = 'sysfield.imdbrating' WHERE `#REPLACEME#_sys_fields`.`identifier` = 'imdbrating';
+UPDATE `#REPLACEME#_sys_fields` SET `displayname` = 'sysfield.viewcount' WHERE `#REPLACEME#_sys_fields`.`identifier` = 'viewcount';
+UPDATE `#REPLACEME#_sys_fields` SET `displayname` = 'sysfield.writers' WHERE `#REPLACEME#_sys_fields`.`identifier` = 'writers';
+UPDATE `#REPLACEME#_sys_fields` SET `displayname` = 'sysfield.localizedTitle' WHERE `#REPLACEME#_sys_fields`.`identifier` = 'localizedTitle';
+UPDATE `#REPLACEME#_sys_fields` SET `displayname` = 'sysfield.gameEngine' WHERE `#REPLACEME#_sys_fields`.`identifier` = 'gameEngine';
+UPDATE `#REPLACEME#_sys_fields` SET `displayname` = 'sysfield.view' WHERE `#REPLACEME#_sys_fields`.`identifier` = 'view';
+UPDATE `#REPLACEME#_sys_fields` SET `displayname` = 'sysfield.sysReq' WHERE `#REPLACEME#_sys_fields`.`identifier` = 'sysReq';
+UPDATE `#REPLACEME#_sys_fields` SET `displayname` = 'sysfield.artist' WHERE `#REPLACEME#_sys_fields`.`identifier` = 'artist';
+UPDATE `#REPLACEME#_sys_fields` SET `displayname` = 'sysfield.artists' WHERE `#REPLACEME#_sys_fields`.`identifier` = 'artists';
+UPDATE `#REPLACEME#_sys_fields` SET `displayname` = 'sysfield.isbn' WHERE `#REPLACEME#_sys_fields`.`identifier` = 'isbn';
+ALTER TABLE `#REPLACEME#_sys_fields` CHANGE `displayname` `displayname` VARCHAR(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
 ```
index 21b86806cd128b9dd9fa16ccfa0eb88d158ee768..4bffcd0a2c7421e81ad137fa36251f2c9e3f466d 100644 (file)
@@ -139,7 +139,6 @@ manageentry.message.editNewEntry = "Edit your new entry"
 manageentry.message.missingTitle = "Provide at least 'Title'."
 manageentry.message.noTitle = "Entry has no value in title field."
 manageentry.message.viewNewEntry = "View your new entry"
-manageentry.missingtemplate = "Missing template for:"
 manageentry.possibleduplicate = "Possible duplicate"
 manageentry.select.bulkedit = "Select bulk edit option"
 manageentry.select.bulkedit.add = global.add
@@ -242,6 +241,38 @@ sysinfo.th.diskusage = "Disk Usage"
 sysinfo.th.entries = "Entries"
 sysinfo.th.tags = global.tags
 
+sysfield.actors = "Actors"
+sysfield.artist = "Artist"
+sysfield.artists = "Artists"
+sysfield.attachment = "Attachment"
+sysfield.category = "Category"
+sysfield.content = "Main Content"
+sysfield.countries = "Countries"
+sysfield.coverimage = "Cover image"
+sysfield.description = "Description"
+sysfield.developer = "Developer"
+sysfield.directors = "Directors"
+sysfield.gameEngine = "Game engine"
+sysfield.genres = "Genres"
+sysfield.imdbrating = "IMDB rating"
+sysfield.isbn = "ISBN"
+sysfield.languages = "Languages"
+sysfield.localizedTitle = "Localized title"
+sysfield.os = "Operating system and version"
+sysfield.platform = "Platform"
+sysfield.publisher = "Publisher"
+sysfield.rating = "Rating"
+sysfield.runtime = "Runtime (min)"
+sysfield.storage = "Storage"
+sysfield.sysReq = "System Requirements"
+sysfield.tag = "Tag"
+sysfield.title = "Title"
+sysfield.view = "View"
+sysfield.viewcount = "View counter"
+sysfield.writers = "Writers"
+sysfield.year = "Year"
+sysfield.missingtemplate = "Missing template for:"
+
 tags.headline.tagsfor = "Tags for:"
 
 tool.headline.using = "Using %s with collection: %s"
index e34b64dea206c9d5f18293f38e7eadb4b9945dee..ceaace0e9e2190e43f5483e958a438fad7a8f0fe 100644 (file)
@@ -1,4 +1,4 @@
 <p data-field-name="date" data-field-id="<?php echo $field['identifier']; ?>">
-       <?php echo $field['displayname']; ?>:
+       <?php echo $I18n->t($field['displayname']); ?>:
        <a href="index.php?p=collections&collection=<?php echo $TemplateData['loadedCollection']['id'] ?? ''; ?>&fid=<?php echo $field['identifier'] ?? ''; ?>&fv=<?php echo urlencode($field['value'] ?? ''); ?>"><?php echo $field['value'] ?? ''; ?></a>
 </p>
index 494456e848babec71358acd5e9f21505e6dbbf9c..0cec7c4dc20188dd13db5a91ec782e605e6fdfa3 100644 (file)
@@ -1,5 +1,5 @@
 <p data-field-name="lookupmultiple" data-field-id="<?php echo $field['identifier']; ?>">
-       <?php echo $field['displayname']; ?>:
+       <?php echo $I18n->t($field['displayname']); ?>:
        <?php
        foreach($field['value'] as $_fv) {
                echo '<a href="index.php?p=collections&collection='.$TemplateData['loadedCollection']['id'].'&fid='.$field['identifier'].'&fv='.urlencode($_fv).'">'.$_fv.'</a>, ';
index 6f748e83d2206dca7af714fa9818d735e7dedc3b..42107596070a600806c1feeac9e1688ddc0a6447 100644 (file)
@@ -1,4 +1,4 @@
 <p data-field-name="number" data-field-id="<?php echo $field['identifier']; ?>">
-       <?php echo $field['displayname']; ?>:
+       <?php echo $I18n->t($field['displayname']); ?>:
        <a href="index.php?p=collections&collection=<?php echo $TemplateData['loadedCollection']['id']; ?>&fid=<?php echo $field['identifier']; ?>&fv=<?php echo urlencode($field['value'] ?? ''); ?>"><?php echo $field['value'] ?? ''; ?></a>
 </p>
index 00c8ad1170e2cc7da27d20715d381f8a136f30e4..4d8fc91f3881cf2c5d88997f37b7e4214cc0ba65 100644 (file)
@@ -1,4 +1,4 @@
 <p data-field-name="selection" data-field-id="<?php echo $field['identifier']; ?>">
-       <?php echo $field['displayname']; ?>:
+       <?php echo $I18n->t($field['displayname']); ?>:
        <a href="index.php?p=collections&collection=<?php echo $TemplateData['loadedCollection']['id'] ?? ''; ?>&fid=<?php echo $field['identifier'] ?? ''; ?>&fv=<?php echo urlencode($field['value'] ?? ''); ?>"><?php $field['value'] ?? ''; ?></a>
 </p>
index aa2573eb7fc5401b2c449fb49947bea3372077f4..2f295c35fe5f160c79378ba3fc0cfc11f39b7c73 100644 (file)
@@ -1,3 +1,3 @@
 <p data-field-name="text" data-field-id="<?php echo $field['identifier']; ?>">
-       <?php echo $field['displayname']; ?>: <?php echo nl2br($field['value'] ?? ''); ?>
+       <?php echo $I18n->t($field['displayname']); ?>: <?php echo nl2br($field['value'] ?? ''); ?>
 </p>
index 3a657497229dcac8b902713ffd4f846ac8a49a89..2c461b209dcd0265c070ed277e1c3411bba6b30a 100644 (file)
@@ -1,3 +1,3 @@
 <p data-field-name="text3" data-field-id="<?php echo $field['identifier']; ?>">
-       <?php echo $field['displayname']; ?>: <?php echo nl2br($field['value'] ?? ''); ?>
+       <?php echo $I18n->t($field['displayname']); ?>: <?php echo nl2br($field['value'] ?? ''); ?>
 </p>
index 960033786397760005e3dfb32ebce9581f5a5394..5444581e16f2047f1b7a00e8583b3fedef5e2f1b 100644 (file)
@@ -1 +1 @@
-<p data-field-name="textarea" data-field-id="<?php echo $field['identifier']; ?>"><?php echo $field['displayname']; ?>: <?php echo nl2br($field['value'] ?? ''); ?></p>
+<p data-field-name="textarea" data-field-id="<?php echo $field['identifier']; ?>"><?php echo $I18n->t($field['displayname']); ?>: <?php echo nl2br($field['value'] ?? ''); ?></p>
index f425fdeb4a2e75c38b55987b0ffb56f61f4c7c0f..d630156e41c32695c7b176b62db7fb44b09db519 100644 (file)
@@ -1 +1 @@
-<p><?php echo $I18n->t('manageentry.missingtemplate'); ?> <?php echo $field['identifier']; ?></p>
+<p><?php echo $I18n->t('sysfield.missingtemplate'); ?> <?php echo $field['identifier']; ?></p>
index 431301afa177f5959517b0c8e68ccccc9658502c..d870393c1cc54ffae61ccdf09cd04f79e3fbacca 100644 (file)
@@ -1,3 +1,3 @@
-<p data-field-name="upload" data-field-id="<?php echo $field['identifier']; ?>"><?php echo $field['displayname']; ?>:
+<p data-field-name="upload" data-field-id="<?php echo $field['identifier']; ?>"><?php echo $I18n->t($field['displayname']); ?>:
        <a href="<?php echo $TemplateData['storagePath'].'/'.$field['value'] ?? ''; ?>" target="_blank"><?php echo $field['value'] ?? ''; ?></a>
 </p>
index 5fc32f34a83201b0fec7ba7e15f62b075259bc9e..e00c7fb43e50ab8e899b2ff0cb58b1ff7c23a05c 100644 (file)
@@ -1,4 +1,4 @@
-<p data-field-name="upload_multiple-attachment" data-field-id="<?php echo $field['identifier']; ?>"><?php echo $field['displayname']; ?>:
+<p data-field-name="upload_multiple-attachment" data-field-id="<?php echo $field['identifier']; ?>"><?php echo $I18n->t($field['displayname']); ?>:
 <ul>
        <?php foreach ($field['value'] as $_uEntry) { ?>
        <li><a href="<?php echo $TemplateData['storagePath'].'/'.$_uEntry; ?>" target="_blank"><?php echo $_uEntry; ?></a></li>
index a0c7936a4cd2d4834c5eb3917737c13afa4a122b..8f6d4f84af943b851a30918a7a58b8c00fa39d5b 100644 (file)
@@ -1,4 +1,4 @@
-<p data-field-name="upload_multiple" data-field-id="<?php echo $field['identifier']; ?>"><?php echo $field['displayname']; ?>:
+<p data-field-name="upload_multiple" data-field-id="<?php echo $field['identifier']; ?>"><?php echo $I18n->t($field['displayname']); ?>:
        <ul>
                <?php foreach ($field['value'] as $_uEntry) { ?>
                <li><a href="<?php echo $TemplateData['storagePath'].'/'.$_uEntry; ?>" target="_blank"><?php echo $_uEntry; ?></a></li>
index f19b736401f8693a1af654f3e6181de3645c279e..5d34106c298988acfcdb87a09e340031276656d3 100644 (file)
@@ -1,4 +1,4 @@
 <p data-field-name="year" data-field-id="<?php echo $field['identifier']; ?>">
-       <?php echo $field['displayname']; ?>:
+       <?php echo $I18n->t($field['displayname']); ?>:
        <a href="index.php?p=collections&collection=<?php echo $TemplateData['loadedCollection']['id']; ?>&fid=<?php echo $field['identifier']; ?>&fv=<?php echo urlencode($field['value'] ?? ''); ?>"><?php echo $field['value'] ?? ''; ?></a>
 </p>
index ac4b8daa9fc783f33fcb9b4003c0eea918d8800d..a1df73925a673d1cdc0b4c8cf4f92b2a01e88ad1 100644 (file)
@@ -5,7 +5,7 @@ if(isset($TemplateData['editData'][$field['identifier']])) {
 }
 ?>
 <div class="field-row-stacked">
-       <label for="<?php echo $field['identifier']; ?>-input"><?php echo $field['displayname']; ?></label>
+       <label for="<?php echo $field['identifier']; ?>-input"><?php echo $I18n->t($field['displayname']); ?></label>
 
        <div class="input-multiple-listbox" id="<?php echo $field['identifier']; ?>-listbox">
        <?php
index 69669dc111cf4a37297fb46fe75d69f6302ac04d..ae1ade458bc8679a9d70c635d89fde2a365bbd38 100644 (file)
@@ -1,5 +1,5 @@
 <div class="field-row-stacked">
-       <label for="<?php echo $field['identifier']; ?>"><?php echo $field['displayname']; ?></label>
+       <label for="<?php echo $field['identifier']; ?>"><?php echo $I18n->t($field['displayname']); ?></label>
        <input id="<?php echo $field['identifier']; ?>" type="number"
               autocomplete="off" maxlength="10"
               name="fdata[<?php echo $field['identifier']; ?>]"
index 75aee5dc1a8d2cca89ea902a38cc59107d36feae..6bde542c36c40cbdc5b0a80e9d545bad7f751a1b 100644 (file)
@@ -1,5 +1,5 @@
 <div class="field-row-stacked">
-       <label for="<?php echo $field['identifier']; ?>"><?php echo $field['displayname']; ?></label>
+       <label for="<?php echo $field['identifier']; ?>"><?php echo $I18n->t($field['displayname']); ?></label>
        <select id="<?php echo $field['identifier']; ?>" name="fdata[<?php echo $field['identifier']; ?>]">
                <option value="">Please select</option>
                <?php foreach($field['options'] as $k=>$v) { ?>
index adaa3e6c1fd49186f5d154aeaf47ef1b927bb552..d930ad6f3ab711c05b3bfe85cc7f1eaa00c4d6fd 100644 (file)
@@ -1,5 +1,5 @@
 <div class="field-row-stacked">
-       <label for="<?php echo $field['identifier']; ?>"><?php echo $field['displayname']; ?>
+       <label for="<?php echo $field['identifier']; ?>"><?php echo $I18n->t($field['displayname']); ?>
                (<span id="<?php echo $field['identifier']; ?>_counter"><?php echo 128-strlen($TemplateData['editData'][$field['identifier']] ?? ''); ?></span>)
        </label>
        <input id="<?php echo $field['identifier']; ?>" type="text" autocomplete="off"
index 5871c0f5485e64f0b7d5993382f9e1d16ae8b92b..32db61a32bf9ec574efe10f5e69fbe2b8a3decb5 100644 (file)
@@ -1,6 +1,6 @@
 <div class="field-row-stacked">
        <label for="<?php echo $field['identifier']; ?>">
-               <?php echo $field['displayname']; ?>
+               <?php echo $I18n->t($field['displayname']); ?>
                (<span id="<?php echo $field['identifier']; ?>_counter" ><?php echo 255-strlen($TemplateData['editData'][$field['identifier']] ?? ''); ?></span>)
        </label>
        <textarea autocomplete="off"
index fca0be15f70a2f9774370473ba00efd068e3294e..f1bb7a4f0baa7e4b4e9e9610b6f9188af8c46f61 100644 (file)
@@ -1,5 +1,5 @@
 <div class="field-row-stacked">
-       <label for="<?php echo $field['identifier']; ?>"><?php echo $field['displayname']; ?></label>
+       <label for="<?php echo $field['identifier']; ?>"><?php echo $I18n->t($field['displayname']); ?></label>
        <textarea autocomplete="off"
                id="<?php echo $field['identifier']; ?>"
         rows="10"
index ff7c3fdabee5a47dc749eb7e1505befbf5023542..921daeefac39e70e78122e730161697978b038e3 100644 (file)
@@ -1,3 +1,3 @@
 <div class="field-row-stacked">
-       <label><?php echo $I18n->t('manageentry.missingtemplate'); ?> <?php echo $field['identifier']; ?></label>
+       <label><?php echo $I18n->t('sysfield.missingtemplate'); ?> <?php echo $field['identifier']; ?></label>
 </div>
index 5ad771cdfab65e0b3cafe54533589963904c70cb..12c055d76090de7817b5bb5aff490de339660fc9 100644 (file)
@@ -1,5 +1,5 @@
 <div class="field-row-stacked">
-       <label for="<?php echo $field['identifier']; ?>"><?php echo $field['displayname']; ?></label>
+       <label for="<?php echo $field['identifier']; ?>"><?php echo $I18n->t($field['displayname']); ?></label>
 
                <input type="file" id="<?php echo $field['identifier']; ?>" multiple="false"
                   name="fdata[<?php echo $field['identifier']; ?>]"
index e9bf6998441f1e7557480c99130383743a71889c..222857787b62ff41c4c27c9458f1f719c2f8b21a 100644 (file)
@@ -1,5 +1,5 @@
 <div class="field-row-stacked">
-       <label for="<?php echo $field['identifier']; ?>"><?php echo $field['displayname']; ?></label>
+       <label for="<?php echo $field['identifier']; ?>"><?php echo $I18n->t($field['displayname']); ?></label>
        <input type="file" id="<?php echo $field['identifier']; ?>" multiple="true"
                name="fdata[<?php echo $field['identifier']; ?>][]"
        />
index 027ecb6b4cfc37a5e076f9c5d95269baab2c3485..6bb29d813c2ba5aaa4654905a75cb4a83c1874a1 100644 (file)
@@ -1,5 +1,5 @@
 <div class="field-row-stacked">
-       <label for="<?php echo $field['identifier']; ?>"><?php echo $field['displayname']; ?></label>
+       <label for="<?php echo $field['identifier']; ?>"><?php echo $I18n->t($field['displayname']); ?></label>
        <input id="<?php echo $field['identifier']; ?>" type="number" autocomplete="off"
                placeholder="YYYY" min="0000" max="9999"
                name="fdata[<?php echo $field['identifier']; ?>]"
index d2965fab44a49824f96cda10549794c16f2261f2..a2f77578bd50117c4d2931e61f73c0a7ae3f2fcc 100644 (file)
@@ -1,4 +1,4 @@
 <p data-field-name="date" data-field-id="<?php echo $field['identifier']; ?>">
-       <span class="uk-text-muted"><?php echo $field['displayname']; ?>:</span>
+       <span class="uk-text-muted"><?php echo $I18n->t($field['displayname']); ?>:</span>
        <a href="index.php?p=collections&collection=<?php echo $TemplateData['loadedCollection']['id']; ?>&fid=<?php echo $field['identifier']; ?>&fv=<?php echo urlencode($field['value'] ?? ''); ?>"><?php echo $field['value'] ?? ''; ?></a>
 </p>
index f3175447b65b3e0c9d8ee1987ad10f413207663b..061dac043f21e8bcfaf984bc5e0e2bd45365ef78 100644 (file)
@@ -1,5 +1,5 @@
 <p data-field-name="lookupmultiple" data-field-id="<?php echo $field['identifier']; ?>">
-       <span class="uk-text-muted"><?php echo $field['displayname']; ?>:</span>
+       <span class="uk-text-muted"><?php echo $I18n->t($field['displayname']); ?>:</span>
        <?php
        foreach($field['value'] as $_fv) {
                echo '<a href="index.php?p=collections&collection='.$TemplateData['loadedCollection']['id'].'&fid='.$field['identifier'].'&fv='.urlencode($_fv).'">'.$_fv.'</a>, ';
index ff3e8def4794caec0033b9bb24927c955ae3b402..6c7cc6e4ac35db783e9b71879d0d19cab2e5ff36 100644 (file)
@@ -1,4 +1,4 @@
 <p data-field-name="number" data-field-id="<?php echo $field['identifier']; ?>">
-       <span class="uk-text-muted"><?php echo $field['displayname']; ?>:</span>
+       <span class="uk-text-muted"><?php echo $I18n->t($field['displayname']); ?>:</span>
        <a href="index.php?p=collections&collection=<?php echo $TemplateData['loadedCollection']['id']; ?>&fid=<?php echo $field['identifier']; ?>&fv=<?php echo urlencode($field['value'] ?? ''); ?>"><?php echo $field['value'] ?? ''; ?></a>
 </p>
index 916b43cadbd5632f3e9678910eebe63b3ea8b3c5..4944eb67a7430d62dbec829f7bcff9983e5dd6ca 100644 (file)
@@ -1,4 +1,4 @@
 <p data-field-name="selection" data-field-id="<?php echo $field['identifier']; ?>">
-       <span class="uk-text-muted"><?php echo $field['displayname']; ?>:</span>
+       <span class="uk-text-muted"><?php echo $I18n->t($field['displayname']); ?>:</span>
        <a href="index.php?p=collections&collection=<?php echo $TemplateData['loadedCollection']['id']; ?>&fid=<?php echo $field['identifier']; ?>&fv=<?php echo urlencode($field['value'] ?? ''); ?>"><?php echo $field['value'] ?? ''; ?></a>
 </p>
index 8ff4830d4bcd97e3533dd4ddcb97422eb9b0a43d..4beed6f99c3bff659b59c8b4fc50b5ce21fc6d41 100644 (file)
@@ -1 +1 @@
-<p data-field-name="text" data-field-id="<?php echo $field['identifier']; ?>"><span class="uk-text-muted"><?php echo $field['displayname']; ?>:</span> <?php echo nl2br($field['value'] ?? ''); ?></p>
+<p data-field-name="text" data-field-id="<?php echo $field['identifier']; ?>"><span class="uk-text-muted"><?php echo $I18n->t($field['displayname']); ?>:</span> <?php echo nl2br($field['value'] ?? ''); ?></p>
index e99b7a0ae9fdf79839a4c048f42c7682b5949dd7..5a92fcfc14db71d996405759a9bf43b9c8d3aa5f 100644 (file)
@@ -1 +1 @@
-<p data-field-name="text3" data-field-id="<?php echo $field['identifier']; ?>"><span class="uk-text-muted"><?php echo $field['displayname']; ?>:</span> <?php echo nl2br($field['value'] ?? ''); ?></p>
+<p data-field-name="text3" data-field-id="<?php echo $field['identifier']; ?>"><span class="uk-text-muted"><?php echo $I18n->t($field['displayname']); ?>:</span> <?php echo nl2br($field['value'] ?? ''); ?></p>
index b86ce4d701be55f246032f6dbfa8f7be6974a922..e40684fa130d25e4667d7d67a18b66061702a19a 100644 (file)
@@ -1 +1 @@
-<p data-field-name="textarea" data-field-id="<?php echo $field['identifier']; ?>"><span class="uk-text-muted"><?php echo $field['displayname']; ?>:</span> <?php echo nl2br($field['value'] ?? ''); ?></p>
+<p data-field-name="textarea" data-field-id="<?php echo $field['identifier']; ?>"><span class="uk-text-muted"><?php echo $I18n->t($field['displayname']); ?>:</span> <?php echo nl2br($field['value'] ?? ''); ?></p>
index f425fdeb4a2e75c38b55987b0ffb56f61f4c7c0f..d630156e41c32695c7b176b62db7fb44b09db519 100644 (file)
@@ -1 +1 @@
-<p><?php echo $I18n->t('manageentry.missingtemplate'); ?> <?php echo $field['identifier']; ?></p>
+<p><?php echo $I18n->t('sysfield.missingtemplate'); ?> <?php echo $field['identifier']; ?></p>
index 98a355ef20914887f45f7b783530bfec4a5828d5..61e271e4a626bc6b9e121ea8564485ceb44e0af5 100644 (file)
@@ -1,3 +1,3 @@
-<p data-field-name="upload" data-field-id="<?php echo $field['identifier']; ?>"><span class="uk-text-muted"><?php echo $field['displayname']; ?>:</span>
+<p data-field-name="upload" data-field-id="<?php echo $field['identifier']; ?>"><span class="uk-text-muted"><?php echo $I18n->t($field['displayname']); ?>:</span>
        <a href="<?php echo $TemplateData['storagePath'].'/'.$field['value'] ?? ''; ?>" target="_blank"><?php echo $field['value'] ?? ''; ?></a>
 </p>
index 622adbaa1ffd11495abfce247fece1261e12957d..f6f9a23adcafcc898618bf1301b6969774c0d60b 100644 (file)
@@ -1,4 +1,4 @@
-<p data-field-name="upload_multiple" data-field-id="<?php echo $field['identifier']; ?>"><span class="uk-text-muted"><?php echo $field['displayname']; ?>:</span>
+<p data-field-name="upload_multiple" data-field-id="<?php echo $field['identifier']; ?>"><span class="uk-text-muted"><?php echo $I18n->t($field['displayname']); ?>:</span>
 <ul class="uk-list uk-list-collapse uk-list-disc">
        <?php foreach ($field['value'] as $_uEntry) { ?>
        <li><a href="<?php echo $TemplateData['storagePath'].'/'.$_uEntry; ?>" target="_blank"><?php echo $_uEntry; ?></a></li>
index ed98f650eb7f94dd08708f99c4657b89aaca6543..1730b992de604886650291ac858d67d98b4d373a 100644 (file)
@@ -1,4 +1,4 @@
 <p data-field-name="year" data-field-id="<?php echo $field['identifier']; ?>">
-       <span class="uk-text-muted"><?php echo $field['displayname']; ?>:</span>
+       <span class="uk-text-muted"><?php echo $I18n->t($field['displayname']); ?>:</span>
        <a href="index.php?p=collections&collection=<?php echo $TemplateData['loadedCollection']['id']; ?>&fid=<?php echo $field['identifier']; ?>&fv=<?php echo urlencode($field['value'] ?? ''); ?>"><?php echo $field['value'] ?? ''; ?></a>
 </p>
index a0697f3d6c9f81780c88140be27bbc39029cc015..c437396f46f81978161a2479dc0a71a63d929ee9 100644 (file)
@@ -5,7 +5,7 @@ if(!empty($TemplateData['editData'][$field['identifier']])) {
 }
 ?>
 <div class="uk-margin">
-       <label class="uk-form-label" for="<?php echo $field['identifier']; ?>-input"><?php echo $field['displayname']; ?></label>
+       <label class="uk-form-label" for="<?php echo $field['identifier']; ?>-input"><?php echo $I18n->t($field['displayname']); ?></label>
        <div class="uk-form-controls">
                <div class="input-multiple-listbox" id="<?php echo $field['identifier']; ?>-listbox">
                <?php
index 81ddc3c66fe4cee17aca8df8e1ff675f2efc2a0f..00618d8da6659a335373b24f9113b6683ba2bfeb 100644 (file)
@@ -1,5 +1,5 @@
 <div class="uk-margin">
-       <label class="uk-form-label" for="<?php echo $field['identifier']; ?>"><?php echo $field['displayname']; ?></label>
+       <label class="uk-form-label" for="<?php echo $field['identifier']; ?>"><?php echo $I18n->t($field['displayname']); ?></label>
        <div class="uk-form-controls">
                <input class="uk-input" id="<?php echo $field['identifier']; ?>" type="number"
                       autocomplete="off" maxlength="10"
index b1e14474bb8459416c44e99c66dc1f02fd93f74e..4244631f2d589257b25eaa3eb0348e79a5ba134f 100644 (file)
@@ -1,5 +1,5 @@
 <div class="uk-margin">
-       <label class="uk-form-label" for="<?php echo $field['identifier']; ?>"><?php echo $field['displayname']; ?></label>
+       <label class="uk-form-label" for="<?php echo $field['identifier']; ?>"><?php echo $I18n->t($field['displayname']); ?></label>
        <div class="uk-form-controls">
                <select class="uk-select" id="<?php echo $field['identifier']; ?>" name="fdata[<?php echo $field['identifier']; ?>]">
                        <option value=""><?php echo $I18n->t('global.pleaseselect'); ?></option>
index 58b3a5b5d2c32382f0cffb350f63da4f9c2b1ca0..d51f41fea35e5ce6fe799b57cc484bad33f11741 100644 (file)
@@ -1,5 +1,5 @@
 <div class="uk-margin">
-       <label class="uk-form-label" for="<?php echo $field['identifier']; ?>"><?php echo $field['displayname']; ?></label>
+       <label class="uk-form-label" for="<?php echo $field['identifier']; ?>"><?php echo $I18n->t($field['displayname']); ?></label>
        <div class="uk-form-controls">
                <input class="uk-input" id="<?php echo $field['identifier']; ?>" type="text" autocomplete="off"
                   name="fdata[<?php echo $field['identifier']; ?>]"
index 4708c01e58da56473c9ae104e3a73e5dafd9d227..c982b71ff11ec6e6931cec7bc9f6204ba0a9cb4b 100644 (file)
@@ -1,5 +1,5 @@
 <div class="uk-margin">
-       <label class="uk-form-label" for="<?php echo $field['identifier']; ?>"><?php echo $field['displayname']; ?></label>
+       <label class="uk-form-label" for="<?php echo $field['identifier']; ?>"><?php echo $I18n->t($field['displayname']); ?></label>
        <div class="uk-form-controls">
                <textarea class="uk-textarea" autocomplete="off"
                                  id="<?php echo $field['identifier']; ?>"
index ba5e1c3153d023c95967a668bd7158b1e515d448..f08dd9aabe1fd10747bf3c76d6ecb40c3bfdeb0f 100644 (file)
@@ -1,5 +1,5 @@
 <div class="uk-margin">
-       <label class="uk-form-label" for="<?php echo $field['identifier']; ?>"><?php echo $field['displayname']; ?></label>
+       <label class="uk-form-label" for="<?php echo $field['identifier']; ?>"><?php echo $I18n->t($field['displayname']); ?></label>
        <div class="uk-form-controls">
                <textarea class="uk-textarea" autocomplete="off"
                        id="<?php echo $field['identifier']; ?>"
index 7bda67a06788cc41f1911a5c399732fe3c179606..54db1a45a891ee4c96bf8f5bfe89c6b3e2ea2e45 100644 (file)
@@ -1,3 +1,3 @@
 <div class="uk-margin">
-       <?php echo $I18n->t('manageentry.missingtemplate'); ?> <?php echo $field['identifier']; ?>
+       <?php echo $I18n->t('sysfield.missingtemplate'); ?> <?php echo $field['identifier']; ?>
 </div>
index 34fb3f3bdfba885f46079028810e30743f14207e..4bba0343897bf171334487559b90432164e12875 100644 (file)
@@ -1,5 +1,5 @@
 <div class="uk-margin">
-       <label class="uk-form-label" for="<?php echo $field['identifier']; ?>"><?php echo $field['displayname']; ?></label>
+       <label class="uk-form-label" for="<?php echo $field['identifier']; ?>"><?php echo $I18n->t($field['displayname']); ?></label>
        <div class="uk-form-controls">
                <input type="file" id="<?php echo $field['identifier']; ?>" multiple="false"
                   name="fdata[<?php echo $field['identifier']; ?>]"
index 058d96eb69034048f990d973e04a36b4111077e1..7f2a784d5b9aa819ff0ea9775b10262f8e1a5c41 100644 (file)
@@ -1,5 +1,5 @@
 <div class="uk-margin">
-       <label class="uk-form-label" for="<?php echo $field['identifier']; ?>"><?php echo $field['displayname']; ?></label>
+       <label class="uk-form-label" for="<?php echo $field['identifier']; ?>"><?php echo $I18n->t($field['displayname']); ?></label>
        <div class="uk-form-controls">
                <input type="file" id="<?php echo $field['identifier']; ?>" multiple="true"
                        name="fdata[<?php echo $field['identifier']; ?>][]"
index 57e3fb8675127384ab8d9bf1a1d47c8aa81b4f9c..5cb433e67532b83e45f69f7dce58b2409e8742c9 100644 (file)
@@ -1,5 +1,5 @@
 <div class="uk-margin">
-       <label class="uk-form-label" for="<?php echo $field['identifier']; ?>"><?php echo $field['displayname']; ?></label>
+       <label class="uk-form-label" for="<?php echo $field['identifier']; ?>"><?php echo $I18n->t($field['displayname']); ?></label>
        <div class="uk-form-controls">
                <input class="uk-input" id="<?php echo $field['identifier']; ?>" type="number" autocomplete="off"
                        placeholder="YYYY" min="0000" max="9999"