Skip to content
This repository was archived by the owner on Sep 10, 2021. It is now read-only.

Commit c492116

Browse files
author
Julien Jomier
committed
ENH: Some style fixes
1 parent 95e0341 commit c492116

File tree

5 files changed

+11
-10
lines changed

5 files changed

+11
-10
lines changed

core/AppController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ public function preDispatch()
213213
'removeItem' => $this->t('Remove Item from Folder'),
214214
'deleteMessage' => $this->t('Do you really want to delete the folder'),
215215
'removeMessage' => $this->t('Do you really want to remove the item'),
216-
'share' => $this->t('Sharing settings'),
216+
'share' => $this->t('Share'),
217217
'shared' => $this->t('Shared'),
218218
'public' => $this->t('Public'),
219219
'private' => $this->t('Private'),

core/controllers/UploadController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public function simpleuploadAction()
8989

9090
}//end simple upload
9191

92-
/** upload new revision*/
92+
/** upload new revision */
9393
public function revisionAction()
9494
{
9595
if(!$this->logged)

core/translation/fr-main.csv

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,12 +185,12 @@ Current Avatar;Avatar actuel
185185
Upload new avatar;Ajouter un nouvel avatar
186186
Modify password;Modifier mot de passe
187187
Retype new password;Retapper nouveau mot de passe
188-
Sharing settings;Param�tres de partage
188+
Share;Partager
189189
folder;r�pertoire
190190
item;document
191191
You can use the following direct link to share the;Vous pouvez utiliser le lien suivant pour partager le
192192
Permissions;Autorisations
193-
Anyone on the Internet can find and access. No sign-in required.;Tous le monde peut trouver et voir. Pas d'authentification requise.
193+
Anyone can find and access. No sign-in required.;Tous le monde peut trouver et voir. Pas d'authentification requise.
194194
Only people explicitly granted permission can access. Sign-in required.;Seulement les personnes avec une autorisation ont acc�s. Authentification requise.
195195
Set Private;Rendre Priv�
196196
Set Public;Rendre Public
@@ -212,7 +212,7 @@ Public, everyone can see the community;Public, tout le monde peut voir la commun
212212
Everyone can join the community;Tout le monde peut rejoindre la communaut�
213213
Only invited users can join the community;Seulement les utilisateurs invit�s peuvent rejoindre la communaut�
214214
Last revision content;Contenu de la derni�re r�vision
215-
Upload new Revision;Ajouter nouvelle R�vision
215+
Upload new revision;Ajouter nouvelle r�vision
216216
added a new revision to;a ajout� une nouvelle r�vision �
217217
Uploaded files;Fichiers ajout�s
218218
Who can join the community?;Qui peut rejoindre la communaut�?

core/views/item/view.phtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,10 +146,10 @@ $this->headScript()->appendFile($this->coreWebroot . '/public/js/item/item.view.
146146
<a href='javascript:;' class='moveCopyLink' >{$this->t('Copy')}</a>
147147
</li>
148148
<li>
149-
<a href='javascript:;' type='item' element='{$this->itemDao->getKey()}' class='sharingLink' >{$this->t('Sharing settings')}</a>
149+
<a href='javascript:;' type='item' element='{$this->itemDao->getKey()}' class='sharingLink' >{$this->t('Share')}</a>
150150
</li>
151151
<li>
152-
<a href='javascript:;' type='item' element='{$this->itemDao->getKey()}' class='uploadRevisionLink' >{$this->t('Upload new Revision')}</a>
152+
<a href='javascript:;' type='item' element='{$this->itemDao->getKey()}' class='uploadRevisionLink' >{$this->t('Upload new revision')}</a>
153153
</li>
154154
";
155155
}

core/views/share/dialog.phtml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ echo "<br/>";
2222

2323
echo "<div id='permissionsContent'>";
2424
echo " <div id='permissionPublic' ".(($this->private)?'style="display:none;"':'').">";
25-
echo " <b>{$this->t('Public')}</b> {$this->t('Anyone on the Internet can find and access. No sign-in required.')}";
26-
echo " <br/><a id='setElementPrivateLink'>{$this->t('Set Private')}</a>";
25+
echo " <b>{$this->t('Public')}</b> {$this->t('Anyone can find and access. No sign-in required.')}";
26+
echo " <a id='setElementPrivateLink'>{$this->t('You can set the permission as private.')}</a>";
2727
echo " </div>";
2828

2929
echo " <div id='permissionPrivate' ".((!$this->private)?'style="display:none;"':'').">";
3030
echo " <b>{$this->t('Private')}</b> {$this->t('Only people explicitly granted permission can access. Sign-in required.')}";
31-
echo " <br/><a id='setElementPublicLink'>{$this->t('Set Public')}</a>";
31+
echo " <a id='setElementPublicLink'>{$this->t('You can set the permission as public.')}</a>";
3232
echo " </div>";
3333

3434
echo " <h4>".$this->t('Permissions')."</h4>";
@@ -121,6 +121,7 @@ foreach($this->userPolicies as $policy)
121121
echo " </tr>";
122122
}
123123
echo " </table>";
124+
echo " <br/>";
124125
echo " <div class='shareSearch'>";
125126
echo " <input type='text' id='live_share_search' value='{$this->t('Add a permission to ...')}' autocomplete='off' autocorrect='off' autocapitalize='off' />";
126127
echo " <input type='hidden' id='live_share_search_value' value='init' />";

0 commit comments

Comments
 (0)