Skip to content

Commit 43d9d3f

Browse files
authored
Add missing translation entries for untranslated lng() strings (#1422)
1 parent e08d71b commit 43d9d3f

1 file changed

Lines changed: 51 additions & 3 deletions

File tree

tinyfilemanager.php

Lines changed: 51 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1702,8 +1702,8 @@ function getSelected($l)
17021702
<p>
17031703
<h3><a href="https://github.com/prasathmani/tinyfilemanager" target="_blank" class="app-v-title"> <?php echo lng("AppName")." ".VERSION; ?></a></h3>
17041704
</p>
1705-
<p>Author: PRAŚATH MANİ</p>
1706-
<p>Mail Us: <a href="mailto:ccpprogrammers@gmail.com">ccpprogrammers [at] gmail [dot] com</a> </p>
1705+
<p><strong><?php echo lng('Author') ?></strong>: PRAŚATH MANİ</p>
1706+
<p><strong><?php echo lng('Mail Us') ?></strong>: <a href="mailto:ccpprogrammers@gmail.com">ccpprogrammers [at] gmail [dot] com</a></p>
17071707
</div>
17081708
<div class="col-xs-12 col-sm-6">
17091709
<div class="card">
@@ -5574,7 +5574,6 @@ function lng($txt)
55745574
$tr['en']['BackUp'] = 'Back Up';
55755575
$tr['en']['SourceFolder'] = 'Source Folder';
55765576
$tr['en']['Files'] = 'Files';
5577-
$tr['en']['Move'] = 'Move';
55785577
$tr['en']['Change'] = 'Change';
55795578
$tr['en']['Settings'] = 'Settings';
55805579
$tr['en']['Language'] = 'Language';
@@ -5636,6 +5635,55 @@ function lng($txt)
56365635
$tr['en']['File size'] = 'File size';
56375636
$tr['en']['MIME-type'] = 'MIME-type';
56385637
$tr['en']['a files'] = 'files';
5638+
// Pre-existing inputs that were never inserted into the lng() function
5639+
$tr['en']['Cannot open file! Aborting download'] = 'Cannot open file! Aborting download';
5640+
$tr['en']['Charset'] = 'Charset';
5641+
$tr['en']['Compression'] = 'Compression';
5642+
$tr['en']['dark'] = 'dark';
5643+
$tr['en']['light'] = 'light';
5644+
$tr['en']['ERROR: Try again later!'] = 'ERROR: Try again later!';
5645+
$tr['en']['Enter here...'] = 'Enter here...';
5646+
$tr['en']['Enter new file name'] = 'Enter new file name';
5647+
$tr['en']['Error'] = 'Error';
5648+
$tr['en']['Error while copying items'] = 'Error while copying items';
5649+
$tr['en']['Error while moving items'] = 'Error while moving items';
5650+
$tr['en']['Error: try again'] = 'Error: try again';
5651+
$tr['en']['Execute'] = 'Execute';
5652+
$tr['en']['Files in archive'] = 'Files in archive';
5653+
$tr['en']['Fullscreen'] = 'Fullscreen';
5654+
$tr['en']['Group'] = 'Group';
5655+
$tr['en']['Image size'] = 'Image size';
5656+
$tr['en']['Invalid Token.'] = 'Invalid Token.';
5657+
$tr['en']['No result found!'] = 'No result found!';
5658+
$tr['en']['not created'] = 'not created';
5659+
$tr['en']['not deleted'] = 'not deleted';
5660+
$tr['en']['OOPS: minimum 3 characters required!'] = 'OOPS: minimum 3 characters required!';
5661+
$tr['en']['Okay'] = 'Okay';
5662+
$tr['en']['Other'] = 'Other';
5663+
$tr['en']['Read'] = 'Read';
5664+
$tr['en']['Redo'] = 'Redo';
5665+
$tr['en']['Select Document Type'] = 'Select Document Type';
5666+
$tr['en']['Select Font Size'] = 'Select Font Size';
5667+
$tr['en']['Select Mode'] = 'Select Mode';
5668+
$tr['en']['Select Theme'] = 'Select Theme';
5669+
$tr['en']['Selected files and folders copied'] = 'Selected files and folders copied';
5670+
$tr['en']['Selected files and folders moved'] = 'Selected files and folders moved';
5671+
$tr['en']['Size in archive'] = 'Size in archive';
5672+
$tr['en']['Sometimes the save action may not work on the first try, so please attempt it again'] = 'Sometimes the save action may not work on the first try, so please attempt it again';
5673+
$tr['en']['Tar'] = 'Tar';
5674+
$tr['en']['Theme'] = 'Theme';
5675+
$tr['en']['Total size'] = 'Total size';
5676+
$tr['en']['Unable to create destination folder'] = 'Unable to create destination folder';
5677+
$tr['en']['Undo'] = 'Undo';
5678+
$tr['en']['Upload from URL'] = 'Upload from URL';
5679+
$tr['en']['Uploaded Successful'] = 'Uploaded Successful';
5680+
$tr['en']['Word Wrap'] = 'Word Wrap';
5681+
$tr['en']['Write'] = 'Write';
5682+
$tr['en']['Zero byte file! Aborting download'] = 'Zero byte file! Aborting download';
5683+
$tr['en']['Zip'] = 'Zip';
5684+
// New entries, which deserve to be translated
5685+
$tr['en']['Author'] = 'Author';
5686+
$tr['en']['Mail Us'] = 'Mail Us';
56395687

56405688
$i18n = fm_get_translations($tr);
56415689
$tr = $i18n ? $i18n : $tr;

0 commit comments

Comments
 (0)