diff options
author | scambra <sergio@entrecables.com> | 2012-09-21 11:48:20 +0200 |
---|---|---|
committer | scambra <sergio@entrecables.com> | 2012-09-21 11:48:20 +0200 |
commit | 22c6b48d2f07109c784b85791da093cba36da65b (patch) | |
tree | ead9e3d7af969b1bc3b8b96b72ce842e2d8f6a1d /apps/files_sharing/templates | |
parent | 57c02d16ca39ede15781625f83e838b0e1a9d323 (diff) | |
download | nextcloud-server-22c6b48d2f07109c784b85791da093cba36da65b.tar.gz nextcloud-server-22c6b48d2f07109c784b85791da093cba36da65b.zip |
translate files_sharing app
Diffstat (limited to 'apps/files_sharing/templates')
-rw-r--r-- | apps/files_sharing/templates/public.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/apps/files_sharing/templates/public.php b/apps/files_sharing/templates/public.php index cd92d7b9dc2..fd9b79e6f17 100644 --- a/apps/files_sharing/templates/public.php +++ b/apps/files_sharing/templates/public.php @@ -5,7 +5,11 @@ <header><div id="header"> <a href="<?php echo link_to('', 'index.php'); ?>" title="" id="owncloud"><img class="svg" src="<?php echo image_path('', 'logo-wide.svg'); ?>" alt="ownCloud" /></a> <div class="header-right"> - <span id="details"><?php echo $_['details']; ?></span> + <?php if (isset($_['folder'])): ?> + <span id="details"><?php echo $l->t('%s shared the folder %s with you', array($_['uidOwner'], $_['filename'])) ?></span> + <?php else: ?> + <span id="details"><?php echo $l->t('%s shared the file %s with you', array($_['uidOwner'], $_['filename'])) ?></span> + <?php endif; ?> <?php if (!isset($_['folder']) || $_['allowZipDownload']): ?> <a href="<?php echo $_['downloadURL']; ?>" class="button" id="download"><img class="svg" alt="Download" src="<?php echo OCP\image_path("core", "actions/download.svg"); ?>" /><?php echo $l->t('Download')?></a> <?php endif; ?> @@ -30,4 +34,4 @@ <div id="content"></div> <table></table> </div> -<footer><p class="info"><a href="http://owncloud.org/">ownCloud</a> – <?php echo $l->t('web services under your control'); ?></p></footer>
\ No newline at end of file +<footer><p class="info"><a href="http://owncloud.org/">ownCloud</a> – <?php echo $l->t('web services under your control'); ?></p></footer> |