diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2013-07-23 16:24:34 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2013-07-23 16:24:34 +0200 |
commit | 2a420218156d1e4ed3f88a50fd3b0d60476eeeb9 (patch) | |
tree | e0701915bb9a1fce746aff91fb6a4b99a13361b9 /core | |
parent | cdb993ad69969964c433cf414b549c52b298c67d (diff) | |
parent | a94c55be987127d148b3a6d5820bf06fc9d74068 (diff) | |
download | nextcloud-server-2a420218156d1e4ed3f88a50fd3b0d60476eeeb9.tar.gz nextcloud-server-2a420218156d1e4ed3f88a50fd3b0d60476eeeb9.zip |
Merge branch 'master' into delete-fix
Conflicts:
core/css/styles.css
Diffstat (limited to 'core')
-rw-r--r-- | core/css/styles.css | 11 | ||||
-rw-r--r-- | core/js/js.js | 10 | ||||
-rw-r--r-- | core/js/share.js | 7 | ||||
-rw-r--r-- | core/l10n/eu.php | 10 | ||||
-rw-r--r-- | core/l10n/ko.php | 3 | ||||
-rw-r--r-- | core/l10n/pt_PT.php | 1 | ||||
-rw-r--r-- | core/l10n/tr.php | 6 |
7 files changed, 36 insertions, 12 deletions
diff --git a/core/css/styles.css b/core/css/styles.css index c328804f816..490619c00d4 100644 --- a/core/css/styles.css +++ b/core/css/styles.css @@ -681,11 +681,20 @@ button.loading { + + /* ---- BROWSER-SPECIFIC FIXES ---- */ + ::-moz-focus-inner { border: 0; /* remove dotted outlines in Firefox */ } .lte8 .delete-icon { background-image: url('../img/actions/delete.png'); } .lte8 .delete-icon:hover, .delete-icon:focus { background-image: url('../img/actions/delete-hover.png'); -}
\ No newline at end of file +} + +/* deactivate show password toggle for IE. Does not work for 8 and 9+ have their own implementation. */ +.ie #show, .ie #show+label { + display: none; + visibility: hidden; +} diff --git a/core/js/js.js b/core/js/js.js index 6558adbb6a7..64e6df0f59d 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -665,8 +665,6 @@ $(document).ready(function(){ $('#upload').tipsy({gravity:'w', fade:true}); $('.selectedActions a').tipsy({gravity:'s', fade:true, live:true}); $('a.action').tipsy({gravity:'s', fade:true, live:true}); - $('#headerSize').tipsy({gravity:'s', fade:true, live:true}); - $('td.filesize').tipsy({gravity:'s', fade:true, live:true}); $('td .modified').tipsy({gravity:'s', fade:true, live:true}); $('input').tipsy({gravity:'w', fade:true}); @@ -696,14 +694,6 @@ function humanFileSize(size) { return relativeSize + ' ' + readableFormat; } -function simpleFileSize(bytes) { - var mbytes = Math.round(bytes/(1024*1024/10))/10; - if(bytes == 0) { return '0'; } - else if(mbytes < 0.1) { return '< 0.1'; } - else if(mbytes > 1000) { return '> 1000'; } - else { return mbytes.toFixed(1); } -} - function formatDate(date){ if(typeof date=='number'){ date=new Date(date); diff --git a/core/js/share.js b/core/js/share.js index 21e352ee1c6..4c8fd874107 100644 --- a/core/js/share.js +++ b/core/js/share.js @@ -161,7 +161,12 @@ OC.Share={ // respective checkbox should be checked or // not. + var publicUploadEnabled = $('#filestable').data('allow-public-upload'); + if (typeof publicUploadEnabled == 'undefined') { + publicUploadEnabled = 'no'; + } var allowPublicUploadStatus = false; + $.each(data.shares, function(key, value) { if (allowPublicUploadStatus) { return true; @@ -181,7 +186,7 @@ OC.Share={ html += '<div id="linkPass">'; html += '<input id="linkPassText" type="password" placeholder="'+t('core', 'Password')+'" />'; html += '</div>'; - if (itemType === 'folder' && (possiblePermissions & OC.PERMISSION_CREATE)) { + if (itemType === 'folder' && (possiblePermissions & OC.PERMISSION_CREATE) && publicUploadEnabled === 'yes') { html += '<div id="allowPublicUploadWrapper" style="display:none;">'; html += '<input type="checkbox" value="1" name="allowPublicUpload" id="sharingDialogAllowPublicUpload"' + ((allowPublicUploadStatus) ? 'checked="checked"' : '') + ' />'; html += '<label for="sharingDialogAllowPublicUpload">' + t('core', 'Allow Public Upload') + '</label>'; diff --git a/core/l10n/eu.php b/core/l10n/eu.php index 4242d975f3b..d17c9f2c4a5 100644 --- a/core/l10n/eu.php +++ b/core/l10n/eu.php @@ -1,4 +1,5 @@ <?php $TRANSLATIONS = array( +"%s shared »%s« with you" => "%s-ek »%s« zurekin partekatu du", "Category type not provided." => "Kategoria mota ez da zehaztu.", "No category to add?" => "Ez dago gehitzeko kategoriarik?", "This category already exists: %s" => "Kategoria hau dagoeneko existitzen da: %s", @@ -42,6 +43,7 @@ "years ago" => "urte", "Choose" => "Aukeratu", "Cancel" => "Ezeztatu", +"Error loading file picker template" => "Errorea fitxategi hautatzaile txantiloiak kargatzerakoan", "Yes" => "Bai", "No" => "Ez", "Ok" => "Ados", @@ -60,6 +62,7 @@ "Share with link" => "Elkarbanatu lotura batekin", "Password protect" => "Babestu pasahitzarekin", "Password" => "Pasahitza", +"Allow Public Upload" => "Gaitu igotze publikoa", "Email link to person" => "Postaz bidali lotura ", "Send" => "Bidali", "Set expiration date" => "Ezarri muga data", @@ -84,8 +87,12 @@ "The update was successful. Redirecting you to ownCloud now." => "Eguneraketa ongi egin da. Orain zure ownClouderea berbideratua izango zara.", "ownCloud password reset" => "ownCloud-en pasahitza berrezarri", "Use the following link to reset your password: {link}" => "Eribili hurrengo lotura zure pasahitza berrezartzeko: {link}", +"The link to reset your password has been sent to your email.<br>If you do not receive it within a reasonable amount of time, check your spam/junk folders.<br>If it is not there ask your local administrator ." => "Zure pasahitza berrezartzeko lotura zure postara bidalia izan da.<br>Ez baduzu arrazoizko denbora \nepe batean jasotzen begiratu zure zabor-posta karpetan.<br>Hor ere ez badago kudeatzailearekin harremanetan ipini.", +"Request failed!<br>Did you make sure your email/username was right?" => "Eskaerak huts egin du!<br>Ziur zaude posta/pasahitza zuzenak direla?", "You will receive a link to reset your password via Email." => "Zure pashitza berrezartzeko lotura bat jasoko duzu Epostaren bidez.", "Username" => "Erabiltzaile izena", +"Your files are encrypted. If you haven't enabled the recovery key, there will be no way to get your data back after your password is reset. If you are not sure what to do, please contact your administrator before you continue. Do you really want to continue?" => "Zure fitxategiak enkriptaturik daude. Ez baduzu berreskuratze gakoa gaitzen pasahitza berrabiaraztean ez da zure fitxategiak berreskuratzeko modurik egongo. Zer egin ziur ez bazaude kudeatzailearekin harremanetan ipini jarraitu aurretik. Ziur zaude aurrera jarraitu nahi duzula?", +"Yes, I really want to reset my password now" => "Bai, nire pasahitza orain berrabiarazi nahi dut", "Request reset" => "Eskaera berrezarri da", "Your password was reset" => "Zure pasahitza berrezarri da", "To login page" => "Sarrera orrira", @@ -98,6 +105,7 @@ "Help" => "Laguntza", "Access forbidden" => "Sarrera debekatuta", "Cloud not found" => "Ez da hodeia aurkitu", +"Hey there,\n\njust letting you know that %s shared %s with you.\nView it: %s\n\nCheers!" => "Kaixo\n\n%s-ek %s zurekin partekatu duela jakin dezazun.\nIkusi ezazu: %s\n\nOngi jarraitu!", "Edit categories" => "Editatu kategoriak", "Add" => "Gehitu", "Security Warning" => "Segurtasun abisua", @@ -118,6 +126,7 @@ "Database tablespace" => "Datu basearen taula-lekua", "Database host" => "Datubasearen hostalaria", "Finish setup" => "Bukatu konfigurazioa", +"%s is available. Get more information on how to update." => "%s erabilgarri dago. Eguneratzeaz argibide gehiago eskuratu.", "Log out" => "Saioa bukatu", "Automatic logon rejected!" => "Saio hasiera automatikoa ez onartuta!", "If you did not change your password recently, your account may be compromised!" => "Zure pasahitza orain dela gutxi ez baduzu aldatu, zure kontua arriskuan egon daiteke!", @@ -126,6 +135,7 @@ "remember" => "gogoratu", "Log in" => "Hasi saioa", "Alternative Logins" => "Beste erabiltzaile izenak", +"Hey there,<br><br>just letting you know that %s shared »%s« with you.<br><a href=\"%s\">View it!</a><br><br>Cheers!" => "Kaixo<br><br>%s-ek %s zurekin partekatu duela jakin dezazun.<br><a href=\"%s\">\nIkusi ezazu</a><br><br>Ongi jarraitu!", "prev" => "aurrekoa", "next" => "hurrengoa", "Updating ownCloud to version %s, this may take a while." => "ownCloud %s bertsiora eguneratzen, denbora har dezake." diff --git a/core/l10n/ko.php b/core/l10n/ko.php index 2ce4f0fd377..9f95becf6de 100644 --- a/core/l10n/ko.php +++ b/core/l10n/ko.php @@ -60,6 +60,7 @@ "Share with link" => "URL 링크로 공유", "Password protect" => "암호 보호", "Password" => "암호", +"Allow Public Upload" => "퍼블릭 업로드 허용", "Email link to person" => "이메일 주소", "Send" => "전송", "Set expiration date" => "만료 날짜 설정", @@ -84,8 +85,10 @@ "The update was successful. Redirecting you to ownCloud now." => "업데이트가 성공하였습니다. ownCloud로 돌아갑니다.", "ownCloud password reset" => "ownCloud 암호 재설정", "Use the following link to reset your password: {link}" => "다음 링크를 사용하여 암호를 재설정할 수 있습니다: {link}", +"Request failed!<br>Did you make sure your email/username was right?" => "요청이 실패했습니다!<br>email 주소와 사용자 명을 정확하게 넣으셨나요?", "You will receive a link to reset your password via Email." => "이메일로 암호 재설정 링크를 보냈습니다.", "Username" => "사용자 이름", +"Yes, I really want to reset my password now" => "네, 전 제 비밀번호를 리셋하길 원합니다", "Request reset" => "요청 초기화", "Your password was reset" => "암호가 재설정되었습니다", "To login page" => "로그인 화면으로", diff --git a/core/l10n/pt_PT.php b/core/l10n/pt_PT.php index fd88b70ed4e..20208233105 100644 --- a/core/l10n/pt_PT.php +++ b/core/l10n/pt_PT.php @@ -91,6 +91,7 @@ "Request failed!<br>Did you make sure your email/username was right?" => "O pedido falhou! <br> Tem a certeza que introduziu o seu email/username correcto?", "You will receive a link to reset your password via Email." => "Vai receber um endereço para repor a sua password", "Username" => "Nome de utilizador", +"Your files are encrypted. If you haven't enabled the recovery key, there will be no way to get your data back after your password is reset. If you are not sure what to do, please contact your administrator before you continue. Do you really want to continue?" => "Os seus ficheiros estão encriptados. Se não activou a chave de recuperação, não vai ser possível recuperar os seus dados no caso da sua password ser reinicializada. Se não tem a certeza do que precisa de fazer, por favor contacte o seu administrador antes de continuar. Tem a certeza que quer continuar?", "Yes, I really want to reset my password now" => "Sim, tenho a certeza que pretendo redefinir a minha palavra-passe agora.", "Request reset" => "Pedir reposição", "Your password was reset" => "A sua password foi reposta", diff --git a/core/l10n/tr.php b/core/l10n/tr.php index 0a56af94182..b8701abffa1 100644 --- a/core/l10n/tr.php +++ b/core/l10n/tr.php @@ -1,4 +1,5 @@ <?php $TRANSLATIONS = array( +"%s shared »%s« with you" => "%s sizinle »%s« paylaşımında bulundu", "Category type not provided." => "Kategori türü desteklenmemektedir.", "No category to add?" => "Eklenecek kategori yok?", "This category already exists: %s" => "Bu kategori zaten mevcut: %s", @@ -61,6 +62,7 @@ "Share with link" => "Bağlantı ile paylaş", "Password protect" => "Şifre korunması", "Password" => "Parola", +"Allow Public Upload" => "Herkes tarafından yüklemeye izin ver", "Email link to person" => "Kişiye e-posta linki", "Send" => "Gönder", "Set expiration date" => "Son kullanma tarihini ayarla", @@ -89,6 +91,8 @@ "Request failed!<br>Did you make sure your email/username was right?" => "Isteği başarısız oldu!<br>E-posta / kullanıcı adınızı doğru olduğundan emin misiniz?", "You will receive a link to reset your password via Email." => "Parolanızı sıfırlamak için bir bağlantı Eposta olarak gönderilecek.", "Username" => "Kullanıcı Adı", +"Your files are encrypted. If you haven't enabled the recovery key, there will be no way to get your data back after your password is reset. If you are not sure what to do, please contact your administrator before you continue. Do you really want to continue?" => "Dosyalarınız şifrelenmiş. Eğer kurtarma anahtarını aktif etmediyseniz parola sıfırlama işleminden sonra verilerinize erişmeniz imkansız olacak. Eğer ne yaptığınızdan emin değilseniz, devam etmeden önce sistem yöneticiniz ile irtibata geçiniz. Gerçekten devam etmek istiyor musunuz?", +"Yes, I really want to reset my password now" => "Evet,Şu anda parolamı sıfırlamak istiyorum.", "Request reset" => "Sıfırlama iste", "Your password was reset" => "Parolanız sıfırlandı", "To login page" => "Giriş sayfasına git", @@ -101,6 +105,7 @@ "Help" => "Yardım", "Access forbidden" => "Erişim yasaklı", "Cloud not found" => "Bulut bulunamadı", +"Hey there,\n\njust letting you know that %s shared %s with you.\nView it: %s\n\nCheers!" => "Merhaba\n\n%s sizinle %s dosyasını paylaştığı\nPaylaşımı gör:%s\n\nİyi günler!", "Edit categories" => "Kategorileri düzenle", "Add" => "Ekle", "Security Warning" => "Güvenlik Uyarisi", @@ -130,6 +135,7 @@ "remember" => "hatırla", "Log in" => "Giriş yap", "Alternative Logins" => "Alternatif Girişler", +"Hey there,<br><br>just letting you know that %s shared »%s« with you.<br><a href=\"%s\">View it!</a><br><br>Cheers!" => "Merhaba, <br><br> %s sizinle »%s« paylaşımında bulundu.<br><a href=\"%s\">Paylaşımı gör!</a><br><br>İyi günler!", "prev" => "önceki", "next" => "sonraki", "Updating ownCloud to version %s, this may take a while." => "Owncloud %s versiyonuna güncelleniyor. Biraz zaman alabilir." |