Merge pull request #172 from pepa65/master

Finalizing language integration
This commit is contained in:
hamza zia 2015-10-31 10:18:52 +08:00
commit 5c91378795
4 changed files with 64 additions and 24 deletions

View File

@ -226,12 +226,12 @@
<li>
<a
ng-click="changeLanguage('th_TH')"
href="#"><span class="fa fa-fw flag-icon flag-icon-th">&nbsp;</span> Thai</a> <!-- TODO Thai translate -->
href="#"><span class="fa fa-fw flag-icon flag-icon-th">&nbsp;</span> ไทย</a>
</li>
<li>
<a
ng-click="changeLanguage('nl_NL')"
href="#"><span class="fa fa-fw flag-icon flag-icon-nl">&nbsp;</span> Dutch</a>
href="#"><span class="fa fa-fw flag-icon flag-icon-nl">&nbsp;</span> Nederlands</a>
</li>
<li>
<a

View File

@ -2,7 +2,7 @@ if(typeof translations == 'undefined'){
translations = {};
}
translations.en_US = { // replace en_US to ll_CC, examples: zh_CN, de_AT.
translations.en_US = {
// header
'Search': 'Search',
// Nav menu
@ -19,11 +19,16 @@ 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',
'Language': 'Language',
'Toggle navigation': 'Toggle navigation',
// body
// nav side bar
// global statistics
'Miscellaneous': 'Miscellaneous',
'Global Statistics': 'Global Statistics',
'About': 'About',
'Displaying': 'Displaying',
'of': 'of',
'downloads': 'downloads',
'Language': 'Language',
// download filters
'Download Filters': 'Download Filters',
'Running': 'Running',
@ -42,44 +47,77 @@ translations.en_US = { // replace en_US to ll_CC, examples: zh_CN, de_AT.
// starred properties
'Quick Access Settings': 'Quick Access Settings',
'Save settings': 'Save settings',
'Currently no download in line to display, use the': 'Currently no download in line to display, use the',
'download button to start downloading files!': 'download button to start downloading files!',
'Peers': 'Peers',
'More Info': 'More Info',
'Remove': 'Remove',
'# of': '# of',
'Length': 'Length',
// 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 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.':
'- 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.': '- 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':
'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': 'Choose',
'Quick Access (shown on the main page)': 'Quick Access (shown on the main page)',
// add torrent modal
'Add Downloads By Torrents': 'Add Downloads By Torrents',
'- Select the torrent from the local filesystem to start the download.': '- Select the torrent from the local filesystem to start the download.',
'- You can select multiple torrents to start multiple downloads.': '- 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.': '- 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': '',
'Select a Torrent': 'Select a Torrent',
// add metalink modal
'Add Downloads By Metalinks': 'Add Downloads By Metalinks',
'Select Metalinks': 'Select Metalinks',
'Select a Metalinks:': 'Select a Metalinks:',
//'Download settings': '',
//'Advanced settings': '',
//'Cancel': '',
//'Start': '',
'- Select the Metalink from the local filesystem to start the download.': '- Select the Metalink from the local filesystem to start the download.',
'- You can select multiple Metalinks to start multiple downloads.': '- You can select multiple Metalinks to start multiple downloads.',
'Select a Metalink': 'Select a Metalink',
// select file modal
'Choose files to start download for': 'Choose files to start download for',
'Select to download': 'Select to download',
// 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 port:',
'Enter the host': 'Enter the host',
'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)',
'Enter the port': 'Enter the port',
'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)',
'Enter the RPC path': 'Enter the RPC path',
'Enter the path for the Aria2 RPC endpoint (default: /jsonrpc)': 'Enter the path for the Aria2 RPC endpoint (default: /jsonrpc)',
'SSL/TLS encryption': 'SSL/TLS encryption',
'Enable SSL/TLS encryption': 'Enable SSL/TLS encryption',
'Enter the secret token (optional)': 'Enter the secret token (optional)',
'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)',
'Enter the username (optional)': 'Enter the username (optional)',
'Enter the Aria2 RPC username (empty if authentication not enabled)':
'Enter the Aria2 RPC username (empty if authentication not enabled)',
'Enter the password (optional)': 'Enter the password (optional)',
'Enter the Aria2 RPC password (empty if authentication not enabled)': 'Enter the Aria2 RPC password (empty if authentication not enabled)',
'Enter base URL (optional)': 'Enter base URL (optional)',
'Direct Download': 'Direct Download',
//'Cancel': '',
'If supplied, links will be created to enable direct download from the Aria2 server.':
'If supplied, links will be created to enable direct download from the Aria2 server.',
'(Requires appropriate webserver to be configured.)': '(Requires appropriate webserver to be configured.)',
'Save Connection configuration': 'Save Connection configuration',
// server info modal
'Aria2 server info': 'Aria2 server info',
'Close': 'Close'
'Aria2 Version': 'Aria2 Version',
'Features Enabled': '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':
'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': 'Or you can open the latest version in the browser through',
'Close': 'Close'
};

View File

@ -20,6 +20,7 @@ translations.nl_NL = {
'Server info': 'Informatie over de server',
'About and contribute': 'Over het project en bijdragen',
'Toggle navigation': 'Navigatie omschakelen',
'Language': 'Taal',
// body
// nav side bar
'Miscellaneous': 'Overig',

View File

@ -20,6 +20,7 @@ translations.th_TH = {
'Server info': 'ข้อมูลเซอร์เวอร์',
'About and contribute': 'เกี่ยวกับและช่วย',
'Toggle navigation': 'สลับนำทาง',
'Language': 'ภาษา',
// body
// nav side bar
'Miscellaneous': 'เบ็ดเตล็ด',