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

index 9a5f7de300595eec5a96610ad6955131abb3f212..10182aabe47b77cd8b8cba70fe1b8a2472e40edf 100644 (file)
 ;   The value is the keyname without any quotes.
 ;   Use this to create unique translations without changing the template
 
-
-auth.logout = "Logout"
+global.add = "Add"
+global.ascending = "Ascending"
+global.clear = "Clear"
+global.clickremove = "Click to remove"
+global.close = "Close"
+global.collection = "Collection"
+global.collection.select.notice = "Please select a collection first"
+global.created = "Created"
+global.default = "Default"
+global.delete = "Delete"
+global.descending = "Descending"
+global.description = "Description"
+global.displayresultfor = "Display result for: <b>%s</b>"
+global.edit = "Edit"
+global.field.writeenter = "Write and press enter."
+global.fields = "Fields"
+global.group = "Group"
+global.image = "Image"
+global.latest = "Latest"
+global.login = "Login"
+global.name = "Name"
+global.none = "None"
+global.other = "Other"
+global.owner = "Owner"
+global.password = "Password"
+global.pleaseselect = "Please select"
+global.replace = "Replace"
+global.rights = "Rights"
+global.save = "Save"
+global.search = "Search"
+global.search.resultfor = "Display result for: <b>%s</b>"
+global.sort = "Sort"
+global.title = "Title"
+global.user = "User"
+global.username = "Username"
+global.view = "View"
+global.ownership = "Ownership"
+global.none = "None"
 
 advsearch.explain.fields = "Available fields in <b>%s</b> are:"
 advsearch.headline.syntax = "Syntax"
@@ -43,6 +79,8 @@ advsearch.submit.bulkedit = "Bulkedit these results"
 advsearch.tableview.description = "Make sure to define the fields which will be used in table view in collection config"
 advsearch.togglesearch = "Toggle search"
 
+auth.logout = "Logout"
+
 bulkedit.headline.edit = "Bulkedit these entries in:"
 
 managecol.addmodify = "Add or modify a collection"
@@ -127,44 +165,15 @@ profile.input.createtoken = "Create API Token"
 profile.input.apitoken.valid = manageuser.input.apitoken.valid
 profile.input.apitoken.current = manageuser.input.apitoken.current
 
-global.add = "Add"
-global.ascending = "Ascending"
-global.clear = "Clear"
-global.clickremove = "Click to remove"
-global.close = "Close"
-global.collection = "Collection"
-global.collection.select.notice = "Please select a collection first"
-global.created = "Created"
-global.default = "Default"
-global.delete = "Delete"
-global.descending = "Descending"
-global.description = "Description"
-global.displayresultfor = "Display result for: <b>%s</b>"
-global.edit = "Edit"
-global.field.writeenter = "Write and press enter."
-global.fields = "Fields"
-global.group = "Group"
-global.image = "Image"
-global.latest = "Latest"
-global.login = "Login"
-global.name = "Name"
-global.none = "None"
-global.other = "Other"
-global.owner = "Owner"
-global.password = "Password"
-global.pleaseselect = "Please select"
-global.replace = "Replace"
-global.rights = "Rights"
-global.save = "Save"
-global.search = "Search"
-global.search.resultfor = "Display result for: <b>%s</b>"
-global.sort = "Sort"
-global.title = "Title"
-global.user = "User"
-global.username = "Username"
-global.view = "View"
-global.ownership = "Ownership"
-global.none = "None"
+sysinfo.headline.sysinfo = "System information"
+sysinfo.th.collection = "Collection"
+sysinfo.th.description = global.description
+sysinfo.th.created = global.created
+sysinfo.th.entries = "Entries"
+sysinfo.th.tags = "Tags"
+sysinfo.th.dbusage = "DB Usage"
+
+
 
 pagination.gotopage = "Goto page"
 pagination.next = "next"
index 50955cc97d6b97e1a508999775f252400433e1a7..a570aea78946fde11564c79646cb0da72a4accea 100644 (file)
@@ -1,15 +1,15 @@
-<h3>System information</h3>
+<h3><?php echo $I18n->t('sysinfo.headline.sysinfo'); ?></h3>
 <div class="sunken-panel">
        <table width="100%">
                <thead>
                <tr>
-                       <th>Collection</th>
-                       <th>Description</th>
-                       <th>Created</th>
-                       <th>Entries</th>
-                       <th>Tags</th>
-                       <th>DB Usage</th>
-                       <th>Disk Usage</th>
+                       <th><?php echo $I18n->t('sysinfo.th.collection'); ?></th>
+                       <th><?php echo $I18n->t('sysinfo.th.description'); ?></th>
+                       <th><?php echo $I18n->t('sysinfo.th.created'); ?></th>
+                       <th><?php echo $I18n->t('sysinfo.th.entries'); ?></th>
+                       <th><?php echo $I18n->t('sysinfo.th.tags'); ?></th>
+                       <th><?php echo $I18n->t('sysinfo.th.dbusage'); ?></th>
+                       <th><?php echo $I18n->t('sysinfo.th.diskusage'); ?></th>
                </tr>
                </thead>
                <tbody>
index aa0f475806e6e6092feb6836f0c73fd397a2ed3f..19341b7a2f18fe8994934d4641f8f250ad17af99 100644 (file)
@@ -1,4 +1,4 @@
-<h3 class="uk-h3">System information</h3>
+<h3 class="uk-h3"><?php echo $I18n->t('sysinfo.headline.sysinfo'); ?></h3>
 <div class="uk-grid-small uk-grid-row-small" uk-grid>
        <div class="uk-width-1-2">
                <div class="uk-grid-divider uk-child-width-expand@s" uk-grid>
@@ -9,11 +9,11 @@
                                        <?php echo $v['description']; ?>
                                </p>
                                <p>
-                                       Created: <code><?php echo $v['created']; ?></code></code><br />
-                                       Entries: <code><?php echo $v['stats']['entriesCount']; ?></code><br />
-                                       Tags: <code><?php echo $v['stats']['tagsCount']; ?></code><br />
-                                       DB Usage: <code><?php echo $v['stats']['tableSize']; ?></code><br />
-                                       Disk Usage: <code><?php echo $v['stats']['storageSize']; ?></code>
+                                       <?php echo $I18n->t('sysinfo.th.created'); ?> <code><?php echo $v['created']; ?></code></code><br />
+                                       <?php echo $I18n->t('sysinfo.th.entries'); ?> <code><?php echo $v['stats']['entriesCount']; ?></code><br />
+                                       <?php echo $I18n->t('sysinfo.th.tags'); ?> <code><?php echo $v['stats']['tagsCount']; ?></code><br />
+                                       <?php echo $I18n->t('sysinfo.th.dbusage'); ?> <code><?php echo $v['stats']['tableSize']; ?></code><br />
+                                       <?php echo $I18n->t('sysinfo.th.diskusage'); ?> <code><?php echo $v['stats']['storageSize']; ?></code>
                                </p>
                        </div>
                        <?php } ?>