diff options
author | Björn Schießle <schiessle@owncloud.com> | 2013-06-13 13:17:35 +0200 |
---|---|---|
committer | Björn Schießle <schiessle@owncloud.com> | 2013-06-13 13:17:35 +0200 |
commit | 7cfb0dc406910f66eaefc8651fd655a78883f241 (patch) | |
tree | a8cda865f793d21f8248c5035c363ee3971fdd1a /settings | |
parent | 20ddd6e1c77224d18d5be74101b80144b7187475 (diff) | |
parent | dd8011925acbd701de10e604b377c3d7f01aeff8 (diff) | |
download | nextcloud-server-7cfb0dc406910f66eaefc8651fd655a78883f241.tar.gz nextcloud-server-7cfb0dc406910f66eaefc8651fd655a78883f241.zip |
Merge branch 'master' into files_encryption_check_private_key
Conflicts:
apps/files_encryption/appinfo/app.php
apps/files_encryption/lib/util.php
Diffstat (limited to 'settings')
-rw-r--r-- | settings/ajax/removeuser.php | 1 | ||||
-rw-r--r-- | settings/css/settings.css | 8 | ||||
-rw-r--r-- | settings/l10n/ca.php | 1 | ||||
-rw-r--r-- | settings/l10n/cs_CZ.php | 1 | ||||
-rw-r--r-- | settings/l10n/et_EE.php | 1 | ||||
-rw-r--r-- | settings/l10n/fr.php | 3 | ||||
-rw-r--r-- | settings/l10n/gl.php | 5 | ||||
-rw-r--r-- | settings/l10n/it.php | 1 | ||||
-rw-r--r-- | settings/l10n/ja_JP.php | 1 | ||||
-rw-r--r-- | settings/l10n/pt_BR.php | 1 | ||||
-rw-r--r-- | settings/l10n/pt_PT.php | 3 | ||||
-rw-r--r-- | settings/l10n/sv.php | 1 | ||||
-rw-r--r-- | settings/templates/apps.php | 15 | ||||
-rw-r--r-- | settings/templates/personal.php | 15 |
14 files changed, 41 insertions, 16 deletions
diff --git a/settings/ajax/removeuser.php b/settings/ajax/removeuser.php index bf3a34f1472..8732c6518a8 100644 --- a/settings/ajax/removeuser.php +++ b/settings/ajax/removeuser.php @@ -21,5 +21,6 @@ if( OC_User::deleteUser( $username )) { OC_JSON::success(array("data" => array( "username" => $username ))); } else{ + $l = OC_L10N::get('core'); OC_JSON::error(array("data" => array( "message" => $l->t("Unable to delete user") ))); } diff --git a/settings/css/settings.css b/settings/css/settings.css index 950e8929012..3c406109a1f 100644 --- a/settings/css/settings.css +++ b/settings/css/settings.css @@ -61,7 +61,13 @@ select.quota.active { background: #fff; } /* APPS */ .appinfo { margin: 1em; } h3 { font-size: 1.4em; font-weight: bold; } -ul.applist li { height: 2.2em; padding: 0.2em 0.2em 0.2em 0.8em !important; } +ul.applist a { + height: 2.2em; + padding: 0.2em 0.2em 0.2em 0.8em !important; +} +ul.applist .app-external { + width: 100%; +} li { color:#888; } li.active { color:#000; } small.externalapp { color:#FFF; background-color:#BBB; font-weight:bold; font-size: 0.6em; margin: 0; padding: 0.1em 0.2em; border-radius: 4px;} diff --git a/settings/l10n/ca.php b/settings/l10n/ca.php index 769c25d7bff..268fbc29964 100644 --- a/settings/l10n/ca.php +++ b/settings/l10n/ca.php @@ -102,6 +102,7 @@ "Login Name" => "Nom d'accés", "Create" => "Crea", "Admin Recovery Password" => "Recuperació de contrasenya d'administrador", +"Enter the recovery password in order to recover the users files during password change" => "Escriviu la contrasenya de recuperació per a poder recuperar els fitxers dels usuaris en canviar la contrasenya", "Default Storage" => "Emmagatzemament per defecte", "Unlimited" => "Il·limitat", "Other" => "Un altre", diff --git a/settings/l10n/cs_CZ.php b/settings/l10n/cs_CZ.php index fdd38e7bb2a..c0668676ddd 100644 --- a/settings/l10n/cs_CZ.php +++ b/settings/l10n/cs_CZ.php @@ -102,6 +102,7 @@ "Login Name" => "Přihlašovací jméno", "Create" => "Vytvořit", "Admin Recovery Password" => "Heslo obnovy správce", +"Enter the recovery password in order to recover the users files during password change" => "Zadejte heslo obnovy pro obnovení souborů uživatele při změně hesla", "Default Storage" => "Výchozí úložiště", "Unlimited" => "Neomezeně", "Other" => "Jiný", diff --git a/settings/l10n/et_EE.php b/settings/l10n/et_EE.php index 8a9e237e120..baf25a274b7 100644 --- a/settings/l10n/et_EE.php +++ b/settings/l10n/et_EE.php @@ -102,6 +102,7 @@ "Login Name" => "Kasutajanimi", "Create" => "Lisa", "Admin Recovery Password" => "Admin taasteparool", +"Enter the recovery password in order to recover the users files during password change" => "Sisesta taasteparool kasutaja failide taastamiseks paroolivahetuse käigus", "Default Storage" => "Vaikimisi maht", "Unlimited" => "Piiramatult", "Other" => "Muu", diff --git a/settings/l10n/fr.php b/settings/l10n/fr.php index 2067fbc4c5d..5997ccbf24d 100644 --- a/settings/l10n/fr.php +++ b/settings/l10n/fr.php @@ -82,9 +82,9 @@ "Forum" => "Forum", "Bugtracker" => "Suivi de bugs", "Commercial Support" => "Support commercial", -"You have used <strong>%s</strong> of the available <strong>%s</strong>" => "Vous avez utilisé <strong>%s</strong> des <strong>%s<strong> disponibles", "Get the apps to sync your files" => "Obtenez les applications de synchronisation de vos fichiers", "Show First Run Wizard again" => "Revoir le premier lancement de l'installeur", +"You have used <strong>%s</strong> of the available <strong>%s</strong>" => "Vous avez utilisé <strong>%s</strong> des <strong>%s<strong> disponibles", "Password" => "Mot de passe", "Your password was changed" => "Votre mot de passe a été changé", "Unable to change your password" => "Impossible de changer votre mot de passe", @@ -102,6 +102,7 @@ "Login Name" => "Nom de la connexion", "Create" => "Créer", "Admin Recovery Password" => "Récupération du mot de passe administrateur", +"Enter the recovery password in order to recover the users files during password change" => "Entrer le mot de passe de récupération dans le but de récupérer les fichiers utilisateurs pendant le changement de mot de passe", "Default Storage" => "Support de stockage par défaut", "Unlimited" => "Illimité", "Other" => "Autre", diff --git a/settings/l10n/gl.php b/settings/l10n/gl.php index 05f3dc07c4a..ee60aa82a27 100644 --- a/settings/l10n/gl.php +++ b/settings/l10n/gl.php @@ -94,14 +94,15 @@ "Display Name" => "Amosar o nome", "Email" => "Correo", "Your email address" => "O seu enderezo de correo", -"Fill in an email address to enable password recovery" => "Escriba un enderezo de correo para activar a recuperación do contrasinal", +"Fill in an email address to enable password recovery" => "Escriba un enderezo de correo para activar o contrasinal de recuperación", "Language" => "Idioma", "Help translate" => "Axude na tradución", "WebDAV" => "WebDAV", "Use this address to connect to your ownCloud in your file manager" => "Utilice este enderezo para conectarse ao seu ownCloud co administrador de ficheiros", "Login Name" => "Nome de acceso", "Create" => "Crear", -"Admin Recovery Password" => "Recuperación do contrasinal do administrador", +"Admin Recovery Password" => "Contrasinal de recuperación do administrador", +"Enter the recovery password in order to recover the users files during password change" => "Introduza o contrasinal de recuperación para recuperar os ficheiros dos usuarios durante o cambio de contrasinal", "Default Storage" => "Almacenamento predeterminado", "Unlimited" => "Sen límites", "Other" => "Outro", diff --git a/settings/l10n/it.php b/settings/l10n/it.php index 38c22ea06de..c2ee1e4997f 100644 --- a/settings/l10n/it.php +++ b/settings/l10n/it.php @@ -102,6 +102,7 @@ "Login Name" => "Nome utente", "Create" => "Crea", "Admin Recovery Password" => "Password di ripristino amministrativa", +"Enter the recovery password in order to recover the users files during password change" => "Digita la password di ripristino per recuperare i file degli utenti durante la modifica della password.", "Default Storage" => "Archiviazione predefinita", "Unlimited" => "Illimitata", "Other" => "Altro", diff --git a/settings/l10n/ja_JP.php b/settings/l10n/ja_JP.php index ad42d3f085b..f9ef8e86829 100644 --- a/settings/l10n/ja_JP.php +++ b/settings/l10n/ja_JP.php @@ -102,6 +102,7 @@ "Login Name" => "ログイン名", "Create" => "作成", "Admin Recovery Password" => "管理者復旧パスワード", +"Enter the recovery password in order to recover the users files during password change" => "パスワード変更の間のユーザーのファイルを回復するために、リカバリパスワードを入力してください", "Default Storage" => "デフォルトストレージ", "Unlimited" => "無制限", "Other" => "その他", diff --git a/settings/l10n/pt_BR.php b/settings/l10n/pt_BR.php index 824940da583..e78e907cf86 100644 --- a/settings/l10n/pt_BR.php +++ b/settings/l10n/pt_BR.php @@ -102,6 +102,7 @@ "Login Name" => "Nome de Login", "Create" => "Criar", "Admin Recovery Password" => "Recuperação da Senha do Administrador", +"Enter the recovery password in order to recover the users files during password change" => "Digite a senha de recuperação para recuperar os arquivos dos usuários durante a mudança de senha.", "Default Storage" => "Armazenamento Padrão", "Unlimited" => "Ilimitado", "Other" => "Outro", diff --git a/settings/l10n/pt_PT.php b/settings/l10n/pt_PT.php index c5fc1a00926..b810d51a2e2 100644 --- a/settings/l10n/pt_PT.php +++ b/settings/l10n/pt_PT.php @@ -82,9 +82,9 @@ "Forum" => "Fórum", "Bugtracker" => "Bugtracker", "Commercial Support" => "Suporte Comercial", -"You have used <strong>%s</strong> of the available <strong>%s</strong>" => "Usou <strong>%s</strong> do disponivel <strong>%s</strong>", "Get the apps to sync your files" => "Obtenha as aplicações para sincronizar os seus ficheiros", "Show First Run Wizard again" => "Mostrar novamente Wizard de Arranque Inicial", +"You have used <strong>%s</strong> of the available <strong>%s</strong>" => "Usou <strong>%s</strong> do disponivel <strong>%s</strong>", "Password" => "Password", "Your password was changed" => "A sua palavra-passe foi alterada", "Unable to change your password" => "Não foi possivel alterar a sua palavra-chave", @@ -102,6 +102,7 @@ "Login Name" => "Nome de utilizador", "Create" => "Criar", "Admin Recovery Password" => "Recuperar password de administrador", +"Enter the recovery password in order to recover the users files during password change" => "Digite a senha de recuperação, a fim de recuperar os arquivos de usuários durante a mudança de senha", "Default Storage" => "Armazenamento Padrão", "Unlimited" => "Ilimitado", "Other" => "Outro", diff --git a/settings/l10n/sv.php b/settings/l10n/sv.php index dca9692999b..d0475c0263d 100644 --- a/settings/l10n/sv.php +++ b/settings/l10n/sv.php @@ -102,6 +102,7 @@ "Login Name" => "Inloggningsnamn", "Create" => "Skapa", "Admin Recovery Password" => "Admin återställningslösenord", +"Enter the recovery password in order to recover the users files during password change" => "Enter the recovery password in order to recover the users files during password change", "Default Storage" => "Förvald lagring", "Unlimited" => "Obegränsad", "Other" => "Annat", diff --git a/settings/templates/apps.php b/settings/templates/apps.php index d3639cbab34..0903b9bd5c4 100644 --- a/settings/templates/apps.php +++ b/settings/templates/apps.php @@ -7,11 +7,12 @@ src="<?php print_unescaped(OC_Helper::linkToRoute('apps_custom'));?>?appid=<?php p($_['appid']); ?>"></script> <script type="text/javascript" src="<?php print_unescaped(OC_Helper::linkTo('settings/js', 'apps.js'));?>"></script> -<div id="controls"> - <a class="button" target="_blank" href="http://owncloud.org/dev"><?php p($l->t('Add your App'));?></a> - <a class="button" target="_blank" href="http://apps.owncloud.com"><?php p($l->t('More Apps'));?></a> -</div> -<ul id="leftcontent" class="applist hascontrols"> + +<ul id="leftcontent" class="applist"> + <li> + <a class="app-external" target="_blank" href="http://owncloud.org/dev"><?php p($l->t('Add your App'));?> …</a> + </li> + <?php foreach($_['apps'] as $app):?> <li <?php if($app['active']) print_unescaped('class="active"')?> data-id="<?php p($app['id']) ?>" <?php if ( isset( $app['ocs_id'] ) ) { print_unescaped("data-id-ocs=\"{".OC_Util::sanitizeHTML($app['ocs_id'])."}\""); } ?> @@ -22,6 +23,10 @@ print_unescaped('<small class="'.OC_Util::sanitizeHTML($app['internalclass']).' list">'.OC_Util::sanitizeHTML($app['internallabel']).'</small>') ?> </li> <?php endforeach;?> + + <li> + <a class="app-external" target="_blank" href="http://apps.owncloud.com"><?php p($l->t('More Apps'));?> …</a> + </li> </ul> <div id="rightcontent"> <div class="appinfo"> diff --git a/settings/templates/personal.php b/settings/templates/personal.php index f0002c505c8..b11f1912f51 100644 --- a/settings/templates/personal.php +++ b/settings/templates/personal.php @@ -4,12 +4,6 @@ * See the COPYING-README file. */?> -<div id="quota" class="personalblock"><div style="width:<?php p($_['usage_relative']);?>%;"> - <p id="quotatext"><?php print_unescaped($l->t('You have used <strong>%s</strong> of the available <strong>%s</strong>', - array($_['usage'], $_['total_space'])));?></p> -</div></div> - - <div class="clientsbox"> <h2><?php p($l->t('Get the apps to sync your files'));?></h2> @@ -28,6 +22,15 @@ </div> +<div id="quota" class="personalblock"> + <div style="width:<?php p($_['usage_relative']);?>%;"> + <p id="quotatext"> + <?php print_unescaped($l->t('You have used <strong>%s</strong> of the available <strong>%s</strong>', + array($_['usage'], $_['total_space'])));?> + </p> + </div> +</div> + <?php if($_['passwordChangeSupported']) { |