]> 91.132.146.200 Git - insipid.git/commitdiff
reduce duplicates in lange files
authorBanana <mail@bananas-playground.net>
Sat, 20 Mar 2021 11:43:39 +0000 (12:43 +0100)
committerBanana <mail@bananas-playground.net>
Sat, 20 Mar 2021 11:43:39 +0000 (12:43 +0100)
webroot/lib/lang/eng.lang.ini
webroot/view/editlink.php

index 278a18eacb534b9b49b4e8858a68ac7a8e5cc792..5c41234df7089cecc662e9177f244485eee379bd 100644 (file)
@@ -37,13 +37,7 @@ edit.link.export.data.fail = "Required data for export could not be loaded."
 edit.link.updated = "Link updated successfully."
 edit.link.update.failed = "Link updated failed. See logs for more details."
 edit.link.update.title.missing = "Please provide a title."
-edit.link.date.added = "Date added"
 edit.link.last.update = "Last update"
-edit.link.title = "Title"
-edit.link.description = "Description"
-edit.link.url = "URL"
-edit.link.image = "Image"
-edit.link.image.provided = "If provided"
 edit.link.image.save = "Save image locally"
 edit.link.thumbnail.webpage = "Thumbnail of the webpage. Not the image provided with html meta data."
 edit.link.thumbnail.view = "View Thumbnail"
@@ -51,11 +45,8 @@ edit.link.thumbnail.save = "Save a thumbnail (This can take some time)"
 edit.link.full.screenshot = "Full page screenshot."
 edit.link.full.screenshot.view = "View page screenshot"
 edit.link.full.screenshot.save = "Save a full page screenshot (This can take some time)"
-edit.link.tags = "Tags"
 edit.link.tags.description = "Enter a new one or select an existing from the suggested and press enter. Special chars check after save!"
-edit.link.category = "Category"
 edit.link.options = "Options"
-edit.link.private = "Private"
 edit.link.refresh = "Refresh from source"
 edit.link.save = "Save"
 edit.link.delete = "DELETE"
@@ -70,15 +61,15 @@ edit.tags.new = "New tag"
 edit.tags.update = "Update tags"
 
 home.input.invalid = "Invalid input"
-home.input.search.not.found = "Nothing found..."
+home.input.search.not.found = "Nothing found."
 home.input.added = "Link added successfully."
-home.input.add.fail = "Something went wrong..."
+home.input.add.fail = "Something went wrong."
 home.input.invalid.data = "Please provide a valid URL and title."
 home.input.placeholder = "Search your bookmarks or add a new one"
 home.input.search = "Search"
 home.input.url.not.found.add = "This URL was not found. Want to add it?"
 home.input.new.link = "Add new Link"
-home.input.search.found = "Something has been found..."
+home.input.search.found = "Results found."
 
 view.name = "Name"
 view.new.name = "New name"
@@ -109,7 +100,7 @@ view.more.details = "More details"
 view.num.links = "# of links"
 view.edit.tags = "Edit tags"
 view.edit.categories = "Edit categories"
-view.link.more.info = "more details"
+view.link.more.info = "More details"
 view.links = "Links"
 
 stats.view.all = "View all"
index 2cc0dac97f8ff029e972795bb915dd49e6301fae..a5eadbf77f5badf76dc6930839bb999f6d1b1f36 100644 (file)
@@ -47,7 +47,7 @@
        <form method="post" autocomplete="off">
                <div class="columns">
                        <div class="column is-one-quarter">
-                               <p><?php echo $T->t('edit.link.date.added'); ?></p>
+                               <p><?php echo $T->t('view.date.added'); ?></p>
                        </div>
                        <div class="column">
                                <p>
@@ -58,7 +58,7 @@
                </div>
                <div class="columns">
                        <div class="column is-one-quarter">
-                               <p><?php echo $T->t('edit.link.title'); ?></p>
+                               <p><?php echo $T->t('view.title'); ?></p>
                        </div>
                        <div class="column">
                                <input class="input" type="text" name="data[title]" value="<?php echo Summoner::ifset($formData, 'title'); ?>" />
@@ -66,7 +66,7 @@
                </div>
                <div class="columns">
                        <div class="column is-one-quarter">
-                               <p><?php echo $T->t('edit.link.description'); ?></p>
+                               <p><?php echo $T->t('view.description'); ?></p>
                        </div>
                        <div class="column">
                                <input class="input" type="text" name="data[description]" value="<?php echo Summoner::ifset($formData, 'description'); ?>" />
@@ -74,7 +74,7 @@
                </div>
                <div class="columns">
                        <div class="column is-one-quarter">
-                               <p><?php echo $T->t('edit.link.url'); ?></p>
+                               <p><?php echo $T->t('view.url'); ?></p>
                        </div>
                        <div class="column">
                                <p><a href="<?php echo $linkData['link']; ?>" target="_blank"><?php echo $linkData['link']; ?></a></p>
                <div class="columns">
                        <div class="column is-one-quarter">
                                <p>
-                                       <?php echo $T->t('edit.link.image'); ?>: (<small><?php echo $T->t('edit.link.image.provided'); ?></small>)
+                                       <?php echo $T->t('view.image'); ?>: (<small><?php echo $T->t('view.image.provided'); ?></small>)
                                </p>
                        </div>
                        <div class="column">
                                <p>
-                                       <img class="linkthumbnail" src="<?php echo $linkData['imageToShow']; ?>" alt="<?php echo $T->t('edit.link.image.provided'); ?>">
+                                       <img class="linkthumbnail" src="<?php echo $linkData['imageToShow']; ?>" alt="<?php echo $T->t('view.image.provided'); ?>">
                                </p>
                                <input class="input" type="text" name="data[image]" value="<?php echo Summoner::ifset($formData, 'image'); ?>" /><br />
                                <br />
                <?php } ?>
         <div class="columns">
             <div class="column is-one-quarter">
-                <p><?php echo $T->t('edit.link.tags'); ?></p>
+                <p><?php echo $T->t('view.tags'); ?></p>
             </div>
             <div class="column">
                 <div class="field is-grouped is-grouped-multiline" id="tag-listbox">
         </div>
                <div class="columns">
                        <div class="column is-one-quarter">
-                               <p><?php echo $T->t('edit.link.category'); ?></p>
+                               <p><?php echo $T->t('view.category'); ?></p>
                        </div>
                        <div class="column">
                                <div class="field is-grouped is-grouped-multiline" id="category-listbox">
                        <div class="column">
                                <label class="checkbox">
                                        <input type="checkbox" name="data[private]" value="1" <?php if(Summoner::ifset($formData, 'private')) echo "checked"; ?> />
-                                       <?php echo $T->t('edit.link.private'); ?>
+                                       <?php echo $T->t('view.private'); ?>
                                </label>
                        </div>
                </div>