From 71283d0b49e1919528fc28e90c858fd66b2de46d Mon Sep 17 00:00:00 2001 From: pepa65 Date: Fri, 30 Oct 2015 21:35:09 +0700 Subject: [PATCH 1/4] Added Language --- js/translate/th_TH.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/translate/th_TH.js b/js/translate/th_TH.js index 79e5ac8..7df9e4a 100644 --- a/js/translate/th_TH.js +++ b/js/translate/th_TH.js @@ -20,6 +20,7 @@ translations.th_TH = { 'Server info': 'ข้อมูลเซอร์เวอร์', 'About and contribute': 'เกี่ยวกับและช่วย', 'Toggle navigation': 'สลับนำทาง', + 'Language': 'ภาษา', // body // nav side bar 'Miscellaneous': 'เบ็ดเตล็ด', From b7ba7d07289ed258b6a881e90f39f6c2d45e204b Mon Sep 17 00:00:00 2001 From: pepa65 Date: Fri, 30 Oct 2015 21:41:55 +0700 Subject: [PATCH 2/4] Amended language names in index.html Added Language in Thai and Dutch translations --- index.html | 4 ++-- js/translate/nl_NL.js | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index d22fb26..a8f4757 100755 --- a/index.html +++ b/index.html @@ -226,12 +226,12 @@
  •   Thai + href="#">  ไทย
  •   Dutch + href="#">  Nederlands
  • Date: Sat, 31 Oct 2015 08:41:56 +0700 Subject: [PATCH 3/4] Removed en_US.js until the contents stabilize and it is needed --- js/translate/en_US.js | 85 ------------------------------------------- 1 file changed, 85 deletions(-) delete mode 100644 js/translate/en_US.js diff --git a/js/translate/en_US.js b/js/translate/en_US.js deleted file mode 100644 index a7fddfa..0000000 --- a/js/translate/en_US.js +++ /dev/null @@ -1,85 +0,0 @@ -if(typeof translations == 'undefined'){ - translations = {}; -} - -translations.en_US = { // replace en_US to ll_CC, examples: zh_CN, de_AT. -// header - 'Search': 'Search', - // Nav menu - 'Add': 'Add', - 'By URIs': 'By URIs', - 'By Torrents': 'By Torrents', - 'By Metalinks': 'By Metalinks', - 'Manage': 'Manage', - 'Pause All': 'Pause All', - 'Resume Paused': 'Resume Paused', - 'Purge Completed': 'Purge Completed', - 'Settings': 'Settings', - 'Connection Settings': 'Connection Settings', - 'Global Settings': 'Global Settings', - 'Server info': 'Server info', - 'About and contribute': 'About and contribute', - 'Language': 'Language', -// body -// nav side bar -// global statistics - 'Global Statistics': 'Global Statistics', -// download filters - 'Download Filters': 'Download Filters', - 'Running': 'Running', - 'Active': 'Active', - 'Waiting': 'Waiting', - 'Complete': 'Complete', - 'Error': 'Error', - 'Paused': 'Paused', - 'Removed': 'Removed', - 'Hide linked meta-data': 'Hide linked meta-data', - 'Displaying': 'Displaying', - 'of': 'of', - 'downloads': 'downloads', - 'Toggle': 'Toggle', - 'Reset filters': 'Reset filters', -// starred properties - 'Quick Access Settings': 'Quick Access Settings', - 'Save settings': 'Save settings', -// modals - 'Add Downloads By URIs': 'Add Downloads By URIs', - 'Download settings': 'Download settings', - 'Advanced settings': 'Advanced settings', - 'Cancel': 'Cancel', - 'Start': 'Start', -// add torrent modal - 'Add Downloads By Torrents': 'Add Downloads By Torrents', - 'Select Torrents': 'Select Torrents', - 'Select a Torrent:': 'Select a Torrent:', - //'Download settings': '', // repeated - //'Advanced settings': '', - //'Cancel': '', - //'Start': '', -// 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 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:', - 'Direct Download': 'Direct Download', - //'Cancel': '', - 'Save Connection configuration': 'Save Connection configuration', -// server info modal - 'Aria2 server info': 'Aria2 server info', - 'Close': 'Close' -// about modal - //'About and contribute': '', - //'Close': '', -}; \ No newline at end of file From d28bf6666fb831dacd2b1be649f8a91a01741c8f Mon Sep 17 00:00:00 2001 From: pepa65 Date: Sat, 31 Oct 2015 09:13:30 +0700 Subject: [PATCH 4/4] Updated the en_US translation with all known strings from the template --- js/translate/en_US.js | 123 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 123 insertions(+) create mode 100644 js/translate/en_US.js diff --git a/js/translate/en_US.js b/js/translate/en_US.js new file mode 100644 index 0000000..40324d2 --- /dev/null +++ b/js/translate/en_US.js @@ -0,0 +1,123 @@ +if(typeof translations == 'undefined'){ + translations = {}; +} + +translations.en_US = { +// header + 'Search': 'Search', + // Nav menu + 'Add': 'Add', + 'By URIs': 'By URIs', + 'By Torrents': 'By Torrents', + 'By Metalinks': 'By Metalinks', + 'Manage': 'Manage', + 'Pause All': 'Pause All', + 'Resume Paused': 'Resume Paused', + 'Purge Completed': 'Purge Completed', + 'Settings': 'Settings', + 'Connection Settings': 'Connection Settings', + 'Global Settings': 'Global Settings', + 'Server info': 'Server info', + 'About and contribute': 'About and contribute', + 'Toggle navigation': 'Toggle navigation', +// body +// nav side bar + 'Miscellaneous': 'Miscellaneous', + 'Global Statistics': 'Global Statistics', + 'About': 'About', + 'Displaying': 'Displaying', + 'of': 'of', + 'downloads': 'downloads', + 'Language': 'Language', +// download filters + 'Download Filters': 'Download Filters', + 'Running': 'Running', + 'Active': 'Active', + 'Waiting': 'Waiting', + 'Complete': 'Complete', + 'Error': 'Error', + 'Paused': 'Paused', + 'Removed': 'Removed', + 'Hide linked meta-data': 'Hide linked meta-data', + 'Displaying': 'Displaying', + 'of': 'of', + 'downloads': 'downloads', + 'Toggle': 'Toggle', + 'Reset filters': 'Reset filters', +// 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', +// add metalink modal + 'Add Downloads By Metalinks': 'Add Downloads By Metalinks', + 'Select Metalinks': 'Select Metalinks', + '- 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 + 'Aria2 RPC host and port': 'Aria2 RPC host and 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', + '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', + 'Aria2 Version': 'Aria2 Version', + 'Features Enabled': 'Features Enabled', +// about modal + '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' +};