diff options
author | Ivan Sein <ivan@struktur.de> | 2016-08-03 12:25:48 +0300 |
---|---|---|
committer | Ivan Sein <ivan@struktur.de> | 2016-08-03 12:25:48 +0300 |
commit | 2dfbccf58409a409996e166df0dfa6860a1d0934 (patch) | |
tree | 65e35b532ac3a7e7dff61a7191ab77c29697be58 /js | |
parent | c024c9be531e4eaeaf1f07e341e2bebd36ae4e7f (diff) |
remove empty space from translatable strings
Diffstat (limited to 'js')
-rw-r--r-- | js/script.js | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/js/script.js b/js/script.js index d40fbda..47646f1 100644 --- a/js/script.js +++ b/js/script.js @@ -98,8 +98,8 @@ home_storages = storages.num_storages_home, other_storages = storages.num_storages_other; - $('#numUsersStorage').text(users_storages); - $('#numFilesStorage').text(files_storages); + $('#numUsersStorage').text(' ' + users_storages); + $('#numFilesStorage').text(' ' + files_storages); if (typeof storagesCgart === 'undefined') { var ctx = document.getElementById("storagescanvas"); @@ -139,6 +139,8 @@ num_fed_shares_sent = shares.num_fed_shares_sent, num_fed_shares_received = shares.num_fed_shares_received; + $('#totalShares').text(' ' + num_shares); + if (typeof sharesChart === 'undefined') { var ctx = document.getElementById("sharecanvas"); @@ -175,17 +177,17 @@ function updatePHPStatistics (php) { - $('#phpVersion').text(php.version); - $('#phpMemLimit').text(php.memory_limit); - $('#phpMaxExecTime').text(php.max_execution_time); - $('#phpUploadMaxSize').text(php.upload_max_filesize); + $('#phpVersion').text(' ' + php.version); + $('#phpMemLimit').text(' ' + php.memory_limit); + $('#phpMaxExecTime').text(' ' + php.max_execution_time); + $('#phpUploadMaxSize').text(' ' + php.upload_max_filesize); } function updateDatabaseStatistics (database) { - $('#databaseType').text(database.type); - $('#databaseVersion').text(database.version); - $('#dataBaseSize').text(database.size); + $('#databaseType').text(' ' + database.type); + $('#databaseVersion').text(' ' + database.version); + $('#dataBaseSize').text(' ' + database.size); } })(jQuery, OC); |