Merge pull request #170 from pepa65/master

Added Dutch translation and unified related files
This commit is contained in:
hamza zia 2015-10-30 21:21:50 +08:00
commit 5a06b12e6c
6 changed files with 286 additions and 118 deletions

View File

@ -74,6 +74,7 @@
<!-- translate --> <!-- translate -->
<script src="js/libs/angular-translate.js"></script> <script src="js/libs/angular-translate.js"></script>
<script src="js/translate/nl_NL.js"></script>
<script src="js/translate/th_TH.js"></script> <script src="js/translate/th_TH.js"></script>
<script src="js/translate/zh_CN.js"></script> <script src="js/translate/zh_CN.js"></script>
</head> </head>
@ -86,7 +87,7 @@
<div class="container"> <div class="container">
<div class="navbar-header"> <div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" ng-click="collapsed = !collapsed"> <button type="button" class="navbar-toggle collapsed" ng-click="collapsed = !collapsed">
<span class="sr-only">Toggle navigation</span> <span class="sr-only">{{ 'Toggle navigation' | translate }}</span>
<span class="icon-bar"></span> <span class="icon-bar"></span>
<span class="icon-bar"></span> <span class="icon-bar"></span>
<span class="icon-bar"></span> <span class="icon-bar"></span>
@ -195,13 +196,13 @@
<li class="dropdown" dropdown> <li class="dropdown" dropdown>
<a <a
class="dropdown-toggle" dropdown-toggle class="dropdown-toggle" dropdown-toggle
href="#">Miscellaneous <span class="caret"></span></a> href="#">{{ 'Miscellaneous' | translate }} <span class="caret"></span></a>
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li> <li>
<a href="#"><span class="fa fa-fw fa-list-alt">&nbsp;</span> {{ 'Global Statistics' | translate }}</a> <a href="#"><span class="fa fa-fw fa-list-alt">&nbsp;</span> {{ 'Global Statistics' | translate }}</a>
</li> </li>
<li> <li>
<a href="#"><span class="fa fa-fw fa-info-circle">&nbsp;</span> About</a> <a href="#"><span class="fa fa-fw fa-info-circle">&nbsp;</span> {{ 'About' | translate }}</a>
</li> </li>
</ul> </ul>
</li> </li>
@ -248,7 +249,7 @@
</ul> </ul>
<!-- }}} --> <!-- }}} -->
<br> <br />
<!-- {{{ download filters --> <!-- {{{ download filters -->
@ -314,7 +315,7 @@
</ul> </ul>
<!-- }}} --> <!-- }}} -->
<br> <br />
<!-- {{{ starred properties --> <!-- {{{ starred properties -->
@ -342,7 +343,7 @@
<!-- {{{ downloads --> <!-- {{{ downloads -->
<!-- Bug?? <div ng-show="!totalAria2Downloads() && totalAria2Downloads() > getDownloads()" class="hero-unit">--> <!-- Bug?? <div ng-show="!totalAria2Downloads() && totalAria2Downloads() > getDownloads()" class="hero-unit">-->
<div ng-show="!totalAria2Downloads()" class="jumbotron"> <div ng-show="!totalAria2Downloads()" class="jumbotron">
Currently no download in line to display, use the '<strong>Add</strong>' download button to start downloading files! {{ 'Currently no download in line to display, use the' | translate }} <strong>{{ 'Add' | translate }}</strong> {{ 'download button to start downloading files!' | translate }}
</div> </div>
@ -406,21 +407,21 @@
<a <a
ng-click="showSettings(download)" ng-click="showSettings(download)"
ng-show="['waiting', 'active'].indexOf( getType(download) )!= -1" ng-show="['waiting', 'active'].indexOf( getType(download) )!= -1"
href="#"><span class="fa fa-fw fa-cog">&nbsp;</span> Settings</a> href="#"><span class="fa fa-fw fa-cog">&nbsp;</span> {{ 'Settings' | translate }}</a>
</li> </li>
<li ng-show="download.bittorrent && false"> <li ng-show="download.bittorrent && false">
<a href="#"><span class="fa fa-fw fa-list-alt">&nbsp;</span> Peers</a> <a href="#"><span class="fa fa-fw fa-list-alt">&nbsp;</span> {{ 'Peers' | translate }}</a>
</li> </li>
<li> <li>
<a ng-click="toggleCollapsed(download)" <a ng-click="toggleCollapsed(download)"
href="#"><span class="fa fa-fw fa-info-circle">&nbsp;</span> More Info</a> href="#"><span class="fa fa-fw fa-info-circle">&nbsp;</span> {{ 'More Info' | translate }}</a>
</li> </li>
<li class="visible-phone"> <li class="visible-phone">
<a ng-click="remove(download)" <a ng-click="remove(download)"
href="#"><span class="fa fa-fw fa-times">&nbsp;</span> Remove</a> href="#"><span class="fa fa-fw fa-times">&nbsp;</span> {{ 'Remove' | translate }}</a>
</li> </li>
</ul> </ul>
</div> </div>
@ -586,8 +587,8 @@
<li class="label label-default" title={{download.connectionsTitle}}><i class="fa fa-fw fa-link">&nbsp;</i> <span class="download-connections">{{download.connections}}{{download.numSeeders}}</span></li> <li class="label label-default" title={{download.connectionsTitle}}><i class="fa fa-fw fa-link">&nbsp;</i> <span class="download-connections">{{download.connections}}{{download.numSeeders}}</span></li>
<li class="label label-default" title="Download GID"><i class="fa fa-fw fa-bars">&nbsp;</i> <span class="download-gid">{{download.gid}}</span></li> <li class="label label-default" title="Download GID"><i class="fa fa-fw fa-bars">&nbsp;</i> <span class="download-gid">{{download.gid}}</span></li>
<li class="label label-default" title="Number of Pieces"># of <i class="fa fa-fw fa-puzzle-piece">&nbsp;</i> <span class="download-numPieces">{{download.numPieces}}</span></li> <li class="label label-default" title="Number of Pieces">{{ '# of' | translate }} <i class="fa fa-fw fa-puzzle-piece">&nbsp;</i> <span class="download-numPieces">{{download.numPieces}}</span></li>
<li class="label label-default" title="Piece Length"><i class="fa fa-fw fa-puzzle-piece"></i> Length&nbsp; <span class="download-pieceLength">{{download.fmtPieceLength}}</span></li> <li class="label label-default" title="Piece Length"><i class="fa fa-fw fa-puzzle-piece"></i> {{ 'Length' | translate }}&nbsp; <span class="download-pieceLength">{{download.fmtPieceLength}}</span></li>
<li class="label label-default" title="Download Path"><i class="fa fa-fw fa-folder-open">&nbsp;</i> <span class="download-dir">{{download.dir}}</span></li> <li class="label label-default" title="Download Path"><i class="fa fa-fw fa-folder-open">&nbsp;</i> <span class="download-dir">{{download.dir}}</span></li>
</ul> </ul>
<ul class="download-files hidden-phone download-item"> <ul class="download-files hidden-phone download-item">
@ -643,17 +644,10 @@
<form class="modal-body"> <form class="modal-body">
<fieldset> <fieldset>
<p class="help-block"> <p class="help-block">
- You can add multiple downloads (files) {{ '- You can add multiple downloads (files) at the same time by putting URIs for each file on a separate line.' | translate }}<br />
at the same time by putting uris for each {{ '- You can also add multiple URIs (mirrors) for the *same* file. To do this, separate the URIs by a space.' | translate }}<br />
file on a separate line. <br> {{ '- A URI can be HTTP(S)/FTP/BitTorrent-Magnet.' | translate }}</br>
- You can also add multiple uris (mirrors) for the {{ 'E.g. to add 2 files (downloads) f1.jpg and f2.mp4 with 2 URIs (mirrors) each, add URIs as follows' | translate }}:<br />
*same* file. To do this separate the uris
by a space. <br>
- A URI can be HTTP(S)/FTP/BitTorrent Magnet URI. </br>
E.g. To add 2 files (downloads) f1.jpg
and f2.mp4 with 2 uris (mirrors) each,
add uris as following:
<br>
<!-- pre tags print tabs, so do not indent them! --> <!-- pre tags print tabs, so do not indent them! -->
<pre> <pre>
http://ex1.com/f1.jpg http://ex2.com/f1.jpg http://ex1.com/f1.jpg http://ex2.com/f1.jpg
@ -677,7 +671,7 @@ http://ex1.com/f2.mp4 http://ex2.com/f2.mp4 --out=file2.mp4
</select> </select>
<input ng-show="!set.options.length" type="text" class="form-control input-xxlarge modal-form-input-verylarge" ng-model="set.val"/> <input ng-show="!set.options.length" type="text" class="form-control input-xxlarge modal-form-input-verylarge" ng-model="set.val"/>
</div> </div>
<br> <br />
</div> </div>
</div> </div>
@ -720,12 +714,12 @@ http://ex1.com/f2.mp4 http://ex2.com/f2.mp4 --out=file2.mp4
<fieldset> <fieldset>
<legend>{{ 'Select Torrents' | translate }}</legend> <legend>{{ 'Select Torrents' | translate }}</legend>
<p class="help-block"> <p class="help-block">
- Select the torrent from the local filesystem to start the download. <br> {{ '- Select the torrent from the local filesystem to start the download.' | translate }}<br />
- You can select multiple torrents to start multiple downloads <br> {{ '- You can select multiple torrents to start multiple downloads.' | translate }}<br />
- To add a magnet torrent url, use the add url option and add it there. {{ '- To add a BitTorrent-Magnet URL, use the add URI option and add it there.' | translate }}
</p> </p>
<div class="form-horizontal form-group"> <div class="form-horizontal form-group">
<label class="control-label" style="text-align: left;"><b>{{ 'Select a Torrent:' | translate }}</b></label> <label class="control-label" style="text-align: left;"><b>{{ 'Select a Torrent' | translate }}:</b></label>
<div class="controls"> <div class="controls">
<input type="file" class="input-xlarge" fselect="getTorrents.files" multiple/> <input type="file" class="input-xlarge" fselect="getTorrents.files" multiple/>
</div> </div>
@ -745,7 +739,7 @@ http://ex1.com/f2.mp4 http://ex2.com/f2.mp4 --out=file2.mp4
</select> </select>
<input ng-show="!set.options.length" type="text" class="form-control input-xxlarge modal-form-input-verylarge" ng-model="set.val"/> <input ng-show="!set.options.length" type="text" class="form-control input-xxlarge modal-form-input-verylarge" ng-model="set.val"/>
</div> </div>
<br> <br />
</div> </div>
</div> </div>
@ -788,11 +782,11 @@ http://ex1.com/f2.mp4 http://ex2.com/f2.mp4 --out=file2.mp4
<fieldset> <fieldset>
<legend>{{ 'Select Metalinks' | translate }}</legend> <legend>{{ 'Select Metalinks' | translate }}</legend>
<p class="help-block"> <p class="help-block">
- Select the metalink from the local filesystem to start the download. <br> {{ '- Select the Metalink from the local filesystem to start the download.' | translate }}<br />
- You can select multiple metalinks to start multiple downloads {{ '- You can select multiple Metalinks to start multiple downloads.' | translate }}
</p> </p>
<div class="form-horizontal form-group"> <div class="form-horizontal form-group">
<label class="control-label" style="text-align: left;"><b>{{ 'Select a Metalinks:' | translate }}</b></label> <label class="control-label" style="text-align: left;"><b>{{ 'Select a Metalink' | translate }}:</b></label>
<div class="controls"> <div class="controls">
<input type="file" class="input-xlarge" fselect="getMetalinks.files" multiple/> <input type="file" class="input-xlarge" fselect="getMetalinks.files" multiple/>
</div> </div>
@ -812,7 +806,7 @@ http://ex1.com/f2.mp4 http://ex2.com/f2.mp4 --out=file2.mp4
</select> </select>
<input ng-show="!set.options.length" type="text" class="form-control input-xxlarge modal-form-input-verylarge" ng-model="set.val"/> <input ng-show="!set.options.length" type="text" class="form-control input-xxlarge modal-form-input-verylarge" ng-model="set.val"/>
</div> </div>
<br> <br />
</div> </div>
</div> </div>
@ -863,15 +857,15 @@ http://ex1.com/f2.mp4 http://ex2.com/f2.mp4 --out=file2.mp4
<input type="checkbox" ng-model="file.selected"/>{{file.relpath}} <input type="checkbox" ng-model="file.selected"/>{{file.relpath}}
</label> </label>
</div> </div>
<br><br> <br /><br />
</div> </div>
</div> </div>
</fieldset> </fieldset>
</form> </form>
<div class="modal-footer"> <div class="modal-footer">
<button class="btn btn-default" ng-click="$dismiss()">Cancel</button> <button class="btn btn-default" ng-click="$dismiss()">{{ 'Cancel' | translate }}</button>
<button class="btn btn-default btn-primary" ng-click="$close()">Choose</button> <button class="btn btn-default btn-primary" ng-click="$close()">{{ 'Choose' | translate }}</button>
</div> </div>
</script> </script>
<!-- }}} --> <!-- }}} -->
@ -896,7 +890,7 @@ http://ex1.com/f2.mp4 http://ex2.com/f2.mp4 --out=file2.mp4
<div class="checkbox" ng-show="set.starred != undefined"> <div class="checkbox" ng-show="set.starred != undefined">
<label> <label>
<input type="checkbox" ng-model="set.starred"/> <input type="checkbox" ng-model="set.starred"/>
Quick Access (shown on the main page) {{ 'Quick Access (shown on the main page)' | translate }}
</label> </label>
</div> </div>
<p class="help-block">{{set.desc}}</p> <p class="help-block">{{set.desc}}</p>
@ -924,7 +918,7 @@ http://ex1.com/f2.mp4 http://ex2.com/f2.mp4 --out=file2.mp4
<fieldset> <fieldset>
<legend>{{ 'Aria2 RPC host and port' | translate }}</legend> <legend>{{ 'Aria2 RPC host and port' | translate }}</legend>
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label">{{ 'Enter the host:' | translate }}</label> <label class="col-sm-3 control-label">{{ 'Enter the host' | translate }}:</label>
<div class="col-sm-9 controls"> <div class="col-sm-9 controls">
<div class="input-group"> <div class="input-group">
<span class="input-group-addon">http(s)://</span> <span class="input-group-addon">http(s)://</span>
@ -932,26 +926,24 @@ http://ex1.com/f2.mp4 http://ex2.com/f2.mp4 --out=file2.mp4
ng-model="connection.conf.host"/> ng-model="connection.conf.host"/>
</div> </div>
<p class="help-block"> <p class="help-block">
Enter the ip or dns name of the server on which the {{ 'Enter the IP or DNS name of the server on which the RPC for Aria2 is running (default: localhost)' | translate }}
rpc for aria2 is running (default = localhost)
</p> </p>
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label">{{ 'Enter the port:' | translate }}</label> <label class="col-sm-3 control-label">{{ 'Enter the port' | translate }}:</label>
<div class="col-sm-9 controls"> <div class="col-sm-9 controls">
<input type="text" class="form-control input-xlarge modal-form-input-number" <input type="text" class="form-control input-xlarge modal-form-input-number"
ng-model="connection.conf.port"/> ng-model="connection.conf.port"/>
<p class="help-block"> <p class="help-block">
Enter the port of the server on which the rpc for {{ 'Enter the port of the server on which the RPC for Aria2 is running (default: 6800)' | translate }}
aria2 is running (default = 6800)
</p> </p>
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label">Enter the rpc path:</label> <label class="col-sm-3 control-label">{{ 'Enter the RPC path' | translate }}:</label>
<div class="col-sm-9 controls"> <div class="col-sm-9 controls">
<div class="input-group"> <div class="input-group">
<span class="input-group-addon">http(s)://{{connection.conf.host + ':' + connection.conf.port}}</span> <span class="input-group-addon">http(s)://{{connection.conf.host + ':' + connection.conf.port}}</span>
@ -959,55 +951,53 @@ http://ex1.com/f2.mp4 http://ex2.com/f2.mp4 --out=file2.mp4
ng-model="connection.conf.path"/> ng-model="connection.conf.path"/>
</div> </div>
<p class="help-block"> <p class="help-block">
Enter path for the aria2 rpc endpoint (default = /jsonrpc) {{ 'Enter the path for the Aria2 RPC endpoint (default: /jsonrpc)' | translate }}
</p> </p>
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label">SSL/TLS encryption:</label> <label class="col-sm-3 control-label">{{ 'SSL/TLS encryption' | translate }}:</label>
<div class="col-sm-9 controls"> <div class="col-sm-9 controls">
<div class="checkbox"> <div class="checkbox">
<label> <label>
<input type="checkbox" ng-model="connection.conf.encrypt"/> <input type="checkbox" ng-model="connection.conf.encrypt"/>
Enable SSL/TLS encryption. {{ 'Enable SSL/TLS encryption' | translate }}
</label> </label>
</div> </div>
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label">Enter the secret token (optional):</label> <label class="col-sm-3 control-label">{{ 'Enter the secret token (optional)' | translate }}:</label>
<div class="col-sm-9 controls"> <div class="col-sm-9 controls">
<label> <label>
<input type="text" class="form-control input-xlarge" ng-model="connection.conf.auth.token"/> <input type="text" class="form-control input-xlarge" ng-model="connection.conf.auth.token"/>
<p class="help-block"> <p class="help-block">
Enter the aria2 RPC secret token (leave empty if authentication is not enabled) {{ 'Enter the Aria2 RPC secret token (leave empty if authentication is not enabled)' | translate }}
</p> </p>
</label> </label>
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label">Enter the username (optional):</label> <label class="col-sm-3 control-label">{{ 'Enter the username (optional)' | translate }}:</label>
<div class="col-sm-9 controls"> <div class="col-sm-9 controls">
<input type="text" class="form-control input-xlarge" <input type="text" class="form-control input-xlarge"
ng-model="connection.conf.auth.user"/> ng-model="connection.conf.auth.user"/>
<p class="help-block"> <p class="help-block">
Enter the aria2 RPC username {{ 'Enter the Aria2 RPC username (empty if authentication not enabled)' | translate }}
(empty if authentication not enabled)
</p> </p>
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label">Enter the password (optional):</label> <label class="col-sm-3 control-label">{{ 'Enter the password (optional)' | translate }}:</label>
<div class="col-sm-9 controls"> <div class="col-sm-9 controls">
<input type="password" class="form-control input-xlarge" <input type="password" class="form-control input-xlarge"
ng-model="connection.conf.auth.pass"/> ng-model="connection.conf.auth.pass"/>
<p class="help-block"> <p class="help-block">
Enter the aria2 RPC password {{ 'Enter the Aria2 RPC password (empty if authentication not enabled)' | translate }}
(empty if authentication not enabled)
</p> </p>
</div> </div>
</div> </div>
@ -1016,13 +1006,13 @@ http://ex1.com/f2.mp4 http://ex2.com/f2.mp4 --out=file2.mp4
<fieldset> <fieldset>
<legend>{{ 'Direct Download' | translate }}</legend> <legend>{{ 'Direct Download' | translate }}</legend>
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label">Enter base URL (optional):</label> <label class="col-sm-3 control-label">{{ 'Enter base URL (optional)' | translate }}:</label>
<div class="col-sm-9 controls"> <div class="col-sm-9 controls">
<input type="text" class="form-control input-xlarge" <input type="text" class="form-control input-xlarge"
ng-model="connection.conf.directURL"/> ng-model="connection.conf.directURL"/>
<p class="help-block"> <p class="help-block">
If supplied, links will be created to enable direct download from the {{ 'If supplied, links will be created to enable direct download from the Aria2 server.' | translate }}<br />
aria2 server, requires appropriate webserver to be configured (( '(Requires an appropriate webserver to be configured.)' | translate }}
</p> </p>
</div> </div>
</div> </div>
@ -1046,9 +1036,9 @@ http://ex1.com/f2.mp4 http://ex2.com/f2.mp4 --out=file2.mp4
<h4>{{ 'Aria2 server info' | translate }}</h4> <h4>{{ 'Aria2 server info' | translate }}</h4>
</div> </div>
<div class="modal-body"> <div class="modal-body">
<b>Aria2 Version {{miscellaneous.version}}</b> <b>{{ 'Aria2 Version' | translate }} {{miscellaneous.version}}</b>
<br><br> <br /><br />
<b>Features Enabled</b> <b>{{ 'Features Enabled' | translate }}</b>
<ul> <ul>
<li <li
ng-repeat="feature in miscellaneous.enabledFeatures"> ng-repeat="feature in miscellaneous.enabledFeatures">
@ -1070,11 +1060,10 @@ http://ex1.com/f2.mp4 http://ex2.com/f2.mp4 --out=file2.mp4
</div> </div>
<div class="modal-body"> <div class="modal-body">
<p> <p>
To download the latest version of the project,<br /> {{ 'To download the latest version of the project, add issues or to contribute back, head on to' | translate }}:<br />
add issues or to contribute back head on to:<br />
<a href="https://github.com/ziahamza/webui-aria2">http://github.com/ziahamza/webui-aria2</a> <a href="https://github.com/ziahamza/webui-aria2">http://github.com/ziahamza/webui-aria2</a>
<br /><br /> <br /><br />
Or you can open the latest version in browser through:<br /> {{ 'Or you can open the latest version in browser through' | translate }}:<br />
<a href="http://ziahamza.github.io/webui-aria2">http://ziahamza.github.io/webui-aria2</a> <a href="http://ziahamza.github.io/webui-aria2">http://ziahamza.github.io/webui-aria2</a>
</p> </p>
</div> </div>

View File

@ -15,6 +15,7 @@ var webui = angular.module('webui', [
webui.config(['$translateProvider', function ($translateProvider) { webui.config(['$translateProvider', function ($translateProvider) {
$translateProvider $translateProvider
.translations('nl_NL', translations.nl_NL)
.translations('th_TH', translations.th_TH) .translations('th_TH', translations.th_TH)
.translations('zh_CN', translations.zh_CN) .translations('zh_CN', translations.zh_CN)
.determinePreferredLanguage(); .determinePreferredLanguage();

119
js/translate/nl_NL.js Normal file
View File

@ -0,0 +1,119 @@
if(typeof translations == 'undefined'){
translations = {};
}
translations.nl_NL = {
// header
'Search': 'Zoeken',
// Nav menu
'Add': 'Toevoegen',
'By URIs': 'met URI',
'By Torrents': 'met Torrents',
'By Metalinks': 'met Metalinks',
'Manage': 'Beheren',
'Pause All': 'Alles pauzeren',
'Resume Paused': 'Hervatten',
'Purge Completed': 'Verwijder de voleindigden',
'Settings': 'Instellingen',
'Connection Settings': 'Verbindingsinstellingen',
'Global Settings': 'Globale instellingen',
'Server info': 'Informatie over de server',
'About and contribute': 'Over het project en bijdragen',
'Toggle navigation': 'Navigatie omschakelen',
// body
// nav side bar
'Miscellaneous': 'Overig',
'Global Statistics': 'Globale statistieken',
'About': 'Over het project',
'Displaying': '', // empty because of grammar in the following 2 elements
'of': 'van',
'downloads': 'downloads weergegeven',
// download filters
'Download Filters': 'Download filters',
'Running': 'Bezig',
'Active': 'Actief',
'Waiting': 'Wachtend',
'Complete': 'Voleindigd',
'Error': 'Foutief',
'Paused': 'Gepauzeerd',
'Removed': 'Verwijderd',
'Hide linked meta-data': 'Gekoppelde metadata verbergen',
'Toggle': 'Omschakelen',
'Reset filters': 'Filters terugzetten',
// starred properties
'Quick Access Settings': 'Snelle-toegang instellingen',
'Save settings': 'Instellingen opslaan',
'Currently no download in line to display, use the': 'Momenteel geen downloads weer te geven, gebruik de ',
'download button to start downloading files!': 'knop om bestanden te gaan downloaden!',
'Peers': 'Peers',
'More Info': 'Meer informatie',
'Remove': 'Verwijderen',
'# of': 'Aantal',
'Length': 'Lengte',
// modals
'Add Downloads By URIs': 'Downloads toevoegen met URI',
'- You can add multiple downloads (files) at the same time by putting URIs for each file on a separate line.':
'- Je kunt meerdere downloads (bestanden) tezelfdertijd toevoegen door de URIs voor elk bestand op een aparte regel te zetten.',
'- You can also add multiple URIs (mirrors) for the *same* file. To do this, separate the URIs by a space.':
'- Je kunt ook meerdere URIs (mirrors) voor *hetzelfde* bestand toevoegen. Scheidt hiervoor de URIs met een spatie.',
'- A URI can be HTTP(S)/FTP/BitTorrent-Magnet.': '- Een URI kan HTTP(S)/FTP/BitTorrent-Magnet zijn.',
'E.g. to add 2 files (downloads) f1.jpg and f2.mp4 with 2 URIs (mirrors) each, add URIs as follows':
'Bijvoorbeeld, voor het toevoegen van 2 bestanden (downloads) f1.jpg en f2.mp4 met 2 URIs (mirrors) elk, voeg de URIs op deze manier:',
'Download settings': 'Download instellingen',
'Advanced settings': 'Geavanceerde instellingen',
'Cancel': 'Annuleren',
'Start': 'Starten',
'Choose': 'Kiezen',
'Quick Access (shown on the main page)': 'Snelle toegang (op de hoofdpagina)',
// add torrent modal
'Add Downloads By Torrents': 'Downloads toevoegen met torrents',
'- Select the torrent from the local filesystem to start the download.': '- Selecteer de torrent van het locale bestandssysteem om de download te starten.',
'- You can select multiple torrents to start multiple downloads.': '- Je kunt meerdere torrents selecteren voor meerdere downloads.',
'- To add a BitTorrent-Magnet URL, use the Add By URI option and add it there.': '- Om een BitTorrent-Magnet URL toe te voegen, gebruik de Toevoegen met URI optie, en voeg het daar toe.',
'Select Torrents': 'Selecteer torrents',
'Select a Torrent': 'Selecteer een torrent',
// add metalink modal
'Add Downloads By Metalinks': 'Download toevoegen met Metalinks',
'Select Metalinks': 'Selecteer Metalinks',
'- Select the Metalink from the local filesystem to start the download.': '- Selecteer de Metalink van het locale bestandssysteem om de download te starten.',
'- You can select multiple Metalinks to start multiple downloads.': '- Selecter meerdere Metalinks om meerdere downloads te starten.',
'Select a Metalink': 'Selecteer een Metalink',
// select file modal
'Choose files to start download for': 'Bestanden kiezen waarvoor het downloaden beginnen moet',
'Select to download': 'Selecteer om te downloaden',
// settings modal
'Aria2 RPC host and port': 'Aria2 RPC server en poort',
'Enter the host': 'Server invoeren',
'Enter the IP or DNS name of the server on which the RPC for Aria2 is running (default: localhost)':
'Voer de IP of DNS naam van de server waarop de RPC van Aria2 loopt (standaard: localhost)',
'Enter the port': 'Poort invoeren',
'Enter the port of the server on which the RPC for Aria2 is running (default: 6800)':
'Invoeren van de serverpoort waarop de RPC van Aria2 loopt (standaard: 6800)',
'Enter the RPC path': 'Invoeren van het RPC pad',
'Enter the path for the Aria2 RPC endpoint (default: /jsonrpc)': 'Invoeren van het eindpunt van het Aria2 RPC pad (standaard: /jsonrpc)',
'SSL/TLS encryption': 'SSL/TLS versleuteling',
'Enable SSL/TLS encryption': 'SSL/TLS versleuteling inschakelen',
'Enter the secret token (optional)': 'Invoeren van het wachtwoord (facultatief)',
'Enter the Aria2 RPC secret token (leave empty if authentication is not enabled)':
'Invoeren van het Aria2 RPC wachtwoord (niet invullen als authenticatie niet is ingeschakeld)',
'Enter the username (optional)': 'Invoeren van de gebruikersnaam (facultatief)',
'Enter the Aria2 RPC username (empty if authentication not enabled)':
'Invoeren van de Aria2 RPC gebruikersnaam (niet invullen als authenticatie niet is ingeschakeld)',
'Enter the password (optional)': 'Invoeren van het wachtwoord (facultatief)',
'Enter the Aria2 RPC password (empty if authentication not enabled)': 'Invoeren van het Aria2 RPC wachtwoord (niet invullen als authenticatie niet is ingeschakeld)',
'Enter base URL (optional)': 'Invoeren van de basis URL (facultatief)',
'Direct Download': 'Direct downloaden',
'If supplied, links will be created to enable direct download from the Aria2 server.':
'Als ingevoerd dan worden links aangemaakt die het direct downloaden van de Aria2 server toestaan.',
'(Requires appropriate webserver to be configurured.)': 'Hiervoor moet een geschikte webserver worden ingericht.)',
'Save Connection configuration': 'Verbindingsconfiguratie opslaan',
// server info modal
'Aria2 server info': 'Aria2 server informatie',
'Aria2 Version': 'Aria2 versie',
'Features Enabled': 'Geactiveerde kenmerken',
// about modal
'To download the latest version of the project, add issues or to contribute back, head on to':
'Om de nieuwste versie van het project te downloaden, problemen te rapporteren of bij te dragen, ga naar',
'Or you can open the latest version in the browser through': 'Of je kunt hier de nieuwste versie in je browser openen',
'Close': 'Afsluiten',
};

View File

@ -30,9 +30,12 @@ translations.en_US = { // replace en_US to ll_CC, examples: zh_CN, de_AT.
'Global Settings': '', 'Global Settings': '',
'Server info': '', 'Server info': '',
'About and contribute': '', 'About and contribute': '',
'Toggle navigation': '',
// body // body
// nav side bar // nav side bar
'Miscellaneous': '',
'Global Statistics': '', 'Global Statistics': '',
'About': '',
'Displaying': '', 'Displaying': '',
'of': '', 'of': '',
'downloads': '', 'downloads': '',
@ -51,44 +54,77 @@ translations.en_US = { // replace en_US to ll_CC, examples: zh_CN, de_AT.
// starred properties // starred properties
'Quick Access Settings': '', 'Quick Access Settings': '',
'Save settings': '', 'Save settings': '',
'Currently no download in line to display, use the': '',
'download button to start downloading files!': '',
'Peers': '',
'More Info': '',
'Remove': '',
'# of': '',
'Length': '',
// modals // modals
'Add Downloads By URIs': '', 'Add Downloads By URIs': '',
'- You can add multiple downloads (files) at the same time by putting URIs for each file on a separate line.':
'',
'- You can also add multiple URIs (mirrors) for the *same* file. To do this, separate the URIs by a space.':
'',
'- A URI can be HTTP(S)/FTP/BitTorrent-Magnet.': '',
'E.g. to add 2 files (downloads) f1.jpg and f2.mp4 with 2 URIs (mirrors) each, add URIs as follows':
'',
'Download settings': '', 'Download settings': '',
'Advanced settings': '', 'Advanced settings': '',
'Cancel': '', 'Cancel': '',
'Start': '', 'Start': '',
'Choose': '',
'Quick Access (shown on the main page)': '',
// add torrent modal // add torrent modal
'Add Downloads By Torrents': '', 'Add Downloads By Torrents': '',
'- Select the torrent from the local filesystem to start the download.': '',
'- You can select multiple torrents to start multiple downloads.': '',
'- To add a BitTorrent-Magnet URL, use the Add By URI option and add it there.': '',
'Select Torrents': '', 'Select Torrents': '',
'Select a Torrent:': '', 'Select a Torrent': '',
//'Download settings': '', // repeated
//'Advanced settings': '',
//'Cancel': '',
//'Start': '',
// add metalink modal // add metalink modal
'Add Downloads By Metalinks': '', 'Add Downloads By Metalinks': '',
'Select Metalinks': '', 'Select Metalinks': '',
'Select a Metalinks:': '', '- Select the Metalink from the local filesystem to start the download.': '',
//'Download settings': '', '- You can select multiple Metalinks to start multiple downloads.': '',
//'Advanced settings': '', 'Select a Metalink': '',
//'Cancel': '',
//'Start': '',
// select file modal // select file modal
'Choose files to start download for': '', 'Choose files to start download for': '',
'Select to download': '', 'Select to download': '',
// settings modal // settings modal
//'Cancel': '',
//'Connection Settings': '',
'Aria2 RPC host and port': '', 'Aria2 RPC host and port': '',
'Enter the host:': '', 'Enter the host': '',
'Enter the port:': '', 'Enter the IP or DNS name of the server on which the RPC for Aria2 is running (default: localhost)':
'',
'Enter the port': '',
'Enter the port of the server on which the RPC for Aria2 is running (default: 6800)':
'',
'Enter the RPC path': '',
'Enter the path for the Aria2 RPC endpoint (default: /jsonrpc)': '',
'SSL/TLS encryption': '',
'Enable SSL/TLS encryption': '',
'Enter the secret token (optional)': '',
'Enter the Aria2 RPC secret token (leave empty if authentication is not enabled)':
'',
'Enter the username (optional)': '',
'Enter the Aria2 RPC username (empty if authentication not enabled)':
'',
'Enter the password (optional)': '',
'Enter the Aria2 RPC password (empty if authentication not enabled)': '',
'Enter base URL (optional)': '',
'Direct Download': '', 'Direct Download': '',
//'Cancel': '', 'If supplied, links will be created to enable direct download from the Aria2 server.':
'',
'(Requires appropriate webserver to be configured.)': '',
'Save Connection configuration': '', 'Save Connection configuration': '',
// server info modal // server info modal
'Aria2 server info': '', 'Aria2 server info': '',
'Close': '' 'Aria2 Version': '',
'Features Enabled': '',
// about modal // about modal
//'About and contribute': '', 'To download the latest version of the project, add issues or to contribute back, head on to':
//'Close': '', '',
'Or you can open the latest version in the browser through': '',
'Close': ''
}; };

View File

@ -19,9 +19,12 @@ translations.th_TH = {
'Global Settings': 'ตั้งค่าทั่วไป', 'Global Settings': 'ตั้งค่าทั่วไป',
'Server info': 'ข้อมูลเซอร์เวอร์', 'Server info': 'ข้อมูลเซอร์เวอร์',
'About and contribute': 'เกี่ยวกับและช่วย', 'About and contribute': 'เกี่ยวกับและช่วย',
'Toggle navigation': 'สลับนำทาง',
// body // body
// nav side bar // nav side bar
'Miscellaneous': 'เบ็ดเตล็ด',
'Global Statistics': 'สถิติทั่วไป', 'Global Statistics': 'สถิติทั่วไป',
'About': 'เกี่ยวกับ',
'Displaying': 'แแสดงดาวน์โหลด', 'Displaying': 'แแสดงดาวน์โหลด',
'of': 'อันใน', 'of': 'อันใน',
'downloads': 'อันทั้งหมด', 'downloads': 'อันทั้งหมด',
@ -40,44 +43,77 @@ translations.th_TH = {
// starred properties // starred properties
'Quick Access Settings': 'ตั้งค่าอย่างรวดเร็ว', 'Quick Access Settings': 'ตั้งค่าอย่างรวดเร็ว',
'Save settings': 'บันทึกการตั้งค่า', 'Save settings': 'บันทึกการตั้งค่า',
'Currently no download in line to display, use the': 'ตอนนี้ไม่มีการดาวน์โหลดที่แสดงได้ ก็ใช้ปุ่ม',
'download button to start downloading files!': 'ให้เริ่มดาวน์โหลดไฟล์',
'Peers': 'พีร์ส',
'More Info': 'ข้อมูลเพิ่ม',
'Remove': 'ลบ',
'# of': 'จำนวน',
'Length': 'ความยาว',
// modals // modals
'Add Downloads By URIs': 'เพิ่มดาวน์โหลดด้วยยูอาร์ไอ', 'Add Downloads By URIs': 'เพิ่มดาวน์โหลดด้วยยูอาร์ไอ',
'- You can add multiple downloads (files) at the same time by putting URIs for each file on a separate line.':
'',
'- You can also add multiple URIs (mirrors) for the *same* file. To do this, separate the URIs by a space.':
'',
'- A URI can be HTTP(S)/FTP/BitTorrent-Magnet.': '',
'E.g. to add 2 files (downloads) f1.jpg and f2.mp4 with 2 URIs (mirrors) each, add URIs as follows':
'',
'Download settings': 'ตั้งค่าการดาวน์โหลด', 'Download settings': 'ตั้งค่าการดาวน์โหลด',
'Advanced settings': 'ตั้งค่าขั้นสูง', 'Advanced settings': 'ตั้งค่าขั้นสูง',
'Cancel': 'ยกเลิก', 'Cancel': 'ยกเลิก',
'Start': 'เริ่มต้น', 'Start': 'เริ่มต้น',
'Choose': 'เลือก',
'Quick Access (shown on the main page)': 'ใช้งานอย่างรวดเร็ว (แสดงที่เพจหลัก)',
// add torrent modal // add torrent modal
'Add Downloads By Torrents': 'เพิ่มดาวน์โหลดด้วยทอร์เรนต์', 'Add Downloads By Torrents': 'เพิ่มดาวน์โหลดด้วยทอร์เรนต์',
'- Select the torrent from the local filesystem to start the download.': '',
'- You can select multiple torrents to start multiple downloads.': '',
'- To add a BitTorrent-Magnet URL, use the Add By URI option and add it there.': '',
'Select Torrents': 'เลือกทอร์เรนต์', 'Select Torrents': 'เลือกทอร์เรนต์',
'Select a Torrent:': 'เลือกทอร์เรนต์', 'Select a Torrent': 'เลือกทอร์เรนต์',
//'Download settings': '',
//'Advanced settings': '',
//'Cancel': '',
//'Start': '',
// add metalink modal // add metalink modal
'Add Downloads By Metalinks': 'เพิ่มดาวน์โหลดด้วยเมทาลิงค์', 'Add Downloads By Metalinks': 'เพิ่มดาวน์โหลดด้วยเมทาลิงค์',
'Select Metalinks': 'เลือกเมทาลิงค์', 'Select Metalinks': 'เลือกเมทาลิงค์',
'Select a Metalinks:': 'เลือกเมทาลิงค์', '- Select the Metalink from the local filesystem to start the download.': '',
//'Download settings': '', '- You can select multiple Metalinks to start multiple downloads.': '',
//'Advanced settings': '', 'Select a Metalink': 'เลือกเมทาลิงค์',
//'Cancel': '',
//'Start': '',
// select file modal // select file modal
'Choose files to start download for': 'เลือกไฟล์ที่จะเริ่มดาวน์โหลด', 'Choose files to start download for': 'เลือกไฟล์ที่จะเริ่มดาวน์โหลด',
'Select to download': 'เลือกให้ดาวน์โหลด', 'Select to download': 'เลือกให้ดาวน์โหลด',
// settings modal // settings modal
//'Cancel': '',
//'Connection Settings': '',
'Aria2 RPC host and port': 'โฮสต์และพอร์ตของ Aria2 RPC', 'Aria2 RPC host and port': 'โฮสต์และพอร์ตของ Aria2 RPC',
'Enter the host:': 'กรอกโฮสต์', 'Enter the host': 'ป้อนโฮสต์',
'Enter the port:': 'กรอกพอร์ต', 'Enter the IP or DNS name of the server on which the RPC for Aria2 is running (default: localhost)':
'',
'Enter the port': 'ป้อนพอร์ต',
'Enter the port of the server on which the RPC for Aria2 is running (default: 6800)':
'',
'Enter the RPC path': 'ป้อนเส้นทาง RPC',
'Enter the path for the Aria2 RPC endpoint (default: /jsonrpc)': '',
'SSL/TLS encryption': 'การเข้ารหัสลับ SSL/TLS',
'Enable SSL/TLS encryption': 'เปิดใช้การเข้ารหัสลับ SSL/TLS',
'Enter the secret token (optional)': 'ป้อนสัญลักษณ์ความลับ (เป็นตัวเลือก)',
'Enter the Aria2 RPC secret token (leave empty if authentication is not enabled)':
'',
'Enter the username (optional)': 'ป้อนเชื่อ (เป็นตัวเลือก)',
'Enter the Aria2 RPC username (empty if authentication not enabled)':
'',
'Enter the password (optional)': 'ป้อนรหัสผ่าน (เป็นตัวเลือก)',
'Enter the Aria2 RPC password (empty if authentication not enabled)': '',
'Enter base URL (optional)': 'ป้อน URL หลัก (เป็นตัวเลือก)',
'Direct Download': 'ดาวน์โหลดโดยตรง', 'Direct Download': 'ดาวน์โหลดโดยตรง',
//'Cancel': '', 'If supplied, links will be created to enable direct download from the Aria2 server.':
'Save Connection configuration': '', '',
'(Requires appropriate webserver to be configured.)': '',
'Save Connection configuration': 'บันทึกการตั้งค่าการเชื่อมต่อ',
// server info modal // server info modal
'Aria2 server info': 'ข้อมูลเซอร์เวอร์ Aria2', 'Aria2 server info': 'ข้อมูลเซอร์เวอร์ Aria2',
'Close': 'ปิด' 'Aria2 Version': 'รุ่น Aria2',
'Features Enabled': 'คุณสมบัติที่เปิดใช้งาน',
// about modal // about modal
//'About and contribute': '', 'To download the latest version of the project, add issues or to contribute back, head on to':
//'Close': '', 'ให้ดาวน์โหลดรุ่นสุดท้ายของโครงการ เพิ่มปัญหา หรือช่วยเหลือมีส่วนร่วม ไปสู่',
'Or you can open the latest version in the browser through': 'หรือเปิดรุ่นสุดท้ายในเบราว์เซอร์โดยใช้',
'Close': 'ปิด'
}; };

View File

@ -45,35 +45,22 @@ translations.zh_CN = {
// add torrent modal // add torrent modal
'Add Downloads By Torrents': '使用种子下载', 'Add Downloads By Torrents': '使用种子下载',
'Select Torrents': '选择种子文件', 'Select Torrents': '选择种子文件',
'Select a Torrent:': '选择种子文件', 'Select a Torrent': '选择种子文件',
//'Download settings': '',
//'Advanced settings': '',
//'Cancel': '',
//'Start': '',
// add metalink modal // add metalink modal
'Add Downloads By Metalinks': '使用磁链下载', 'Add Downloads By Metalinks': '使用磁链下载',
'Select Metalinks': '选择磁链文件', 'Select Metalinks': '选择磁链文件',
'Select a Metalinks:': '选择磁链文件', 'Select a Metalink': '选择磁链文件',
//'Download settings': '',
//'Advanced settings': '',
//'Cancel': '',
//'Start': '',
// select file modal // select file modal
'Choose files to start download for': '选择文件开始下载', 'Choose files to start download for': '选择文件开始下载',
'Select to download': '选择下载', 'Select to download': '选择下载',
// settings modal // settings modal
//'Cancel': '',
//'Connection Settings': '',
'Aria2 RPC host and port': 'Aria2 RPC 主机和端口', 'Aria2 RPC host and port': 'Aria2 RPC 主机和端口',
'Enter the host:': '主机', 'Enter the host': '主机',
'Enter the port:': '端口', 'Enter the port': '端口',
'Direct Download': '直接下载', 'Direct Download': '直接下载',
//'Cancel': '',
'Save Connection configuration': '保存网络配置', 'Save Connection configuration': '保存网络配置',
// server info modal // server info modal
'Aria2 server info': 'Aria2 服务器信息', 'Aria2 server info': 'Aria2 服务器信息',
'Close': '关闭' 'Close': '关闭'
// about modal // about modal
//'About and contribute': '',
//'Close': '',
}; };