- Added full Dutch translation

- Translated more of the Thai interface
- Prepared rest of strings in index.html for translation
- Minor modifications and clean-up of the other translation files
This commit is contained in:
pepa65 2015-10-30 07:47:15 +07:00
parent cdf9412ed7
commit 05f3f08ac6
6 changed files with 286 additions and 118 deletions

View File

@ -74,6 +74,7 @@
<!-- translate -->
<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/zh_CN.js"></script>
</head>
@ -86,7 +87,7 @@
<div class="container">
<div class="navbar-header">
<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>
@ -195,13 +196,13 @@
<li class="dropdown" dropdown>
<a
class="dropdown-toggle" dropdown-toggle
href="#">Miscellaneous <span class="caret"></span></a>
href="#">{{ 'Miscellaneous' | translate }} <span class="caret"></span></a>
<ul class="dropdown-menu">
<li>
<a href="#"><span class="fa fa-fw fa-list-alt">&nbsp;</span> {{ 'Global Statistics' | translate }}</a>
</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>
</ul>
</li>
@ -248,7 +249,7 @@
</ul>
<!-- }}} -->
<br>
<br />
<!-- {{{ download filters -->
@ -314,7 +315,7 @@
</ul>
<!-- }}} -->
<br>
<br />
<!-- {{{ starred properties -->
@ -342,7 +343,7 @@
<!-- {{{ downloads -->
<!-- Bug?? <div ng-show="!totalAria2Downloads() && totalAria2Downloads() > getDownloads()" class="hero-unit">-->
<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>
@ -406,21 +407,21 @@
<a
ng-click="showSettings(download)"
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 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>
<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 class="visible-phone">
<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>
</ul>
</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 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="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="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' | 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>
</ul>
<ul class="download-files hidden-phone download-item">
@ -643,17 +644,10 @@
<form class="modal-body">
<fieldset>
<p class="help-block">
- You can add multiple downloads (files)
at the same time by putting uris for each
file on a separate line. <br>
- You can also add multiple uris (mirrors) for the
*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>
{{ '- You can add multiple downloads (files) at the same time by putting URIs for each file on a separate line.' | translate }}<br />
{{ '- You can also add multiple URIs (mirrors) for the *same* file. To do this, separate the URIs by a space.' | translate }}<br />
{{ '- A URI can be HTTP(S)/FTP/BitTorrent-Magnet.' | translate }}</br>
{{ 'E.g. to add 2 files (downloads) f1.jpg and f2.mp4 with 2 URIs (mirrors) each, add URIs as follows' | translate }}:<br />
<!-- pre tags print tabs, so do not indent them! -->
<pre>
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>
<input ng-show="!set.options.length" type="text" class="form-control input-xxlarge modal-form-input-verylarge" ng-model="set.val"/>
</div>
<br>
<br />
</div>
</div>
@ -720,12 +714,12 @@ http://ex1.com/f2.mp4 http://ex2.com/f2.mp4 --out=file2.mp4
<fieldset>
<legend>{{ 'Select Torrents' | translate }}</legend>
<p class="help-block">
- Select the torrent from the local filesystem to start the download. <br>
- You can select multiple torrents to start multiple downloads <br>
- To add a magnet torrent url, use the add url option and add it there.
{{ '- Select the torrent from the local filesystem to start the download.' | translate }}<br />
{{ '- You can select multiple torrents to start multiple downloads.' | translate }}<br />
{{ '- To add a BitTorrent-Magnet URL, use the add URI option and add it there.' | translate }}
</p>
<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">
<input type="file" class="input-xlarge" fselect="getTorrents.files" multiple/>
</div>
@ -745,7 +739,7 @@ http://ex1.com/f2.mp4 http://ex2.com/f2.mp4 --out=file2.mp4
</select>
<input ng-show="!set.options.length" type="text" class="form-control input-xxlarge modal-form-input-verylarge" ng-model="set.val"/>
</div>
<br>
<br />
</div>
</div>
@ -788,11 +782,11 @@ http://ex1.com/f2.mp4 http://ex2.com/f2.mp4 --out=file2.mp4
<fieldset>
<legend>{{ 'Select Metalinks' | translate }}</legend>
<p class="help-block">
- Select the metalink from the local filesystem to start the download. <br>
- You can select multiple metalinks to start multiple downloads
{{ '- Select the Metalink from the local filesystem to start the download.' | translate }}<br />
{{ '- You can select multiple Metalinks to start multiple downloads.' | translate }}
</p>
<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">
<input type="file" class="input-xlarge" fselect="getMetalinks.files" multiple/>
</div>
@ -812,7 +806,7 @@ http://ex1.com/f2.mp4 http://ex2.com/f2.mp4 --out=file2.mp4
</select>
<input ng-show="!set.options.length" type="text" class="form-control input-xxlarge modal-form-input-verylarge" ng-model="set.val"/>
</div>
<br>
<br />
</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}}
</label>
</div>
<br><br>
<br /><br />
</div>
</div>
</fieldset>
</form>
<div class="modal-footer">
<button class="btn btn-default" ng-click="$dismiss()">Cancel</button>
<button class="btn btn-default btn-primary" ng-click="$close()">Choose</button>
<button class="btn btn-default" ng-click="$dismiss()">{{ 'Cancel' | translate }}</button>
<button class="btn btn-default btn-primary" ng-click="$close()">{{ 'Choose' | translate }}</button>
</div>
</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">
<label>
<input type="checkbox" ng-model="set.starred"/>
Quick Access (shown on the main page)
{{ 'Quick Access (shown on the main page)' | translate }}
</label>
</div>
<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>
<legend>{{ 'Aria2 RPC host and port' | translate }}</legend>
<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="input-group">
<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"/>
</div>
<p class="help-block">
Enter the ip or dns name of the server on which the
rpc for aria2 is running (default = localhost)
{{ 'Enter the IP or DNS name of the server on which the RPC for Aria2 is running (default: localhost)' | translate }}
</p>
</div>
</div>
<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">
<input type="text" class="form-control input-xlarge modal-form-input-number"
ng-model="connection.conf.port"/>
<p class="help-block">
Enter the port of the server on which the rpc for
aria2 is running (default = 6800)
{{ 'Enter the port of the server on which the RPC for Aria2 is running (default: 6800)' | translate }}
</p>
</div>
</div>
<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="input-group">
<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"/>
</div>
<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>
</div>
</div>
<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="checkbox">
<label>
<input type="checkbox" ng-model="connection.conf.encrypt"/>
Enable SSL/TLS encryption.
{{ 'Enable SSL/TLS encryption' | translate }}
</label>
</div>
</div>
</div>
<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">
<label>
<input type="text" class="form-control input-xlarge" ng-model="connection.conf.auth.token"/>
<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>
</label>
</div>
</div>
<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">
<input type="text" class="form-control input-xlarge"
ng-model="connection.conf.auth.user"/>
<p class="help-block">
Enter the aria2 RPC username
(empty if authentication not enabled)
{{ 'Enter the Aria2 RPC username (empty if authentication not enabled)' | translate }}
</p>
</div>
</div>
<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">
<input type="password" class="form-control input-xlarge"
ng-model="connection.conf.auth.pass"/>
<p class="help-block">
Enter the aria2 RPC password
(empty if authentication not enabled)
{{ 'Enter the Aria2 RPC password (empty if authentication not enabled)' | translate }}
</p>
</div>
</div>
@ -1016,13 +1006,13 @@ http://ex1.com/f2.mp4 http://ex2.com/f2.mp4 --out=file2.mp4
<fieldset>
<legend>{{ 'Direct Download' | translate }}</legend>
<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">
<input type="text" class="form-control input-xlarge"
ng-model="connection.conf.directURL"/>
<p class="help-block">
If supplied, links will be created to enable direct download from the
aria2 server, requires appropriate webserver to be configured
{{ 'If supplied, links will be created to enable direct download from the Aria2 server.' | translate }}<br />
(( '(Requires an appropriate webserver to be configured.)' | translate }}
</p>
</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>
</div>
<div class="modal-body">
<b>Aria2 Version {{miscellaneous.version}}</b>
<br><br>
<b>Features Enabled</b>
<b>{{ 'Aria2 Version' | translate }} {{miscellaneous.version}}</b>
<br /><br />
<b>{{ 'Features Enabled' | translate }}</b>
<ul>
<li
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 class="modal-body">
<p>
To download the latest version of the project,<br />
add issues or to contribute back head on to:<br />
{{ 'To download the latest version of the project, add issues or to contribute back, head on to' | translate }}:<br />
<a href="https://github.com/ziahamza/webui-aria2">http://github.com/ziahamza/webui-aria2</a>
<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>
</p>
</div>

View File

@ -15,6 +15,7 @@ var webui = angular.module('webui', [
webui.config(['$translateProvider', function ($translateProvider) {
$translateProvider
.translations('nl_NL', translations.nl_NL)
.translations('th_TH', translations.th_TH)
.translations('zh_CN', translations.zh_CN)
.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': '',
'Server info': '',
'About and contribute': '',
'Toggle navigation': '',
// body
// nav side bar
'Miscellaneous': '',
'Global Statistics': '',
'About': '',
'Displaying': '',
'of': '',
'downloads': '',
@ -51,44 +54,77 @@ translations.en_US = { // replace en_US to ll_CC, examples: zh_CN, de_AT.
// starred properties
'Quick Access 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
'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': '',
'Advanced settings': '',
'Cancel': '',
'Start': '',
'Choose': '',
'Quick Access (shown on the main page)': '',
// add torrent modal
'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 a Torrent:': '',
//'Download settings': '', // repeated
//'Advanced settings': '',
//'Cancel': '',
//'Start': '',
'Select a Torrent': '',
// add metalink modal
'Add Downloads By Metalinks': '',
'Select Metalinks': '',
'Select a Metalinks:': '',
//'Download settings': '',
//'Advanced settings': '',
//'Cancel': '',
//'Start': '',
'- Select the Metalink from the local filesystem to start the download.': '',
'- You can select multiple Metalinks to start multiple downloads.': '',
'Select a Metalink': '',
// select file modal
'Choose files to start download for': '',
'Select to download': '',
// settings modal
//'Cancel': '',
//'Connection Settings': '',
'Aria2 RPC host and port': '',
'Enter the host:': '',
'Enter the port:': '',
'Enter the host': '',
'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': '',
//'Cancel': '',
'If supplied, links will be created to enable direct download from the Aria2 server.':
'',
'(Requires appropriate webserver to be configured.)': '',
'Save Connection configuration': '',
// server info modal
'Aria2 server info': '',
'Close': ''
'Aria2 Version': '',
'Features Enabled': '',
// about modal
//'About and contribute': '',
//'Close': '',
'To download the latest version of the project, add issues or to contribute back, head on to':
'',
'Or you can open the latest version in the browser through': '',
'Close': ''
};

View File

@ -19,9 +19,12 @@ translations.th_TH = {
'Global Settings': 'ตั้งค่าทั่วไป',
'Server info': 'ข้อมูลเซอร์เวอร์',
'About and contribute': 'เกี่ยวกับและช่วย',
'Toggle navigation': 'สลับนำทาง',
// body
// nav side bar
'Miscellaneous': 'เบ็ดเตล็ด',
'Global Statistics': 'สถิติทั่วไป',
'About': 'เกี่ยวกับ',
'Displaying': 'แแสดงดาวน์โหลด',
'of': 'อันใน',
'downloads': 'อันทั้งหมด',
@ -40,44 +43,77 @@ translations.th_TH = {
// starred properties
'Quick Access 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
'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': 'ตั้งค่าการดาวน์โหลด',
'Advanced settings': 'ตั้งค่าขั้นสูง',
'Cancel': 'ยกเลิก',
'Start': 'เริ่มต้น',
'Choose': 'เลือก',
'Quick Access (shown on the main page)': 'ใช้งานอย่างรวดเร็ว (แสดงที่เพจหลัก)',
// add torrent modal
'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 a Torrent:': 'เลือกทอร์เรนต์',
//'Download settings': '',
//'Advanced settings': '',
//'Cancel': '',
//'Start': '',
'Select a Torrent': 'เลือกทอร์เรนต์',
// add metalink modal
'Add Downloads By Metalinks': 'เพิ่มดาวน์โหลดด้วยเมทาลิงค์',
'Select Metalinks': 'เลือกเมทาลิงค์',
'Select a Metalinks:': 'เลือกเมทาลิงค์',
//'Download settings': '',
//'Advanced settings': '',
//'Cancel': '',
//'Start': '',
'- Select the Metalink from the local filesystem to start the download.': '',
'- You can select multiple Metalinks to start multiple downloads.': '',
'Select a Metalink': 'เลือกเมทาลิงค์',
// select file modal
'Choose files to start download for': 'เลือกไฟล์ที่จะเริ่มดาวน์โหลด',
'Select to download': 'เลือกให้ดาวน์โหลด',
// settings modal
//'Cancel': '',
//'Connection Settings': '',
'Aria2 RPC host and port': 'โฮสต์และพอร์ตของ Aria2 RPC',
'Enter the host:': 'กรอกโฮสต์',
'Enter the port:': 'กรอกพอร์ต',
'Enter the host': 'ป้อนโฮสต์',
'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': 'ดาวน์โหลดโดยตรง',
//'Cancel': '',
'Save Connection configuration': '',
'If supplied, links will be created to enable direct download from the Aria2 server.':
'',
'(Requires appropriate webserver to be configured.)': '',
'Save Connection configuration': 'บันทึกการตั้งค่าการเชื่อมต่อ',
// server info modal
'Aria2 server info': 'ข้อมูลเซอร์เวอร์ Aria2',
'Close': 'ปิด'
'Aria2 Version': 'รุ่น Aria2',
'Features Enabled': 'คุณสมบัติที่เปิดใช้งาน',
// about modal
//'About and contribute': '',
//'Close': '',
'To download the latest version of the project, add issues or to contribute back, head on to':
'ให้ดาวน์โหลดรุ่นสุดท้ายของโครงการ เพิ่มปัญหา หรือช่วยเหลือมีส่วนร่วม ไปสู่',
'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 Downloads By Torrents': '使用种子下载',
'Select Torrents': '选择种子文件',
'Select a Torrent:': '选择种子文件',
//'Download settings': '',
//'Advanced settings': '',
//'Cancel': '',
//'Start': '',
'Select a Torrent': '选择种子文件',
// add metalink modal
'Add Downloads By Metalinks': '使用磁链下载',
'Select Metalinks': '选择磁链文件',
'Select a Metalinks:': '选择磁链文件',
//'Download settings': '',
//'Advanced settings': '',
//'Cancel': '',
//'Start': '',
'Select a Metalink': '选择磁链文件',
// select file modal
'Choose files to start download for': '选择文件开始下载',
'Select to download': '选择下载',
// settings modal
//'Cancel': '',
//'Connection Settings': '',
'Aria2 RPC host and port': 'Aria2 RPC 主机和端口',
'Enter the host:': '主机',
'Enter the port:': '端口',
'Enter the host': '主机',
'Enter the port': '端口',
'Direct Download': '直接下载',
//'Cancel': '',
'Save Connection configuration': '保存网络配置',
// server info modal
'Aria2 server info': 'Aria2 服务器信息',
'Close': '关闭'
// about modal
//'About and contribute': '',
//'Close': '',
};